token-goat 2.9.19 → 2.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/token-goat-chunk-2CLWWRFR.mjs +26 -0
- package/dist/{token-goat-chunk-WKO5TVNA.mjs → token-goat-chunk-2Q3N5KUQ.mjs} +531 -571
- package/dist/{token-goat-chunk-DA6TIDLI.mjs → token-goat-chunk-3OGZOFLS.mjs} +18 -13
- package/dist/{token-goat-chunk-PIAESKVU.mjs → token-goat-chunk-3VTJC7KU.mjs} +568 -429
- package/dist/{token-goat-chunk-ZGQXRYKE.mjs → token-goat-chunk-6LJNM4ZZ.mjs} +1 -1
- package/dist/{token-goat-chunk-SOKAPOOC.mjs → token-goat-chunk-74ADIZZX.mjs} +46 -47
- package/dist/{token-goat-chunk-LACH3WKS.mjs → token-goat-chunk-ASTBLE2R.mjs} +3 -3
- package/dist/{token-goat-chunk-VJQBYSXG.mjs → token-goat-chunk-AU2K2QHR.mjs} +3 -3
- package/dist/token-goat-chunk-BQIC3AVL.mjs +292 -0
- package/dist/{token-goat-chunk-P46RTOAQ.mjs → token-goat-chunk-CBXLE54Q.mjs} +10 -7
- package/dist/{token-goat-chunk-3W5P673V.mjs → token-goat-chunk-DNAF26L4.mjs} +1 -1
- package/dist/{token-goat-chunk-FQYMZASI.mjs → token-goat-chunk-DPHJU3P7.mjs} +789 -4456
- package/dist/{token-goat-chunk-FX5DHKGF.mjs → token-goat-chunk-DW4VKU7D.mjs} +4 -4
- package/dist/token-goat-chunk-DYUBZZNP.mjs +198 -0
- package/dist/{token-goat-chunk-EP7TCWHM.mjs → token-goat-chunk-ERGHDBC6.mjs} +70 -65
- package/dist/token-goat-chunk-EUZKG7ZO.mjs +304 -0
- package/dist/{token-goat-chunk-AVRD7SBO.mjs → token-goat-chunk-FWYZVS3E.mjs} +270 -29
- package/dist/token-goat-chunk-G6SYQQO7.mjs +41 -0
- package/dist/{token-goat-chunk-62VJ47WN.mjs → token-goat-chunk-GIPMOGOI.mjs} +5 -5
- package/dist/{token-goat-chunk-L2UOJBV4.mjs → token-goat-chunk-H4VC5TR6.mjs} +27 -19
- package/dist/{token-goat-chunk-2GTB5RBZ.mjs → token-goat-chunk-I5PQRHFE.mjs} +11 -271
- package/dist/{token-goat-chunk-MU6I4IDI.mjs → token-goat-chunk-ITWYDOKP.mjs} +11 -7
- package/dist/{token-goat-chunk-IBTFGZBX.mjs → token-goat-chunk-K3ZNBN4U.mjs} +2 -2
- package/dist/{token-goat-chunk-S7RFIX4Y.mjs → token-goat-chunk-K5XPIUVB.mjs} +45 -14
- package/dist/token-goat-chunk-KT75DZK4.mjs +1989 -0
- package/dist/{token-goat-chunk-F24NE3FO.mjs → token-goat-chunk-MNJWG2ZO.mjs} +2 -2
- package/dist/{token-goat-chunk-NJKNAC37.mjs → token-goat-chunk-MUJV7BR3.mjs} +1 -1
- package/dist/{token-goat-chunk-FJZ5MZK7.mjs → token-goat-chunk-ODF7H7WS.mjs} +2 -2
- package/dist/{token-goat-chunk-GYC34EGE.mjs → token-goat-chunk-ONMU7BON.mjs} +2 -2
- package/dist/{token-goat-chunk-KWM6KBPA.mjs → token-goat-chunk-P4XBHZXU.mjs} +1 -1
- package/dist/{token-goat-chunk-7DGTVBWP.mjs → token-goat-chunk-PAVWB4L4.mjs} +159 -1863
- package/dist/{token-goat-chunk-DHIXE6GV.mjs → token-goat-chunk-PTW22MRC.mjs} +1 -1
- package/dist/token-goat-chunk-SL454EN5.mjs +1816 -0
- package/dist/token-goat-chunk-SP5QR2HN.mjs +1379 -0
- package/dist/{token-goat-chunk-BTKDZW7F.mjs → token-goat-chunk-T46UKRFM.mjs} +1 -1
- package/dist/{token-goat-chunk-JNIFSVWM.mjs → token-goat-chunk-T63VHOL3.mjs} +5 -1
- package/dist/token-goat-chunk-VSJGPEBB.mjs +248 -0
- package/dist/{token-goat-chunk-EXLLLIC3.mjs → token-goat-chunk-VYXGHGUY.mjs} +3 -3
- package/dist/token-goat-chunk-W6QYCWAT.mjs +128 -0
- package/dist/{token-goat-chunk-HPMMLV37.mjs → token-goat-chunk-Z4ALQADF.mjs} +256 -341
- package/dist/token-goat-chunk-ZHFM4DHJ.mjs +324 -0
- package/dist/token-goat-hook.mjs +17 -11
- package/dist/token-goat.core.mjs +27 -19
- package/docs/C4_RUNTIME_ARCHITECTURE.md +1 -1
- package/docs/cli.md +13 -12
- package/docs/install.md +1 -1
- package/docs/security.md +2 -2
- package/package.json +3 -2
- package/dist/token-goat-chunk-NYFYIRG3.mjs +0 -35
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
querySheet,
|
|
11
11
|
rangeSheet,
|
|
12
12
|
xlsxColumns
|
|
13
|
-
} from "./token-goat-chunk-
|
|
14
|
-
import "./token-goat-chunk-
|
|
13
|
+
} from "./token-goat-chunk-ODF7H7WS.mjs";
|
|
14
|
+
import "./token-goat-chunk-P4XBHZXU.mjs";
|
|
15
15
|
import "./token-goat-chunk-3BTK54F3.mjs";
|
|
16
|
-
import "./token-goat-chunk-
|
|
16
|
+
import "./token-goat-chunk-T46UKRFM.mjs";
|
|
17
17
|
import "./token-goat-chunk-XTQAOTSO.mjs";
|
|
18
18
|
import "./token-goat-chunk-AH6QILZM.mjs";
|
|
19
|
-
import "./token-goat-chunk-
|
|
19
|
+
import "./token-goat-chunk-6LJNM4ZZ.mjs";
|
|
20
20
|
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
21
21
|
import "./token-goat-chunk-Y4AFKTHK.mjs";
|
|
22
22
|
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { createRequire as __cjsRequire } from 'node:module';
|
|
2
|
+
const require = __cjsRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
buildCopilotWasteReport,
|
|
5
|
+
findProjectSession,
|
|
6
|
+
isCopilotTranscript
|
|
7
|
+
} from "./token-goat-chunk-EUZKG7ZO.mjs";
|
|
8
|
+
import {
|
|
9
|
+
buildWasteReport
|
|
10
|
+
} from "./token-goat-chunk-BQIC3AVL.mjs";
|
|
11
|
+
import "./token-goat-chunk-SP5QR2HN.mjs";
|
|
12
|
+
import "./token-goat-chunk-ZHFM4DHJ.mjs";
|
|
13
|
+
import "./token-goat-chunk-SL454EN5.mjs";
|
|
14
|
+
import "./token-goat-chunk-K5XPIUVB.mjs";
|
|
15
|
+
import "./token-goat-chunk-K3ZNBN4U.mjs";
|
|
16
|
+
import "./token-goat-chunk-T63VHOL3.mjs";
|
|
17
|
+
import {
|
|
18
|
+
resolveProjectRoot
|
|
19
|
+
} from "./token-goat-chunk-74ADIZZX.mjs";
|
|
20
|
+
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
21
|
+
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
22
|
+
import "./token-goat-chunk-6LJNM4ZZ.mjs";
|
|
23
|
+
import {
|
|
24
|
+
displaySafeJson
|
|
25
|
+
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
26
|
+
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
27
|
+
import {
|
|
28
|
+
init_define_import_meta_env
|
|
29
|
+
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
30
|
+
|
|
31
|
+
// src/cli_audit.ts
|
|
32
|
+
init_define_import_meta_env();
|
|
33
|
+
import * as fs from "node:fs";
|
|
34
|
+
import * as path from "node:path";
|
|
35
|
+
function buildFeedbackCardFromClaude(report) {
|
|
36
|
+
const preAudit = [];
|
|
37
|
+
const fixes = [];
|
|
38
|
+
if (report.neverTouchedAgain.length > 0) {
|
|
39
|
+
const files = report.neverTouchedAgain.map((f) => path.basename(f.filePath)).join(", ");
|
|
40
|
+
preAudit.push(`Whole-file reads without reuse: ${files} (${report.neverTouchedAgain.length} file(s) read once via Read)`);
|
|
41
|
+
fixes.push('Prefer `token-goat symbol` or `read "file::symbol"` instead of reading whole files.');
|
|
42
|
+
}
|
|
43
|
+
if (report.repeatedUncompressedBash.length > 0) {
|
|
44
|
+
const cmds = report.repeatedUncompressedBash.map((b) => `"${b.normalized.slice(0, 40)}" (${b.count}x)`).join(", ");
|
|
45
|
+
preAudit.push(`Repeated uncompressed terminal commands: ${cmds}`);
|
|
46
|
+
fixes.push("Use token-goat bash-output cache or compress flags for repetitive terminal invocations.");
|
|
47
|
+
}
|
|
48
|
+
if (preAudit.length === 0) {
|
|
49
|
+
preAudit.push("Pre-audit session: No missed surgical reads or friction detected; gate adhered to cleanly.");
|
|
50
|
+
}
|
|
51
|
+
if (fixes.length === 0) {
|
|
52
|
+
fixes.push("Maintain current surgical read and caching discipline.");
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
taskSummary: `Engineering session in project (${report.totalTokens.toLocaleString()} tokens recorded across tool invocations).`,
|
|
56
|
+
preAuditFindings: preAudit,
|
|
57
|
+
auditExecutionFindings: [],
|
|
58
|
+
recommendedFix: fixes
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function buildFeedbackCardFromCopilot(report) {
|
|
62
|
+
const preAudit = [];
|
|
63
|
+
const fixes = [];
|
|
64
|
+
const repeatedBlocks = report.blocks.filter((b) => b.repeatCount > 0);
|
|
65
|
+
if (repeatedBlocks.length > 0) {
|
|
66
|
+
const kinds = repeatedBlocks.map((b) => `${b.kind} (${b.repeatCount}x repeat, ${b.repeatBytes} B)`).join(", ");
|
|
67
|
+
preAudit.push(`Repeated prompt blocks across turns: ${kinds}`);
|
|
68
|
+
fixes.push("Deduplicate repeated prompt instructions or context blocks across turns.");
|
|
69
|
+
}
|
|
70
|
+
if (report.mcpTools && report.mcpTools.servers.length > 0) {
|
|
71
|
+
const totalMcpTokens = report.mcpTools.servers.reduce((sum, s) => sum + s.estimatedTokens, 0);
|
|
72
|
+
const heavy = report.mcpTools.servers.filter((s) => s.estimatedTokens > 1e3);
|
|
73
|
+
if (heavy.length > 0 || totalMcpTokens > 1500) {
|
|
74
|
+
const details = report.mcpTools.servers.map((s) => `${s.serverName} (${s.toolCount} tool(s), ~${s.estimatedTokens.toLocaleString()} tok/turn)`).join(", ");
|
|
75
|
+
const turns = Math.max(1, report.turns);
|
|
76
|
+
const cumulative = totalMcpTokens * turns;
|
|
77
|
+
preAudit.push(
|
|
78
|
+
`High fixed MCP tool definition overhead: ${details}; total ~${totalMcpTokens.toLocaleString()} tok/turn re-sent across ${turns} turn(s) (~${cumulative.toLocaleString()} cumulative tokens).`
|
|
79
|
+
);
|
|
80
|
+
const heavyNames = (heavy.length > 0 ? heavy : report.mcpTools.servers).map((s) => s.serverName).join(", ");
|
|
81
|
+
fixes.push(
|
|
82
|
+
`Disable unused MCP server(s) (${heavyNames}) via 'copilot mcp disable <name>' or exclude individual tools with '--excluded-tools'.`
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
if (preAudit.length === 0) {
|
|
87
|
+
preAudit.push("Pre-audit session: No missed surgical reads or friction detected; gate adhered to cleanly.");
|
|
88
|
+
}
|
|
89
|
+
if (fixes.length === 0) {
|
|
90
|
+
fixes.push("Maintain current token-efficient tooling and MCP server configuration.");
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
taskSummary: `Copilot CLI session (${report.turns} turn(s) recorded in ${report.sessionId}).`,
|
|
94
|
+
preAuditFindings: preAudit,
|
|
95
|
+
auditExecutionFindings: [],
|
|
96
|
+
recommendedFix: fixes
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
function formatMaintainerCard(card) {
|
|
100
|
+
const lines = [
|
|
101
|
+
"Maintainer Feedback Card",
|
|
102
|
+
"",
|
|
103
|
+
`\u2022 Task Summary: ${card.taskSummary}`,
|
|
104
|
+
"\u2022 Friction & Missed Savings:"
|
|
105
|
+
];
|
|
106
|
+
for (const f of card.preAuditFindings) {
|
|
107
|
+
lines.push(` - ${f}`);
|
|
108
|
+
}
|
|
109
|
+
if (card.auditExecutionFindings.length > 0) {
|
|
110
|
+
for (const a of card.auditExecutionFindings) {
|
|
111
|
+
lines.push(` - Audit Execution: ${a}`);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
lines.push("\u2022 Recommended Fix:");
|
|
115
|
+
for (const r of card.recommendedFix) {
|
|
116
|
+
lines.push(` - ${r}`);
|
|
117
|
+
}
|
|
118
|
+
return lines.join("\n") + "\n";
|
|
119
|
+
}
|
|
120
|
+
async function runAuditCommand(opts = {}) {
|
|
121
|
+
const projectRoot = resolveProjectRoot(opts.project !== void 0 ? { project: opts.project } : {});
|
|
122
|
+
if (opts.transcript !== void 0) {
|
|
123
|
+
const resolved = path.resolve(opts.transcript);
|
|
124
|
+
if (!fs.existsSync(resolved)) {
|
|
125
|
+
const err = `transcript not found: ${resolved}`;
|
|
126
|
+
if (opts.json === true) {
|
|
127
|
+
process.stdout.write(`${displaySafeJson({ error: err }, 0)}
|
|
128
|
+
`);
|
|
129
|
+
} else {
|
|
130
|
+
process.stderr.write(`token-goat: ${err}
|
|
131
|
+
`);
|
|
132
|
+
}
|
|
133
|
+
process.exitCode = 1;
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
if (isCopilotTranscript(resolved)) {
|
|
137
|
+
const report3 = buildCopilotWasteReport(resolved);
|
|
138
|
+
const card3 = buildFeedbackCardFromCopilot(report3);
|
|
139
|
+
if (opts.json === true) {
|
|
140
|
+
process.stdout.write(`${displaySafeJson(card3, 0)}
|
|
141
|
+
`);
|
|
142
|
+
} else {
|
|
143
|
+
process.stdout.write(formatMaintainerCard(card3));
|
|
144
|
+
}
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
const report2 = await buildWasteReport(resolved);
|
|
148
|
+
const card2 = buildFeedbackCardFromClaude(report2);
|
|
149
|
+
if (opts.json === true) {
|
|
150
|
+
process.stdout.write(`${displaySafeJson(card2, 0)}
|
|
151
|
+
`);
|
|
152
|
+
} else {
|
|
153
|
+
process.stdout.write(formatMaintainerCard(card2));
|
|
154
|
+
}
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
const detected = findProjectSession(projectRoot);
|
|
158
|
+
if (detected === null) {
|
|
159
|
+
const err = "no session transcript found for project";
|
|
160
|
+
if (opts.json === true) {
|
|
161
|
+
process.stdout.write(`${displaySafeJson({ error: err, project: projectRoot }, 0)}
|
|
162
|
+
`);
|
|
163
|
+
} else {
|
|
164
|
+
process.stdout.write(`
|
|
165
|
+
# token-goat audit
|
|
166
|
+
Project: ${projectRoot}
|
|
167
|
+
No session transcript found. Pass --transcript <path> to specify one explicitly.
|
|
168
|
+
`);
|
|
169
|
+
}
|
|
170
|
+
process.exitCode = 1;
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
if (detected.kind === "copilot") {
|
|
174
|
+
const report2 = buildCopilotWasteReport(detected.path);
|
|
175
|
+
const card2 = buildFeedbackCardFromCopilot(report2);
|
|
176
|
+
if (opts.json === true) {
|
|
177
|
+
process.stdout.write(`${displaySafeJson(card2, 0)}
|
|
178
|
+
`);
|
|
179
|
+
} else {
|
|
180
|
+
process.stdout.write(formatMaintainerCard(card2));
|
|
181
|
+
}
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
const report = await buildWasteReport(detected.path);
|
|
185
|
+
const card = buildFeedbackCardFromClaude(report);
|
|
186
|
+
if (opts.json === true) {
|
|
187
|
+
process.stdout.write(`${displaySafeJson(card, 0)}
|
|
188
|
+
`);
|
|
189
|
+
} else {
|
|
190
|
+
process.stdout.write(formatMaintainerCard(card));
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
export {
|
|
194
|
+
buildFeedbackCardFromClaude,
|
|
195
|
+
buildFeedbackCardFromCopilot,
|
|
196
|
+
formatMaintainerCard,
|
|
197
|
+
runAuditCommand
|
|
198
|
+
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
pathEqClause,
|
|
5
5
|
projectScopeClause,
|
|
6
6
|
querySymbols
|
|
7
|
-
} from "./token-goat-chunk-
|
|
7
|
+
} from "./token-goat-chunk-K3ZNBN4U.mjs";
|
|
8
8
|
import {
|
|
9
9
|
TREE_SITTER_LANGUAGES,
|
|
10
10
|
_detectOpenQuote,
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
stripJsComments,
|
|
22
22
|
stripStringLiterals,
|
|
23
23
|
stripXmlComments
|
|
24
|
-
} from "./token-goat-chunk-
|
|
24
|
+
} from "./token-goat-chunk-T63VHOL3.mjs";
|
|
25
25
|
import {
|
|
26
26
|
fingerprintContent,
|
|
27
27
|
loadConfig
|
|
28
|
-
} from "./token-goat-chunk-
|
|
28
|
+
} from "./token-goat-chunk-74ADIZZX.mjs";
|
|
29
29
|
import {
|
|
30
30
|
registerReset
|
|
31
31
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
foldPath,
|
|
40
40
|
globalDbPath,
|
|
41
41
|
isCaseInsensitiveFs
|
|
42
|
-
} from "./token-goat-chunk-
|
|
42
|
+
} from "./token-goat-chunk-6LJNM4ZZ.mjs";
|
|
43
43
|
import {
|
|
44
44
|
displaySafeText,
|
|
45
45
|
normalizePath
|
|
@@ -74,11 +74,11 @@ async function extractEmbeddableDocumentText(filePath) {
|
|
|
74
74
|
return text;
|
|
75
75
|
}
|
|
76
76
|
case ".docx":
|
|
77
|
-
return await (await import("./token-goat-chunk-
|
|
77
|
+
return await (await import("./token-goat-chunk-VYXGHGUY.mjs")).docxText(filePath);
|
|
78
78
|
case ".pptx":
|
|
79
|
-
return await (await import("./token-goat-chunk-
|
|
79
|
+
return await (await import("./token-goat-chunk-ASTBLE2R.mjs")).pptxAllSlidesText(filePath, true);
|
|
80
80
|
case ".xlsx":
|
|
81
|
-
return await (await import("./token-goat-chunk-
|
|
81
|
+
return await (await import("./token-goat-chunk-DW4VKU7D.mjs")).allSheetsHeadText(filePath, XLSX_SHEET_ROW_CAP);
|
|
82
82
|
default:
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
@@ -309,7 +309,7 @@ var BertWordPiece = class _BertWordPiece {
|
|
|
309
309
|
var _require = createRequire(import.meta.url);
|
|
310
310
|
var DEFAULT_MODEL = "Xenova/bge-small-en-v1.5";
|
|
311
311
|
var DEFAULT_DIM = 384;
|
|
312
|
-
var DEFAULT_EMBED_THREADS =
|
|
312
|
+
var DEFAULT_EMBED_THREADS = 4;
|
|
313
313
|
var PINNED_MODEL_REVISION = "ea104dacec62c0de699686887e3f920caeb4f3e3";
|
|
314
314
|
var MODEL_FILES = [
|
|
315
315
|
{
|
|
@@ -697,13 +697,13 @@ init_define_import_meta_env();
|
|
|
697
697
|
|
|
698
698
|
// src/embed_fingerprint.ts
|
|
699
699
|
init_define_import_meta_env();
|
|
700
|
-
var EMBED_FINGERPRINT = "
|
|
700
|
+
var EMBED_FINGERPRINT = "702c126bffd8439e";
|
|
701
701
|
var EMBED_KIND_FINGERPRINTS = /* @__PURE__ */ new Map([
|
|
702
|
-
["docx", "
|
|
703
|
-
["markdown", "
|
|
704
|
-
["pdf", "
|
|
705
|
-
["pptx", "
|
|
706
|
-
["xlsx", "
|
|
702
|
+
["docx", "a39e82e795d46ed1"],
|
|
703
|
+
["markdown", "c65dd62705244608"],
|
|
704
|
+
["pdf", "9a0ea76d66dfd358"],
|
|
705
|
+
["pptx", "b60b30cb38a801e2"],
|
|
706
|
+
["xlsx", "e5b358c460b6507f"]
|
|
707
707
|
]);
|
|
708
708
|
var PRE_KIND_EMBED_FINGERPRINT = "b7b2ff71de288d13";
|
|
709
709
|
var SPLIT_EMBED_FINGERPRINT = "2310db32d9bc8a2b";
|
|
@@ -1469,57 +1469,60 @@ init_define_import_meta_env();
|
|
|
1469
1469
|
|
|
1470
1470
|
// src/parser_fingerprint.ts
|
|
1471
1471
|
init_define_import_meta_env();
|
|
1472
|
-
var PARSER_FINGERPRINT = "
|
|
1472
|
+
var PARSER_FINGERPRINT = "486e443a693e6cdc";
|
|
1473
1473
|
var LANGUAGE_PARSER_FINGERPRINTS = /* @__PURE__ */ new Map([
|
|
1474
|
-
["abap", "
|
|
1475
|
-
["abl", "
|
|
1476
|
-
["
|
|
1477
|
-
["
|
|
1478
|
-
["
|
|
1479
|
-
["
|
|
1480
|
-
["
|
|
1481
|
-
["
|
|
1482
|
-
["
|
|
1483
|
-
["
|
|
1484
|
-
["
|
|
1485
|
-
["
|
|
1486
|
-
["
|
|
1487
|
-
["
|
|
1488
|
-
["
|
|
1489
|
-
["
|
|
1490
|
-
["
|
|
1491
|
-
["
|
|
1492
|
-
["
|
|
1493
|
-
["
|
|
1494
|
-
["
|
|
1495
|
-
["
|
|
1496
|
-
["
|
|
1497
|
-
["
|
|
1498
|
-
["
|
|
1499
|
-
["
|
|
1500
|
-
["
|
|
1501
|
-
["
|
|
1502
|
-
["
|
|
1503
|
-
["
|
|
1504
|
-
["
|
|
1505
|
-
["
|
|
1506
|
-
["
|
|
1507
|
-
["
|
|
1508
|
-
["
|
|
1509
|
-
["
|
|
1510
|
-
["
|
|
1511
|
-
["
|
|
1512
|
-
["
|
|
1513
|
-
["
|
|
1514
|
-
["
|
|
1515
|
-
["
|
|
1516
|
-
["
|
|
1517
|
-
["
|
|
1518
|
-
["
|
|
1519
|
-
["
|
|
1520
|
-
["
|
|
1521
|
-
["
|
|
1522
|
-
["
|
|
1474
|
+
["abap", "3477b349e26ff486"],
|
|
1475
|
+
["abl", "e79dac17ec1be23e"],
|
|
1476
|
+
["apache", "d6aa0ead3f7d8936"],
|
|
1477
|
+
["apex", "140d8f5601f95126"],
|
|
1478
|
+
["asm", "3e9aa7923f56286d"],
|
|
1479
|
+
["bash", "5906a50cadf9dc24"],
|
|
1480
|
+
["batch", "01e9923196d3d66b"],
|
|
1481
|
+
["caddy", "6aa41b340b3acb36"],
|
|
1482
|
+
["clojure", "bc2547b735ff453b"],
|
|
1483
|
+
["cmake", "c30e973a5b0b9628"],
|
|
1484
|
+
["common_lisp", "74c3d80a715b7507"],
|
|
1485
|
+
["csharp", "f5f7307d4575fc32"],
|
|
1486
|
+
["dart", "6657a5eeb20b7b2c"],
|
|
1487
|
+
["elixir", "88c5ce992a32ad21"],
|
|
1488
|
+
["emacs_lisp", "b3d8e903be32f3bd"],
|
|
1489
|
+
["erlang", "2bc6ed62806ffc74"],
|
|
1490
|
+
["fortran", "56658a0f6d3d9a27"],
|
|
1491
|
+
["fsharp", "df4c61b50c49aabe"],
|
|
1492
|
+
["graphql", "f4a0c9155c9649ee"],
|
|
1493
|
+
["groovy", "b3facf1b9460df44"],
|
|
1494
|
+
["haskell", "75f0794252047696"],
|
|
1495
|
+
["jcl", "06199551a218e69d"],
|
|
1496
|
+
["kotlin", "a99a84e9ae3a1362"],
|
|
1497
|
+
["liquid", "387d4f7973ef74dd"],
|
|
1498
|
+
["lua", "3a36b15e74558aa0"],
|
|
1499
|
+
["makefile", "dd470fdea2050de2"],
|
|
1500
|
+
["matlab", "65bccffd6a80ddd0"],
|
|
1501
|
+
["nginx", "0c24489a62c74032"],
|
|
1502
|
+
["nix", "7a261153f741c56b"],
|
|
1503
|
+
["objc", "e85cfa09f698e42a"],
|
|
1504
|
+
["ocaml", "643e216c28a48324"],
|
|
1505
|
+
["pascal", "4e4ae4aa127e7c4e"],
|
|
1506
|
+
["perl", "12dff36e9dab0700"],
|
|
1507
|
+
["php", "6b56ace5008da841"],
|
|
1508
|
+
["pli", "46626c331cc8c5ed"],
|
|
1509
|
+
["powershell", "e460d7974d112d63"],
|
|
1510
|
+
["proto", "a721e303a321bc4c"],
|
|
1511
|
+
["r", "7d52c82fe21bc414"],
|
|
1512
|
+
["racket", "d039be035fd8dcb1"],
|
|
1513
|
+
["rpg", "003b932e718fd3ec"],
|
|
1514
|
+
["salesforce_metadata", "0d2d649f0825c2b4"],
|
|
1515
|
+
["sas", "5a5518274e5bf88d"],
|
|
1516
|
+
["scala", "580d772168d7ec04"],
|
|
1517
|
+
["scheme", "9008af85ddce7593"],
|
|
1518
|
+
["solidity", "13e09d7acfc45176"],
|
|
1519
|
+
["sql", "e7a658d83f5ed705"],
|
|
1520
|
+
["swift", "bf3fbf0617f7dafd"],
|
|
1521
|
+
["terraform", "bb7ba075971caf67"],
|
|
1522
|
+
["thrift", "d39f3c5a82bb5b0b"],
|
|
1523
|
+
["vb", "4ddc4f794b061bfe"],
|
|
1524
|
+
["vhdl", "6d9e0f47264942fb"],
|
|
1525
|
+
["zig", "94d64036a1ad42b0"]
|
|
1523
1526
|
]);
|
|
1524
1527
|
|
|
1525
1528
|
// src/parser_stamp.ts
|
|
@@ -3914,7 +3917,7 @@ function parseSourceSymbolsTreeSitterOnly(content, filePath, language) {
|
|
|
3914
3917
|
var REGEX_ADAPTERS_SLOT = /* @__PURE__ */ Symbol.for("token-goat.regex-adapters");
|
|
3915
3918
|
var adapterSlot = globalThis;
|
|
3916
3919
|
async function loadRegexExtractors() {
|
|
3917
|
-
adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-
|
|
3920
|
+
adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-FWYZVS3E.mjs");
|
|
3918
3921
|
}
|
|
3919
3922
|
function regexAdapters() {
|
|
3920
3923
|
const loaded = adapterSlot[REGEX_ADAPTERS_SLOT];
|
|
@@ -4816,6 +4819,8 @@ export {
|
|
|
4816
4819
|
deleteFileRows,
|
|
4817
4820
|
isParseSkipEligible,
|
|
4818
4821
|
indexFileSync,
|
|
4822
|
+
assetEmbedSha,
|
|
4823
|
+
maxChunksEmbedSha,
|
|
4819
4824
|
indexedPathSpellingIsStale,
|
|
4820
4825
|
isEmbedFresh,
|
|
4821
4826
|
indexFileEmbeddings,
|