Files
orca/src
NeilandOrca 3ac40c2754 fix(tabs): bound the transcript scan and requeue the newest title frame
Cross-referenced against community PR #12319 by @lafraia.

- Scan a 256 KB tail first and only widen to a full stream scan when the tail
  holds no rename record. Measured on real transcripts, Claude re-appends the
  record most turns (2.8 MB session, 37 records, newest 403 B from EOF), but a
  rename made once at the top of a long session still has to resolve.
- `findClaudeSessionRenameRecord` separates "no record in this range" from
  "the rename was cleared", so the widening pass cannot resurface a name the
  agent already removed.
- A title frame that arrives while a scan is open is now requeued instead of
  dropped. Claude stops auto-titling after a rename, so a dropped frame could
  leave the tab on the generated title with no later change to retry on.

Co-authored-by: Orca <help@stably.ai>
2026-08-04 01:05:17 -07:00
..