feat(tui): implement Sessions screen and session export in JSON format #10171

Open
opened 2026-04-17 04:08:24 +00:00 by HAL9000 · 0 comments
Owner

Background

The Sessions screen provides a dedicated UI for managing saved sessions, accessible via ctrl+s. Users can browse, load, rename, and delete sessions from this screen. Session export in JSON format allows users to archive conversations or share them with others.

Acceptance Criteria

  • SessionsScreen implemented as a proper Textual Screen (not Static widget)
  • Sessions screen shows all saved sessions with name, date, and message count
  • Sessions can be loaded, renamed, and deleted from the screen
  • session:export slash command exports current session as JSON
  • Exported JSON includes full conversation history and metadata
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(tui): implement Sessions screen and session export in JSON format
  • Branch: feature/v3.7.0/tui-sessions-screen
  • Milestone: v3.7.0
  • Ref: #5308 EPIC: TUI Session Management & Persistence — SQLite State & Multi-Session Tabs (v3.7.0)

Subtasks

  • Implement SessionsScreen as a Textual Screen
  • Implement session list view with metadata display
  • Implement load, rename, delete actions on sessions
  • Implement session:export command producing JSON output
  • Write unit tests for screen rendering and export format

Definition of Done

  • Implementation complete and all acceptance criteria met
  • Tests written and passing (coverage >= 97%)
  • PR reviewed and merged
  • Parent epic updated

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Background The Sessions screen provides a dedicated UI for managing saved sessions, accessible via `ctrl+s`. Users can browse, load, rename, and delete sessions from this screen. Session export in JSON format allows users to archive conversations or share them with others. ## Acceptance Criteria - [ ] `SessionsScreen` implemented as a proper Textual `Screen` (not `Static` widget) - [ ] Sessions screen shows all saved sessions with name, date, and message count - [ ] Sessions can be loaded, renamed, and deleted from the screen - [ ] `session:export` slash command exports current session as JSON - [ ] Exported JSON includes full conversation history and metadata - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(tui): implement Sessions screen and session export in JSON format` - **Branch**: `feature/v3.7.0/tui-sessions-screen` - **Milestone**: v3.7.0 - **Ref**: #5308 EPIC: TUI Session Management & Persistence — SQLite State & Multi-Session Tabs (v3.7.0) ## Subtasks - [ ] Implement `SessionsScreen` as a Textual `Screen` - [ ] Implement session list view with metadata display - [ ] Implement load, rename, delete actions on sessions - [ ] Implement `session:export` command producing JSON output - [ ] Write unit tests for screen rendering and export format ## Definition of Done - Implementation complete and all acceptance criteria met - Tests written and passing (coverage >= 97%) - PR reviewed and merged - Parent epic updated --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#10171
No description provided.