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
|
@@ -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-UN6R6DKG.mjs";
|
|
14
|
+
import "./token-goat-chunk-FZ7QU7BN.mjs";
|
|
15
15
|
import "./token-goat-chunk-3BTK54F3.mjs";
|
|
16
|
-
import "./token-goat-chunk-
|
|
16
|
+
import "./token-goat-chunk-GEYF6V37.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-VVCGXBVQ.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";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
classifyContent,
|
|
5
5
|
guardDivisor,
|
|
6
6
|
stripAnsiEscapes
|
|
7
|
-
} from "./token-goat-chunk-
|
|
7
|
+
} from "./token-goat-chunk-UUCJI7X3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
safeSlice
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
displaySafeText
|
|
13
13
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -2,10 +2,10 @@ import { createRequire as __cjsRequire } from 'node:module';
|
|
|
2
2
|
const require = __cjsRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./token-goat-chunk-
|
|
5
|
+
} from "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
6
6
|
import {
|
|
7
7
|
VERSION
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
displaySafeJson
|
|
11
11
|
} from "./token-goat-chunk-NMTKNYGF.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-45JI3MB7.mjs";
|
|
9
|
+
import "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
10
10
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
11
|
-
import "./token-goat-chunk-
|
|
11
|
+
import "./token-goat-chunk-VVCGXBVQ.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";
|
|
@@ -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-RZ5V2RJ6.mjs";
|
|
74
|
+
import "./token-goat-chunk-45JI3MB7.mjs";
|
|
75
|
+
import "./token-goat-chunk-DN5TDA7X.mjs";
|
|
76
|
+
import "./token-goat-chunk-SVFSQRFS.mjs";
|
|
77
|
+
import "./token-goat-chunk-R7SWCKV2.mjs";
|
|
78
|
+
import "./token-goat-chunk-K2WEBYUH.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-GE5FV4K4.mjs";
|
|
84
|
+
import "./token-goat-chunk-AIXKS6UY.mjs";
|
|
85
|
+
import "./token-goat-chunk-7ZJCWBZI.mjs";
|
|
86
|
+
import "./token-goat-chunk-FIBB6HUJ.mjs";
|
|
87
|
+
import "./token-goat-chunk-Y4FGECX5.mjs";
|
|
88
|
+
import "./token-goat-chunk-QGBQOANR.mjs";
|
|
89
|
+
import "./token-goat-chunk-SM3XG5YA.mjs";
|
|
90
|
+
import "./token-goat-chunk-3DFULEOA.mjs";
|
|
91
|
+
import "./token-goat-chunk-5IID4N52.mjs";
|
|
92
|
+
import "./token-goat-chunk-UUCJI7X3.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-F66GO3BZ.mjs";
|
|
95
|
+
import "./token-goat-chunk-GUPX2MSL.mjs";
|
|
96
|
+
import "./token-goat-chunk-UN6R6DKG.mjs";
|
|
97
|
+
import "./token-goat-chunk-FZ7QU7BN.mjs";
|
|
98
98
|
import "./token-goat-chunk-3BTK54F3.mjs";
|
|
99
|
-
import "./token-goat-chunk-
|
|
99
|
+
import "./token-goat-chunk-GEYF6V37.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-J3WHKFP2.mjs";
|
|
103
|
+
import "./token-goat-chunk-6AMDBNXA.mjs";
|
|
104
|
+
import "./token-goat-chunk-7SPQ6IIS.mjs";
|
|
105
|
+
import "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
106
|
+
import "./token-goat-chunk-P2OWJWPJ.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-VVCGXBVQ.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";
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
redactSecrets,
|
|
9
9
|
storeBlob,
|
|
10
10
|
stripAnsiEscapes
|
|
11
|
-
} from "./token-goat-chunk-
|
|
11
|
+
} from "./token-goat-chunk-UUCJI7X3.mjs";
|
|
12
12
|
import {
|
|
13
13
|
sanitizeFtsQuery
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-7SPQ6IIS.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getDb
|
|
17
|
-
} from "./token-goat-chunk-
|
|
17
|
+
} from "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
shortFingerprint
|
|
20
|
-
} from "./token-goat-chunk-
|
|
20
|
+
} from "./token-goat-chunk-P2OWJWPJ.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-VVCGXBVQ.mjs";
|
|
28
28
|
import {
|
|
29
29
|
normalizePath
|
|
30
30
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
pathEqClause,
|
|
5
5
|
projectScopeClause,
|
|
6
6
|
querySymbols
|
|
7
|
-
} from "./token-goat-chunk-
|
|
7
|
+
} from "./token-goat-chunk-7SPQ6IIS.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-P5DTTFWQ.mjs";
|
|
26
26
|
import {
|
|
27
27
|
fingerprintContent,
|
|
28
28
|
loadConfig
|
|
29
|
-
} from "./token-goat-chunk-
|
|
29
|
+
} from "./token-goat-chunk-P2OWJWPJ.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-VVCGXBVQ.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-EYYDRFKA.mjs")).docxText(filePath);
|
|
79
79
|
case ".pptx":
|
|
80
|
-
return await (await import("./token-goat-chunk-
|
|
80
|
+
return await (await import("./token-goat-chunk-TETLHLL4.mjs")).pptxAllSlidesText(filePath, true);
|
|
81
81
|
case ".xlsx":
|
|
82
|
-
return await (await import("./token-goat-chunk-
|
|
82
|
+
return await (await import("./token-goat-chunk-2KNXKM4P.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-K6B5REAF.mjs");
|
|
3926
3926
|
}
|
|
3927
3927
|
function regexAdapters() {
|
|
3928
3928
|
const loaded = adapterSlot[REGEX_ADAPTERS_SLOT];
|
|
@@ -2,12 +2,12 @@ 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
|
foldPath,
|
|
8
8
|
globalDbPath,
|
|
9
9
|
isCaseInsensitiveFs
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
normalizePath
|
|
13
13
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
isNoisePath,
|
|
12
12
|
listSiblingSessionStates,
|
|
13
13
|
loadSessionCache
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-SM3XG5YA.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getBashOutput
|
|
17
|
-
} from "./token-goat-chunk-
|
|
17
|
+
} from "./token-goat-chunk-5IID4N52.mjs";
|
|
18
18
|
import {
|
|
19
19
|
loadConfig
|
|
20
|
-
} from "./token-goat-chunk-
|
|
20
|
+
} from "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
21
21
|
import {
|
|
22
22
|
foldPath,
|
|
23
23
|
runGit,
|
|
24
24
|
toKB
|
|
25
|
-
} from "./token-goat-chunk-
|
|
25
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
26
26
|
import {
|
|
27
27
|
displaySafePath,
|
|
28
28
|
displaySafeText,
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
createResidentContextStats,
|
|
7
7
|
estimateTokens,
|
|
8
8
|
summarizeResidentContext
|
|
9
|
-
} from "./token-goat-chunk-
|
|
9
|
+
} from "./token-goat-chunk-3DFULEOA.mjs";
|
|
10
10
|
import {
|
|
11
11
|
commandHash,
|
|
12
12
|
getBashOutput,
|
|
13
13
|
normalizeCommandForCacheKey
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-5IID4N52.mjs";
|
|
15
15
|
import {
|
|
16
16
|
init_define_import_meta_env
|
|
17
17
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -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-AIXKS6UY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotCliUserRoot,
|
|
9
9
|
readCopilotMcpTools
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-QGBQOANR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
canonicalize
|
|
13
|
-
} from "./token-goat-chunk-
|
|
13
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
init_define_import_meta_env
|
|
16
16
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
docxTables,
|
|
6
6
|
docxText,
|
|
7
7
|
formatDocxTables
|
|
8
|
-
} from "./token-goat-chunk-
|
|
9
|
-
import "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-F66GO3BZ.mjs";
|
|
9
|
+
import "./token-goat-chunk-GEYF6V37.mjs";
|
|
10
10
|
import "./token-goat-chunk-XTQAOTSO.mjs";
|
|
11
11
|
import "./token-goat-chunk-AH6QILZM.mjs";
|
|
12
|
-
import "./token-goat-chunk-
|
|
12
|
+
import "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
13
13
|
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
14
14
|
import "./token-goat-chunk-Y4AFKTHK.mjs";
|
|
15
15
|
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-Y4FGECX5.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-QGBQOANR.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-SM3XG5YA.mjs";
|
|
40
40
|
import {
|
|
41
41
|
claudeConfigDir,
|
|
42
42
|
estimateTokens
|
|
43
|
-
} from "./token-goat-chunk-
|
|
43
|
+
} from "./token-goat-chunk-3DFULEOA.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-5IID4N52.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-UUCJI7X3.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-6AMDBNXA.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-7SPQ6IIS.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-P5DTTFWQ.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-P2OWJWPJ.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-VVCGXBVQ.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-VMJWBG3B.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);
|
|
@@ -6,34 +6,34 @@ import {
|
|
|
6
6
|
getToolName,
|
|
7
7
|
getTrackedFiles,
|
|
8
8
|
scanAndRecord
|
|
9
|
-
} from "./token-goat-chunk-
|
|
9
|
+
} from "./token-goat-chunk-FIBB6HUJ.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-5IID4N52.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-UUCJI7X3.mjs";
|
|
22
22
|
import {
|
|
23
23
|
parserFingerprintForLanguage
|
|
24
|
-
} from "./token-goat-chunk-
|
|
24
|
+
} from "./token-goat-chunk-6AMDBNXA.mjs";
|
|
25
25
|
import {
|
|
26
26
|
getProjectFileEntries,
|
|
27
27
|
projectScopeClause
|
|
28
|
-
} from "./token-goat-chunk-
|
|
28
|
+
} from "./token-goat-chunk-7SPQ6IIS.mjs";
|
|
29
29
|
import {
|
|
30
30
|
getDb
|
|
31
|
-
} from "./token-goat-chunk-
|
|
31
|
+
} from "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
32
32
|
import {
|
|
33
33
|
fingerprintFile,
|
|
34
34
|
getDisplayRoot,
|
|
35
35
|
shortFingerprint
|
|
36
|
-
} from "./token-goat-chunk-
|
|
36
|
+
} from "./token-goat-chunk-P2OWJWPJ.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-VVCGXBVQ.mjs";
|
|
48
48
|
import {
|
|
49
49
|
UNTRUSTED_TOOL_TAG,
|
|
50
50
|
UNTRUSTED_WEB_TAG,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
stripMultilineStringSpan,
|
|
11
11
|
stripNestedBlockCommentSpan,
|
|
12
12
|
stripStringLiterals
|
|
13
|
-
} from "./token-goat-chunk-
|
|
13
|
+
} from "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
init_define_import_meta_env
|
|
16
16
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
dispatchArgv,
|
|
8
8
|
filterByName,
|
|
9
9
|
selectFilter
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-Y4FGECX5.mjs";
|
|
11
11
|
import {
|
|
12
12
|
capTokens,
|
|
13
13
|
shlexSplit,
|
|
14
14
|
storeBashOutputSync
|
|
15
|
-
} from "./token-goat-chunk-
|
|
15
|
+
} from "./token-goat-chunk-5IID4N52.mjs";
|
|
16
16
|
import {
|
|
17
17
|
recordStat
|
|
18
|
-
} from "./token-goat-chunk-
|
|
18
|
+
} from "./token-goat-chunk-UUCJI7X3.mjs";
|
|
19
19
|
import {
|
|
20
20
|
detectHarness,
|
|
21
21
|
loadConfig
|
|
22
|
-
} from "./token-goat-chunk-
|
|
22
|
+
} from "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
init_define_import_meta_env
|
|
25
25
|
} from "./token-goat-chunk-A37V4PBF.mjs";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
isSupportedOcrLang,
|
|
6
6
|
loadConfig,
|
|
7
7
|
resolveOcrLangs
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ensureDirSync,
|
|
11
11
|
tokenGoatHome
|
|
12
|
-
} from "./token-goat-chunk-
|
|
12
|
+
} from "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
fenceUntrustedOcrText
|
|
15
15
|
} from "./token-goat-chunk-NMTKNYGF.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-J3WHKFP2.mjs";
|
|
29
29
|
import {
|
|
30
30
|
extractShellBannerHeading
|
|
31
|
-
} from "./token-goat-chunk-
|
|
32
|
-
import "./token-goat-chunk-
|
|
31
|
+
} from "./token-goat-chunk-6AMDBNXA.mjs";
|
|
32
|
+
import "./token-goat-chunk-7SPQ6IIS.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-P5DTTFWQ.mjs";
|
|
63
|
+
import "./token-goat-chunk-P2OWJWPJ.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-VVCGXBVQ.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";
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
buildCopilotWasteReport,
|
|
5
5
|
findProjectSession,
|
|
6
6
|
isCopilotTranscript
|
|
7
|
-
} from "./token-goat-chunk-
|
|
7
|
+
} from "./token-goat-chunk-DN5TDA7X.mjs";
|
|
8
8
|
import {
|
|
9
9
|
buildWasteReport
|
|
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-AIXKS6UY.mjs";
|
|
11
|
+
import "./token-goat-chunk-QGBQOANR.mjs";
|
|
12
|
+
import "./token-goat-chunk-3DFULEOA.mjs";
|
|
13
|
+
import "./token-goat-chunk-5IID4N52.mjs";
|
|
14
|
+
import "./token-goat-chunk-UUCJI7X3.mjs";
|
|
15
|
+
import "./token-goat-chunk-7SPQ6IIS.mjs";
|
|
16
|
+
import "./token-goat-chunk-P5DTTFWQ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
resolveProjectRoot
|
|
19
|
-
} from "./token-goat-chunk-
|
|
19
|
+
} from "./token-goat-chunk-P2OWJWPJ.mjs";
|
|
20
20
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
21
21
|
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
22
|
-
import "./token-goat-chunk-
|
|
22
|
+
import "./token-goat-chunk-VVCGXBVQ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
displaySafeJson
|
|
25
25
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|