Skip to main content

Module backend

Module backend 

Source
Expand description

Backend abstraction. csd drives claude today and is designed to drive codex later (decision #49: keep the dispatch backend swappable so a forced move off the interactive REPL is a config flip, not a rewrite). Everything release-dependent — the spawn command and the capture-pane gate markers — lives behind this trait in ONE place (PoC gotcha #4).

Structs§

Claude
SpawnOpts
Options needed to build a spawn command. cwd is handled by tmux (-c), not the command itself.

Constants§

CLAUDE_PERMISSION_MODES
Permission modes accepted by claude --permission-mode (PoC §2.1).

Traits§

Backend
A driveable agent CLI.

Functions§

resolve
Resolve a backend by name.