multica/server/internal/daemon/execenv
Jiang Bohan 5cf4ba803d feat(agent): add OpenClaw runtime support
Add OpenClaw as a fourth supported agent runtime alongside Claude Code,
Codex, and OpenCode. OpenClaw CLI (`openclaw agent -p ... --output-format
stream-json`) is integrated via the same Backend interface pattern.

Changes:
- Add openclawBackend in server/pkg/agent/openclaw.go with NDJSON
  event stream parsing (text, thinking, tool_call, error, step, result)
- Register "openclaw" in the agent factory (agent.go)
- Add MULTICA_OPENCLAW_PATH / MULTICA_OPENCLAW_MODEL env var detection
  in daemon config
- Include "openclaw" in AGENTS.md config injection alongside codex/opencode
- Add comprehensive unit tests for all event handlers and processEvents
2026-04-07 14:40:51 +08:00
..
codex_home.go feat(daemon): inject skills into agent-native directories 2026-03-28 00:47:00 +08:00
context.go feat(daemon): add opencode as supported agent provider (#341) 2026-04-02 17:52:07 +08:00
execenv.go feat(agents): reply as thread instead of top-level comment (#205) 2026-03-31 13:48:39 +08:00
execenv_test.go feat(daemon): add opencode as supported agent provider (#341) 2026-04-02 17:52:07 +08:00
git.go feat(daemon): agent-driven repo checkout with bare clone cache 2026-03-29 19:37:48 +08:00
runtime_config.go feat(agent): add OpenClaw runtime support 2026-04-07 14:40:51 +08:00