Context
Child of #78. Depends on #116.
Changes
Add the following flags to the CreateAgent CLI command in orchestrator.rs:
--permission-mode <mode> — value parser for PermissionMode enum
--allowed-tools <tool> — repeatable flag
--disallowed-tools <tool> — repeatable flag
--tools <tools> — comma-separated tool list
--skip-permissions — bool flag
--require-sandbox — bool flag
Wire all flags into the CreateAgentRequest sent to the orchestrator API.
Files
crates/cli/src/commands/orchestrator.rs — CreateAgent variant, create_agent() function
Acceptance Criteria
Context
Child of #78. Depends on #116.
Changes
Add the following flags to the
CreateAgentCLI command inorchestrator.rs:--permission-mode <mode>— value parser for PermissionMode enum--allowed-tools <tool>— repeatable flag--disallowed-tools <tool>— repeatable flag--tools <tools>— comma-separated tool list--skip-permissions— bool flag--require-sandbox— bool flagWire all flags into the
CreateAgentRequestsent to the orchestrator API.Files
crates/cli/src/commands/orchestrator.rs—CreateAgentvariant,create_agent()functionAcceptance Criteria
CreateAgentRequest--skip-permissionsand--require-sandboxconflict validation (optional: warn if both false and no other restrictions)cargo build --workspaceandcargo test -p clipass