feat(server): OpenCode + ACP/Cursor providers + config overlay - #12
Merged
Conversation
OpenCode provider on @opencode-ai/sdk (shared opencode serve, SSE event routing per session, tool-call normaliser) and a generic ACP provider on @agentclientprotocol/sdk (stdio NDJSON, permission auto-approve-once with observability event, toolSnapshotTransformer hook) with cursor-agent as the first ACP consumer. Co-authored-by: opencode-agent <hello@sst.dev>
Loads agents.providers overrides at boot (extends claude/opencode/cursor for aliases, extends acp + command for generic ACP agents) and merges them over the built-ins via a provider factory. Overlay providers are advertised in hello_ack and provider.list. Co-authored-by: opencode-agent <hello@sst.dev>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
johnnyhuy
added a commit
that referenced
this pull request
Aug 9, 2026
* feat(server): opencode + acp/cursor providers OpenCode provider on @opencode-ai/sdk (shared opencode serve, SSE event routing per session, tool-call normaliser) and a generic ACP provider on @agentclientprotocol/sdk (stdio NDJSON, permission auto-approve-once with observability event, toolSnapshotTransformer hook) with cursor-agent as the first ACP consumer. Co-authored-by: opencode-agent <hello@sst.dev> * feat(server): ~/.supaplane/config.json provider overlay Loads agents.providers overrides at boot (extends claude/opencode/cursor for aliases, extends acp + command for generic ACP agents) and merges them over the built-ins via a provider factory. Overlay providers are advertised in hello_ack and provider.list. Co-authored-by: opencode-agent <hello@sst.dev> --------- Co-authored-by: opencode-agent <hello@sst.dev>
johnnyhuy
added a commit
that referenced
this pull request
Aug 9, 2026
* feat(server): opencode + acp/cursor providers OpenCode provider on @opencode-ai/sdk (shared opencode serve, SSE event routing per session, tool-call normaliser) and a generic ACP provider on @agentclientprotocol/sdk (stdio NDJSON, permission auto-approve-once with observability event, toolSnapshotTransformer hook) with cursor-agent as the first ACP consumer. Co-authored-by: opencode-agent <hello@sst.dev> * feat(server): ~/.supaplane/config.json provider overlay Loads agents.providers overrides at boot (extends claude/opencode/cursor for aliases, extends acp + command for generic ACP agents) and merges them over the built-ins via a provider factory. Overlay providers are advertised in hello_ack and provider.list. Co-authored-by: opencode-agent <hello@sst.dev> --------- Co-authored-by: opencode-agent <hello@sst.dev>
johnnyhuy
added a commit
that referenced
this pull request
Aug 9, 2026
* feat(server): opencode + acp/cursor providers OpenCode provider on @opencode-ai/sdk (shared opencode serve, SSE event routing per session, tool-call normaliser) and a generic ACP provider on @agentclientprotocol/sdk (stdio NDJSON, permission auto-approve-once with observability event, toolSnapshotTransformer hook) with cursor-agent as the first ACP consumer. Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> * feat(server): ~/.supaplane/config.json provider overlay Loads agents.providers overrides at boot (extends claude/opencode/cursor for aliases, extends acp + command for generic ACP agents) and merges them over the built-ins via a provider factory. Overlay providers are advertised in hello_ack and provider.list. Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> --------- Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
johnnyhuy
added a commit
that referenced
this pull request
Aug 9, 2026
* feat(server): opencode + acp/cursor providers OpenCode provider on @opencode-ai/sdk (shared opencode serve, SSE event routing per session, tool-call normaliser) and a generic ACP provider on @agentclientprotocol/sdk (stdio NDJSON, permission auto-approve-once with observability event, toolSnapshotTransformer hook) with cursor-agent as the first ACP consumer. Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> * feat(server): ~/.supaplane/config.json provider overlay Loads agents.providers overrides at boot (extends claude/opencode/cursor for aliases, extends acp + command for generic ACP agents) and merges them over the built-ins via a provider factory. Overlay providers are advertised in hello_ack and provider.list. Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> --------- Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
This was referenced Aug 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@opencode-ai/sdk): lazily spawns one sharedopencode serve, creates sessions per workspace cwd, routes SSE events to per-session sinks, normalises tool calls/text/reasoning/status.listModels()is runtime-discovered fromprovider.list.@agentclientprotocol/sdk): spawns any ACP-speaking agent binary over stdio NDJSON, streamssession/updates intoAgentEvents, auto-approves permissions once while emitting an observability event,toolSnapshotTransformerhook per docs/providers.md. Cursor ships as the first consumer (cursor-agent acp).~/.supaplane/config.jsonagents.providersmap —extends: "claude"|"opencode"|"cursor"for aliases,extends: "acp"+commandfor any user-defined agent. Overlay providers are advertised inhello_ackandprovider.list.Consequences
@echohello/server:@opencode-ai/sdk,@agentclientprotocol/sdk.opencode/cursor-agentbinaries don't break daemon boot;provider.diagnosticsurfaces availability.Testing
bun run typecheckclean,bun run lint0 errors