multica/server/pkg/agent
Quake Wang 36db325d50
feat(daemon): add opencode as supported agent provider (#341)
* feat(daemon): add opencode as supported agent provider

Add opencode backend alongside claude and codex. The backend spawns
`opencode run --format json`, parses streaming JSON events (text,
tool_use, error, step_start/finish), and supports --prompt for system
prompts. Includes CLI detection, AGENTS.md runtime config, native skill
discovery via .config/opencode/skills/, and 21 tests covering handlers,
JSON parsing, and integration-level processEvents scenarios.

* chore: add .tool-versions to gitignore
2026-04-02 17:52:07 +08:00
..
agent.go feat(daemon): add opencode as supported agent provider (#341) 2026-04-02 17:52:07 +08:00
agent_test.go fix(agent): fix data races, add tests, and fix raw protocol detection 2026-03-24 14:21:10 +08:00
claude.go feat(agent): improve live output UI and add execution history 2026-03-30 23:10:54 +08:00
claude_test.go feat(security): add agent output redaction and private agent assignment enforcement 2026-03-30 22:22:04 +08:00
codex.go feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
codex_test.go feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
opencode.go feat(daemon): add opencode as supported agent provider (#341) 2026-04-02 17:52:07 +08:00
opencode_test.go feat(daemon): add opencode as supported agent provider (#341) 2026-04-02 17:52:07 +08:00