summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks
diff options
context:
space:
mode:
authorBrandon Keiji <[email protected]>2025-05-30 19:57:46 +0000
committerGitHub <[email protected]>2025-05-30 19:57:46 +0000
commitcf82b6e127e508b10d4c9735ae3f6303f2f66fe2 (patch)
tree13324426a4f8dd8d9cc8a8ce446bce053c3cd726 /packages/cli/src/ui/hooks
parenta0ba65944fd1f940c161e7bb2aa7f01f62ae1c15 (diff)
fix(sandbox): prepare package.json before building sandbox image (#626)
Diffstat (limited to 'packages/cli/src/ui/hooks')
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
index d4daa5c9..5ec07c91 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
@@ -172,7 +172,7 @@ export const useSlashCommandProcessor = (
const osVersion = `${process.platform} ${process.version}`;
let sandboxEnv = 'no sandbox';
if (process.env.SANDBOX && process.env.SANDBOX !== 'sandbox-exec') {
- sandboxEnv = process.env.SANDBOX.replace(/^gemini-(?:code-)?/, '');
+ sandboxEnv = process.env.SANDBOX;
} else if (process.env.SANDBOX === 'sandbox-exec') {
sandboxEnv = `sandbox-exec (${process.env.SEATBELT_PROFILE || 'unknown'})`;
}