codeburn/app/package.json
iamtoruk c755a3c521 snap: strict confinement with read-only personal-files plug
Classic has no fitting store category (per forum feedback) and strict is
electron-builder's well-supported path. One personal-files plug grants
read-only access to the dot-directories the supported tools write session
logs into; the app's own config and cache stay in the snap's private area.
2026-08-12 05:20:15 -07:00

208 lines
6.5 KiB
JSON

{
"name": "codeburn-desktop",
"private": true,
"version": "0.9.20",
"description": "CodeBurn Desktop \u2014 Electron app fed by the codeburn CLI",
"main": "dist/electron/main.js",
"scripts": {
"build:electron": "tsc -p tsconfig.electron.json",
"build:renderer": "vite build",
"build": "npm run build:electron && npm run build:renderer",
"dev": "npm run build:electron && concurrently -k -n vite,electron -c cyan,magenta \"vite\" \"wait-on tcp:127.0.0.1:5173 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
"test": "vitest run",
"typecheck": "tsc --noEmit -p tsconfig.json",
"stage-cli": "npm --prefix .. run build:cli && node scripts/stage-cli.mjs",
"package": "npm run stage-cli && npm run build && electron-builder --mac",
"package:arm64": "npm run stage-cli && npm run build && electron-builder --mac --arm64",
"package:x64": "npm run stage-cli && npm run build && electron-builder --mac --x64",
"package:win": "npm run stage-cli && npm run build && electron-builder --win",
"package:store": "npm run stage-cli && npm run build && electron-builder --win appx --x64",
"package:linux": "npm run stage-cli && npm run build && electron-builder --linux",
"package:snap": "npm run stage-cli && npm run build && electron-builder --linux snap --x64"
},
"dependencies": {
"@gsap/react": "^2.1.2",
"gsap": "^3.15.0",
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^26.1.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.7.0",
"@vitest/ui": "^3.2.7",
"concurrently": "^10.0.3",
"cross-env": "^10.1.0",
"electron": "^43.1.0",
"electron-builder": "^26.15.3",
"jsdom": "^29.1.1",
"typescript": "^7.0.2",
"vite": "^6.4.3",
"vitest": "^3.2.7",
"wait-on": "^9.0.10"
},
"build": {
"appId": "org.agentseal.codeburn-desktop",
"productName": "CodeBurn",
"directories": {
"output": "release"
},
"files": [
"dist/electron/**/*",
"dist/renderer/**/*",
"package.json"
],
"afterPack": "./scripts/after-pack.cjs",
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
{
"target": "zip",
"arch": [
"arm64",
"x64"
]
}
],
"category": "public.app-category.developer-tools",
"icon": "build/icon.png",
"identity": "-",
"hardenedRuntime": false,
"gatekeeperAssess": false,
"extendInfo": {
"NSDocumentsFolderUsageDescription": "CodeBurn reads your local AI coding tool session logs (Claude Code, Codex, Cursor, and others) to calculate your token usage and cost. Your data never leaves your machine.",
"NSDesktopFolderUsageDescription": "CodeBurn reads your local AI coding tool session logs (Claude Code, Codex, Cursor, and others) to calculate your token usage and cost. Your data never leaves your machine.",
"NSDownloadsFolderUsageDescription": "CodeBurn reads your local AI coding tool session logs (Claude Code, Codex, Cursor, and others) to calculate your token usage and cost. Your data never leaves your machine."
}
},
"dmg": {},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icon.png"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"artifactName": "CodeBurn-Setup-${version}.${ext}"
},
"appx": {
"applicationId": "CodeBurn",
"identityName": "Codeburn.CodeBurn",
"publisher": "CN=3EFA3336-87E1-46F2-9DFA-2EB5A7693F89",
"publisherDisplayName": "Codeburn",
"displayName": "CodeBurn",
"artifactName": "CodeBurn-Store-${version}-${arch}.${ext}",
"backgroundColor": "#15100D",
"languages": [
"en-US"
],
"minVersion": "10.0.17763.0",
"maxVersionTested": "10.0.26100.0"
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
},
{
"target": "rpm",
"arch": [
"x64"
]
}
],
"category": "Development",
"icon": "build/icon.png",
"maintainer": "AgentSeal <hello@agentseal.org>",
"executableName": "codeburn"
},
"snap": {
"confinement": "strict",
"grade": "stable",
"summary": "See where your AI coding spend actually goes",
"artifactName": "codeburn_${version}_${arch}.${ext}",
"plugs": [
"desktop",
"desktop-legacy",
"home",
"x11",
"wayland",
"unity7",
"browser-support",
"network",
"gsettings",
"opengl",
{
"ai-agent-session-logs": {
"interface": "personal-files",
"read": [
"$HOME/.claude",
"$HOME/.cline",
"$HOME/.codewhale",
"$HOME/.codex",
"$HOME/.copilot",
"$HOME/.cursor",
"$HOME/.deepseek",
"$HOME/.factory",
"$HOME/.forge",
"$HOME/.gemini",
"$HOME/.grok",
"$HOME/.hermes",
"$HOME/.kimi",
"$HOME/.kiro",
"$HOME/.kiro-server",
"$HOME/.lingtai",
"$HOME/.lingtai-tui",
"$HOME/.mux",
"$HOME/.omp",
"$HOME/.openclaude",
"$HOME/.pi",
"$HOME/.quickwork",
"$HOME/.qwen",
"$HOME/.vibe",
"$HOME/.zcode",
"$HOME/.config/Claude",
"$HOME/.config/Code",
"$HOME/.config/Code - Insiders",
"$HOME/.config/Cursor",
"$HOME/.config/Kiro",
"$HOME/.config/Open Design",
"$HOME/.config/VSCodium",
"$HOME/.config/github-copilot",
"$HOME/.config/manicode",
"$HOME/.local/share/zed"
]
}
}
]
}
},
"homepage": "https://github.com/getagentseal/codeburn",
"author": "AgentSeal <hello@agentseal.org>"
}