Skip to content

feat: add session archive/unarchive support to TUI#22372

Open
B67687 wants to merge 2 commits intoanomalyco:devfrom
B67687:feat/tui-archive-session-v2
Open

feat: add session archive/unarchive support to TUI#22372
B67687 wants to merge 2 commits intoanomalyco:devfrom
B67687:feat/tui-archive-session-v2

Conversation

@B67687
Copy link
Copy Markdown

@B67687 B67687 commented Apr 14, 2026

Issue for this PR

Closes #13964

Type of change

  • New feature

What does this PR do?

Adds session archive/unarchive support to the TUI:

  • /archive slash command to archive current session
  • Session list shows archived sessions when toggled with Tab
  • Selecting an archived session unarchives it
  • Auto-navigate home when current session is archived
  • session_archive keybind (configurable)

This is arebased version of PR #13961 by @uriva, updated to current dev to resolve conflicts that accumulated after the March rebase.

How did you verify your code works?

Rebased onto current dev - used the same conflict resolution approach that worked before. Typecheck passes (at least for the changed opencode package).

Screenshots / recordings

N/A - no UI changes, only keybinds and list filtering.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions
Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search results, I found the following related PRs:

Potential Related PRs:

  1. PR feat: add session archive/unarchive support to TUI #13961 - "feat: add session archive/unarchive support to TUI"

  2. PR feat(app): view archived sessions & unarchive #15250 - "feat(app): view archived sessions & unarchive"

  3. PR feat(session): add archive undo + unarchive command #16212 - "feat(session): add archive undo + unarchive command"

  4. PR fix: --continue should skip archived sessions #22174 - "fix: --continue should skip archived sessions"

The current PR (22372) is explicitly a rebase of PR #13961, so they address the exact same feature but at different points in time.

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.

feat: add session archive/unarchive support to TUI

2 participants