Expand description
AgentBridge: MCP access to a local coding workspace.
The Brain (a remote AI) inspects the workspace through read-only MCP tools and starts a local Executor (OpenCode) with a structured C2C PLAN. The Executor is the only component that writes files or runs commands.
Re-exports§
pub use config::Config;pub use projects::ProjectHub;pub use protocol::C2cMessage;pub use protocol::C2cPlan;pub use protocol::C2cState;pub use task::TaskRuntime;pub use workspace::Workspace;pub use workspace::WorkspaceError;
Modules§
- config
- doctor
- executor
- OpenCode executor adapter.
- git
- mcp
- oauth
- Lightweight OAuth 2.1 authorization server for MCP clients.
- projects
- Multi-project workspace hub.
- protocol
- server
- state
- task
- Task lifecycle: PLAN → OpenCode → result.
- tunnel
- Local Cloudflare Tunnel helper for the tray console.
- ui
- Desktop tray console: start/stop the MCP gateway and edit local config.
- workspace