feat(session): surface imported sessions as read-only in list/info

main

Commit

computermode2mo ago

Imported sessions are read-only (not resumable/rewindable). Label them so users don't mistake unsupported writes for breakage:

  • session list card shows "imported (read-only)"
  • session info text adds a read-only note; --json/list --json expose kind + read_only
  • resume picker explains when the only sessions present are imports

Rewind already refuses imported checkpoints (refuseIfImportedCheckpoint).

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com Entire-Checkpoint: 01KX4B7QPKJ5NFBCE8C0XMW0QM

Checkpoints

Fix Imported Sessions Handling in CLI

Claude CodeOpus 4.8
View session
Checkpoint 1