Part of #2 (fork takeover — upstream dormant since 2026-05). The parser fix currently lives only as upstream PR matt1398#235 and a local stopgap (priceFamily() regex in src/cli/analyzeSession.ts). Since the fork now carries the fix, make it real:
Что сделать
git cherry-pick 9d7bea7 (fix(parser): parse short model ids without date suffix — branch fix/parse-short-model-ids) into main.
- Remove the
priceFamily() stopgap from src/cli/analyzeSession.ts — call parseModelString directly (the deleted guard makes short ids parse natively now).
- Close upstream PR #235 with a "fix carried in fork (upstream dormant)" comment; keep the branch for reference.
Acceptance
Part of #2 (fork takeover — upstream dormant since 2026-05). The parser fix currently lives only as upstream PR matt1398#235 and a local stopgap (
priceFamily()regex insrc/cli/analyzeSession.ts). Since the fork now carries the fix, make it real:Что сделать
git cherry-pick 9d7bea7(fix(parser): parse short model ids without date suffix — branchfix/parse-short-model-ids) intomain.priceFamily()stopgap fromsrc/cli/analyzeSession.ts— callparseModelStringdirectly (the deleted guard makes short ids parse natively now).Acceptance
pnpm typecheck && pnpm testgreenpnpm analyze:sessionon the August session still printsest. cost: $2.39(sonnet pricing via native parse)priceFamilyreferences left; upstream PR fix(parser): parse short model ids without date suffix matt1398/claude-devtools#235 closed with comment