codeburn/src
iamtoruk a4d261a536 fix: pricing accuracy, stream leak, CSV injection hardening
- Remove bidirectional fuzzy match in getModelCosts that could return
  wrong pricing when a short canonical name prefix-matched a longer key
- Use explicit undefined check in parseLiteLLMEntry so free models with
  zero cost are not silently dropped from the LiteLLM pricing database
- Destroy read stream in finally block of readSessionLines to prevent
  file descriptor leaks when the generator is abandoned early
- Extend CSV injection escaping to cover tab and carriage-return prefixes
- Add optional chaining fallback for empty periods in exportCsv/exportJson
- Add regression tests for all fixes (models, export, fs-utils)
2026-04-20 14:49:32 -07:00
..
providers fix(pi): use bounded readSessionFile helper 2026-04-17 08:32:19 +02:00
bash-utils.ts feat: add Pi provider for tracking Pi agent sessions 2026-04-16 01:54:42 -07:00
classifier.ts chore: normalize Pi tool names via toolNameMap 2026-04-16 01:57:39 -07:00
cli-date.ts feat(report): add --from/--to date range filtering and avgCostPerSession (#80) 2026-04-18 15:11:33 -07:00
cli.ts fix: real-time refresh for menubar and TUI dashboard 2026-04-19 08:55:48 -07:00
compare-stats.ts feat(compare): model comparison with planning rate fix 2026-04-19 08:34:49 -07:00
compare.tsx fix: preserve view on period switch and auto-refresh 2026-04-19 13:34:30 -07:00
config.ts cleanup: strip TUI picker, promote currency command, remove verbose comments 2026-04-14 08:47:45 -07:00
context-budget.ts fix(context-budget): use bounded readSessionFile helper 2026-04-17 08:32:19 +02:00
currency.ts feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
cursor-cache.ts fix: final review cleanup 2026-04-15 05:35:11 -07:00
daily-cache.ts Fix daily cache gap fill using UTC instead of local time 2026-04-19 04:23:17 -07:00
dashboard.tsx fix: preserve view on period switch and auto-refresh 2026-04-19 13:34:30 -07:00
day-aggregator.ts fix: use local timezone for daily date bucketing instead of UTC 2026-04-19 03:18:38 -07:00
export.ts fix: pricing accuracy, stream leak, CSV injection hardening 2026-04-20 14:49:32 -07:00
format.ts fix(status): bucket Today/Month by local date, not UTC 2026-04-17 17:05:08 -07:00
fs-utils.ts fix: pricing accuracy, stream leak, CSV injection hardening 2026-04-20 14:49:32 -07:00
menubar-installer.ts chore: point repo URLs at getagentseal org (#97) 2026-04-18 14:55:44 -07:00
menubar-json.ts feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
models.ts fix: pricing accuracy, stream leak, CSV injection hardening 2026-04-20 14:49:32 -07:00
optimize.ts Merge pull request #68 from lfl1337/fix/remove-claudeignore-references 2026-04-17 14:20:50 +02:00
parser.ts chore(ci): add semgrep guard against prototype pollution regressions in provider hot paths (#78) 2026-04-18 15:10:24 -07:00
sqlite.ts fix(sqlite): load node:sqlite in ESM runtime 2026-04-19 05:27:05 +00:00
types.ts feat: multi-provider support (Codex + provider plugin system) 2026-04-14 04:32:09 -07:00