sandbox-agent/server/packages
WellDunDun 9c7a08a165 fix: OpenCode event streaming + bypass permission mode
Three independent fixes for the OpenCode agent adapter:

1. Wrong API endpoints: /event/subscribe → /event, /session/{id}/prompt → /session/{id}/message
2. Untagged enum mis-dispatch: replace serde_json::from_value with manual type-field dispatch
3. Wire permissionMode "bypass" for OpenCode: allow in normalize_permission_mode() and pass
   --dangerously-skip-permissions to CLI (both spawn and spawn_streaming)

Tested with OpenCode 1.1.48 + Kimi K2.5.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 22:13:17 -08:00
..
agent-credentials fix: credential detection and provider auth status (#120) 2026-02-07 07:56:06 +00:00
agent-management fix: OpenCode event streaming + bypass permission mode 2026-02-10 22:13:17 -08:00
error fix: correct inspector package name in Dockerfiles and add .dockerignore (#50) 2026-02-01 23:03:51 -08:00
extracted-agent-schemas feature(ampcode): Enhances ampcode schema with new message types and fields 2026-02-10 22:20:51 +09:00
openapi-gen fix: correct inspector package name in Dockerfiles and add .dockerignore (#50) 2026-02-01 23:03:51 -08:00
sandbox-agent fix: OpenCode event streaming + bypass permission mode 2026-02-10 22:13:17 -08:00
universal-agent-schema feature(ampcode): Enhances ampcode schema with new message types and fields 2026-02-10 22:20:51 +09:00
universal-schema-gen fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00