Repository navigation
v0.2.2
v0.2.2 — fix titles ending in a dangling "-" (minor topic squeezed out)
- fix: truncateTitleByWidth never emits a bare "major -" anymore — a trailing standalone dash is stripped before any width check
- fix: budget splits (55/45 → 45/55 → 50/50) give a long minor topic more room before either side is sacrificed
- fix: when only one side can survive, fall back to the complete major topic instead of a dangling dash
- fix: summarizer prompt now also requires the MINOR topic to be short (about 2-4 CJK chars / 1-2 words) and forbids a bare "major -"
- test: 3 new regression cases (dangling dash, partial-minor preservation, trailing-dash strip) — 27/27 green
- verified live: session title renders as "修复标题 - 验证"