You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prefer Pi's explicit session name, then a generated session title, then the opening user request.
Scan up to 12 recent session files and up to 1 MiB of each so titles beyond large early entries can be discovered without loading complete transcripts.
Fixes
Respect empty session_info.name as an explicit clear and never revive an older generated title; a newly generated title can still appear later.
Keep generated titles with line breaks or terminal control characters on a single Welcome Card row.
Verification
npm ci: completed with 0 vulnerabilities.
npm run check: typecheck, 78 tests, dependency-cruiser, build, and package smoke passed.
npm publish --dry-run: expected 7-file npm artifact for @nguyenquangthai/pi-omp-theme@1.0.13.
Windows PTY smoke with Pi 0.87.1 and the built extension: a real interactive startup showed the manual title instead of later generated state, omitted a cleared title, and rendered a multi-line generated title on one card row.