codeburn/app/electron
ozymandiashh f899e3d824
fix(app): pass --min-cost 0 so Models shows sub-cent and unpriced rows (#1474)
The CLI defaults minCost to $0.01 and the desktop bridge passed no override, so the Models table silently dropped every row under a cent. That also excluded every unpriced row, since a 0 >= 0.01 predicate can never hold, leaving #1443's dimming and add-alias affordances unreachable in the shipped app.

codeburn:getModels now passes --min-cost 0, and the demo bridge mirrors it. --unpriced would have been wrong: it filters to only the unpriced rows rather than completing the set.

On a frozen lifetime range the flag is exactly additive: 41 rows and 168,141 calls become 62 rows and 170,314 calls, +2,173 calls and +$0.007890, every original row unchanged. 20 of the 21 recovered rows are unpriced; one is a genuinely priced sub-cent row. The app agrees, 41 rows before and 62 after, with 20 dimmed rows and 20 add-alias buttons where there were none.

Fixes #1465.
2026-09-18 04:12:27 -07:00
..
quota
cli-win32-reap.test.ts
cli-win32-tree-kill.test.ts
cli.test.ts
cli.ts
main.test.ts
main.ts
menubar.test.ts
menubar.ts
preload.ts
telemetry.test.ts
telemetry.ts
tray-settings-atomic.test.ts
tray-settings-lock.test.ts
tray-settings.test.ts
tray-settings.ts
updates.test.ts
updates.ts