Skip to content

feat(cli): add --json to session kill/restore/rename/cleanup - #3354

Open
Ayush7614 wants to merge 1 commit into
Untrivial-ai:mainfrom
Ayush7614:cli-session-mutation-json
Open

feat(cli): add --json to session kill/restore/rename/cleanup#3354
Ayush7614 wants to merge 1 commit into
Untrivial-ai:mainfrom
Ayush7614:cli-session-mutation-json

Conversation

@Ayush7614

@Ayush7614 Ayush7614 commented Jul 30, 2026

Copy link
Copy Markdown

Summary

  • Align mutating session commands with ls/get/claim-pr machine-readable output
  • Scripts can drive the full session lifecycle without scraping prose

Test plan

  • go test ./internal/cli/ -run 'TestSessionKill_JSON|TestSessionRestore_JSON|TestSessionRename_JSON|TestSessionCleanup_JSON'
  • Spot-check prose paths still work without --json

Make mutating session commands emit machine-readable output like
ls/get/claim-pr, so scripts can drive the full session lifecycle.
@somewherelostt

Copy link
Copy Markdown
Collaborator

Thanks for contributing to Agent Orchestrator.

This PR is being picked up by the current external contributor on-call pair:

If someone is already working on this, please continue as usual.
The on-call pair is added for visibility, tracking, and support, not to take over the work.
If you need help with review, direction, reproduction, or next steps, please tag @illegalcall and @Pulkit7070 here.

For faster context or live questions, you can also join the AO Discord.

Join the session here:
https://discord.gg/H6ZDcUXmq

Come by if you want to see what is being built, ask questions, or just hang around with the community.

@i-trytoohard i-trytoohard added this to the Lifecycle & recovery milestone Jul 30, 2026
@i-trytoohard i-trytoohard added comp/cli Cobra CLI and daemon-client behavior. enhancement New feature or request labels Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli Cobra CLI and daemon-client behavior. enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants