codeburn/src
AgentSeal 7aefd674fc fix: drop better-sqlite3 to remove deprecated prebuild-install (#75)
npm was warning on every install that prebuild-install@7.1.3 is no
longer maintained. prebuild-install ships as a transitive dependency
of better-sqlite3 and upstream PR #1446 to replace it is still open,
so we switch to Node's built-in node:sqlite module (stable in Node 24,
experimental in Node 22/23) and remove the better-sqlite3 dep entirely.

- src/sqlite.ts: uses DatabaseSync from node:sqlite. The one-shot
  ExperimentalWarning about SQLite on Node 22/23 is silenced for that
  specific warning; other warnings pass through unchanged.
- package.json: engines.node bumped to >=22 (Node 20 EOL 2026-04-30),
  better-sqlite3 and @types/better-sqlite3 removed, @types/node added
  (it was coming in transitively via @types/better-sqlite3).
- tests/providers/opencode.test.ts: fixture DB creation switched to
  node:sqlite (API parity for the CREATE TABLE + INSERT + prepare
  path we use).

End-user install footprint shrinks from 167 to 40 packages and prints
zero deprecation warnings.

Credit: @primeminister for the report.
2026-04-18 01:26:23 -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.ts feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -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 feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
dashboard.tsx Merge origin/main into feat/optimize 2026-04-16 16:08:20 -07:00
day-aggregator.ts feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
export.ts feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -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 feat(fs-utils): bounded session-file read helper 2026-04-17 08:32:19 +02:00
menubar-installer.ts feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -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: add claude-opus-4-7 model mapping and pricing 2026-04-16 13:48:58 -06:00
optimize.ts Merge pull request #68 from lfl1337/fix/remove-claudeignore-references 2026-04-17 14:20:50 +02:00
parser.ts feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
sqlite.ts fix: drop better-sqlite3 to remove deprecated prebuild-install (#75) 2026-04-18 01:26:23 -07:00
types.ts feat: multi-provider support (Codex + provider plugin system) 2026-04-14 04:32:09 -07:00