sandbox-agent/docs
Nathan Flurry 76586f409f
Add ACP permission mode support to the SDK (#224)
* chore: recover hamburg workspace state

* chore: drop workspace context files

* refactor: generalize permissions example

* refactor: parse permissions example flags

* docs: clarify why fs and terminal stay native

* feat: add interactive permission prompt UI to Inspector

Add permission request handling to the Inspector UI so users can
Allow, Always Allow, or Reject tool calls that require permissions
instead of having them auto-cancelled. Wires up SDK
onPermissionRequest/respondPermission through App → ChatPanel →
ChatMessages with proper toolCallId-to-pendingId mapping.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: prevent permission reply from silently escalating "once" to "always"

Remove allow_always from the fallback chain when the user replies "once",
aligning with the ACP spec which says "map by option kind first" with no
fallback for allow_once. Also fix Inspector to use rawSend, revert
hydration guard to accept empty configOptions, and handle respondPermission
errors by rejecting the pending promise.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 21:52:43 -07:00
..
ai fix host for docs 2026-02-13 04:53:53 +05:00
deploy Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
images feat(inspector): improve contrast and add collapsible debug panel (#182) 2026-02-13 07:15:40 +00:00
logo chore(site): links and image updates 2026-01-28 02:16:37 -08:00
agent-capabilities.mdx feat: add configuration for model, mode, and thought level (#205) 2026-03-06 00:24:32 -08:00
agent-sessions.mdx Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
architecture.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
attachments.mdx Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
cli.mdx Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
cors.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
credentials.mdx Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
custom-tools.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
daemon.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
docs.json feat: add process management support (#207) 2026-03-07 17:58:31 -08:00
favicon.svg chore(site): diagram mobile and favicon 2026-01-31 22:49:01 -08:00
file-system.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
gigacode.mdx chore: update readme (#98) 2026-02-06 03:03:24 -08:00
inspector.mdx Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
manage-sessions.mdx Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
mcp-config.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
multiplayer.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
observability.mdx feat: add process management support (#207) 2026-03-07 17:58:31 -08:00
openapi.json chore(release): update version to 0.3.0 2026-03-07 18:01:57 -08:00
opencode-compatibility.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
pi-support-plan.md wip: pi working 2026-02-06 16:54:53 -05:00
processes.mdx Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
quickstart.mdx chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
react-components.mdx chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
sdk-overview.mdx Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
security.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
session-persistence.mdx chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
session-restoration.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
session-transcript-schema.mdx Merge branch 'main' into feat/support-pi 2026-02-10 22:27:03 -08:00
skills-config.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
telemetry.mdx docs: documentation overhaul and universal schema reference (#10) 2026-01-28 05:07:15 -08:00
theme.css docs: documentation overhaul and universal schema reference (#10) 2026-01-28 05:07:15 -08:00
troubleshooting.mdx fix: detect musl/glibc at runtime for correct Claude binary download 2026-01-28 04:19:35 -08:00