Christian Gunderman
44d8db20c8
feat(core): use shell for file operations under sandboxing
...
When `security.toolSandboxing` is enabled, the CLI now excludes the lower-fidelity
tools (`grep_search`, `replace`, `write_file`, `read_file`) from the main agent.
Instead, it relies on `run_shell_command` (e.g. `sed`, `grep`, `cat`, `echo >`)
to perform these actions.
To maintain UX and telemetry parity, `run_shell_command` now infers common file
operations. When detected:
- The UI title is updated to a high-fidelity display (e.g. "Shell (Read File)",
"Shell (Replace)").
- File editing/writing commands (like `sed -i` or `echo >`) generate a predicted
diff view for the user during confirmation.
- The execution emits the standard `FileOperationEvent` telemetry using the
canonical tool names, ensuring metrics consistency.
2026-04-13 19:23:50 -07:00
..
2026-03-05 19:57:28 +00:00
2026-03-05 19:57:28 +00:00
2026-03-05 21:00:01 +00:00
2026-03-05 21:00:01 +00:00
2026-03-21 03:59:16 +00:00
2026-03-13 17:49:33 +00:00
2026-03-05 13:29:35 +00:00
2026-03-05 13:29:35 +00:00
2026-03-05 13:29:35 +00:00
2026-03-05 13:29:35 +00:00
2026-03-13 17:49:33 +00:00
2026-03-19 16:32:35 +00:00
2026-03-24 20:14:48 +00:00
2026-01-29 19:08:34 +00:00
2026-01-22 17:02:56 +00:00
2026-02-20 17:18:07 +00:00
2026-02-20 17:18:07 +00:00
2025-10-28 19:13:45 +00:00
2026-01-20 08:43:15 +00:00
2026-01-20 08:43:15 +00:00
2026-01-05 22:46:23 +00:00
2026-03-25 00:22:23 +00:00
2026-03-12 15:47:21 +00:00
2026-03-25 13:46:00 +00:00
2026-03-27 16:19:15 +00:00
2026-01-05 22:46:23 +00:00
2026-02-26 15:42:34 +00:00
2025-11-04 16:08:46 +00:00
2025-12-15 19:11:08 +00:00
2026-01-29 22:05:19 +00:00
2026-02-05 18:07:47 +00:00
2025-12-30 19:13:16 +00:00
2025-12-30 19:13:16 +00:00
2026-03-06 17:06:23 +00:00
2026-03-06 17:06:23 +00:00
2025-11-27 05:38:35 +00:00
2025-11-27 05:38:35 +00:00
2025-11-27 05:38:35 +00:00
2025-11-27 05:38:35 +00:00
2025-11-27 05:38:35 +00:00
2026-02-15 19:42:13 +00:00
2025-12-30 23:22:53 +00:00
2025-11-27 05:38:35 +00:00
2025-12-03 17:04:13 +00:00
2025-12-03 18:01:57 +00:00
2025-12-03 18:01:57 +00:00
2025-11-27 05:38:35 +00:00
2025-12-30 19:37:43 +00:00
2025-11-27 05:38:35 +00:00
2025-12-03 17:04:13 +00:00
2025-12-03 17:04:13 +00:00
2025-12-03 17:04:13 +00:00
2025-12-03 17:04:13 +00:00
2025-12-03 17:04:13 +00:00
2026-02-24 03:57:00 +00:00
2025-11-27 05:38:35 +00:00
2026-03-23 20:54:47 +00:00
2025-11-06 23:03:52 +00:00
2026-01-08 00:10:50 +00:00
2026-01-08 00:10:50 +00:00
2026-03-02 22:44:49 +00:00
2026-02-05 18:07:47 +00:00
2026-01-05 22:46:23 +00:00
2025-12-15 21:18:04 +00:00
2026-02-20 00:38:22 +00:00
2026-02-20 00:38:22 +00:00
2026-03-26 18:45:03 +00:00
2026-03-05 01:01:52 +00:00
2026-03-05 01:01:52 +00:00
2026-03-05 01:01:52 +00:00
2026-03-24 04:48:13 +00:00
2026-02-05 18:07:47 +00:00
2025-12-15 21:18:04 +00:00
2026-02-06 21:33:13 +00:00
2026-02-06 21:33:13 +00:00
2026-02-26 04:16:21 +00:00
2026-03-24 04:48:13 +00:00
2026-04-13 19:23:50 -07:00
2026-02-05 18:07:47 +00:00
2026-01-18 19:51:05 -08:00
2026-01-14 20:57:46 +00:00
2026-02-05 18:07:47 +00:00
2026-01-29 00:01:57 +00:00
2026-01-29 00:01:57 +00:00
2026-01-29 00:01:57 +00:00
2026-03-23 20:54:47 +00:00
2025-12-15 21:18:04 +00:00
2026-03-23 20:54:47 +00:00
2025-10-30 18:05:49 +00:00
2026-03-23 22:15:46 +00:00
2026-03-23 22:15:46 +00:00
2025-08-22 00:34:13 +00:00
2026-03-11 23:58:58 +00:00
2026-03-11 23:58:58 +00:00
2025-12-15 21:18:04 +00:00
2026-02-10 07:54:23 +00:00
2026-02-26 15:42:34 +00:00