Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli discovers the opencode binary and validates its version.
|
Package cli discovers the opencode binary and validates its version. |
|
Package handlers provides a Dispatcher that implements acp.Client so the coder/acp-go-sdk ClientSideConnection can dispatch agent→client RPCs and notifications into opencodesdk.
|
Package handlers provides a Dispatcher that implements acp.Client so the coder/acp-go-sdk ClientSideConnection can dispatch agent→client RPCs and notifications into opencodesdk. |
|
mcp
|
|
|
bridge
Package bridge runs a loopback HTTP MCP server that exposes user- supplied in-process tools to opencode.
|
Package bridge runs a loopback HTTP MCP server that exposes user- supplied in-process tools to opencode. |
|
Package observability defines the OTel metric and span instruments the SDK records.
|
Package observability defines the OTel metric and span instruments the SDK records. |
|
Package serve manages a short-lived `opencode serve` subprocess and exposes the base URL of its HTTP API.
|
Package serve manages a short-lived `opencode serve` subprocess and exposes the base URL of its HTTP API. |
|
Package session provides read-only SQLite access to opencode's local session store at $XDG_DATA_HOME/opencode/opencode.db.
|
Package session provides read-only SQLite access to opencode's local session store at $XDG_DATA_HOME/opencode/opencode.db. |
|
Package subprocess manages the opencode acp child process and wires its stdio into the coder/acp-go-sdk protocol layer.
|
Package subprocess manages the opencode acp child process and wires its stdio into the coder/acp-go-sdk protocol layer. |
|
Package tuimodel reads the opencode TUI's persisted model selection from $XDG_STATE_HOME/opencode/model.json so the SDK can default new sessions to whatever model the user last picked interactively.
|
Package tuimodel reads the opencode TUI's persisted model selection from $XDG_STATE_HOME/opencode/model.json so the SDK can default new sessions to whatever model the user last picked interactively. |
Click to show internal directories.
Click to hide internal directories.