Skip to content

Add si run to start and follow Cloud Agent runs - #8

Merged
setoelkahfi merged 1 commit into
cli/commit-statusesfrom
cli/agent-runs
Oct 28, 2026
Merged

setoelkahfi merged 1 commit into
cli/commit-statusesfrom
cli/agent-runs

Conversation

@setoelkahfi

@setoelkahfi setoelkahfi commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Adds si run list, view, start, cancel and handoff.

  • view shows 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.
  • handoff prints 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_run and agent_run_handoff, and the AgentRun type.

Checked with cargo fmt --check, cargo clippy -D warnings, cargo test --workspace and cargo check -p sigit-si-api --no-default-features.

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]>
@setoelkahfi
setoelkahfi added this pull request to stack #12 October 28, 2026 09:16
@setoelkahfi
setoelkahfi requested a review from paydii October 28, 2026 09:16
@setoelkahfi setoelkahfi self-assigned this Oct 28, 2026
@setoelkahfi
setoelkahfi marked this pull request as ready for review October 28, 2026 10:56

@sigit-code-review sigit-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@setoelkahfi
setoelkahfi merged commit 601450a into development Oct 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants