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
| 20 | // avoid pipe deadlocks, open stdin for control_request auto-approval, |
| 21 | // and runContext for zero-timeout = no-deadline semantics. |
| 22 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected