feat(cli): add sessions list/resume/destroy subcommands #146

Merged
jason.woltje merged 1 commits from feat/p7-019-cli-sessions into main 2026-03-15 19:04:11 +00:00
Owner

Summary

  • Add to display all active agent sessions (id, model, provider, created time, prompt count)
  • Add to reconnect to an existing session in the TUI
  • Add to terminate an active agent session
  • Add , , and / interfaces to
  • All commands authenticate via the stored session cookie from

Gateway endpoints (, ) already existed.

Closes #130

Test plan

  • shows active sessions or No
## Summary - Add to display all active agent sessions (id, model, provider, created time, prompt count) - Add to reconnect to an existing session in the TUI - Add to terminate an active agent session - Add , , and / interfaces to - All commands authenticate via the stored session cookie from Gateway endpoints (, ) already existed. Closes #130 ## Test plan - [ ] shows active sessions or No
jason.woltje added 1 commit 2026-03-15 18:58:24 +00:00
feat(cli): add sessions list/resume/destroy subcommands (#130)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
f6dbfd72fa
Add `mosaic sessions list`, `mosaic sessions resume <id>`, and
`mosaic sessions destroy <id>` CLI subcommands that interact with the
existing gateway `/api/sessions` endpoints. Also adds `fetchSessions`,
`deleteSession`, and related DTO interfaces to `gateway-api.ts`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jason.woltje merged commit c4850fe6c1 into main 2026-03-15 19:04:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#146