codeburn/packages/cli/package.json
iamtoruk 0fee325b24 Merge branch 'feat/core-extraction' into fix/port-misc
Conflict resolution rules applied:

- packages/cli/src/daily-cache.ts (the only textual conflict): kept the BASE
  side of the version constants and their coordination comment verbatim
  (DAILY_CACHE_VERSION / MIN_SUPPORTED_VERSION stay at 26 — this change moves
  when the watermark advances, not what any cached day contains, so no
  re-derive is owed). Kept the BASE widened re-derive window
  (DAILY_CACHE_RETENTION_DAYS, with its straddle/tz comment) and layered this
  branch's completeness logic on top of it: capture the parse result
  (freshProjects) so sessionComplete() can read the tag off the exact array,
  priorWatermark hold-back on a partial parse, complete: parseWasComplete, and
  the watermarkTrusted stamp.

- packages/cli/src/parser.ts: auto-merged; #929's per-call slicing and #930's
  discovery changes are intact, and this branch's read-only-path additions
  (readOnlyServedStale on the stale/missing-cache-entry arms, network providers
  served from cache instead of re-fetched, hydration completeness tagged onto
  the result array) attach to the post-#929 code paths. Re-read end to end
  after the merge.

- packages/cli/tests/cache-refresh-lock*.test.ts, vitest.config.ts,
  package.json: kept the base config values (testTimeout 30s, retry 2, the
  lock-quarantine test/test:locks scripts, #1068's inode fix, #921's retries)
  and added this branch's corrupt-lock arms on top. The new describe's retry
  is 3, not 6, per review. Added the new corrupt-body file to test:locks:
  the base `test` script excludes tests/cache-refresh-lock*, so the new file
  would otherwise run in no suite.

- Everything else auto-merged as a union; no hunk from either side dropped.
2026-08-21 10:34:13 -07:00

76 lines
2.3 KiB
JSON

{
"name": "codeburn",
"version": "0.9.20",
"description": "See where your AI spend goes - by task, tool, model, and project",
"type": "module",
"main": "./dist/cli.js",
"bin": {
"codeburn": "dist/cli.js"
},
"files": [
"dist"
],
"scripts": {
"bundle-litellm": "node ../../scripts/bundle-litellm.mjs",
"build": "node ../../scripts/bundle-litellm.mjs && tsup && node -e \"const fs=require('fs'); fs.copyFileSync('src/cli.ts','dist/cli.js'); fs.chmodSync('dist/cli.js',0o755)\" && npm run build:dash",
"build:cli": "tsup && node -e \"const fs=require('fs'); fs.copyFileSync('src/cli.ts','dist/cli.js'); fs.chmodSync('dist/cli.js',0o755)\"",
"build:dash": "cd ../../dash && npm install --no-audit --no-fund --silent && npm run build",
"dev": "NODE_OPTIONS=--no-deprecation tsx src/cli.ts",
"test": "vitest run tests --exclude \"tests/cache-refresh-lock*\"",
"test:locks": "vitest run tests/cache-refresh-lock.test.ts tests/cache-refresh-lock-corrupt-body.test.ts tests/cache-refresh-lock-process.test.ts --poolOptions.forks.singleFork=true",
"prepublishOnly": "npm run build"
},
"keywords": [
"claude-code",
"cursor",
"codex",
"kimi",
"devin",
"ibm-bob",
"opencode",
"pi",
"codebuff",
"codewhale",
"ai-coding",
"token-usage",
"cost-tracking",
"observability",
"developer-tools"
],
"engines": {
"node": ">=22.13.0"
},
"author": "AgentSeal <hello@agentseal.org>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/getagentseal/codeburn.git"
},
"bugs": {
"url": "https://github.com/getagentseal/codeburn/issues"
},
"homepage": "https://github.com/getagentseal/codeburn#readme",
"dependencies": {
"@codeburn/core": "0.9.20",
"@modelcontextprotocol/sdk": "^1.29.0",
"bonjour-service": "^1.4.1",
"chalk": "^5.4.1",
"commander": "^13.1.0",
"ink": "^7.0.0",
"react": "^19.2.5",
"selfsigned": "^5.5.0",
"strip-ansi": "^7.2.0",
"undici": "^7.27.2",
"zod": "^3.25.76"
},
"devDependencies": {
"@types/node": "^22.19.17",
"@types/react": "^19.2.14",
"@types/selfsigned": "^2.0.4",
"playwright": "^1.61.1",
"tsup": "^8.4.0",
"tsx": "^4.19.0",
"typescript": "^5.8.0",
"vitest": "^3.1.0"
}
}