token-goat 2.9.22 → 2.9.23
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-KJCMNJCG.mjs → token-goat-chunk-2KNXKM4P.mjs} +4 -4
- package/dist/{token-goat-chunk-4NS4CAKI.mjs → token-goat-chunk-3DFULEOA.mjs} +2 -2
- package/dist/{token-goat-chunk-G7NIU2HH.mjs → token-goat-chunk-45JI3MB7.mjs} +2 -2
- package/dist/{token-goat-chunk-PQD6JTXN.mjs → token-goat-chunk-4BTOJTZD.mjs} +3 -3
- package/dist/{token-goat-chunk-4W2SZZIL.mjs → token-goat-chunk-4NEYQA2B.mjs} +27 -27
- package/dist/{token-goat-chunk-YHCUBOVZ.mjs → token-goat-chunk-5IID4N52.mjs} +5 -5
- package/dist/{token-goat-chunk-646GCK7P.mjs → token-goat-chunk-6AMDBNXA.mjs} +8 -8
- package/dist/{token-goat-chunk-LPOEPINH.mjs → token-goat-chunk-7SPQ6IIS.mjs} +2 -2
- package/dist/{token-goat-chunk-75DLQORE.mjs → token-goat-chunk-7ZJCWBZI.mjs} +4 -4
- package/dist/{token-goat-chunk-HCEW3KTN.mjs → token-goat-chunk-AIXKS6UY.mjs} +2 -2
- package/dist/{token-goat-chunk-TEK5LV6B.mjs → token-goat-chunk-DN5TDA7X.mjs} +3 -3
- package/dist/{token-goat-chunk-47MFMDCL.mjs → token-goat-chunk-EYYDRFKA.mjs} +3 -3
- package/dist/{token-goat-chunk-EU5KDBII.mjs → token-goat-chunk-F66GO3BZ.mjs} +1 -1
- package/dist/{token-goat-chunk-N3UUZAYN.mjs → token-goat-chunk-FIBB6HUJ.mjs} +12 -12
- package/dist/{token-goat-chunk-ONXXR7MS.mjs → token-goat-chunk-FZ7QU7BN.mjs} +1 -1
- package/dist/{token-goat-chunk-VVPAGLLE.mjs → token-goat-chunk-GE5FV4K4.mjs} +8 -8
- package/dist/{token-goat-chunk-SLE5MVTU.mjs → token-goat-chunk-GEYF6V37.mjs} +1 -1
- package/dist/{token-goat-chunk-7TAFIQS4.mjs → token-goat-chunk-GUPX2MSL.mjs} +1 -1
- package/dist/{token-goat-chunk-ZO6OALTM.mjs → token-goat-chunk-J3WHKFP2.mjs} +1 -1
- package/dist/{token-goat-chunk-OSLK5MBY.mjs → token-goat-chunk-JIWV3M7J.mjs} +4 -4
- package/dist/{token-goat-chunk-GKZLHNGN.mjs → token-goat-chunk-K2WEBYUH.mjs} +2 -2
- package/dist/{token-goat-chunk-VRS6B7UD.mjs → token-goat-chunk-K6B5REAF.mjs} +6 -6
- package/dist/{token-goat-chunk-DN4HSMH7.mjs → token-goat-chunk-P2OWJWPJ.mjs} +1 -1
- package/dist/{token-goat-chunk-CTPTUL7L.mjs → token-goat-chunk-P5DTTFWQ.mjs} +1 -1
- package/dist/{token-goat-chunk-HGXKWLYQ.mjs → token-goat-chunk-PLIZZDYM.mjs} +10 -10
- package/dist/{token-goat-chunk-CVPCUQON.mjs → token-goat-chunk-QGBQOANR.mjs} +3 -3
- package/dist/{token-goat-chunk-2GAK6LNK.mjs → token-goat-chunk-R7SWCKV2.mjs} +12 -13
- package/dist/{token-goat-chunk-FI4MIIER.mjs → token-goat-chunk-RZ5V2RJ6.mjs} +30 -30
- package/dist/{token-goat-chunk-JGQ2SBAA.mjs → token-goat-chunk-SM3XG5YA.mjs} +4 -4
- package/dist/{token-goat-chunk-4642QVSQ.mjs → token-goat-chunk-SVFSQRFS.mjs} +6 -6
- package/dist/{token-goat-chunk-4QGFVPFJ.mjs → token-goat-chunk-TETLHLL4.mjs} +3 -3
- package/dist/{token-goat-chunk-N6WCYKW5.mjs → token-goat-chunk-UN6R6DKG.mjs} +2 -2
- package/dist/{token-goat-chunk-YVCGELLH.mjs → token-goat-chunk-UUCJI7X3.mjs} +3 -3
- package/dist/token-goat-chunk-V3CHCE6G.mjs +41 -0
- package/dist/{token-goat-chunk-273O227F.mjs → token-goat-chunk-VMJWBG3B.mjs} +5 -5
- package/dist/{token-goat-chunk-K5KG65OI.mjs → token-goat-chunk-VVCGXBVQ.mjs} +1 -1
- package/dist/{token-goat-chunk-I4OCEISJ.mjs → token-goat-chunk-W3EV7NRO.mjs} +8 -8
- package/dist/{token-goat-chunk-6MTX77BB.mjs → token-goat-chunk-XJRKKQYI.mjs} +16 -16
- package/dist/{token-goat-chunk-TD5JS4ST.mjs → token-goat-chunk-Y4FGECX5.mjs} +3 -3
- package/dist/{token-goat-chunk-765U7OJS.mjs → token-goat-chunk-YBG7SMAK.mjs} +19 -19
- package/dist/{token-goat-chunk-DMCYWDMB.mjs → token-goat-chunk-ZVYT6SOT.mjs} +10 -10
- 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-YDPJCY62.mjs +0 -41
|
@@ -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-3DFULEOA.mjs";
|
|
6
6
|
import {
|
|
7
7
|
loadConfig
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-P2OWJWPJ.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-VVCGXBVQ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
init_define_import_meta_env
|
|
27
27
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isTextHeavy,
|
|
6
6
|
ocrImage,
|
|
7
7
|
ocrIntegrityFailed
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-K2WEBYUH.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-FIBB6HUJ.mjs";
|
|
46
46
|
import {
|
|
47
47
|
capJsonRows,
|
|
48
48
|
estimateTokens,
|
|
49
49
|
trimToBudget
|
|
50
|
-
} from "./token-goat-chunk-
|
|
50
|
+
} from "./token-goat-chunk-3DFULEOA.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-UUCJI7X3.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-FZ7QU7BN.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-J3WHKFP2.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-6AMDBNXA.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-7SPQ6IIS.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-P5DTTFWQ.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-P2OWJWPJ.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-VVCGXBVQ.mjs";
|
|
200
200
|
import {
|
|
201
201
|
UNTRUSTED_FILE_TAG,
|
|
202
202
|
UNTRUSTED_GITHUB_TAG,
|
|
@@ -10769,7 +10769,7 @@ function staleWarning(resolvedPath) {
|
|
|
10769
10769
|
}
|
|
10770
10770
|
function healStaleIndex(resolvedPath) {
|
|
10771
10771
|
const entry = getFileEntry(resolvedPath);
|
|
10772
|
-
if (entry === null) {
|
|
10772
|
+
if (entry === null || entry.sha === "") {
|
|
10773
10773
|
if (fingerprintFile(resolvedPath) === null) return;
|
|
10774
10774
|
try {
|
|
10775
10775
|
indexFileSyncPinned(resolvedPath, globalDbPath());
|
|
@@ -10779,7 +10779,6 @@ function healStaleIndex(resolvedPath) {
|
|
|
10779
10779
|
}
|
|
10780
10780
|
return;
|
|
10781
10781
|
}
|
|
10782
|
-
if (entry.sha === "") return;
|
|
10783
10782
|
const diskSha = fingerprintFile(resolvedPath);
|
|
10784
10783
|
if (diskSha === null || diskSha === entry.sha) return;
|
|
10785
10784
|
try {
|
|
@@ -2,16 +2,16 @@ import { createRequire as __cjsRequire } from 'node:module';
|
|
|
2
2
|
const require = __cjsRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
compareSemver
|
|
5
|
-
} from "./token-goat-chunk-
|
|
5
|
+
} from "./token-goat-chunk-45JI3MB7.mjs";
|
|
6
6
|
import {
|
|
7
7
|
buildCopilotWasteReport,
|
|
8
8
|
findLatestCopilotSession,
|
|
9
9
|
findProjectSession,
|
|
10
10
|
isCopilotTranscript
|
|
11
|
-
} from "./token-goat-chunk-
|
|
11
|
+
} from "./token-goat-chunk-DN5TDA7X.mjs";
|
|
12
12
|
import {
|
|
13
13
|
buildResumePacket
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-SVFSQRFS.mjs";
|
|
15
15
|
import {
|
|
16
16
|
ALL_SYMBOLS_IN_FILE_LIMIT,
|
|
17
17
|
AMBIGUOUS_HEADING_LIMIT,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
symbolNamesInFile,
|
|
108
108
|
upsertNote,
|
|
109
109
|
warnIfFilesStale
|
|
110
|
-
} from "./token-goat-chunk-
|
|
110
|
+
} from "./token-goat-chunk-R7SWCKV2.mjs";
|
|
111
111
|
import {
|
|
112
112
|
DEFAULT_RECONCILE_BUDGET_MS,
|
|
113
113
|
HOOK_EVENTS,
|
|
@@ -126,17 +126,17 @@ import {
|
|
|
126
126
|
runRecallCommand,
|
|
127
127
|
runReconcile,
|
|
128
128
|
storeWebOutput
|
|
129
|
-
} from "./token-goat-chunk-
|
|
129
|
+
} from "./token-goat-chunk-GE5FV4K4.mjs";
|
|
130
130
|
import {
|
|
131
131
|
buildWasteReport,
|
|
132
132
|
extractResultText,
|
|
133
133
|
findLatestTranscript,
|
|
134
134
|
projectTranscriptsDir,
|
|
135
135
|
safeStringify
|
|
136
|
-
} from "./token-goat-chunk-
|
|
136
|
+
} from "./token-goat-chunk-AIXKS6UY.mjs";
|
|
137
137
|
import {
|
|
138
138
|
buildManifest
|
|
139
|
-
} from "./token-goat-chunk-
|
|
139
|
+
} from "./token-goat-chunk-7ZJCWBZI.mjs";
|
|
140
140
|
import {
|
|
141
141
|
GEMINI_TOOL_NAME_MAP,
|
|
142
142
|
MAX_FILES_SCANNED,
|
|
@@ -208,14 +208,14 @@ import {
|
|
|
208
208
|
visionTokensSavedByText,
|
|
209
209
|
walkProject,
|
|
210
210
|
writeCompact
|
|
211
|
-
} from "./token-goat-chunk-
|
|
211
|
+
} from "./token-goat-chunk-FIBB6HUJ.mjs";
|
|
212
212
|
import {
|
|
213
213
|
CompressedOutput,
|
|
214
214
|
TOOL_FILTERS,
|
|
215
215
|
ToolFilter,
|
|
216
216
|
deliverCompressed,
|
|
217
217
|
detectFromCommand
|
|
218
|
-
} from "./token-goat-chunk-
|
|
218
|
+
} from "./token-goat-chunk-Y4FGECX5.mjs";
|
|
219
219
|
import {
|
|
220
220
|
HOOKS_SCRIPT_FILE,
|
|
221
221
|
MATERIALIZE_SHRUNK_IMAGE_JS,
|
|
@@ -253,7 +253,7 @@ import {
|
|
|
253
253
|
visualStudioProjectMcpPath,
|
|
254
254
|
visualStudioSolutionVscodeMcpPath,
|
|
255
255
|
visualStudioUserMcpPath
|
|
256
|
-
} from "./token-goat-chunk-
|
|
256
|
+
} from "./token-goat-chunk-QGBQOANR.mjs";
|
|
257
257
|
import {
|
|
258
258
|
AGENT_SALT_MARKER,
|
|
259
259
|
CONTEXT_AUTOCOMPACT_TOKENS,
|
|
@@ -279,7 +279,7 @@ import {
|
|
|
279
279
|
skillOutputsDir,
|
|
280
280
|
storeCompact,
|
|
281
281
|
storeOutput
|
|
282
|
-
} from "./token-goat-chunk-
|
|
282
|
+
} from "./token-goat-chunk-SM3XG5YA.mjs";
|
|
283
283
|
import {
|
|
284
284
|
capJsonRows,
|
|
285
285
|
claudeConfigDir,
|
|
@@ -288,14 +288,14 @@ import {
|
|
|
288
288
|
formatBytes,
|
|
289
289
|
formatTokenEstimate,
|
|
290
290
|
trimToBudget
|
|
291
|
-
} from "./token-goat-chunk-
|
|
291
|
+
} from "./token-goat-chunk-3DFULEOA.mjs";
|
|
292
292
|
import {
|
|
293
293
|
BASH_OUTPUT_SUBDIR,
|
|
294
294
|
clipLongMatchLine,
|
|
295
295
|
combineStreams,
|
|
296
296
|
getBashOutput,
|
|
297
297
|
isRecallCacheType
|
|
298
|
-
} from "./token-goat-chunk-
|
|
298
|
+
} from "./token-goat-chunk-5IID4N52.mjs";
|
|
299
299
|
import {
|
|
300
300
|
C,
|
|
301
301
|
DEFAULT_MAX_AGE_MS,
|
|
@@ -321,19 +321,19 @@ import {
|
|
|
321
321
|
statsHasHarnessColumn,
|
|
322
322
|
stripAnsiEscapes,
|
|
323
323
|
summarize
|
|
324
|
-
} from "./token-goat-chunk-
|
|
324
|
+
} from "./token-goat-chunk-UUCJI7X3.mjs";
|
|
325
325
|
import {
|
|
326
326
|
docxOutline,
|
|
327
327
|
docxTables,
|
|
328
328
|
docxText,
|
|
329
329
|
formatDocxTables
|
|
330
|
-
} from "./token-goat-chunk-
|
|
330
|
+
} from "./token-goat-chunk-F66GO3BZ.mjs";
|
|
331
331
|
import {
|
|
332
332
|
pptxNotesText,
|
|
333
333
|
pptxOutline,
|
|
334
334
|
pptxSlideText,
|
|
335
335
|
pptxTextGrep
|
|
336
|
-
} from "./token-goat-chunk-
|
|
336
|
+
} from "./token-goat-chunk-GUPX2MSL.mjs";
|
|
337
337
|
import {
|
|
338
338
|
formatXlsxColumns,
|
|
339
339
|
formatXlsxRange,
|
|
@@ -342,11 +342,11 @@ import {
|
|
|
342
342
|
querySheet,
|
|
343
343
|
rangeSheet,
|
|
344
344
|
xlsxColumns
|
|
345
|
-
} from "./token-goat-chunk-
|
|
345
|
+
} from "./token-goat-chunk-UN6R6DKG.mjs";
|
|
346
346
|
import {
|
|
347
347
|
formatCsvTable,
|
|
348
348
|
parseWhereSpecs
|
|
349
|
-
} from "./token-goat-chunk-
|
|
349
|
+
} from "./token-goat-chunk-FZ7QU7BN.mjs";
|
|
350
350
|
import {
|
|
351
351
|
assetEmbedSha,
|
|
352
352
|
deleteFileEmbeddings,
|
|
@@ -372,12 +372,12 @@ import {
|
|
|
372
372
|
readSection,
|
|
373
373
|
treeSitterCoreAvailable,
|
|
374
374
|
treeSitterCoreLoadError
|
|
375
|
-
} from "./token-goat-chunk-
|
|
375
|
+
} from "./token-goat-chunk-6AMDBNXA.mjs";
|
|
376
376
|
import {
|
|
377
377
|
getFileEntry,
|
|
378
378
|
getProjectFileEntries,
|
|
379
379
|
querySymbols
|
|
380
|
-
} from "./token-goat-chunk-
|
|
380
|
+
} from "./token-goat-chunk-7SPQ6IIS.mjs";
|
|
381
381
|
import {
|
|
382
382
|
TREE_SITTER_LANGUAGES,
|
|
383
383
|
detectLanguage,
|
|
@@ -388,7 +388,7 @@ import {
|
|
|
388
388
|
matchGroovySlashy,
|
|
389
389
|
nonTreeSitterLanguageCount,
|
|
390
390
|
redactIfDotenv
|
|
391
|
-
} from "./token-goat-chunk-
|
|
391
|
+
} from "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
392
392
|
import {
|
|
393
393
|
CONFIG_KEY_ENV_OVERRIDES,
|
|
394
394
|
PROJECT_LOCKED_KEYS,
|
|
@@ -417,7 +417,7 @@ import {
|
|
|
417
417
|
stringify,
|
|
418
418
|
validateEnumField,
|
|
419
419
|
validateNumericField
|
|
420
|
-
} from "./token-goat-chunk-
|
|
420
|
+
} from "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
421
421
|
import {
|
|
422
422
|
ENV_KEYS,
|
|
423
423
|
LOCK_WAIT_MS_HARDENED,
|
|
@@ -478,7 +478,7 @@ import {
|
|
|
478
478
|
withRetryOnLock,
|
|
479
479
|
writeIfDifferent,
|
|
480
480
|
writeJsonSettings
|
|
481
|
-
} from "./token-goat-chunk-
|
|
481
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
482
482
|
import {
|
|
483
483
|
UNTRUSTED_FILE_TAG,
|
|
484
484
|
UNTRUSTED_TOOL_TAG,
|
|
@@ -8469,7 +8469,7 @@ async function runDoctorAndExit(opts) {
|
|
|
8469
8469
|
}
|
|
8470
8470
|
}
|
|
8471
8471
|
try {
|
|
8472
|
-
const { checkUpdateStatus } = await import("./token-goat-chunk-
|
|
8472
|
+
const { checkUpdateStatus } = await import("./token-goat-chunk-4BTOJTZD.mjs");
|
|
8473
8473
|
const update = await checkUpdateStatus(1500);
|
|
8474
8474
|
if (update.updateAvailable && update.latest) {
|
|
8475
8475
|
console.log(`
|
|
@@ -18433,7 +18433,7 @@ function cmdWaste(opts = {}) {
|
|
|
18433
18433
|
});
|
|
18434
18434
|
}
|
|
18435
18435
|
async function cmdAudit(opts = {}) {
|
|
18436
|
-
const { runAuditCommand } = await import("./token-goat-chunk-
|
|
18436
|
+
const { runAuditCommand } = await import("./token-goat-chunk-PLIZZDYM.mjs");
|
|
18437
18437
|
return runAuditCommand({
|
|
18438
18438
|
...opts.project !== void 0 ? { project: opts.project } : {},
|
|
18439
18439
|
...opts.transcript !== void 0 ? { transcript: opts.transcript } : {},
|
|
@@ -20366,7 +20366,7 @@ async function cmdMcpServe() {
|
|
|
20366
20366
|
let StdioServerTransport;
|
|
20367
20367
|
try {
|
|
20368
20368
|
;
|
|
20369
|
-
({ createMcpServer } = await import("./token-goat-chunk-
|
|
20369
|
+
({ createMcpServer } = await import("./token-goat-chunk-XJRKKQYI.mjs"));
|
|
20370
20370
|
({ StdioServerTransport } = await import("./token-goat-chunk-EVC4TOLE.mjs"));
|
|
20371
20371
|
} catch (err2) {
|
|
20372
20372
|
process.stderr.write(
|
|
@@ -20391,7 +20391,7 @@ async function cmdHook(event, opts) {
|
|
|
20391
20391
|
if (typeof opts.harness === "string" && opts.harness.length > 0) {
|
|
20392
20392
|
process.env[ENV_KEYS.HARNESS_OVERRIDE] = opts.harness;
|
|
20393
20393
|
}
|
|
20394
|
-
const { relay } = await import("./token-goat-chunk-
|
|
20394
|
+
const { relay } = await import("./token-goat-chunk-V3CHCE6G.mjs");
|
|
20395
20395
|
await relay(event);
|
|
20396
20396
|
}
|
|
20397
20397
|
function projectHooksCommitNote(pathFiles, hooksConfigPath) {
|
|
@@ -20428,7 +20428,7 @@ async function cmdInstall(opts) {
|
|
|
20428
20428
|
if (opts.project === true && opts.user === true) {
|
|
20429
20429
|
throw new Error("install takes either -p/--project or --user, not both.");
|
|
20430
20430
|
}
|
|
20431
|
-
await import("./token-goat-chunk-
|
|
20431
|
+
await import("./token-goat-chunk-V3CHCE6G.mjs");
|
|
20432
20432
|
const scope = opts.project === true ? "project" : "user";
|
|
20433
20433
|
if (wantsClaudeCodeBase(opts)) {
|
|
20434
20434
|
const result = installHooks(scope);
|
|
@@ -21019,7 +21019,7 @@ async function cmdCompress(commandArgs, opts = {}) {
|
|
|
21019
21019
|
process.exitCode = 1;
|
|
21020
21020
|
return;
|
|
21021
21021
|
}
|
|
21022
|
-
const bashRunner = await import("./token-goat-chunk-
|
|
21022
|
+
const bashRunner = await import("./token-goat-chunk-W3EV7NRO.mjs");
|
|
21023
21023
|
if (opts.compress === false) {
|
|
21024
21024
|
process.exitCode = bashRunner.runRaw(command, parseTimeout(opts.timeout, bashRunner.DEFAULT_TIMEOUT_SECONDS));
|
|
21025
21025
|
return;
|
|
@@ -21285,7 +21285,7 @@ function buildProgram() {
|
|
|
21285
21285
|
program2.command("compress [command...]").alias("bash").alias("run").description("run a shell command (under a POSIX shell / bash) and emit a compressed view of its output").allowUnknownOption(true).option("-c, --cmd <command>", "the shell command to run, as one string (use / for paths across platforms)").option("--cmd-b64 <payload>", "the shell command as a base64-encoded string (preserves quotes, backslashes, and symbols across platforms)").option("-f, --filter <name>", "filter name (auto-detected from the command when omitted)").option("--timeout <seconds>", "wall-clock timeout in seconds (0 = built-in default)").option("--no-compress", "stream output raw without compression (debug the wrapper)").option("--profile <name>", "compression profile: aggressive | balanced | minimal").option("--max-tokens <n>", "post-compress token cap (0 = no cap)").option("-q, --quiet-success", "on exit code 0, emit only [tg: ok] summary and store full output for recall via bash-output").option("--native", "use native platform shell (e.g. cmd.exe on Windows) instead of bash, preserving Windows path backslashes").action(cmdCompress);
|
|
21286
21286
|
program2.command("upgrade").alias("update").description("check for updates and upgrade token-goat to the latest version").option("--check", "check whether an update is available without installing").option("-j, --json", "emit version check status as JSON").action(
|
|
21287
21287
|
(opts) => guard(async () => {
|
|
21288
|
-
const { cmdUpgrade } = await import("./token-goat-chunk-
|
|
21288
|
+
const { cmdUpgrade } = await import("./token-goat-chunk-4BTOJTZD.mjs");
|
|
21289
21289
|
await cmdUpgrade(opts, () => cmdInstall({}));
|
|
21290
21290
|
})()
|
|
21291
21291
|
);
|
|
@@ -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-3DFULEOA.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-UUCJI7X3.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-P2OWJWPJ.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-VVCGXBVQ.mjs";
|
|
35
35
|
import {
|
|
36
36
|
normalizePath
|
|
37
37
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -2,26 +2,26 @@ import { createRequire as __cjsRequire } from 'node:module';
|
|
|
2
2
|
const require = __cjsRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
renderWebFetchRow
|
|
5
|
-
} from "./token-goat-chunk-
|
|
5
|
+
} from "./token-goat-chunk-7ZJCWBZI.mjs";
|
|
6
6
|
import {
|
|
7
7
|
SESSIONS_SUBDIR,
|
|
8
8
|
extractChecklistSection,
|
|
9
9
|
getSkillFilePath,
|
|
10
10
|
listSkills
|
|
11
|
-
} from "./token-goat-chunk-
|
|
11
|
+
} from "./token-goat-chunk-SM3XG5YA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getBashOutput
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-5IID4N52.mjs";
|
|
15
15
|
import {
|
|
16
16
|
loadBlob
|
|
17
|
-
} from "./token-goat-chunk-
|
|
17
|
+
} from "./token-goat-chunk-UUCJI7X3.mjs";
|
|
18
18
|
import {
|
|
19
19
|
resolveProjectRoot
|
|
20
|
-
} from "./token-goat-chunk-
|
|
20
|
+
} from "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
21
21
|
import {
|
|
22
22
|
runGit,
|
|
23
23
|
safeSlice
|
|
24
|
-
} from "./token-goat-chunk-
|
|
24
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
displaySafePath,
|
|
27
27
|
displaySafeText,
|
|
@@ -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-GUPX2MSL.mjs";
|
|
10
|
+
import "./token-goat-chunk-GEYF6V37.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-VVCGXBVQ.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";
|
|
@@ -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-FZ7QU7BN.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-GEYF6V37.mjs";
|
|
16
16
|
import {
|
|
17
17
|
displaySafeText
|
|
18
18
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -2,11 +2,11 @@ import { createRequire as __cjsRequire } from 'node:module';
|
|
|
2
2
|
const require = __cjsRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
getDb
|
|
5
|
-
} from "./token-goat-chunk-
|
|
5
|
+
} from "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
6
6
|
import {
|
|
7
7
|
getHarnessName,
|
|
8
8
|
loadConfig
|
|
9
|
-
} from "./token-goat-chunk-
|
|
9
|
+
} from "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
registerReset
|
|
12
12
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
extractErrorMessage,
|
|
24
24
|
sanitizeIdForFilename,
|
|
25
25
|
tokenGoatHome
|
|
26
|
-
} from "./token-goat-chunk-
|
|
26
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
27
27
|
import {
|
|
28
28
|
displaySafeText
|
|
29
29
|
} 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-YBG7SMAK.mjs";
|
|
8
|
+
import "./token-goat-chunk-JIWV3M7J.mjs";
|
|
9
|
+
import {
|
|
10
|
+
MAX_STDIN_BYTES,
|
|
11
|
+
readStdinJson
|
|
12
|
+
} from "./token-goat-chunk-GE5FV4K4.mjs";
|
|
13
|
+
import "./token-goat-chunk-AIXKS6UY.mjs";
|
|
14
|
+
import "./token-goat-chunk-7ZJCWBZI.mjs";
|
|
15
|
+
import "./token-goat-chunk-FIBB6HUJ.mjs";
|
|
16
|
+
import "./token-goat-chunk-Y4FGECX5.mjs";
|
|
17
|
+
import "./token-goat-chunk-QGBQOANR.mjs";
|
|
18
|
+
import "./token-goat-chunk-SM3XG5YA.mjs";
|
|
19
|
+
import "./token-goat-chunk-3DFULEOA.mjs";
|
|
20
|
+
import "./token-goat-chunk-5IID4N52.mjs";
|
|
21
|
+
import "./token-goat-chunk-UUCJI7X3.mjs";
|
|
22
|
+
import "./token-goat-chunk-3BTK54F3.mjs";
|
|
23
|
+
import "./token-goat-chunk-6AMDBNXA.mjs";
|
|
24
|
+
import "./token-goat-chunk-7SPQ6IIS.mjs";
|
|
25
|
+
import "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
26
|
+
import "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
27
|
+
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
28
|
+
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
29
|
+
import "./token-goat-chunk-VVCGXBVQ.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
|
+
};
|
|
@@ -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-K2WEBYUH.mjs";
|
|
24
|
+
import "./token-goat-chunk-UUCJI7X3.mjs";
|
|
25
|
+
import "./token-goat-chunk-P5DTTFWQ.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-P2OWJWPJ.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-VVCGXBVQ.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";
|
|
@@ -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.23";
|
|
25
25
|
}
|
|
26
26
|
const require2 = createRequire(import.meta.url);
|
|
27
27
|
const pkg = require2("../package.json");
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
resolveFilter,
|
|
8
8
|
run,
|
|
9
9
|
runRaw
|
|
10
|
-
} from "./token-goat-chunk-
|
|
11
|
-
import "./token-goat-chunk-
|
|
12
|
-
import "./token-goat-chunk-
|
|
13
|
-
import "./token-goat-chunk-
|
|
14
|
-
import "./token-goat-chunk-
|
|
15
|
-
import "./token-goat-chunk-
|
|
16
|
-
import "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-JIWV3M7J.mjs";
|
|
11
|
+
import "./token-goat-chunk-Y4FGECX5.mjs";
|
|
12
|
+
import "./token-goat-chunk-5IID4N52.mjs";
|
|
13
|
+
import "./token-goat-chunk-UUCJI7X3.mjs";
|
|
14
|
+
import "./token-goat-chunk-7SPQ6IIS.mjs";
|
|
15
|
+
import "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
16
|
+
import "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
17
17
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
18
18
|
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
19
|
-
import "./token-goat-chunk-
|
|
19
|
+
import "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
20
20
|
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
21
21
|
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
22
22
|
import "./token-goat-chunk-A37V4PBF.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-R7SWCKV2.mjs";
|
|
30
|
+
import "./token-goat-chunk-K2WEBYUH.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-FIBB6HUJ.mjs";
|
|
41
|
+
import "./token-goat-chunk-Y4FGECX5.mjs";
|
|
42
|
+
import "./token-goat-chunk-QGBQOANR.mjs";
|
|
43
|
+
import "./token-goat-chunk-SM3XG5YA.mjs";
|
|
44
44
|
import {
|
|
45
45
|
claudeConfigDir
|
|
46
|
-
} from "./token-goat-chunk-
|
|
47
|
-
import "./token-goat-chunk-
|
|
46
|
+
} from "./token-goat-chunk-3DFULEOA.mjs";
|
|
47
|
+
import "./token-goat-chunk-5IID4N52.mjs";
|
|
48
48
|
import {
|
|
49
49
|
recordStat,
|
|
50
50
|
savedTokensFromBytes
|
|
51
|
-
} from "./token-goat-chunk-
|
|
51
|
+
} from "./token-goat-chunk-UUCJI7X3.mjs";
|
|
52
52
|
import "./token-goat-chunk-LKSXAMJB.mjs";
|
|
53
|
-
import "./token-goat-chunk-
|
|
53
|
+
import "./token-goat-chunk-FZ7QU7BN.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-J3WHKFP2.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-6AMDBNXA.mjs";
|
|
62
|
+
import "./token-goat-chunk-7SPQ6IIS.mjs";
|
|
63
63
|
import {
|
|
64
64
|
getDb
|
|
65
|
-
} from "./token-goat-chunk-
|
|
65
|
+
} from "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
66
66
|
import {
|
|
67
67
|
envStrList,
|
|
68
68
|
loadConfig,
|
|
69
69
|
resolveProjectRoot
|
|
70
|
-
} from "./token-goat-chunk-
|
|
70
|
+
} from "./token-goat-chunk-P2OWJWPJ.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-VVCGXBVQ.mjs";
|
|
81
81
|
import {
|
|
82
82
|
displaySafeJson,
|
|
83
83
|
normalizePath
|