Repository navigation
Add si run to start and follow Cloud Agent runs - #8
Conversation
si run list and view show your agent runs, with the end of the transcript on view. si run start --repo OWNER/NAME starts one, and the server explains when the GitHub app or your GitHub connection is missing. si run cancel asks a run to stop, and si run handoff prints the branch, prompt and command for continuing it locally. The client crate gets the matching endpoints and the AgentRun type. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
This change introduces a new si run command group to the CLI, enabling users to list, view, start, cancel, and hand off Cloud Agent runs. The CLI's command parser, main entrypoint, and command module registry are updated to support these subcommands. The run.rs command handler implements the logic for each subcommand, interacting with new client methods in the sigit-si-api crate. The API client gains methods for listing, viewing, creating, cancelling, and handing off agent runs, as well as the AgentRun model. The UI renderer is extended to display agent run lists and details. All changes are well-scoped, and previous review points appear addressed. No critical or warning-level issues are apparent in the new logic or API usage.
Automated review by siGit Code Review · commit 558150c · see the review dashboard
Adds
si run list,view,start,cancelandhandoff.viewshows the status and the end of the transcript.start --repo OWNER/NAME <PROMPT>works on GitHub repos where the siGit Code app is installed and your connected GitHub account can write. When that isn't the case the server's error explains it, and the CLI prints it as is.handoffprints the branch, prompt and command for continuing a run locally. The context is already JSON, so it prints the same with or without--json.The client crate gets
agent_runs,agent_run,create_agent_run,cancel_agent_runandagent_run_handoff, and theAgentRuntype.Checked with
cargo fmt --check,cargo clippy -D warnings,cargo test --workspaceandcargo check -p sigit-si-api --no-default-features.