Expand description
CLI subcommands for background agents.
Provides CLI access to task-graph operations for background agents that don’t have MCP access. Calls the same underlying tool functions used by the MCP server.
Modules§
- exit_
codes - CLI exit codes for programmatic error handling.
Structs§
- Agent
Args - Agent subcommand arguments.
- Attach
Args - Arguments for the attach command.
- Batch
Args - Arguments for batch file execution.
- Claim
Args - Arguments for the claim command.
- Connect
Args - Arguments for the connect command.
- Disconnect
Args - Arguments for the disconnect command.
- GetArgs
- Arguments for the get command.
- Interactive
Args - Arguments for interactive/batch mode.
- List
Agents Args - Arguments for the list-agents command.
- List
Tasks Args - Arguments for the list-tasks command.
- Prompts
Args - Arguments for the prompts command.
- Thinking
Args - Arguments for the thinking command.
- Update
Args - Arguments for the update command.
Enums§
- Agent
Command - Available agent subcommands.
- CliOutput
Format - Output format for CLI commands.
Functions§
- run_
agent_ command - Run agent subcommands.
- run_
agent_ command_ and_ exit - Run agent subcommands and exit the process. This is a convenience wrapper that calls std::process::exit with the appropriate exit code, since the main function returns Result<()>.