Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
151 lines (151 loc) · 5.18 KB
/
Copy pathpackage.json
File metadata and controls
151 lines (151 loc) · 5.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "token-goat",
"version": "2.9.38",
"description": "Surgical companion for Claude Code and other AI coding agents that saves turns, context and tokens",
"type": "module",
"main": "./dist/token-goat.mjs",
"bin": {
"token-goat": "./dist/token-goat.mjs",
"tg": "./dist/token-goat.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/DFKHelper/token-goat.git"
},
"homepage": "https://github.com/DFKHelper/token-goat#readme",
"bugs": {
"url": "https://github.com/DFKHelper/token-goat/issues"
},
"scripts": {
"build": "node esbuild.config.mjs",
"build:native": "node scripts/build-native.mjs",
"sbom": "npm sbom --sbom-format cyclonedx --omit=dev",
"notices": "node scripts/generate-third-party-notices.mjs",
"notices:check": "node scripts/generate-third-party-notices.mjs --check",
"deps:refresh": "node scripts/refresh-dependabot-lock.mjs",
"typecheck": "tsc --noEmit",
"typecheck:tests": "tsc -p tsconfig.tests.json --noEmit",
"test": "vitest run",
"model:warm": "tsx scripts/warm-model-cache.ts",
"vec0:check": "tsx scripts/check-vec0.mjs",
"eval:hints": "tsx scripts/eval-hints.ts",
"eval:retrieval": "tsx scripts/eval-retrieval.ts",
"eval:gate": "tsx scripts/eval-gate.ts",
"test:guards": "vitest run tests/guards",
"test:matrix": "vitest run tests/command_matrix_e2e",
"test:watch": "vitest",
"test:vscode-extension": "npm --prefix vscode-extension test",
"lint": "node scripts/lint-shards.mjs src tests scripts evals vscode-extension/src vscode-extension/tests",
"lint:rust": "cargo fmt --manifest-path native/tg-hook/Cargo.toml -- --check && cargo clippy --manifest-path native/tg-hook/Cargo.toml --all-targets -- -D warnings",
"typecheck:vscode-extension": "npm --prefix vscode-extension run compile",
"typecheck:vscode-extension:tests": "npm --prefix vscode-extension run typecheck:tests",
"dev": "tsx src/main.ts",
"sync": "node scripts/post-merge.mjs",
"prepare": "node scripts/install-git-hooks.mjs",
"prepack": "node scripts/verify-native-dist.mjs --pack dist/native",
"parser:fingerprint": "node scripts/parser-fingerprint.mjs",
"parser:fingerprint:check": "node scripts/parser-fingerprint.mjs --check",
"skill:canonical": "node scripts/generate-canonical-skill.mjs",
"skill:canonical:check": "node scripts/generate-canonical-skill.mjs --check",
"schema:copilot": "node scripts/extract_harness_schema.mjs auto --harness copilot_cli --out schemas/copilot_cli.hooks.json",
"schema:copilot:check": "node scripts/extract_harness_schema.mjs auto --harness copilot_cli --out schemas/copilot_cli.hooks.json --check",
"docs:arch": "node scripts/sync-arch-docs.mjs",
"docs:arch:check": "node scripts/sync-arch-docs.mjs --check",
"adoption": "node scripts/adoption-baseline.mjs"
},
"contributors": [
{
"name": "eSaadster",
"url": "https://github.com/eSaadster/pi-token-goat"
}
],
"keywords": [
"claude",
"claude-code",
"token",
"ai",
"coding-assistant",
"token-reduction",
"llm"
],
"files": [
"dist/",
"README.md",
"SECURITY.md",
"docs/cli.md",
"docs/install.md",
"docs/security.md",
"docs/C4_RUNTIME_ARCHITECTURE.md",
"LICENSE",
"THIRD_PARTY_NOTICES.md",
"scripts/install-git-hooks.mjs",
"scripts/verify-native-dist.mjs"
],
"license": "PolyForm-Noncommercial-1.0.0",
"engines": {
"node": "^22.23.4 || ^24.22.1 || >=26.12.1"
},
"dependencies": {
"jsonc-parser": "^3.3.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@modelcontextprotocol/sdk": "^1.30.0",
"@types/better-sqlite3": "^9.6.0",
"@types/node": "^26.2.0",
"@types/omggif": "^1.0.5",
"@xenova/transformers": "^2.17.2",
"better-sqlite3": "^12.11.1",
"commander": "^15.0.0",
"csv-parse": "^7.0.2",
"esbuild": "^0.28.2",
"eslint": "^10.8.1",
"eslint-plugin-regexp": "^3.3.0",
"exceljs": "^4.4.0",
"fast-xml-parser": "^5.9.3",
"html-to-text": "^10.0.1",
"jpeg-js": "^0.4.4",
"js-yaml": "^5.2.1",
"lefthook": "^2.1.10",
"omggif": "^1.0.10",
"onnxruntime-node": "^1.27.0",
"onnxruntime-web": "1.30.0",
"sharp": "^0.35.3",
"smol-toml": "^1.8.0",
"tsx": "^4.23.12",
"typescript": "^6.0.3",
"typescript-eslint": "^8.67.0",
"vite": "^8.3.0",
"vitest": "^5.0.1",
"zod": "^4.4.3"
},
"optionalDependencies": {
"fflate": "^0.8.3",
"pdfjs-dist": "^6.1.200",
"puppeteer-core": "^25.8.0",
"sqlite-vec": "^0.1.9",
"tesseract.js": "^7.0.0",
"tree-sitter": "^0.25.1",
"tree-sitter-c": "^0.24.1",
"tree-sitter-cpp": "^0.23.4",
"tree-sitter-go": "^0.25.0",
"tree-sitter-java": "^0.23.0",
"tree-sitter-javascript": "^0.25.0",
"tree-sitter-python": "^0.25.0",
"tree-sitter-ruby": "^0.23.0",
"tree-sitter-rust": "^0.24.0",
"tree-sitter-typescript": "^0.23.2",
"typescript": "^6.0.3"
},
"overrides": {
"protobufjs": "^8.7.2",
"deepmerge-ts": "^8.0.1",
"uuid": "^14.0.1",
"sharp": "$sharp",
"unzipper": "^0.12.5",
"adm-zip": "^0.6.1",
"fast-uri": "^3.1.6",
"qs": "6.17.0",
"tesseract.js-core": "6.1.2"
}
}