Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable user-facing changes to SandVault are documented in this file.

## [1.5.0] - 2026-04-12

### Fixed
- Fix native install for Codex and Gemini agents when nvm is in use — `.npmrc` prefix setting was breaking nvm

### Thanks to 1 contributor!

- [@webcoyote](https://github.com/webcoyote)

## [1.4.0] - 2026-04-12

### Fixed
Expand Down
2 changes: 0 additions & 2 deletions guest/home/.npmrc

This file was deleted.

5 changes: 3 additions & 2 deletions guest/home/bin/codex
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ trap 'echo "${BASH_SOURCE[0]}: line $LINENO: $BASH_COMMAND: exitcode $?"' ERR

unset CODEX
if [[ "${SV_NATIVE_INSTALL:-}" == "true" ]]; then
NPM_BIN="$(npm prefix -g)/bin"
NPM_PREFIX="${HOME}/node_modules"
NPM_BIN="$NPM_PREFIX/bin"
if [[ ! -x "$NPM_BIN/codex" ]]; then
echo >&2 "Installing Codex natively with npm..."
npm install -g @openai/codex
npm install --prefix "$NPM_PREFIX" -g @openai/codex
fi
CODEX="$NPM_BIN/codex"
elif command -v brew &>/dev/null ; then
Expand Down
5 changes: 3 additions & 2 deletions guest/home/bin/gemini
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ trap 'echo "${BASH_SOURCE[0]}: line $LINENO: $BASH_COMMAND: exitcode $?"' ERR

unset GEMINI
if [[ "${SV_NATIVE_INSTALL:-}" == "true" ]]; then
NPM_BIN="$(npm prefix -g)/bin"
NPM_PREFIX="${HOME}/node_modules"
NPM_BIN="$NPM_PREFIX/bin"
if [[ ! -x "$NPM_BIN/gemini" ]]; then
echo >&2 "Installing Gemini CLI natively with npm..."
npm install -g @google/gemini-cli
npm install --prefix "$NPM_PREFIX" -g @google/gemini-cli
fi
GEMINI="$NPM_BIN/gemini"
elif command -v brew &>/dev/null ; then
Expand Down
2 changes: 1 addition & 1 deletion sv
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ fi
###############################################################################
# Resources
###############################################################################
readonly VERSION="1.4.0"
readonly VERSION="1.5.0"

# Re-entrancy detection: if SV_SESSION_ID is already set, we're already in sandvault.
NESTED=false
Expand Down