MCPcopy
hub / github.com/multica-ai/multica / codebuddyBackend

Struct codebuddyBackend

server/pkg/agent/codebuddy.go:22–24  ·  view source on GitHub ↗

codebuddyBackend implements Backend by spawning the CodeBuddy CLI (a Claude Code fork) with --output-format stream-json. It mirrors claude.go's execution model: concurrent stdin/stdout to avoid pipe deadlocks, open stdin for control_request auto-approval, and runContext for zero-timeout = no-deadlin

Source from the content-addressed store, hash-verified

20// avoid pipe deadlocks, open stdin for control_request auto-approval,
21// and runContext for zero-timeout = no-deadline semantics.
22type codebuddyBackend struct {
23 cfg Config
24}
25
26// codebuddyBlockedArgs are flags hardcoded by the daemon that must not be
27// overridden by user-configured custom_args. Overriding these would break

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected