mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-02 00:40:14 +00:00
Reads token usage from Cursor's local state.vscdb database. Supports per-request input/output tokens, model tracking, and incremental caching for large databases. - better-sqlite3 as optionalDependency (lazy-loaded, no impact on Claude/Codex) - Parameterized SQL queries, read-only mode, per-row error handling - Schema detection with clear error on format changes - Cache layer with timestamp watermark for incremental reads - Provider colors and [p] key cycling in dashboard - 39 tests passing, zero regressions
51 lines
1 KiB
JSON
51 lines
1 KiB
JSON
{
|
|
"name": "codeburn",
|
|
"version": "0.4.4",
|
|
"description": "See where your AI coding tokens go - by task, tool, model, and project",
|
|
"type": "module",
|
|
"main": "./dist/cli.js",
|
|
"bin": {
|
|
"codeburn": "dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsx src/cli.ts",
|
|
"test": "vitest",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"claude-code",
|
|
"cursor",
|
|
"codex",
|
|
"ai-coding",
|
|
"token-usage",
|
|
"cost-tracking",
|
|
"observability",
|
|
"developer-tools"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"author": "AgentSeal <hello@agentseal.org>",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"chalk": "^5.4.1",
|
|
"commander": "^13.1.0",
|
|
"ink": "^7.0.0",
|
|
"react": "^19.2.5"
|
|
},
|
|
"optionalDependencies": {
|
|
"better-sqlite3": "^12.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.0",
|
|
"@types/react": "^19.2.14",
|
|
"tsup": "^8.4.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.1.0"
|
|
}
|
|
}
|