sandbox-agent/examples
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
..
boxlite chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
boxlite-python chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
cloudflare Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
computesdk Add SDK health wait gate (#206) 2026-03-06 00:05:06 -08:00
daytona chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
docker chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
docker-python chore: add boxlite 2026-02-25 02:18:16 -08:00
e2b chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
file-system chore: fix bad merge 2026-02-11 07:33:19 -08:00
mcp chore: fix bad merge 2026-02-11 07:57:02 -08:00
mcp-custom-tool chore: fix bad merge 2026-02-11 07:57:02 -08:00
mock-acp-agent chore: fix bad merge 2026-02-11 07:57:02 -08:00
permissions Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
persist-memory feat: add session persistence examples and SQLite driver 2026-02-11 20:35:14 -08:00
persist-postgres feat: add session persistence examples and SQLite driver 2026-02-11 20:35:14 -08:00
persist-sqlite feat: add session persistence examples and SQLite driver 2026-02-11 20:35:14 -08:00
shared chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
skills chore: fix bad merge 2026-02-11 07:33:19 -08:00
skills-custom-tool chore: fix bad merge 2026-02-11 07:33:19 -08:00
vercel chore(release): update version to 0.3.0 2026-03-07 18:54:35 -08:00
CLAUDE.md acp spec (#155) 2026-02-11 14:47:41 +00:00