You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Answer opencode permission prompts and add slash command support (#52)
Opencode's HTTP API never answered its own permission.asked events, so
any tool call that needed approval left the turn hanging forever
regardless of the session's permission mode. Now it replies via
POST permission/{id}/reply based on PermissionMode, matching how
AcpCli handles the same decision for ACP-driven providers.
Also wires up opencode's server-side slash commands: a leading
"/name args" prompt is matched against the live command list and
routed through session/{id}/command instead of the plain message
endpoint, and the command list is fetched live for UI autocomplete
in Chat and QuickChat.
Claude-Session: https://claude.ai/code/session_01BuN546g4FftKu675fu9spD
Co-authored-by: Matt Ratcliffe <m.ratcliffe@htrak.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>