internal/

directory
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: GPL-3.0

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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL