sandbox-agent/research
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
..
acp Add ACP permission mode support to the SDK (#224) 2026-03-10 21:52:43 -07:00
agents chore: fix bad merge 2026-02-11 07:57:02 -08:00
opencode-compat chore: fix bad merge 2026-02-11 07:57:02 -08:00
specs chore: fix bad merge 2026-02-11 07:57:02 -08:00
agent-json-schemas.md add agent schemas 2026-01-24 22:37:22 -08:00
detect-sandbox.md i need to update the terminology of 'capabilities' to 'feature coverage' in the inspector ui and anywhere else its mentioned thats not in the actual api (#61) 2026-02-02 19:00:35 -08:00
human-in-the-loop.md docs: add OpenCode API endpoints for HITL 2026-01-24 22:47:13 -08:00
opencode-tmux-test.md fix: default logging to stdout with configurable target (#91) 2026-02-05 23:07:40 -08:00
opencode-web-customization.md feat: add opencode compatibility layer (#68) 2026-02-04 13:43:05 -08:00
process-terminal-design.md fix: credential detection and provider auth status (#120) 2026-02-07 07:56:06 +00:00
wip-agent-support.md docs: add mcp and skill session config (#106) 2026-02-09 10:13:25 +00:00