Commit Graph

51 Commits

Author SHA1 Message Date
Emily Hedlund
f3f4b21a4d fix(core): batch macOS seatbelt rules into a profile file to prevent ARG_MAX errors (#24255) 2026-03-31 17:35:13 +00:00
Adam Weidman
7c07a9591e feat(core): agnostic background task UI with CompletionBehavior (#22740)
Co-authored-by: mkorwel <matt.korwel@gmail.com>
2026-03-28 21:27:51 +00:00
Spencer
2240ebff33 fix(core): remove shell outputChunks buffer caching to prevent memory bloat and sanitize prompt input (#23751) 2026-03-26 21:16:07 +00:00
Gal Zahavi
fe7baee18b feat(sandbox): dynamic macOS sandbox expansion and worktree support (#23301) 2026-03-24 04:48:13 +00:00
Emily Hedlund
60ffee3a05 feat(core): refactor SandboxManager to a stateless architecture and introduce explicit Deny interface (#23141) 2026-03-23 15:43:58 +00:00
matt korwel
eb01ad9396 feat(core): implement native Windows sandboxing (#21807) 2026-03-19 22:25:22 +00:00
Gal Zahavi
68e7661752 feat(core): integrate SandboxManager to sandbox all process-spawning tools (#22231) 2026-03-13 21:11:51 +00:00
Adam Weidman
7df678488b refactor(core): extract ExecutionLifecycleService for tool backgrounding (#21717) 2026-03-12 04:03:54 +00:00
Gal Zahavi
838b589f8c feat(core): implement SandboxManager interface and config schema (#21774)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-11 21:42:50 +00:00
Manav Sharma
c4cdad755e fix(core)#20941: reap orphaned descendant processes on PTY abort (#21124)
Co-authored-by: Spencer <spencertang@google.com>
2026-03-11 15:36:25 +00:00
Gal Zahavi
a912b7ce23 feat: implement background process logging and cleanup (#21189) 2026-03-11 00:13:20 +00:00
Coco Sheng
bd9b30cf8d fix: prevent hangs in non-interactive mode and improve agent guidance (#20893)
Co-authored-by: Keith Schaab <keith.schaab@gmail.com>
2026-03-10 20:30:58 +00:00
Nicholas Bardy
be1f1ffb77 fix(core): destroy PTY on kill() and exception to prevent fd leak (#21693)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2026-03-10 00:08:16 +00:00
nityam
9c0ff50664 fix: merge duplicate imports in packages/core (3/4) (#20928) 2026-03-04 00:12:59 +00:00
Christian Gunderman
981e9a978e Disallow and suppress unsafe assignment (#19736) 2026-02-20 22:28:55 +00:00
Richie Foreman
f0ba345173 fix(mcp): Ensure that stdio MCP server execution has the GEMINI_CLI=1 env variable populated. (#18832) 2026-02-12 00:07:51 +00:00
Christian Gunderman
c369147b32 Disallow unsafe type assertions (#18688) 2026-02-10 00:10:15 +00:00
Gal Zahavi
2eb8dc3042 feat: Implement background shell commands (#14849) 2026-01-30 17:53:09 +00:00
Gal Zahavi
eb4d28af6a fix(core): fix PTY descriptor shell leak (#16773) 2026-01-16 17:55:29 +00:00
falouu
9d5382bb10 Ensure TERM is set to xterm-256color (#15828) 2026-01-08 23:51:57 +00:00
Christian Gunderman
66fab0bea2 Implemented unified secrets sanitization and env. redaction options (#15348) 2025-12-23 03:18:27 +00:00
Gal Zahavi
b126edaaa4 feat: Pass additional environment variables to shell execution (#15160) 2025-12-18 22:01:23 +00:00
Christian Gunderman
bce7cd8bb3 Disallow redundant typecasts. (#15030) 2025-12-13 01:43:43 +00:00
Gal Zahavi
674190bf8f refactor(core): Improve environment variable handling in shell execution (#14742)
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
Co-authored-by: christine betts <chrstn@uw.edu>
2025-12-09 00:22:46 +00:00
Christian Gunderman
69ae42bb1f Disallow floating promises. (#14605) 2025-12-06 00:12:49 +00:00
Jacob Richman
0c7d3d5d89 Fix issue where we were passing the model content reflecting terminal line wrapping. (#14566) 2025-12-05 04:42:57 +00:00
Jacob Richman
f970cd6c4d Fix bug in the shellExecutionService resulting in both truncation and 3X bloat (#14545) 2025-12-04 18:26:12 -08:00
Aswin Ashok
645c95352e fix(shell): cursor visibility when using interactive mode (#14095)
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
2025-12-04 16:58:03 +00:00
Gal Zahavi
7043c796f0 feat(shell): Standardize pager to 'cat' for shell execution by model (#13878) 2025-11-27 01:23:31 +00:00
Gal Zahavi
3d7f448d46 Improve pty resize error handling for Windows (#13353) 2025-11-19 02:08:01 +00:00
Bryan Morgan
a3426c33e5 Fix/windows pty crash (#12587)
Co-authored-by: LayorX <yor31117@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-05 16:53:03 +00:00
cornmander
5a82097402 Tighten bash shell option handling (#12532) 2025-11-04 16:11:29 +00:00
Mayur Vaid
6e53c9a0f0 fix: Ignore correct errors thrown when resizing or scrolling an exited pty (#11440) 2025-10-22 04:27:49 +00:00
Gal Zahavi
01a4060922 fix(core): Handle PTY spawn errors in macOS sandbox (#11539) 2025-10-21 00:14:27 +00:00
cornmander
1b59c27516 Inline tree-sitter wasm and add runtime fallback (#11157) 2025-10-17 00:25:30 +00:00
cornmander
a75de5a4b4 Revert "Shell approval rework" (#11143) 2025-10-14 22:55:28 +00:00
cornmander
826980397e Shell approval rework (#11073) 2025-10-14 16:51:32 +00:00
Gal Zahavi
975fe478c4 feat(core): improve shell execution service reliability (#10607) 2025-10-10 22:14:37 +00:00
Gal Zahavi
68a6294198 fix(shell): improve shell output presentation and usability (#8837) 2025-09-30 20:44:58 +00:00
Gal Zahavi
1b243dc43f refactor(shell): Send AnsiOutput when ShowColor is false (#8647) 2025-09-18 20:04:46 +00:00
Gal Zahavi
dc7656af8c feat(shell): enable interactive commands with virtual terminal (#6694) 2025-09-11 20:27:27 +00:00
Jacob MacDonald
e984802a9c improve performance of shell commands with lots of output (#7680) 2025-09-04 16:20:24 +00:00
Tommaso Sciortino
77cd06d793 Fix shell argument parsing in windows (#7160) 2025-08-27 19:14:22 +00:00
Pascal Birchler
a97a6cc71b Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
Pascal Birchler
42392f6308 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
Gal Zahavi
40265977fa feat(core): refactor shell execution to use node-pty (#6491)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-19 23:03:51 +00:00
Gal Zahavi
1accf61de8 Revert #6088 (#6328) 2025-08-15 17:27:33 +00:00
Gal Zahavi
bb1da420ff feat(core): refactor shell execution to use node-pty (#6088) 2025-08-14 20:40:12 +00:00
Richie Foreman
421d6e14b1 fix(core): Improve errors in situations where the command spawn does … (#5723) 2025-08-06 23:31:42 +00:00
Tommaso Sciortino
7f50d7dea9 Fix bug executing commands in windows whose flags contain spaces (#5317) 2025-08-01 00:27:07 +00:00