Skip to content

feat: group session commands under session subcommand#32

Merged
broody merged 2 commits intomainfrom
feat/session-subcommands
Feb 13, 2026
Merged

feat: group session commands under session subcommand#32
broody merged 2 commits intomainfrom
feat/session-subcommands

Conversation

@broody
Copy link
Collaborator

@broody broody commented Feb 13, 2026

Summary

  • Combine generate + register into single session auth command (generates keypair then registers in one flow)
  • Move status and clear under session subcommand
  • Add session list and session revoke stubs
  • Remove unused store command
  • Warn and prompt user (y/N) when an active session exists; --overwrite skips the prompt
  • Flatten status policies output to address:entrypoint array
  • Clean up verbose authorize output to show only policies summary, authorization URL, and waiting message
  • Reorder top-level commands: session, execute, call, transaction, lookup

Test plan

  • cargo build compiles successfully
  • cargo test — all 34 tests pass
  • controller session auth --file examples/policies.json works end-to-end
  • controller session status shows session info with flat policies array
  • controller session clear clears session data
  • controller session list and controller session revoke print stub messages
  • controller --help shows correct command ordering
  • controller session --help shows auth, status, list, revoke, clear

🤖 Generated with Claude Code

broody and others added 2 commits February 12, 2026 17:00
Combine `generate` + `register` into `session auth`, move `status` under
`session status`, and add `list`/`revoke` stubs. Simplify authorize output
and flatten status policies to `address:entrypoint` array.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…mands

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@broody broody merged commit 39d29fc into main Feb 13, 2026
3 checks passed
broody added a commit that referenced this pull request Feb 13, 2026
* feat: group session commands under `session` subcommand

Combine `generate` + `register` into `session auth`, move `status` under
`session status`, and add `list`/`revoke` stubs. Simplify authorize output
and flatten status policies to `address:entrypoint` array.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
broody added a commit that referenced this pull request Feb 13, 2026
* feat: group session commands under `session` subcommand

Combine `generate` + `register` into `session auth`, move `status` under
`session status`, and add `list`/`revoke` stubs. Simplify authorize output
and flatten status policies to `address:entrypoint` array.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant