summaryrefslogtreecommitdiff
path: root/packages/cli/src/utils/sandbox.ts
AgeCommit message (Collapse)Author
2025-08-20test(integration): add failing test for stdin context with prompt (#6158)Allen Hutchison
2025-08-17chore(compiler): Enable strict property access TS compiler flag. (#6255)Richie Foreman
Co-authored-by: Jacob Richman <[email protected]>
2025-08-08[ide-mode] Wire up env variables to sandbox (#5804)christine betts
2025-08-07fix(logging): Ensure sandbox startup messages are routed to stderr (#5725)Allen Hutchison
2025-08-01feat(sandbox): Add SANDBOX_FLAGS for custom container options (#2036)andrea-berling
Co-authored-by: matt korwel <[email protected]>
2025-07-30feat: Multi-Directory Workspace Support (part1: add `--include-directories` ↵Yuki Okita
option) (#4605) Co-authored-by: Allen Hutchison <[email protected]>
2025-07-25feat(auth): Enhance non-interactive gcp auth (#4811)Gal Zahavi
2025-07-21Various spelling improvements (#3497)Josh Soref
Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Sandy Tao <[email protected]>
2025-06-25fix: prepublish changes to package names (#1420)Brandon Keiji
2025-06-24Jacob314/max old space (#1314)Jacob Richman
2025-06-19fix: auto-update sandbox regression (#1221)Eddie Santos
2025-06-18Fix noise in headless mode on STDOUT (#1184)Allen Hutchison
2025-06-18feat: consolidate sandbox configurations into a single object (#1154)Brandon Keiji
2025-06-17Auto-update notifications (#1110)Eddie Santos
2025-06-16Preflight and integration npx (#1096)matt korwel
2025-06-16Add Vertex env vars to sandbox (#1005)Mark McDonald
Co-authored-by: Scott Densmore <[email protected]>
2025-06-13fix: add micromatch to package deps (#1020)Brandon Keiji
2025-06-13Support GOOGLE_API_KEY hoisting in sandbox too (#998)Mark McDonald
2025-06-12Fix build_sandbox command (#974)Jordan Demeulenaere
2025-06-11fixes to proxy on macos: prevent curl from hanging during wait-for-proxy by ↵Olcan
adding ipv6 support and timeout (#947)
2025-06-11fix proxy on cloudtops/linux and for older versions of docker, more robust ↵Olcan
start/stop and error reporting (#945)
2025-06-11do not auto-enable container sandboxing (fixing recently introduced bug) (#939)Olcan
2025-06-11fix: Change sandbox network check command for docker (#907)Tolik Malibroda
2025-06-10restricted networking for all sandboxing methods, new seatbelt profiles, ↵Olcan
updated docs, fixes to sandbox build, debugging through sandbox (#891)
2025-06-10GEMINI_SANDBOX=false should disable seatbelt (#888)Tommaso Sciortino
2025-06-10fix user settings in sandbox broken in recent change (#885)Olcan
2025-06-09Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility ↵matt korwel
(#784)
2025-06-08drop redundant -s flag for custom sandbox build (#859)Olcan
2025-06-08Fix Build Failure - Build fails in sandbox due to missing build toolchain (#831)Abhi
2025-06-05skip npm build for custom sandbox (#779)Olcan
2025-06-05use execSync (vs spawnSync) so launch fails if build_sandbox fails; tweaks ↵Olcan
in build_sandbox to fix some shellcheck warnings, and to simplify the logic slightly (#767)
2025-06-05fix: Disable automatic image building if BUILD_SANDBOX is not provided (#764)Tolik Malibroda
2025-06-05feat: Add multi-stage docker build support for custom sandbox.Dockerfile (#746)Tolik Malibroda
2025-06-05Jacob314/memory fixes (#754)Jacob Richman
Address multiple possible memory leaks found bystatic analysis of the codebase. The primary source of the leaks was event listeners on child processes and global objects that were not being properly removed, potentially causing their closures to be retained in memory indefinitely particularly for processes that did not exit. There are two commits. A larger one made by gemini CLI and a smaller one by me to make sure we always disconnect child processes as part of the cleanup methods. These changes may not actually fix any leaks but do look like reasonable defensive coding to avoid leaking event listeners or child processes. The following files were fixed: This is Gemini's somewhat overconfident description of what it did. packages/core/src/tools/shell.ts: Fixed a leak where an abortSignal listener was not being reliably removed. packages/cli/src/utils/readStdin.ts: Fixed a significant leak where listeners on process.stdin were never removed. packages/cli/src/utils/sandbox.ts: Fixed leaks in the imageExists and pullImage helper functions where listeners on spawned child processes were not being removed. packages/core/src/tools/grep.ts: Fixed three separate leaks in the isCommandAvailable check and the git grep and system grep strategies due to un-removed listeners on child processes. packages/core/src/tools/tool-registry.ts: Corrected a leak in the execute method of the DiscoveredTool class where listeners on the spawned tool process were not being removed.
2025-06-04fix: Fix piped input mode in sandbox (#739)Tolik Malibroda
2025-06-03fix BUILD_SANDBOX env var for updating sandbox while running linked binary ↵Olcan
(#729)
2025-06-03fix: do not try to pull development sandbox image from the internet (#725)Brandon Keiji
2025-05-30fix(sandbox): pull sandbox image if it doesnt exist locally (#628)Brandon Keiji
2025-05-30feat(sandbox): use package config to dictate sandbox image name (#624)Brandon Keiji
2025-05-29allow writing to user cache directory on macos (fixes use of lyria mcp ↵Olcan
server [to generate songs] under seatbelt) (#600)
2025-05-23update email to gemini-cli-dev (#510)Olcan
2025-05-20fix HOME in sandbox on cloudtops (linux) (#454)Olcan
2025-05-17rename env vars GEMINI_CODE_{MODEL,SANDBOX,SANDBOX_IMAGE} (#411)Olcan
2025-05-15move sandbox-related messages to stderr (#363)Olcan
2025-05-13fix(sandbox): default to current user profile for debian/ubuntu env (#337)Brandon Keiji
2025-05-13refactor: shorten 'gemini' binary name (#329)Brandon Keiji
2025-05-11Remove terminal tool and dependencies.Taylor Mullen
- We now solely use the shell tool. This deletes all content around the legacy terminal tool so we can focus on improving the new Shell tool. - Remove instances from sandboxing, tests, utilities etc.
2025-05-09sandbox/seatbelt-aware system prompt, support for custom seatbelt profiles ↵Olcan
under project settings (#304)
2025-05-09fix debugging with seatbelt, including in strict profile (#300)Olcan
2025-05-08fix(sandbox): set --inspect-brk in production sandbox when env DEBUG is ↵Brandon Keiji
truthy (#295)