token-goat 2.9.23 → 2.9.24
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-GE5FV4K4.mjs → token-goat-chunk-2DUAXUIJ.mjs} +8 -8
- package/dist/{token-goat-chunk-6AMDBNXA.mjs → token-goat-chunk-3PT5WLQK.mjs} +8 -8
- package/dist/{token-goat-chunk-DN5TDA7X.mjs → token-goat-chunk-4MAEUQLF.mjs} +3 -3
- package/dist/{token-goat-chunk-TETLHLL4.mjs → token-goat-chunk-5S74ZZEO.mjs} +3 -3
- package/dist/{token-goat-chunk-FIBB6HUJ.mjs → token-goat-chunk-72TE7FU7.mjs} +12 -12
- package/dist/{token-goat-chunk-P5DTTFWQ.mjs → token-goat-chunk-7ADSYVBK.mjs} +1 -1
- package/dist/{token-goat-chunk-YBG7SMAK.mjs → token-goat-chunk-7ZCZ2HPM.mjs} +18 -18
- package/dist/{token-goat-chunk-4NEYQA2B.mjs → token-goat-chunk-AS5NSR66.mjs} +27 -27
- package/dist/{token-goat-chunk-W3EV7NRO.mjs → token-goat-chunk-B7GDKYSS.mjs} +8 -8
- package/dist/{token-goat-chunk-Y4FGECX5.mjs → token-goat-chunk-BJRNKGYK.mjs} +3 -3
- package/dist/{token-goat-chunk-VVCGXBVQ.mjs → token-goat-chunk-CFVXTYRC.mjs} +1 -1
- package/dist/{token-goat-chunk-AIXKS6UY.mjs → token-goat-chunk-CLMQ24PD.mjs} +2 -2
- package/dist/{token-goat-chunk-K6B5REAF.mjs → token-goat-chunk-CORDQN2U.mjs} +6 -6
- package/dist/{token-goat-chunk-5IID4N52.mjs → token-goat-chunk-D4JAVM3Z.mjs} +5 -5
- package/dist/{token-goat-chunk-R7SWCKV2.mjs → token-goat-chunk-DNHYOVUK.mjs} +11 -11
- package/dist/{token-goat-chunk-F66GO3BZ.mjs → token-goat-chunk-EGYUJ2AP.mjs} +1 -1
- package/dist/{token-goat-chunk-3DFULEOA.mjs → token-goat-chunk-FMQP3ERO.mjs} +2 -2
- package/dist/{token-goat-chunk-GUPX2MSL.mjs → token-goat-chunk-FXK6UNAH.mjs} +1 -1
- package/dist/{token-goat-chunk-4BTOJTZD.mjs → token-goat-chunk-GT26NTEL.mjs} +3 -3
- package/dist/{token-goat-chunk-XJRKKQYI.mjs → token-goat-chunk-HC7SSQYK.mjs} +16 -16
- package/dist/{token-goat-chunk-7SPQ6IIS.mjs → token-goat-chunk-HYD56VIE.mjs} +2 -2
- package/dist/{token-goat-chunk-7ZJCWBZI.mjs → token-goat-chunk-HZJZRQRF.mjs} +4 -4
- package/dist/{token-goat-chunk-ZVYT6SOT.mjs → token-goat-chunk-I35H7T6A.mjs} +10 -10
- package/dist/{token-goat-chunk-PLIZZDYM.mjs → token-goat-chunk-I44FCOH2.mjs} +10 -10
- package/dist/{token-goat-chunk-P2OWJWPJ.mjs → token-goat-chunk-J3TXSEAO.mjs} +1 -1
- package/dist/{token-goat-chunk-FZ7QU7BN.mjs → token-goat-chunk-JFVBQTYP.mjs} +1 -1
- package/dist/{token-goat-chunk-QGBQOANR.mjs → token-goat-chunk-LN6CBNPK.mjs} +3 -3
- package/dist/{token-goat-chunk-K2WEBYUH.mjs → token-goat-chunk-MEAYTTPZ.mjs} +2 -2
- package/dist/{token-goat-chunk-JIWV3M7J.mjs → token-goat-chunk-MGJPPLPE.mjs} +4 -4
- package/dist/{token-goat-chunk-EYYDRFKA.mjs → token-goat-chunk-PKBVHMSV.mjs} +3 -3
- package/dist/{token-goat-chunk-RZ5V2RJ6.mjs → token-goat-chunk-Q4RV2RNK.mjs} +32 -31
- package/dist/{token-goat-chunk-45JI3MB7.mjs → token-goat-chunk-QVWZVH7Y.mjs} +2 -2
- package/dist/{token-goat-chunk-SVFSQRFS.mjs → token-goat-chunk-RR4X4DHY.mjs} +6 -6
- package/dist/{token-goat-chunk-SM3XG5YA.mjs → token-goat-chunk-SB5PY2N4.mjs} +4 -4
- package/dist/{token-goat-chunk-J3WHKFP2.mjs → token-goat-chunk-T2RFPPNW.mjs} +1 -1
- package/dist/{token-goat-chunk-UN6R6DKG.mjs → token-goat-chunk-U47EDUXC.mjs} +2 -2
- package/dist/{token-goat-chunk-UUCJI7X3.mjs → token-goat-chunk-UIHJZTP4.mjs} +3 -3
- package/dist/{token-goat-chunk-2KNXKM4P.mjs → token-goat-chunk-VG36C3C4.mjs} +4 -4
- package/dist/{token-goat-chunk-VMJWBG3B.mjs → token-goat-chunk-XSX4LVA2.mjs} +5 -5
- package/dist/{token-goat-chunk-GEYF6V37.mjs → token-goat-chunk-YVPIXBSD.mjs} +1 -1
- package/dist/token-goat-chunk-ZK52PPYH.mjs +41 -0
- 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,34 +6,34 @@ import {
|
|
|
6
6
|
getToolName,
|
|
7
7
|
getTrackedFiles,
|
|
8
8
|
scanAndRecord
|
|
9
|
-
} from "./token-goat-chunk-
|
|
9
|
+
} from "./token-goat-chunk-72TE7FU7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
RECALL_DEFAULT_LIMIT,
|
|
12
12
|
indexRecallEntry,
|
|
13
13
|
listRecentRecall,
|
|
14
14
|
searchRecall
|
|
15
|
-
} from "./token-goat-chunk-
|
|
15
|
+
} from "./token-goat-chunk-D4JAVM3Z.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isBlobStale,
|
|
18
18
|
loadBlob,
|
|
19
19
|
redactSecrets,
|
|
20
20
|
storeBlob
|
|
21
|
-
} from "./token-goat-chunk-
|
|
21
|
+
} from "./token-goat-chunk-UIHJZTP4.mjs";
|
|
22
22
|
import {
|
|
23
23
|
parserFingerprintForLanguage
|
|
24
|
-
} from "./token-goat-chunk-
|
|
24
|
+
} from "./token-goat-chunk-3PT5WLQK.mjs";
|
|
25
25
|
import {
|
|
26
26
|
getProjectFileEntries,
|
|
27
27
|
projectScopeClause
|
|
28
|
-
} from "./token-goat-chunk-
|
|
28
|
+
} from "./token-goat-chunk-HYD56VIE.mjs";
|
|
29
29
|
import {
|
|
30
30
|
getDb
|
|
31
|
-
} from "./token-goat-chunk-
|
|
31
|
+
} from "./token-goat-chunk-7ADSYVBK.mjs";
|
|
32
32
|
import {
|
|
33
33
|
fingerprintFile,
|
|
34
34
|
getDisplayRoot,
|
|
35
35
|
shortFingerprint
|
|
36
|
-
} from "./token-goat-chunk-
|
|
36
|
+
} from "./token-goat-chunk-J3TXSEAO.mjs";
|
|
37
37
|
import {
|
|
38
38
|
registerReset
|
|
39
39
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
foldPath,
|
|
45
45
|
globalDbPath,
|
|
46
46
|
pad
|
|
47
|
-
} from "./token-goat-chunk-
|
|
47
|
+
} from "./token-goat-chunk-CFVXTYRC.mjs";
|
|
48
48
|
import {
|
|
49
49
|
UNTRUSTED_TOOL_TAG,
|
|
50
50
|
UNTRUSTED_WEB_TAG,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
pathEqClause,
|
|
5
5
|
projectScopeClause,
|
|
6
6
|
querySymbols
|
|
7
|
-
} from "./token-goat-chunk-
|
|
7
|
+
} from "./token-goat-chunk-HYD56VIE.mjs";
|
|
8
8
|
import {
|
|
9
9
|
TREE_SITTER_LANGUAGES,
|
|
10
10
|
_detectOpenQuote,
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
stripJsComments,
|
|
23
23
|
stripStringLiterals,
|
|
24
24
|
stripXmlComments
|
|
25
|
-
} from "./token-goat-chunk-
|
|
25
|
+
} from "./token-goat-chunk-7ADSYVBK.mjs";
|
|
26
26
|
import {
|
|
27
27
|
fingerprintContent,
|
|
28
28
|
loadConfig
|
|
29
|
-
} from "./token-goat-chunk-
|
|
29
|
+
} from "./token-goat-chunk-J3TXSEAO.mjs";
|
|
30
30
|
import {
|
|
31
31
|
registerReset
|
|
32
32
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
foldPath,
|
|
41
41
|
globalDbPath,
|
|
42
42
|
isCaseInsensitiveFs
|
|
43
|
-
} from "./token-goat-chunk-
|
|
43
|
+
} from "./token-goat-chunk-CFVXTYRC.mjs";
|
|
44
44
|
import {
|
|
45
45
|
displaySafeText,
|
|
46
46
|
normalizePath
|
|
@@ -75,11 +75,11 @@ async function extractEmbeddableDocumentText(filePath) {
|
|
|
75
75
|
return text;
|
|
76
76
|
}
|
|
77
77
|
case ".docx":
|
|
78
|
-
return await (await import("./token-goat-chunk-
|
|
78
|
+
return await (await import("./token-goat-chunk-PKBVHMSV.mjs")).docxText(filePath);
|
|
79
79
|
case ".pptx":
|
|
80
|
-
return await (await import("./token-goat-chunk-
|
|
80
|
+
return await (await import("./token-goat-chunk-5S74ZZEO.mjs")).pptxAllSlidesText(filePath, true);
|
|
81
81
|
case ".xlsx":
|
|
82
|
-
return await (await import("./token-goat-chunk-
|
|
82
|
+
return await (await import("./token-goat-chunk-VG36C3C4.mjs")).allSheetsHeadText(filePath, XLSX_SHEET_ROW_CAP);
|
|
83
83
|
default:
|
|
84
84
|
return null;
|
|
85
85
|
}
|
|
@@ -3922,7 +3922,7 @@ function parseSourceSymbolsTreeSitterOnly(content, filePath, language) {
|
|
|
3922
3922
|
var REGEX_ADAPTERS_SLOT = /* @__PURE__ */ Symbol.for("token-goat.regex-adapters");
|
|
3923
3923
|
var adapterSlot = globalThis;
|
|
3924
3924
|
async function loadRegexExtractors() {
|
|
3925
|
-
adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-
|
|
3925
|
+
adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-CORDQN2U.mjs");
|
|
3926
3926
|
}
|
|
3927
3927
|
function regexAdapters() {
|
|
3928
3928
|
const loaded = adapterSlot[REGEX_ADAPTERS_SLOT];
|
|
@@ -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-CLMQ24PD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotCliUserRoot,
|
|
9
9
|
readCopilotMcpTools
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-LN6CBNPK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
canonicalize
|
|
13
|
-
} from "./token-goat-chunk-
|
|
13
|
+
} from "./token-goat-chunk-CFVXTYRC.mjs";
|
|
14
14
|
import {
|
|
15
15
|
init_define_import_meta_env
|
|
16
16
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -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-FXK6UNAH.mjs";
|
|
10
|
+
import "./token-goat-chunk-YVPIXBSD.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-CFVXTYRC.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,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-BJRNKGYK.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-LN6CBNPK.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-SB5PY2N4.mjs";
|
|
40
40
|
import {
|
|
41
41
|
claudeConfigDir,
|
|
42
42
|
estimateTokens
|
|
43
|
-
} from "./token-goat-chunk-
|
|
43
|
+
} from "./token-goat-chunk-FMQP3ERO.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-D4JAVM3Z.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-UIHJZTP4.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-3PT5WLQK.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-HYD56VIE.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-7ADSYVBK.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-J3TXSEAO.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-CFVXTYRC.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-XSX4LVA2.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);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
canRunWrappedShell,
|
|
6
6
|
clipToDeliveryCap,
|
|
7
7
|
deliveredOutputBytes
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-MGJPPLPE.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-2DUAXUIJ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
projectTranscriptsDir
|
|
26
|
-
} from "./token-goat-chunk-
|
|
26
|
+
} from "./token-goat-chunk-CLMQ24PD.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-HZJZRQRF.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-72TE7FU7.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-BJRNKGYK.mjs";
|
|
112
112
|
import {
|
|
113
113
|
readCopilotHooksOwners
|
|
114
|
-
} from "./token-goat-chunk-
|
|
114
|
+
} from "./token-goat-chunk-LN6CBNPK.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-SB5PY2N4.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-FMQP3ERO.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-D4JAVM3Z.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-UIHJZTP4.mjs";
|
|
201
201
|
import {
|
|
202
202
|
extractMarkdownHeadings,
|
|
203
203
|
formatHeadingTreeParts
|
|
204
|
-
} from "./token-goat-chunk-
|
|
204
|
+
} from "./token-goat-chunk-3PT5WLQK.mjs";
|
|
205
205
|
import {
|
|
206
206
|
countSymbols,
|
|
207
207
|
getFileEntry,
|
|
208
208
|
querySymbols
|
|
209
|
-
} from "./token-goat-chunk-
|
|
209
|
+
} from "./token-goat-chunk-HYD56VIE.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-7ADSYVBK.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-J3TXSEAO.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-CFVXTYRC.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-AS5NSR66.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-I35H7T6A.mjs");
|
|
1143
1143
|
return await buildResumePacket(event.sessionId);
|
|
1144
1144
|
} catch {
|
|
1145
1145
|
return null;
|
|
@@ -70,43 +70,43 @@ import {
|
|
|
70
70
|
requirePositiveInt,
|
|
71
71
|
run,
|
|
72
72
|
visualStudioManualSteps
|
|
73
|
-
} from "./token-goat-chunk-
|
|
74
|
-
import "./token-goat-chunk-
|
|
75
|
-
import "./token-goat-chunk-
|
|
76
|
-
import "./token-goat-chunk-
|
|
77
|
-
import "./token-goat-chunk-
|
|
78
|
-
import "./token-goat-chunk-
|
|
73
|
+
} from "./token-goat-chunk-Q4RV2RNK.mjs";
|
|
74
|
+
import "./token-goat-chunk-QVWZVH7Y.mjs";
|
|
75
|
+
import "./token-goat-chunk-4MAEUQLF.mjs";
|
|
76
|
+
import "./token-goat-chunk-RR4X4DHY.mjs";
|
|
77
|
+
import "./token-goat-chunk-DNHYOVUK.mjs";
|
|
78
|
+
import "./token-goat-chunk-MEAYTTPZ.mjs";
|
|
79
79
|
import "./token-goat-chunk-DA43OE7L.mjs";
|
|
80
80
|
import {
|
|
81
81
|
cmdDescribe,
|
|
82
82
|
cmdSessionSchema
|
|
83
|
-
} from "./token-goat-chunk-
|
|
84
|
-
import "./token-goat-chunk-
|
|
85
|
-
import "./token-goat-chunk-
|
|
86
|
-
import "./token-goat-chunk-
|
|
87
|
-
import "./token-goat-chunk-
|
|
88
|
-
import "./token-goat-chunk-
|
|
89
|
-
import "./token-goat-chunk-
|
|
90
|
-
import "./token-goat-chunk-
|
|
91
|
-
import "./token-goat-chunk-
|
|
92
|
-
import "./token-goat-chunk-
|
|
83
|
+
} from "./token-goat-chunk-2DUAXUIJ.mjs";
|
|
84
|
+
import "./token-goat-chunk-CLMQ24PD.mjs";
|
|
85
|
+
import "./token-goat-chunk-HZJZRQRF.mjs";
|
|
86
|
+
import "./token-goat-chunk-72TE7FU7.mjs";
|
|
87
|
+
import "./token-goat-chunk-BJRNKGYK.mjs";
|
|
88
|
+
import "./token-goat-chunk-LN6CBNPK.mjs";
|
|
89
|
+
import "./token-goat-chunk-SB5PY2N4.mjs";
|
|
90
|
+
import "./token-goat-chunk-FMQP3ERO.mjs";
|
|
91
|
+
import "./token-goat-chunk-D4JAVM3Z.mjs";
|
|
92
|
+
import "./token-goat-chunk-UIHJZTP4.mjs";
|
|
93
93
|
import "./token-goat-chunk-LKSXAMJB.mjs";
|
|
94
|
-
import "./token-goat-chunk-
|
|
95
|
-
import "./token-goat-chunk-
|
|
96
|
-
import "./token-goat-chunk-
|
|
97
|
-
import "./token-goat-chunk-
|
|
94
|
+
import "./token-goat-chunk-EGYUJ2AP.mjs";
|
|
95
|
+
import "./token-goat-chunk-FXK6UNAH.mjs";
|
|
96
|
+
import "./token-goat-chunk-U47EDUXC.mjs";
|
|
97
|
+
import "./token-goat-chunk-JFVBQTYP.mjs";
|
|
98
98
|
import "./token-goat-chunk-3BTK54F3.mjs";
|
|
99
|
-
import "./token-goat-chunk-
|
|
99
|
+
import "./token-goat-chunk-YVPIXBSD.mjs";
|
|
100
100
|
import "./token-goat-chunk-XTQAOTSO.mjs";
|
|
101
101
|
import "./token-goat-chunk-AH6QILZM.mjs";
|
|
102
|
-
import "./token-goat-chunk-
|
|
103
|
-
import "./token-goat-chunk-
|
|
104
|
-
import "./token-goat-chunk-
|
|
105
|
-
import "./token-goat-chunk-
|
|
106
|
-
import "./token-goat-chunk-
|
|
102
|
+
import "./token-goat-chunk-T2RFPPNW.mjs";
|
|
103
|
+
import "./token-goat-chunk-3PT5WLQK.mjs";
|
|
104
|
+
import "./token-goat-chunk-HYD56VIE.mjs";
|
|
105
|
+
import "./token-goat-chunk-7ADSYVBK.mjs";
|
|
106
|
+
import "./token-goat-chunk-J3TXSEAO.mjs";
|
|
107
107
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
108
108
|
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
109
|
-
import "./token-goat-chunk-
|
|
109
|
+
import "./token-goat-chunk-CFVXTYRC.mjs";
|
|
110
110
|
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
111
111
|
import "./token-goat-chunk-Y4AFKTHK.mjs";
|
|
112
112
|
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
@@ -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-MGJPPLPE.mjs";
|
|
11
|
+
import "./token-goat-chunk-BJRNKGYK.mjs";
|
|
12
|
+
import "./token-goat-chunk-D4JAVM3Z.mjs";
|
|
13
|
+
import "./token-goat-chunk-UIHJZTP4.mjs";
|
|
14
|
+
import "./token-goat-chunk-HYD56VIE.mjs";
|
|
15
|
+
import "./token-goat-chunk-7ADSYVBK.mjs";
|
|
16
|
+
import "./token-goat-chunk-J3TXSEAO.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-CFVXTYRC.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";
|
|
@@ -44,15 +44,15 @@ import {
|
|
|
44
44
|
trimRepeatedPrefix,
|
|
45
45
|
truncateMiddleSmart,
|
|
46
46
|
truncateTableRows
|
|
47
|
-
} from "./token-goat-chunk-
|
|
47
|
+
} from "./token-goat-chunk-D4JAVM3Z.mjs";
|
|
48
48
|
import {
|
|
49
49
|
redactSecrets,
|
|
50
50
|
savedTokensFromBytes,
|
|
51
51
|
stripAnsiEscapes
|
|
52
|
-
} from "./token-goat-chunk-
|
|
52
|
+
} from "./token-goat-chunk-UIHJZTP4.mjs";
|
|
53
53
|
import {
|
|
54
54
|
loadConfig
|
|
55
|
-
} from "./token-goat-chunk-
|
|
55
|
+
} from "./token-goat-chunk-J3TXSEAO.mjs";
|
|
56
56
|
import {
|
|
57
57
|
resolveIndexPath
|
|
58
58
|
} from "./token-goat-chunk-NMTKNYGF.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.24";
|
|
25
25
|
}
|
|
26
26
|
const require2 = createRequire(import.meta.url);
|
|
27
27
|
const pkg = require2("../package.json");
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
createResidentContextStats,
|
|
7
7
|
estimateTokens,
|
|
8
8
|
summarizeResidentContext
|
|
9
|
-
} from "./token-goat-chunk-
|
|
9
|
+
} from "./token-goat-chunk-FMQP3ERO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
commandHash,
|
|
12
12
|
getBashOutput,
|
|
13
13
|
normalizeCommandForCacheKey
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-D4JAVM3Z.mjs";
|
|
15
15
|
import {
|
|
16
16
|
init_define_import_meta_env
|
|
17
17
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
extractSwift,
|
|
26
26
|
extractThrift,
|
|
27
27
|
extractWgsl
|
|
28
|
-
} from "./token-goat-chunk-
|
|
28
|
+
} from "./token-goat-chunk-T2RFPPNW.mjs";
|
|
29
29
|
import {
|
|
30
30
|
extractShellBannerHeading
|
|
31
|
-
} from "./token-goat-chunk-
|
|
32
|
-
import "./token-goat-chunk-
|
|
31
|
+
} from "./token-goat-chunk-3PT5WLQK.mjs";
|
|
32
|
+
import "./token-goat-chunk-HYD56VIE.mjs";
|
|
33
33
|
import {
|
|
34
34
|
GENERIC_CLAUSE,
|
|
35
35
|
assignBraceBlockSpans,
|
|
@@ -59,15 +59,15 @@ import {
|
|
|
59
59
|
stripMultilineStringSpan,
|
|
60
60
|
stripStringLiterals,
|
|
61
61
|
stripXmlComments
|
|
62
|
-
} from "./token-goat-chunk-
|
|
63
|
-
import "./token-goat-chunk-
|
|
62
|
+
} from "./token-goat-chunk-7ADSYVBK.mjs";
|
|
63
|
+
import "./token-goat-chunk-J3TXSEAO.mjs";
|
|
64
64
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
65
65
|
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
66
66
|
import {
|
|
67
67
|
countContentLines,
|
|
68
68
|
escapeRegExp,
|
|
69
69
|
pushAll
|
|
70
|
-
} from "./token-goat-chunk-
|
|
70
|
+
} from "./token-goat-chunk-CFVXTYRC.mjs";
|
|
71
71
|
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
72
72
|
import "./token-goat-chunk-Y4AFKTHK.mjs";
|
|
73
73
|
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
redactSecrets,
|
|
9
9
|
storeBlob,
|
|
10
10
|
stripAnsiEscapes
|
|
11
|
-
} from "./token-goat-chunk-
|
|
11
|
+
} from "./token-goat-chunk-UIHJZTP4.mjs";
|
|
12
12
|
import {
|
|
13
13
|
sanitizeFtsQuery
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-HYD56VIE.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getDb
|
|
17
|
-
} from "./token-goat-chunk-
|
|
17
|
+
} from "./token-goat-chunk-7ADSYVBK.mjs";
|
|
18
18
|
import {
|
|
19
19
|
shortFingerprint
|
|
20
|
-
} from "./token-goat-chunk-
|
|
20
|
+
} from "./token-goat-chunk-J3TXSEAO.mjs";
|
|
21
21
|
import {
|
|
22
22
|
registerReset
|
|
23
23
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
24
24
|
import {
|
|
25
25
|
globalDbPath,
|
|
26
26
|
runGit
|
|
27
|
-
} from "./token-goat-chunk-
|
|
27
|
+
} from "./token-goat-chunk-CFVXTYRC.mjs";
|
|
28
28
|
import {
|
|
29
29
|
normalizePath
|
|
30
30
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|