token-goat 2.9.23 → 2.9.25
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/dist/{token-goat-chunk-PLIZZDYM.mjs → token-goat-chunk-25NRXKIW.mjs} +10 -10
- package/dist/{token-goat-chunk-GE5FV4K4.mjs → token-goat-chunk-2SSDSUSF.mjs} +8 -8
- package/dist/{token-goat-chunk-P5DTTFWQ.mjs → token-goat-chunk-3FSAZR32.mjs} +1 -1
- package/dist/{token-goat-chunk-K2WEBYUH.mjs → token-goat-chunk-6W2FFT6H.mjs} +2 -2
- package/dist/{token-goat-chunk-6AMDBNXA.mjs → token-goat-chunk-7PQYG6TN.mjs} +71 -61
- package/dist/{token-goat-chunk-5IID4N52.mjs → token-goat-chunk-BIBZQRC6.mjs} +5 -5
- package/dist/{token-goat-chunk-FZ7QU7BN.mjs → token-goat-chunk-BQ6ZDLTF.mjs} +1 -1
- package/dist/{token-goat-chunk-ZVYT6SOT.mjs → token-goat-chunk-EDCVQLBR.mjs} +10 -10
- package/dist/{token-goat-chunk-EYYDRFKA.mjs → token-goat-chunk-EX2DVKAT.mjs} +3 -3
- package/dist/{token-goat-chunk-45JI3MB7.mjs → token-goat-chunk-EZVRN44Y.mjs} +2 -2
- package/dist/{token-goat-chunk-Y4FGECX5.mjs → token-goat-chunk-G7YWBH25.mjs} +3 -3
- package/dist/{token-goat-chunk-7ZJCWBZI.mjs → token-goat-chunk-IEF2NZFZ.mjs} +4 -4
- package/dist/{token-goat-chunk-GEYF6V37.mjs → token-goat-chunk-II5WBDFB.mjs} +1 -1
- package/dist/{token-goat-chunk-J3WHKFP2.mjs → token-goat-chunk-ILROZWXE.mjs} +1 -1
- package/dist/{token-goat-chunk-2KNXKM4P.mjs → token-goat-chunk-J2PRBQ24.mjs} +4 -4
- package/dist/{token-goat-chunk-SVFSQRFS.mjs → token-goat-chunk-K4TNHLGS.mjs} +6 -6
- package/dist/{token-goat-chunk-4NEYQA2B.mjs → token-goat-chunk-KMCVX3P2.mjs} +27 -27
- package/dist/{token-goat-chunk-UUCJI7X3.mjs → token-goat-chunk-KOL5WXDW.mjs} +3 -3
- package/dist/{token-goat-chunk-W3EV7NRO.mjs → token-goat-chunk-KYV7E6ZJ.mjs} +8 -8
- package/dist/{token-goat-chunk-TETLHLL4.mjs → token-goat-chunk-MBRX5AP6.mjs} +3 -3
- package/dist/{token-goat-chunk-YBG7SMAK.mjs → token-goat-chunk-NNXCBELZ.mjs} +18 -18
- package/dist/{token-goat-chunk-QGBQOANR.mjs → token-goat-chunk-OHMKCBZI.mjs} +3 -3
- package/dist/{token-goat-chunk-4BTOJTZD.mjs → token-goat-chunk-ORO4GOMA.mjs} +3 -3
- package/dist/{token-goat-chunk-GUPX2MSL.mjs → token-goat-chunk-OUQIGPW3.mjs} +1 -1
- package/dist/{token-goat-chunk-VMJWBG3B.mjs → token-goat-chunk-PPNKB5HP.mjs} +5 -5
- package/dist/{token-goat-chunk-3DFULEOA.mjs → token-goat-chunk-QZZPWFVF.mjs} +2 -2
- package/dist/{token-goat-chunk-UN6R6DKG.mjs → token-goat-chunk-RLDBVMXR.mjs} +2 -2
- package/dist/{token-goat-chunk-XJRKKQYI.mjs → token-goat-chunk-T6652D3F.mjs} +16 -16
- package/dist/{token-goat-chunk-JIWV3M7J.mjs → token-goat-chunk-TVTDINTO.mjs} +4 -4
- package/dist/{token-goat-chunk-FIBB6HUJ.mjs → token-goat-chunk-TWVFMUTZ.mjs} +12 -12
- package/dist/{token-goat-chunk-DN5TDA7X.mjs → token-goat-chunk-UEQUZDHQ.mjs} +3 -3
- package/dist/{token-goat-chunk-AIXKS6UY.mjs → token-goat-chunk-UGCNTVF4.mjs} +2 -2
- package/dist/{token-goat-chunk-P2OWJWPJ.mjs → token-goat-chunk-UTKNLKYE.mjs} +1 -1
- package/dist/{token-goat-chunk-SM3XG5YA.mjs → token-goat-chunk-VAIJUZG6.mjs} +4 -4
- package/dist/token-goat-chunk-WEYODFTA.mjs +41 -0
- package/dist/{token-goat-chunk-R7SWCKV2.mjs → token-goat-chunk-Y463KPAQ.mjs} +11 -11
- package/dist/{token-goat-chunk-VVCGXBVQ.mjs → token-goat-chunk-YE4TGC4Z.mjs} +1 -1
- package/dist/{token-goat-chunk-7SPQ6IIS.mjs → token-goat-chunk-YZ67F2HJ.mjs} +2 -2
- package/dist/{token-goat-chunk-RZ5V2RJ6.mjs → token-goat-chunk-Z5ZTBSHL.mjs} +32 -31
- package/dist/{token-goat-chunk-F66GO3BZ.mjs → token-goat-chunk-ZDFDCXU2.mjs} +1 -1
- package/dist/{token-goat-chunk-K6B5REAF.mjs → token-goat-chunk-ZWFP4ZU7.mjs} +6 -6
- package/dist/token-goat-hook.mjs +17 -17
- package/dist/token-goat.core.mjs +27 -27
- package/package.json +1 -1
- package/dist/token-goat-chunk-V3CHCE6G.mjs +0 -41
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
pptxOutline,
|
|
7
7
|
pptxSlideText,
|
|
8
8
|
pptxTextGrep
|
|
9
|
-
} from "./token-goat-chunk-
|
|
10
|
-
import "./token-goat-chunk-
|
|
9
|
+
} from "./token-goat-chunk-OUQIGPW3.mjs";
|
|
10
|
+
import "./token-goat-chunk-II5WBDFB.mjs";
|
|
11
11
|
import "./token-goat-chunk-XTQAOTSO.mjs";
|
|
12
12
|
import "./token-goat-chunk-AH6QILZM.mjs";
|
|
13
|
-
import "./token-goat-chunk-
|
|
13
|
+
import "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
14
14
|
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
15
15
|
import "./token-goat-chunk-Y4AFKTHK.mjs";
|
|
16
16
|
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
canRunWrappedShell,
|
|
6
6
|
clipToDeliveryCap,
|
|
7
7
|
deliveredOutputBytes
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-TVTDINTO.mjs";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_RECONCILE_BUDGET_MS,
|
|
11
11
|
HOOK_EVENTS,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
readStdinJson,
|
|
21
21
|
reconcileProject,
|
|
22
22
|
storeWebOutput
|
|
23
|
-
} from "./token-goat-chunk-
|
|
23
|
+
} from "./token-goat-chunk-2SSDSUSF.mjs";
|
|
24
24
|
import {
|
|
25
25
|
projectTranscriptsDir
|
|
26
|
-
} from "./token-goat-chunk-
|
|
26
|
+
} from "./token-goat-chunk-UGCNTVF4.mjs";
|
|
27
27
|
import {
|
|
28
28
|
BUDGET_ESCALATION_MARKER,
|
|
29
29
|
MANIFEST_PREAMBLE,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
buildManifest,
|
|
32
32
|
manifestPrintedPaths,
|
|
33
33
|
summaryBudgetDirective
|
|
34
|
-
} from "./token-goat-chunk-
|
|
34
|
+
} from "./token-goat-chunk-IEF2NZFZ.mjs";
|
|
35
35
|
import {
|
|
36
36
|
BODY_FIRST_TOOL_RESPONSE_KEYS,
|
|
37
37
|
OUTLINE_MAX_REPLACEMENT_RATIO,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
visionTokensSaved,
|
|
100
100
|
vscodePathAllowed,
|
|
101
101
|
withPreservedBlocks
|
|
102
|
-
} from "./token-goat-chunk-
|
|
102
|
+
} from "./token-goat-chunk-TWVFMUTZ.mjs";
|
|
103
103
|
import {
|
|
104
104
|
compressOutput,
|
|
105
105
|
detectFromCommand,
|
|
@@ -108,10 +108,10 @@ import {
|
|
|
108
108
|
looksLikePytestOutput,
|
|
109
109
|
pytestFilter,
|
|
110
110
|
resolveMinNetSavingsBytes
|
|
111
|
-
} from "./token-goat-chunk-
|
|
111
|
+
} from "./token-goat-chunk-G7YWBH25.mjs";
|
|
112
112
|
import {
|
|
113
113
|
readCopilotHooksOwners
|
|
114
|
-
} from "./token-goat-chunk-
|
|
114
|
+
} from "./token-goat-chunk-OHMKCBZI.mjs";
|
|
115
115
|
import {
|
|
116
116
|
GENERIC_SERVED_OUTPUT_KEY,
|
|
117
117
|
clearCurlDownload,
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
wasCliReadThisSession,
|
|
160
160
|
wasFileReadThisSession,
|
|
161
161
|
wasHintShown
|
|
162
|
-
} from "./token-goat-chunk-
|
|
162
|
+
} from "./token-goat-chunk-VAIJUZG6.mjs";
|
|
163
163
|
import {
|
|
164
164
|
accumulateResidentLines,
|
|
165
165
|
claudeConfigDir,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
repeatedSkillBodyHint,
|
|
170
170
|
summarizeResidentContext,
|
|
171
171
|
taskListPruneHint
|
|
172
|
-
} from "./token-goat-chunk-
|
|
172
|
+
} from "./token-goat-chunk-QZZPWFVF.mjs";
|
|
173
173
|
import {
|
|
174
174
|
BASH_OUTPUT_SUBDIR,
|
|
175
175
|
bashOutputIdSync,
|
|
@@ -190,30 +190,30 @@ import {
|
|
|
190
190
|
splitOwnTrailingNotices,
|
|
191
191
|
storeBashOutput,
|
|
192
192
|
summarizeOutputDelta
|
|
193
|
-
} from "./token-goat-chunk-
|
|
193
|
+
} from "./token-goat-chunk-BIBZQRC6.mjs";
|
|
194
194
|
import {
|
|
195
195
|
recordStat,
|
|
196
196
|
redactSecrets,
|
|
197
197
|
savedTokensFromBytes,
|
|
198
198
|
storeBlob,
|
|
199
199
|
stripAnsiEscapes
|
|
200
|
-
} from "./token-goat-chunk-
|
|
200
|
+
} from "./token-goat-chunk-KOL5WXDW.mjs";
|
|
201
201
|
import {
|
|
202
202
|
extractMarkdownHeadings,
|
|
203
203
|
formatHeadingTreeParts
|
|
204
|
-
} from "./token-goat-chunk-
|
|
204
|
+
} from "./token-goat-chunk-7PQYG6TN.mjs";
|
|
205
205
|
import {
|
|
206
206
|
countSymbols,
|
|
207
207
|
getFileEntry,
|
|
208
208
|
querySymbols
|
|
209
|
-
} from "./token-goat-chunk-
|
|
209
|
+
} from "./token-goat-chunk-YZ67F2HJ.mjs";
|
|
210
210
|
import {
|
|
211
211
|
buildLineIndex,
|
|
212
212
|
detectLanguage,
|
|
213
213
|
getDb,
|
|
214
214
|
languageHasFlag,
|
|
215
215
|
offsetToLine
|
|
216
|
-
} from "./token-goat-chunk-
|
|
216
|
+
} from "./token-goat-chunk-3FSAZR32.mjs";
|
|
217
217
|
import {
|
|
218
218
|
detectHarness,
|
|
219
219
|
envBool,
|
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
isUnderSystemTemp,
|
|
225
225
|
loadConfig,
|
|
226
226
|
shortFingerprint
|
|
227
|
-
} from "./token-goat-chunk-
|
|
227
|
+
} from "./token-goat-chunk-UTKNLKYE.mjs";
|
|
228
228
|
import {
|
|
229
229
|
ENV_KEYS,
|
|
230
230
|
IDENTICAL_READ_MIN_BODY_BYTES,
|
|
@@ -244,7 +244,7 @@ import {
|
|
|
244
244
|
isInsideRoot,
|
|
245
245
|
runGit,
|
|
246
246
|
toKB
|
|
247
|
-
} from "./token-goat-chunk-
|
|
247
|
+
} from "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
248
248
|
import {
|
|
249
249
|
TOOL_RESULTS_ID_CHARS,
|
|
250
250
|
UNTRUSTED_TOOL_TAG,
|
|
@@ -868,7 +868,7 @@ init_define_import_meta_env();
|
|
|
868
868
|
var TRACKED_SKILL = "token-goat";
|
|
869
869
|
var MAX_COMMANDS_SHOWN = 8;
|
|
870
870
|
async function currentCommandNames() {
|
|
871
|
-
const { buildProgram } = await import("./token-goat-chunk-
|
|
871
|
+
const { buildProgram } = await import("./token-goat-chunk-KMCVX3P2.mjs");
|
|
872
872
|
return flattenCommandNames(buildCommandManifest(buildProgram()));
|
|
873
873
|
}
|
|
874
874
|
async function recordSkillVersionSnapshot(sessionId, skillName) {
|
|
@@ -1139,7 +1139,7 @@ async function postCompactRecovery(event) {
|
|
|
1139
1139
|
if (event.raw["source"] !== "compact" || event.sessionId === void 0) return null;
|
|
1140
1140
|
if (!loadConfig().compact_assist.enabled) return null;
|
|
1141
1141
|
try {
|
|
1142
|
-
const { buildResumePacket } = await import("./token-goat-chunk-
|
|
1142
|
+
const { buildResumePacket } = await import("./token-goat-chunk-EDCVQLBR.mjs");
|
|
1143
1143
|
return await buildResumePacket(event.sessionId);
|
|
1144
1144
|
} catch {
|
|
1145
1145
|
return null;
|
|
@@ -2,10 +2,10 @@ import { createRequire as __cjsRequire } from 'node:module';
|
|
|
2
2
|
const require = __cjsRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
estimateTokensFromLength
|
|
5
|
-
} from "./token-goat-chunk-
|
|
5
|
+
} from "./token-goat-chunk-QZZPWFVF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
loadConfig
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-UTKNLKYE.mjs";
|
|
9
9
|
import {
|
|
10
10
|
atomicWriteText,
|
|
11
11
|
backupFile,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
upsertDelimitedBlock,
|
|
22
22
|
withInstallScope,
|
|
23
23
|
writeIfDifferent
|
|
24
|
-
} from "./token-goat-chunk-
|
|
24
|
+
} from "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
25
25
|
import {
|
|
26
26
|
init_define_import_meta_env
|
|
27
27
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
cmdUpgrade,
|
|
6
6
|
compareSemver,
|
|
7
7
|
fetchLatestVersion
|
|
8
|
-
} from "./token-goat-chunk-
|
|
9
|
-
import "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-EZVRN44Y.mjs";
|
|
9
|
+
import "./token-goat-chunk-UTKNLKYE.mjs";
|
|
10
10
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
11
|
-
import "./token-goat-chunk-
|
|
11
|
+
import "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
12
12
|
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
13
13
|
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
14
14
|
import "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
setOcrTimeoutForTesting,
|
|
21
21
|
setTesseractEntryForTesting,
|
|
22
22
|
verifyOcrLangCache
|
|
23
|
-
} from "./token-goat-chunk-
|
|
24
|
-
import "./token-goat-chunk-
|
|
25
|
-
import "./token-goat-chunk-
|
|
23
|
+
} from "./token-goat-chunk-6W2FFT6H.mjs";
|
|
24
|
+
import "./token-goat-chunk-KOL5WXDW.mjs";
|
|
25
|
+
import "./token-goat-chunk-3FSAZR32.mjs";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_OCR_LANG,
|
|
28
28
|
isSupportedOcrLang,
|
|
29
29
|
resolveOcrLangs
|
|
30
|
-
} from "./token-goat-chunk-
|
|
30
|
+
} from "./token-goat-chunk-UTKNLKYE.mjs";
|
|
31
31
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
32
32
|
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
33
|
-
import "./token-goat-chunk-
|
|
33
|
+
import "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
34
34
|
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
35
35
|
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
36
36
|
import "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
classifyContent,
|
|
5
5
|
guardDivisor,
|
|
6
6
|
stripAnsiEscapes
|
|
7
|
-
} from "./token-goat-chunk-
|
|
7
|
+
} from "./token-goat-chunk-KOL5WXDW.mjs";
|
|
8
8
|
import {
|
|
9
9
|
safeSlice
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
11
11
|
import {
|
|
12
12
|
displaySafeText
|
|
13
13
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -3,7 +3,7 @@ const require = __cjsRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
queryCsv,
|
|
5
5
|
quoteCsvCell
|
|
6
|
-
} from "./token-goat-chunk-
|
|
6
|
+
} from "./token-goat-chunk-BQ6ZDLTF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
NotAnOfficeDocumentError,
|
|
9
9
|
assertOoxmlWithinDeadline,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
ooxmlWorkDeadline,
|
|
13
13
|
parseOoxmlPart,
|
|
14
14
|
readOoxmlZip
|
|
15
|
-
} from "./token-goat-chunk-
|
|
15
|
+
} from "./token-goat-chunk-II5WBDFB.mjs";
|
|
16
16
|
import {
|
|
17
17
|
displaySafeText
|
|
18
18
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
runSkeleton,
|
|
27
27
|
runSymbol,
|
|
28
28
|
withPinnedReads
|
|
29
|
-
} from "./token-goat-chunk-
|
|
30
|
-
import "./token-goat-chunk-
|
|
29
|
+
} from "./token-goat-chunk-Y463KPAQ.mjs";
|
|
30
|
+
import "./token-goat-chunk-6W2FFT6H.mjs";
|
|
31
31
|
import "./token-goat-chunk-DA43OE7L.mjs";
|
|
32
32
|
import {
|
|
33
33
|
buildProjectMap,
|
|
@@ -37,37 +37,37 @@ import {
|
|
|
37
37
|
getProjectIndexCounts,
|
|
38
38
|
isWorkerRunning,
|
|
39
39
|
mapLookupBytesSaved
|
|
40
|
-
} from "./token-goat-chunk-
|
|
41
|
-
import "./token-goat-chunk-
|
|
42
|
-
import "./token-goat-chunk-
|
|
43
|
-
import "./token-goat-chunk-
|
|
40
|
+
} from "./token-goat-chunk-TWVFMUTZ.mjs";
|
|
41
|
+
import "./token-goat-chunk-G7YWBH25.mjs";
|
|
42
|
+
import "./token-goat-chunk-OHMKCBZI.mjs";
|
|
43
|
+
import "./token-goat-chunk-VAIJUZG6.mjs";
|
|
44
44
|
import {
|
|
45
45
|
claudeConfigDir
|
|
46
|
-
} from "./token-goat-chunk-
|
|
47
|
-
import "./token-goat-chunk-
|
|
46
|
+
} from "./token-goat-chunk-QZZPWFVF.mjs";
|
|
47
|
+
import "./token-goat-chunk-BIBZQRC6.mjs";
|
|
48
48
|
import {
|
|
49
49
|
recordStat,
|
|
50
50
|
savedTokensFromBytes
|
|
51
|
-
} from "./token-goat-chunk-
|
|
51
|
+
} from "./token-goat-chunk-KOL5WXDW.mjs";
|
|
52
52
|
import "./token-goat-chunk-LKSXAMJB.mjs";
|
|
53
|
-
import "./token-goat-chunk-
|
|
53
|
+
import "./token-goat-chunk-BQ6ZDLTF.mjs";
|
|
54
54
|
import "./token-goat-chunk-3BTK54F3.mjs";
|
|
55
55
|
import "./token-goat-chunk-XTQAOTSO.mjs";
|
|
56
56
|
import "./token-goat-chunk-AH6QILZM.mjs";
|
|
57
|
-
import "./token-goat-chunk-
|
|
57
|
+
import "./token-goat-chunk-ILROZWXE.mjs";
|
|
58
58
|
import {
|
|
59
59
|
checkEmbeddingPreflight,
|
|
60
60
|
embeddingsDepsAvailable
|
|
61
|
-
} from "./token-goat-chunk-
|
|
62
|
-
import "./token-goat-chunk-
|
|
61
|
+
} from "./token-goat-chunk-7PQYG6TN.mjs";
|
|
62
|
+
import "./token-goat-chunk-YZ67F2HJ.mjs";
|
|
63
63
|
import {
|
|
64
64
|
getDb
|
|
65
|
-
} from "./token-goat-chunk-
|
|
65
|
+
} from "./token-goat-chunk-3FSAZR32.mjs";
|
|
66
66
|
import {
|
|
67
67
|
envStrList,
|
|
68
68
|
loadConfig,
|
|
69
69
|
resolveProjectRoot
|
|
70
|
-
} from "./token-goat-chunk-
|
|
70
|
+
} from "./token-goat-chunk-UTKNLKYE.mjs";
|
|
71
71
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
72
72
|
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
73
73
|
import {
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
extractErrorMessage,
|
|
78
78
|
foldCaseForContainment,
|
|
79
79
|
globalDbPath
|
|
80
|
-
} from "./token-goat-chunk-
|
|
80
|
+
} from "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
81
81
|
import {
|
|
82
82
|
displaySafeJson,
|
|
83
83
|
normalizePath
|
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
dispatchArgv,
|
|
8
8
|
filterByName,
|
|
9
9
|
selectFilter
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-G7YWBH25.mjs";
|
|
11
11
|
import {
|
|
12
12
|
capTokens,
|
|
13
13
|
shlexSplit,
|
|
14
14
|
storeBashOutputSync
|
|
15
|
-
} from "./token-goat-chunk-
|
|
15
|
+
} from "./token-goat-chunk-BIBZQRC6.mjs";
|
|
16
16
|
import {
|
|
17
17
|
recordStat
|
|
18
|
-
} from "./token-goat-chunk-
|
|
18
|
+
} from "./token-goat-chunk-KOL5WXDW.mjs";
|
|
19
19
|
import {
|
|
20
20
|
detectHarness,
|
|
21
21
|
loadConfig
|
|
22
|
-
} from "./token-goat-chunk-
|
|
22
|
+
} from "./token-goat-chunk-UTKNLKYE.mjs";
|
|
23
23
|
import {
|
|
24
24
|
init_define_import_meta_env
|
|
25
25
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -3,12 +3,12 @@ const require = __cjsRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
isRewriteWorthwhile,
|
|
5
5
|
resolveMinNetSavingsBytes
|
|
6
|
-
} from "./token-goat-chunk-
|
|
6
|
+
} from "./token-goat-chunk-G7YWBH25.mjs";
|
|
7
7
|
import {
|
|
8
8
|
COPILOT_CLI_TOOL_NAME_MAP,
|
|
9
9
|
foldToolName,
|
|
10
10
|
readCopilotMcpTools
|
|
11
|
-
} from "./token-goat-chunk-
|
|
11
|
+
} from "./token-goat-chunk-OHMKCBZI.mjs";
|
|
12
12
|
import {
|
|
13
13
|
contentHash,
|
|
14
14
|
exportSessionState,
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
wasFileReadThisSession,
|
|
37
37
|
wasFileTruncatedThisSession,
|
|
38
38
|
writeSessionManifest
|
|
39
|
-
} from "./token-goat-chunk-
|
|
39
|
+
} from "./token-goat-chunk-VAIJUZG6.mjs";
|
|
40
40
|
import {
|
|
41
41
|
claudeConfigDir,
|
|
42
42
|
estimateTokens
|
|
43
|
-
} from "./token-goat-chunk-
|
|
43
|
+
} from "./token-goat-chunk-QZZPWFVF.mjs";
|
|
44
44
|
import {
|
|
45
45
|
getBashOutput,
|
|
46
46
|
isGeneratedFile,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
isLockFile,
|
|
49
49
|
isManifestFile,
|
|
50
50
|
storeBashOutputSync
|
|
51
|
-
} from "./token-goat-chunk-
|
|
51
|
+
} from "./token-goat-chunk-BIBZQRC6.mjs";
|
|
52
52
|
import {
|
|
53
53
|
DEFAULT_MAX_AGE_MS,
|
|
54
54
|
SOURCE_HINT,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
savedTokensFromBytes,
|
|
61
61
|
summarize,
|
|
62
62
|
sweepCacheRoots
|
|
63
|
-
} from "./token-goat-chunk-
|
|
63
|
+
} from "./token-goat-chunk-KOL5WXDW.mjs";
|
|
64
64
|
import {
|
|
65
65
|
parse
|
|
66
66
|
} from "./token-goat-chunk-3BTK54F3.mjs";
|
|
@@ -94,13 +94,13 @@ import {
|
|
|
94
94
|
maxChunksEmbedSha,
|
|
95
95
|
parseSourceSymbolsTreeSitterOnly,
|
|
96
96
|
parserFingerprintForLanguage
|
|
97
|
-
} from "./token-goat-chunk-
|
|
97
|
+
} from "./token-goat-chunk-7PQYG6TN.mjs";
|
|
98
98
|
import {
|
|
99
99
|
getFileEntry,
|
|
100
100
|
pathEqClause,
|
|
101
101
|
projectScopeClause,
|
|
102
102
|
querySymbols
|
|
103
|
-
} from "./token-goat-chunk-
|
|
103
|
+
} from "./token-goat-chunk-YZ67F2HJ.mjs";
|
|
104
104
|
import {
|
|
105
105
|
detectLanguage,
|
|
106
106
|
detectLanguageOfFile,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
getDb,
|
|
109
109
|
languageHasFlag,
|
|
110
110
|
redactIfDotenv
|
|
111
|
-
} from "./token-goat-chunk-
|
|
111
|
+
} from "./token-goat-chunk-3FSAZR32.mjs";
|
|
112
112
|
import {
|
|
113
113
|
detectHarness,
|
|
114
114
|
fileIsAbsent,
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
ownGet,
|
|
123
123
|
resolveProjectRoot,
|
|
124
124
|
shortFingerprint
|
|
125
|
-
} from "./token-goat-chunk-
|
|
125
|
+
} from "./token-goat-chunk-UTKNLKYE.mjs";
|
|
126
126
|
import {
|
|
127
127
|
registerReset
|
|
128
128
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
statSize,
|
|
153
153
|
toKB,
|
|
154
154
|
tokenGoatHome
|
|
155
|
-
} from "./token-goat-chunk-
|
|
155
|
+
} from "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
156
156
|
import {
|
|
157
157
|
TOOL_RESULTS_ID_CHARS,
|
|
158
158
|
displaySafeJson,
|
|
@@ -1354,7 +1354,7 @@ ${dataUrl2}`);
|
|
|
1354
1354
|
}
|
|
1355
1355
|
recordStat("image_shrink", shrinkSaved, shrinkTokens, void 0, basename10);
|
|
1356
1356
|
if (loadConfig().image_shrink.ocr_enabled) {
|
|
1357
|
-
const { ocrImage, isTextHeavy, formatOcrSummary } = await import("./token-goat-chunk-
|
|
1357
|
+
const { ocrImage, isTextHeavy, formatOcrSummary } = await import("./token-goat-chunk-PPNKB5HP.mjs");
|
|
1358
1358
|
const ocr = await ocrImage(result.data);
|
|
1359
1359
|
if (ocr !== null && isTextHeavy(ocr, loadConfig().image_shrink.ocr_min_confidence)) {
|
|
1360
1360
|
const emitted = formatOcrSummary(ocr, basename10, result.originalBytes);
|
|
@@ -3,14 +3,14 @@ const require = __cjsRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
findLatestTranscript,
|
|
5
5
|
readFileLines
|
|
6
|
-
} from "./token-goat-chunk-
|
|
6
|
+
} from "./token-goat-chunk-UGCNTVF4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotCliUserRoot,
|
|
9
9
|
readCopilotMcpTools
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-OHMKCBZI.mjs";
|
|
11
11
|
import {
|
|
12
12
|
canonicalize
|
|
13
|
-
} from "./token-goat-chunk-
|
|
13
|
+
} from "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
14
14
|
import {
|
|
15
15
|
init_define_import_meta_env
|
|
16
16
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
createResidentContextStats,
|
|
7
7
|
estimateTokens,
|
|
8
8
|
summarizeResidentContext
|
|
9
|
-
} from "./token-goat-chunk-
|
|
9
|
+
} from "./token-goat-chunk-QZZPWFVF.mjs";
|
|
10
10
|
import {
|
|
11
11
|
commandHash,
|
|
12
12
|
getBashOutput,
|
|
13
13
|
normalizeCommandForCacheKey
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-BIBZQRC6.mjs";
|
|
15
15
|
import {
|
|
16
16
|
init_define_import_meta_env
|
|
17
17
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -3,19 +3,19 @@ const require = __cjsRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
claudeConfigDir,
|
|
5
5
|
readTranscriptTail
|
|
6
|
-
} from "./token-goat-chunk-
|
|
6
|
+
} from "./token-goat-chunk-QZZPWFVF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_MAX_AGE_MS,
|
|
9
9
|
DEFAULT_MAX_COUNT,
|
|
10
10
|
recordStat,
|
|
11
11
|
redactSecrets
|
|
12
|
-
} from "./token-goat-chunk-
|
|
12
|
+
} from "./token-goat-chunk-KOL5WXDW.mjs";
|
|
13
13
|
import {
|
|
14
14
|
detectHarness,
|
|
15
15
|
isAutoTriggerMultiplierExplicit,
|
|
16
16
|
loadConfig,
|
|
17
17
|
shortFingerprint
|
|
18
|
-
} from "./token-goat-chunk-
|
|
18
|
+
} from "./token-goat-chunk-UTKNLKYE.mjs";
|
|
19
19
|
import {
|
|
20
20
|
registerReset
|
|
21
21
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
stripLower,
|
|
32
32
|
tokenGoatHome,
|
|
33
33
|
withFileLock
|
|
34
|
-
} from "./token-goat-chunk-
|
|
34
|
+
} from "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
35
35
|
import {
|
|
36
36
|
normalizePath
|
|
37
37
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createRequire as __cjsRequire } from 'node:module';
|
|
2
|
+
const require = __cjsRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
buildEvent,
|
|
5
|
+
relay,
|
|
6
|
+
relayInProcess
|
|
7
|
+
} from "./token-goat-chunk-NNXCBELZ.mjs";
|
|
8
|
+
import "./token-goat-chunk-TVTDINTO.mjs";
|
|
9
|
+
import {
|
|
10
|
+
MAX_STDIN_BYTES,
|
|
11
|
+
readStdinJson
|
|
12
|
+
} from "./token-goat-chunk-2SSDSUSF.mjs";
|
|
13
|
+
import "./token-goat-chunk-UGCNTVF4.mjs";
|
|
14
|
+
import "./token-goat-chunk-IEF2NZFZ.mjs";
|
|
15
|
+
import "./token-goat-chunk-TWVFMUTZ.mjs";
|
|
16
|
+
import "./token-goat-chunk-G7YWBH25.mjs";
|
|
17
|
+
import "./token-goat-chunk-OHMKCBZI.mjs";
|
|
18
|
+
import "./token-goat-chunk-VAIJUZG6.mjs";
|
|
19
|
+
import "./token-goat-chunk-QZZPWFVF.mjs";
|
|
20
|
+
import "./token-goat-chunk-BIBZQRC6.mjs";
|
|
21
|
+
import "./token-goat-chunk-KOL5WXDW.mjs";
|
|
22
|
+
import "./token-goat-chunk-3BTK54F3.mjs";
|
|
23
|
+
import "./token-goat-chunk-7PQYG6TN.mjs";
|
|
24
|
+
import "./token-goat-chunk-YZ67F2HJ.mjs";
|
|
25
|
+
import "./token-goat-chunk-3FSAZR32.mjs";
|
|
26
|
+
import "./token-goat-chunk-UTKNLKYE.mjs";
|
|
27
|
+
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
28
|
+
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
29
|
+
import "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
30
|
+
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
31
|
+
import "./token-goat-chunk-Y4AFKTHK.mjs";
|
|
32
|
+
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
33
|
+
import "./token-goat-chunk-RRNZMM3A.mjs";
|
|
34
|
+
import "./token-goat-chunk-A37V4PBF.mjs";
|
|
35
|
+
export {
|
|
36
|
+
MAX_STDIN_BYTES,
|
|
37
|
+
buildEvent,
|
|
38
|
+
readStdinJson,
|
|
39
|
+
relay,
|
|
40
|
+
relayInProcess
|
|
41
|
+
};
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isTextHeavy,
|
|
6
6
|
ocrImage,
|
|
7
7
|
ocrIntegrityFailed
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-6W2FFT6H.mjs";
|
|
9
9
|
import {
|
|
10
10
|
formatSqliteQueryTable,
|
|
11
11
|
formatSqliteSchema,
|
|
@@ -42,12 +42,12 @@ import {
|
|
|
42
42
|
urlPolicyDenialReason,
|
|
43
43
|
virtualIndexedScopeNote,
|
|
44
44
|
walkProject
|
|
45
|
-
} from "./token-goat-chunk-
|
|
45
|
+
} from "./token-goat-chunk-TWVFMUTZ.mjs";
|
|
46
46
|
import {
|
|
47
47
|
capJsonRows,
|
|
48
48
|
estimateTokens,
|
|
49
49
|
trimToBudget
|
|
50
|
-
} from "./token-goat-chunk-
|
|
50
|
+
} from "./token-goat-chunk-QZZPWFVF.mjs";
|
|
51
51
|
import {
|
|
52
52
|
BYTES_PER_TOKEN,
|
|
53
53
|
colorStdout,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
savedTokensFromBytes,
|
|
59
59
|
storeBlob,
|
|
60
60
|
stripAnsiEscapes
|
|
61
|
-
} from "./token-goat-chunk-
|
|
61
|
+
} from "./token-goat-chunk-KOL5WXDW.mjs";
|
|
62
62
|
import {
|
|
63
63
|
extractPdfMeta,
|
|
64
64
|
extractPdfOutline,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
parseWhereSpecs,
|
|
73
73
|
profileCsv,
|
|
74
74
|
queryCsv
|
|
75
|
-
} from "./token-goat-chunk-
|
|
75
|
+
} from "./token-goat-chunk-BQ6ZDLTF.mjs";
|
|
76
76
|
import {
|
|
77
77
|
MAX_ZIP_INPUT_BYTES,
|
|
78
78
|
MAX_ZIP_OUTPUT_BYTES,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
extractSolidity,
|
|
108
108
|
extractThrift,
|
|
109
109
|
stripLeadingAttributes
|
|
110
|
-
} from "./token-goat-chunk-
|
|
110
|
+
} from "./token-goat-chunk-ILROZWXE.mjs";
|
|
111
111
|
import {
|
|
112
112
|
MAX_OVER_FETCH,
|
|
113
113
|
OVER_FETCH_FACTOR,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
mergeNearbyHits,
|
|
122
122
|
readSection,
|
|
123
123
|
searchSemantic
|
|
124
|
-
} from "./token-goat-chunk-
|
|
124
|
+
} from "./token-goat-chunk-7PQYG6TN.mjs";
|
|
125
125
|
import {
|
|
126
126
|
DEFAULT_QUERY_LIMIT,
|
|
127
127
|
countRefs,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
queryRefsByContext,
|
|
135
135
|
querySymbols,
|
|
136
136
|
searchSymbolsFts
|
|
137
|
-
} from "./token-goat-chunk-
|
|
137
|
+
} from "./token-goat-chunk-YZ67F2HJ.mjs";
|
|
138
138
|
import {
|
|
139
139
|
FILENAME_LANGUAGE,
|
|
140
140
|
TREE_SITTER_LANGUAGES,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
partialRefsReason,
|
|
154
154
|
redactIfDotenv,
|
|
155
155
|
unsupportedLanguageName
|
|
156
|
-
} from "./token-goat-chunk-
|
|
156
|
+
} from "./token-goat-chunk-3FSAZR32.mjs";
|
|
157
157
|
import {
|
|
158
158
|
fileIsAbsent,
|
|
159
159
|
findProject,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
loadConfig,
|
|
164
164
|
resolveProjectRoot,
|
|
165
165
|
shortFingerprint
|
|
166
|
-
} from "./token-goat-chunk-
|
|
166
|
+
} from "./token-goat-chunk-UTKNLKYE.mjs";
|
|
167
167
|
import {
|
|
168
168
|
registerReset
|
|
169
169
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
supportRequestLine,
|
|
197
197
|
windowsCmdQuoteArg,
|
|
198
198
|
withExtension
|
|
199
|
-
} from "./token-goat-chunk-
|
|
199
|
+
} from "./token-goat-chunk-YE4TGC4Z.mjs";
|
|
200
200
|
import {
|
|
201
201
|
UNTRUSTED_FILE_TAG,
|
|
202
202
|
UNTRUSTED_GITHUB_TAG,
|
|
@@ -21,7 +21,7 @@ init_define_import_meta_env();
|
|
|
21
21
|
import { createRequire } from "node:module";
|
|
22
22
|
function resolveVersion() {
|
|
23
23
|
if (true) {
|
|
24
|
-
return "2.9.
|
|
24
|
+
return "2.9.25";
|
|
25
25
|
}
|
|
26
26
|
const require2 = createRequire(import.meta.url);
|
|
27
27
|
const pkg = require2("../package.json");
|