Gal Zahavi
abf29df57c
Update packages/cli/src/utils/sandbox.ts
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-10 11:19:49 -07:00
galz10
863a0aa01e
feat(core): implement SandboxManager interface and config schema
...
- Add `sandbox` block to `ConfigSchema` with `enabled`, `allowedPaths`,
and `networkAccess` properties.
- Define the `SandboxManager` interface and request/response types.
- Implement `NoopSandboxManager` fallback that silently passes commands
through but rigorously enforces environment variable sanitization via
`sanitizeEnvironment`.
- Update config and sandbox tests to use the new `SandboxConfig` schema.
- Add `createMockSandboxConfig` utility to `test-utils` for cleaner test
mocking across the monorepo.
2026-03-09 11:20:13 -07:00
Zheyuan Lin
291639633f
feat(cli): add native gVisor (runsc) sandboxing support ( #21062 )
...
Co-authored-by: Zheyuan <zlin252@emory.edu >
Co-authored-by: Kartik Angiras <angiraskartik@gmail.com >
2026-03-05 18:39:57 +00:00
Himanshu Soni
717660997d
feat(sandbox): add experimental LXC container sandbox support ( #20735 )
2026-03-04 17:44:33 +00:00
N. Taylor Mullen
b37e67451a
ci: shard windows tests and fix event listener leaks ( #18670 )
2026-02-10 18:46:42 +00:00
Shreya Keshive
7a6dfa3704
fix(sandbox): propagate GOOGLE_GEMINI_BASE_URL&GOOGLE_VERTEX_BASE_URL env vars ( #18231 )
2026-02-03 21:40:41 +00:00
N. Taylor Mullen
7956eb239e
Introduce GEMINI_CLI_HOME for strict test isolation ( #15907 )
2026-01-07 04:09:39 +00:00
Adib234
10ae84869a
Migrate console to coreEvents.emitFeedback or debugLogger ( #15219 )
2025-12-29 20:46:10 +00:00
CHAEWAN KIM
f4babf172b
fix(async): prevent missed async errors from bypassing catch handlers ( #13714 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2025-12-01 22:11:40 +00:00
Megha Bansal
95693e265e
Improve code coverage for cli package ( #13724 )
2025-11-24 17:41:46 +00:00
Sehoon Shon
b6524e410a
migrate console.error to coreEvents/debugger for sandbox, logger, chatRecordingService ( #12253 )
2025-11-04 21:02:31 +00:00
Abhi
b364f37655
refactor(logging): Centralize console logging with debugLogger ( #11590 )
2025-10-21 20:35:22 +00:00
Dongin Kim(Terry)
518caae62e
chore: Extract '.gemini' to GEMINI_DIR constant ( #10540 )
...
Co-authored-by: Richie Foreman <richie.foreman@gmail.com >
2025-10-13 17:31:39 +00:00
Tommaso Sciortino
2e4e53c3ee
Delete shell-service.test.ts and change other tests to cover the same features ( #9772 )
2025-09-26 00:32:40 +00:00
matt korwel
5f080aa52a
fix(ci): e2e workflow aligned with release ( #9296 )
2025-09-25 18:26:07 +00:00
shrutip90
8c0c156cbd
fix(cli): Auto restart CLI inner node process on trust change ( #8378 )
2025-09-17 20:05:40 +00:00
Damian Tometzki
32abe905f1
Fix: connect on docker devcontainer to vscode-ide ( #7464 )
2025-09-10 19:19:37 +00:00
Tommaso Sciortino
7e31577813
Standardize exit codes ( #7055 )
2025-08-26 04:44:45 +00:00
Pascal Birchler
0f031a7f89
Explict imports & exports with type modifier ( #3774 )
2025-08-25 22:04:53 +00:00
Pascal Birchler
ee4feea006
chore: consistently import node modules with prefix ( #3013 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-08-25 20:11:27 +00:00
kookyleo
5bba15b038
fix(cli): Improve proxy test isolation and sandbox path resolution ( #6555 )
2025-08-23 04:43:03 +00:00
George Smith
33d49291ec
fix(cli): Support special characters in sandbox profile path ( #2038 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
Co-authored-by: Allen Hutchison <adh@google.com >
2025-08-22 21:36:57 +00:00
Allen Hutchison
a590a033be
test(integration): add failing test for stdin context with prompt ( #6158 )
2025-08-20 23:52:27 +00:00
Richie Foreman
2998f27f70
chore(compiler): Enable strict property access TS compiler flag. ( #6255 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-08-17 16:43:21 +00:00
christine betts
5ec4ea9b4d
[ide-mode] Wire up env variables to sandbox ( #5804 )
2025-08-08 15:35:47 +00:00
Allen Hutchison
d6a7334279
fix(logging): Ensure sandbox startup messages are routed to stderr ( #5725 )
2025-08-07 00:19:10 +00:00
andrea-berling
c725e258c6
feat(sandbox): Add SANDBOX_FLAGS for custom container options ( #2036 )
...
Co-authored-by: matt korwel <matt.korwel@gmail.com >
2025-08-01 16:32:44 +00:00
Yuki Okita
c1fe688956
feat: Multi-Directory Workspace Support (part1: add --include-directories option) ( #4605 )
...
Co-authored-by: Allen Hutchison <adh@google.com >
2025-07-30 20:38:20 +00:00
Gal Zahavi
6321442865
feat(auth): Enhance non-interactive gcp auth ( #4811 )
2025-07-25 17:19:38 +00:00
Josh Soref
dc2ac144b7
Various spelling improvements ( #3497 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
Co-authored-by: Sandy Tao <sandytao520@icloud.com >
2025-07-21 21:54:44 +00:00
Brandon Keiji
f6c36f75e3
fix: prepublish changes to package names ( #1420 )
2025-06-25 12:41:11 +00:00
Jacob Richman
75ed7aaa06
Jacob314/max old space ( #1314 )
2025-06-24 14:18:55 -07:00
Eddie Santos
c1486c47ee
fix: auto-update sandbox regression ( #1221 )
2025-06-19 21:40:10 +00:00
Allen Hutchison
fbc79c34c9
Fix noise in headless mode on STDOUT ( #1184 )
2025-06-18 11:40:15 -07:00
Brandon Keiji
332512853e
feat: consolidate sandbox configurations into a single object ( #1154 )
2025-06-18 17:01:00 +00:00
Eddie Santos
c3971754bf
Auto-update notifications ( #1110 )
2025-06-17 15:24:07 +00:00
matt korwel
df938d6ee8
Preflight and integration npx ( #1096 )
2025-06-16 15:27:29 +00:00
Mark McDonald
ffc48b16d4
Add Vertex env vars to sandbox ( #1005 )
...
Co-authored-by: Scott Densmore <scottdensmore@github.com >
2025-06-16 02:55:13 +00:00
Brandon Keiji
209381f06f
fix: add micromatch to package deps ( #1020 )
2025-06-13 22:18:05 +00:00
Mark McDonald
ff478781ad
Support GOOGLE_API_KEY hoisting in sandbox too ( #998 )
2025-06-13 08:32:15 +00:00
Jordan Demeulenaere
e1d8a356b0
Fix build_sandbox command ( #974 )
2025-06-12 17:38:10 +00:00
Olcan
f75c48323c
fixes to proxy on macos: prevent curl from hanging during wait-for-proxy by adding ipv6 support and timeout ( #947 )
2025-06-11 11:31:38 -07:00
Olcan
9237e95f11
fix proxy on cloudtops/linux and for older versions of docker, more robust start/stop and error reporting ( #945 )
2025-06-11 10:50:31 -07:00
Olcan
e2d689ff2f
do not auto-enable container sandboxing (fixing recently introduced bug) ( #939 )
2025-06-11 08:25:33 -07:00
Tolik Malibroda
e73d4752df
fix: Change sandbox network check command for docker ( #907 )
2025-06-11 00:13:36 +02:00
Olcan
e38d2078cc
restricted networking for all sandboxing methods, new seatbelt profiles, updated docs, fixes to sandbox build, debugging through sandbox ( #891 )
2025-06-10 08:58:37 -07:00
Tommaso Sciortino
895c1f132f
GEMINI_SANDBOX=false should disable seatbelt ( #888 )
2025-06-10 06:22:02 -07:00
Olcan
c7e82965b1
fix user settings in sandbox broken in recent change ( #885 )
2025-06-10 00:27:40 -07:00
matt korwel
3b943c1582
Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility ( #784 )
2025-06-09 12:19:42 -07:00
Olcan
8f993a6200
drop redundant -s flag for custom sandbox build ( #859 )
2025-06-08 16:43:04 -07:00