token-goat 2.9.20 → 2.9.21
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-T63VHOL3.mjs → token-goat-chunk-2ZHD3XCD.mjs} +1 -1
- package/dist/{token-goat-chunk-CBXLE54Q.mjs → token-goat-chunk-4IIU3GNS.mjs} +8 -8
- package/dist/{token-goat-chunk-I5PQRHFE.mjs → token-goat-chunk-4V4OZHHV.mjs} +8 -8
- package/dist/{token-goat-chunk-W6QYCWAT.mjs → token-goat-chunk-64OEF3UN.mjs} +6 -6
- package/dist/{token-goat-chunk-FWYZVS3E.mjs → token-goat-chunk-6AQLZMCO.mjs} +6 -6
- package/dist/{token-goat-chunk-ASTBLE2R.mjs → token-goat-chunk-BIEDTF6V.mjs} +3 -3
- package/dist/{token-goat-chunk-3VTJC7KU.mjs → token-goat-chunk-BKHJRFDE.mjs} +11 -11
- package/dist/{token-goat-chunk-2CLWWRFR.mjs → token-goat-chunk-CAHN4QU7.mjs} +10 -10
- package/dist/{token-goat-chunk-ITWYDOKP.mjs → token-goat-chunk-CMAJGP3E.mjs} +4 -4
- package/dist/token-goat-chunk-CMHBTXMY.mjs +41 -0
- package/dist/{token-goat-chunk-Z4ALQADF.mjs → token-goat-chunk-CZ5ZFJSN.mjs} +18 -18
- package/dist/{token-goat-chunk-PAVWB4L4.mjs → token-goat-chunk-DDP64XR7.mjs} +3 -3
- package/dist/{token-goat-chunk-DW4VKU7D.mjs → token-goat-chunk-DISVHOW6.mjs} +4 -4
- package/dist/{token-goat-chunk-H4VC5TR6.mjs → token-goat-chunk-FZN77SZD.mjs} +27 -27
- package/dist/{token-goat-chunk-3OGZOFLS.mjs → token-goat-chunk-GO7OWONJ.mjs} +16 -16
- package/dist/{token-goat-chunk-ERGHDBC6.mjs → token-goat-chunk-IAMIQLCV.mjs} +74 -62
- package/dist/{token-goat-chunk-MUJV7BR3.mjs → token-goat-chunk-IJUHQX2M.mjs} +1 -1
- package/dist/{token-goat-chunk-BQIC3AVL.mjs → token-goat-chunk-KQI24O4B.mjs} +2 -2
- package/dist/{token-goat-chunk-ONMU7BON.mjs → token-goat-chunk-KRPJIXCT.mjs} +2 -2
- package/dist/{token-goat-chunk-DYUBZZNP.mjs → token-goat-chunk-KVAXTA2W.mjs} +10 -10
- package/dist/{token-goat-chunk-ODF7H7WS.mjs → token-goat-chunk-LK3YOKDF.mjs} +2 -2
- package/dist/{token-goat-chunk-SL454EN5.mjs → token-goat-chunk-M43UJVYQ.mjs} +5 -5
- package/dist/{token-goat-chunk-74ADIZZX.mjs → token-goat-chunk-M6CDVASA.mjs} +1 -1
- package/dist/{token-goat-chunk-KT75DZK4.mjs → token-goat-chunk-MECDAPXB.mjs} +4 -4
- package/dist/{token-goat-chunk-ZHFM4DHJ.mjs → token-goat-chunk-MEKVJZUN.mjs} +2 -2
- package/dist/{token-goat-chunk-SP5QR2HN.mjs → token-goat-chunk-MQACN7VG.mjs} +3 -3
- package/dist/{token-goat-chunk-DNAF26L4.mjs → token-goat-chunk-MZQORUX5.mjs} +1 -1
- package/dist/{token-goat-chunk-PTW22MRC.mjs → token-goat-chunk-ORRDWKLA.mjs} +1 -1
- package/dist/{token-goat-chunk-MNJWG2ZO.mjs → token-goat-chunk-PCR43MCM.mjs} +2 -2
- package/dist/{token-goat-chunk-VSJGPEBB.mjs → token-goat-chunk-PDYQA3AP.mjs} +4 -4
- package/dist/{token-goat-chunk-K5XPIUVB.mjs → token-goat-chunk-PHDNWISV.mjs} +3 -3
- package/dist/{token-goat-chunk-EUZKG7ZO.mjs → token-goat-chunk-PPYZS7TI.mjs} +3 -3
- package/dist/{token-goat-chunk-T46UKRFM.mjs → token-goat-chunk-QTIRVK3M.mjs} +1 -1
- package/dist/{token-goat-chunk-GIPMOGOI.mjs → token-goat-chunk-QUM3UNWS.mjs} +5 -5
- package/dist/{token-goat-chunk-P4XBHZXU.mjs → token-goat-chunk-SHV6QQAS.mjs} +1 -1
- package/dist/{token-goat-chunk-DPHJU3P7.mjs → token-goat-chunk-SMUYPBF5.mjs} +21 -22
- package/dist/{token-goat-chunk-6LJNM4ZZ.mjs → token-goat-chunk-TGBSMHPM.mjs} +1 -1
- package/dist/{token-goat-chunk-VYXGHGUY.mjs → token-goat-chunk-VXKT3W4C.mjs} +3 -3
- package/dist/{token-goat-chunk-2Q3N5KUQ.mjs → token-goat-chunk-XJUPKJF5.mjs} +46 -38
- package/dist/{token-goat-chunk-K3ZNBN4U.mjs → token-goat-chunk-XQSSPX3X.mjs} +2 -2
- package/dist/{token-goat-chunk-AU2K2QHR.mjs → token-goat-chunk-ZJWPJL7O.mjs} +3 -3
- 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-G6SYQQO7.mjs +0 -41
|
@@ -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-BKHJRFDE.mjs";
|
|
30
|
+
import "./token-goat-chunk-PCR43MCM.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-SMUYPBF5.mjs";
|
|
41
|
+
import "./token-goat-chunk-DDP64XR7.mjs";
|
|
42
|
+
import "./token-goat-chunk-MQACN7VG.mjs";
|
|
43
|
+
import "./token-goat-chunk-MECDAPXB.mjs";
|
|
44
44
|
import {
|
|
45
45
|
claudeConfigDir
|
|
46
|
-
} from "./token-goat-chunk-
|
|
47
|
-
import "./token-goat-chunk-
|
|
46
|
+
} from "./token-goat-chunk-MEKVJZUN.mjs";
|
|
47
|
+
import "./token-goat-chunk-M43UJVYQ.mjs";
|
|
48
48
|
import {
|
|
49
49
|
recordStat,
|
|
50
50
|
savedTokensFromBytes
|
|
51
|
-
} from "./token-goat-chunk-
|
|
51
|
+
} from "./token-goat-chunk-PHDNWISV.mjs";
|
|
52
52
|
import "./token-goat-chunk-LKSXAMJB.mjs";
|
|
53
|
-
import "./token-goat-chunk-
|
|
53
|
+
import "./token-goat-chunk-SHV6QQAS.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-IJUHQX2M.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-IAMIQLCV.mjs";
|
|
62
|
+
import "./token-goat-chunk-XQSSPX3X.mjs";
|
|
63
63
|
import {
|
|
64
64
|
getDb
|
|
65
|
-
} from "./token-goat-chunk-
|
|
65
|
+
} from "./token-goat-chunk-2ZHD3XCD.mjs";
|
|
66
66
|
import {
|
|
67
67
|
envStrList,
|
|
68
68
|
loadConfig,
|
|
69
69
|
resolveProjectRoot
|
|
70
|
-
} from "./token-goat-chunk-
|
|
70
|
+
} from "./token-goat-chunk-M6CDVASA.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-TGBSMHPM.mjs";
|
|
81
81
|
import {
|
|
82
82
|
displaySafeJson,
|
|
83
83
|
normalizePath
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
pathEqClause,
|
|
5
5
|
projectScopeClause,
|
|
6
6
|
querySymbols
|
|
7
|
-
} from "./token-goat-chunk-
|
|
7
|
+
} from "./token-goat-chunk-XQSSPX3X.mjs";
|
|
8
8
|
import {
|
|
9
9
|
TREE_SITTER_LANGUAGES,
|
|
10
10
|
_detectOpenQuote,
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
stripJsComments,
|
|
22
22
|
stripStringLiterals,
|
|
23
23
|
stripXmlComments
|
|
24
|
-
} from "./token-goat-chunk-
|
|
24
|
+
} from "./token-goat-chunk-2ZHD3XCD.mjs";
|
|
25
25
|
import {
|
|
26
26
|
fingerprintContent,
|
|
27
27
|
loadConfig
|
|
28
|
-
} from "./token-goat-chunk-
|
|
28
|
+
} from "./token-goat-chunk-M6CDVASA.mjs";
|
|
29
29
|
import {
|
|
30
30
|
registerReset
|
|
31
31
|
} from "./token-goat-chunk-EEIDFMEM.mjs";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
foldPath,
|
|
40
40
|
globalDbPath,
|
|
41
41
|
isCaseInsensitiveFs
|
|
42
|
-
} from "./token-goat-chunk-
|
|
42
|
+
} from "./token-goat-chunk-TGBSMHPM.mjs";
|
|
43
43
|
import {
|
|
44
44
|
displaySafeText,
|
|
45
45
|
normalizePath
|
|
@@ -74,11 +74,11 @@ async function extractEmbeddableDocumentText(filePath) {
|
|
|
74
74
|
return text;
|
|
75
75
|
}
|
|
76
76
|
case ".docx":
|
|
77
|
-
return await (await import("./token-goat-chunk-
|
|
77
|
+
return await (await import("./token-goat-chunk-VXKT3W4C.mjs")).docxText(filePath);
|
|
78
78
|
case ".pptx":
|
|
79
|
-
return await (await import("./token-goat-chunk-
|
|
79
|
+
return await (await import("./token-goat-chunk-BIEDTF6V.mjs")).pptxAllSlidesText(filePath, true);
|
|
80
80
|
case ".xlsx":
|
|
81
|
-
return await (await import("./token-goat-chunk-
|
|
81
|
+
return await (await import("./token-goat-chunk-DISVHOW6.mjs")).allSheetsHeadText(filePath, XLSX_SHEET_ROW_CAP);
|
|
82
82
|
default:
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
@@ -1469,60 +1469,60 @@ init_define_import_meta_env();
|
|
|
1469
1469
|
|
|
1470
1470
|
// src/parser_fingerprint.ts
|
|
1471
1471
|
init_define_import_meta_env();
|
|
1472
|
-
var PARSER_FINGERPRINT = "
|
|
1472
|
+
var PARSER_FINGERPRINT = "6aa8597ec9d03c45";
|
|
1473
1473
|
var LANGUAGE_PARSER_FINGERPRINTS = /* @__PURE__ */ new Map([
|
|
1474
|
-
["abap", "
|
|
1475
|
-
["abl", "
|
|
1476
|
-
["apache", "
|
|
1477
|
-
["apex", "
|
|
1478
|
-
["asm", "
|
|
1479
|
-
["bash", "
|
|
1480
|
-
["batch", "
|
|
1481
|
-
["caddy", "
|
|
1482
|
-
["clojure", "
|
|
1483
|
-
["cmake", "
|
|
1484
|
-
["common_lisp", "
|
|
1485
|
-
["csharp", "
|
|
1486
|
-
["dart", "
|
|
1487
|
-
["elixir", "
|
|
1488
|
-
["emacs_lisp", "
|
|
1489
|
-
["erlang", "
|
|
1490
|
-
["fortran", "
|
|
1491
|
-
["fsharp", "
|
|
1492
|
-
["graphql", "
|
|
1493
|
-
["groovy", "
|
|
1494
|
-
["haskell", "
|
|
1495
|
-
["jcl", "
|
|
1496
|
-
["kotlin", "
|
|
1497
|
-
["liquid", "
|
|
1498
|
-
["lua", "
|
|
1499
|
-
["makefile", "
|
|
1500
|
-
["matlab", "
|
|
1501
|
-
["nginx", "
|
|
1502
|
-
["nix", "
|
|
1503
|
-
["objc", "
|
|
1504
|
-
["ocaml", "
|
|
1505
|
-
["pascal", "
|
|
1506
|
-
["perl", "
|
|
1507
|
-
["php", "
|
|
1508
|
-
["pli", "
|
|
1509
|
-
["powershell", "
|
|
1510
|
-
["proto", "
|
|
1511
|
-
["r", "
|
|
1512
|
-
["racket", "
|
|
1513
|
-
["rpg", "
|
|
1514
|
-
["salesforce_metadata", "
|
|
1515
|
-
["sas", "
|
|
1516
|
-
["scala", "
|
|
1517
|
-
["scheme", "
|
|
1518
|
-
["solidity", "
|
|
1519
|
-
["sql", "
|
|
1520
|
-
["swift", "
|
|
1521
|
-
["terraform", "
|
|
1522
|
-
["thrift", "
|
|
1523
|
-
["vb", "
|
|
1524
|
-
["vhdl", "
|
|
1525
|
-
["zig", "
|
|
1474
|
+
["abap", "f04854be73660475"],
|
|
1475
|
+
["abl", "92fd58c2ee0b918b"],
|
|
1476
|
+
["apache", "7c95ef50634c1e09"],
|
|
1477
|
+
["apex", "be6bbaefcb5acddb"],
|
|
1478
|
+
["asm", "35e5d09b5cfbdb5f"],
|
|
1479
|
+
["bash", "98979a536200c7c9"],
|
|
1480
|
+
["batch", "9db39636b1d69081"],
|
|
1481
|
+
["caddy", "76dba4266f9139dd"],
|
|
1482
|
+
["clojure", "cfb5e36a85980247"],
|
|
1483
|
+
["cmake", "6186c70e61c9d839"],
|
|
1484
|
+
["common_lisp", "e0a4e8032901773b"],
|
|
1485
|
+
["csharp", "75e6ce02f1b0f78a"],
|
|
1486
|
+
["dart", "2284bca2faefe5fb"],
|
|
1487
|
+
["elixir", "d63188b2f0c64139"],
|
|
1488
|
+
["emacs_lisp", "98ea21315946c308"],
|
|
1489
|
+
["erlang", "0471440a285fc4cb"],
|
|
1490
|
+
["fortran", "c3b563bc9ce74947"],
|
|
1491
|
+
["fsharp", "a9476da9ac62bbc9"],
|
|
1492
|
+
["graphql", "c9b2180a2a0af6b0"],
|
|
1493
|
+
["groovy", "8442e7c34152b2b2"],
|
|
1494
|
+
["haskell", "23dec895c732def8"],
|
|
1495
|
+
["jcl", "73a786da77c4db23"],
|
|
1496
|
+
["kotlin", "ab4460277c29b952"],
|
|
1497
|
+
["liquid", "6cc72f94e2d6ba68"],
|
|
1498
|
+
["lua", "75f1e747e58a9d15"],
|
|
1499
|
+
["makefile", "5c73d6f841946735"],
|
|
1500
|
+
["matlab", "9f6e3c63639e078e"],
|
|
1501
|
+
["nginx", "7ebbbaf472f741da"],
|
|
1502
|
+
["nix", "d94c2fd10455cb4b"],
|
|
1503
|
+
["objc", "27764c4b2f960cf3"],
|
|
1504
|
+
["ocaml", "9566d1d93ca334bf"],
|
|
1505
|
+
["pascal", "e3ba20a3551174e4"],
|
|
1506
|
+
["perl", "56b8de695b8acacf"],
|
|
1507
|
+
["php", "e2f49f0a0b595a16"],
|
|
1508
|
+
["pli", "c1821a23de239675"],
|
|
1509
|
+
["powershell", "a3b02edf7b027c66"],
|
|
1510
|
+
["proto", "a2f887c45f9bf1d2"],
|
|
1511
|
+
["r", "806be2f03be7dd1f"],
|
|
1512
|
+
["racket", "b093081d200e8d68"],
|
|
1513
|
+
["rpg", "4c9668b3c61396e6"],
|
|
1514
|
+
["salesforce_metadata", "03e76181b0045245"],
|
|
1515
|
+
["sas", "bf7c36acb99e0759"],
|
|
1516
|
+
["scala", "f7198d0d39def4ae"],
|
|
1517
|
+
["scheme", "d905c93ab9e766a8"],
|
|
1518
|
+
["solidity", "7766122d1f3c7cbc"],
|
|
1519
|
+
["sql", "824fcaff44f3ed5c"],
|
|
1520
|
+
["swift", "b18ac1ef016d5137"],
|
|
1521
|
+
["terraform", "fac96a1cef8d11e5"],
|
|
1522
|
+
["thrift", "cf18f8d114adfd6f"],
|
|
1523
|
+
["vb", "78c117ff3d925cf1"],
|
|
1524
|
+
["vhdl", "62c11e0fb39472ad"],
|
|
1525
|
+
["zig", "80c5e52bbe1455fb"]
|
|
1526
1526
|
]);
|
|
1527
1527
|
|
|
1528
1528
|
// src/parser_stamp.ts
|
|
@@ -3779,6 +3779,18 @@ function boundSymbolDocstring(docstring) {
|
|
|
3779
3779
|
if (cutsSurrogatePair) end -= 1;
|
|
3780
3780
|
return docstring.slice(0, Math.max(0, end)) + DOCSTRING_TRUNCATION_MARKER;
|
|
3781
3781
|
}
|
|
3782
|
+
var MAX_REF_CONTEXT_CHARS = 2048;
|
|
3783
|
+
var REF_CONTEXT_ELISION = " [\u2026] ";
|
|
3784
|
+
function boundRefContext(context, col) {
|
|
3785
|
+
if (context.length <= MAX_REF_CONTEXT_CHARS) return context;
|
|
3786
|
+
const budget = MAX_REF_CONTEXT_CHARS - REF_CONTEXT_ELISION.length * 2;
|
|
3787
|
+
const centre = Math.min(Math.max(col, 0), context.length);
|
|
3788
|
+
let start = Math.max(0, Math.min(centre - Math.floor(budget / 2), context.length - budget));
|
|
3789
|
+
let end = start + budget;
|
|
3790
|
+
if (start > 0 && context.charCodeAt(start) >= 56320 && context.charCodeAt(start) <= 57343) start += 1;
|
|
3791
|
+
if (end < context.length && context.charCodeAt(end - 1) >= 55296 && context.charCodeAt(end - 1) <= 56319) end -= 1;
|
|
3792
|
+
return (start > 0 ? REF_CONTEXT_ELISION : "") + context.slice(start, end) + (end < context.length ? REF_CONTEXT_ELISION : "");
|
|
3793
|
+
}
|
|
3782
3794
|
function loadGrammar(lang, filePath, content) {
|
|
3783
3795
|
const useTsx = lang === "typescript" && filePath !== void 0 && path6.extname(filePath).toLowerCase() === ".tsx";
|
|
3784
3796
|
const useCppHeader = lang === "c" && filePath !== void 0 && path6.extname(filePath).toLowerCase() === ".h" && content !== void 0 && CPP_HEADER_SNIFF_RE.test(content);
|
|
@@ -3917,7 +3929,7 @@ function parseSourceSymbolsTreeSitterOnly(content, filePath, language) {
|
|
|
3917
3929
|
var REGEX_ADAPTERS_SLOT = /* @__PURE__ */ Symbol.for("token-goat.regex-adapters");
|
|
3918
3930
|
var adapterSlot = globalThis;
|
|
3919
3931
|
async function loadRegexExtractors() {
|
|
3920
|
-
adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-
|
|
3932
|
+
adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-6AQLZMCO.mjs");
|
|
3921
3933
|
}
|
|
3922
3934
|
function regexAdapters() {
|
|
3923
3935
|
const loaded = adapterSlot[REGEX_ADAPTERS_SLOT];
|
|
@@ -4032,7 +4044,7 @@ function writeParseResult(filePath, content, result, dbPath) {
|
|
|
4032
4044
|
);
|
|
4033
4045
|
for (const r of result.refs) {
|
|
4034
4046
|
if (r.name === "" || COMPILER_ARTIFACT_REF_NAMES.has(r.name)) continue;
|
|
4035
|
-
insRef.run(r.filePath, r.name, r.line, r.col, r.context);
|
|
4047
|
+
insRef.run(r.filePath, r.name, r.line, r.col, boundRefContext(r.context, r.col));
|
|
4036
4048
|
}
|
|
4037
4049
|
});
|
|
4038
4050
|
writeAll.immediate();
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
stripMultilineStringSpan,
|
|
11
11
|
stripNestedBlockCommentSpan,
|
|
12
12
|
stripStringLiterals
|
|
13
|
-
} from "./token-goat-chunk-
|
|
13
|
+
} from "./token-goat-chunk-2ZHD3XCD.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-MEKVJZUN.mjs";
|
|
10
10
|
import {
|
|
11
11
|
commandHash,
|
|
12
12
|
getBashOutput,
|
|
13
13
|
normalizeCommandForCacheKey
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-M43UJVYQ.mjs";
|
|
15
15
|
import {
|
|
16
16
|
init_define_import_meta_env
|
|
17
17
|
} from "./token-goat-chunk-A37V4PBF.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-M6CDVASA.mjs";
|
|
6
6
|
import {
|
|
7
7
|
VERSION
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-TGBSMHPM.mjs";
|
|
9
9
|
import {
|
|
10
10
|
displaySafeJson
|
|
11
11
|
} from "./token-goat-chunk-NMTKNYGF.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-PPYZS7TI.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-KQI24O4B.mjs";
|
|
11
|
+
import "./token-goat-chunk-MQACN7VG.mjs";
|
|
12
|
+
import "./token-goat-chunk-MEKVJZUN.mjs";
|
|
13
|
+
import "./token-goat-chunk-M43UJVYQ.mjs";
|
|
14
|
+
import "./token-goat-chunk-PHDNWISV.mjs";
|
|
15
|
+
import "./token-goat-chunk-XQSSPX3X.mjs";
|
|
16
|
+
import "./token-goat-chunk-2ZHD3XCD.mjs";
|
|
17
17
|
import {
|
|
18
18
|
resolveProjectRoot
|
|
19
|
-
} from "./token-goat-chunk-
|
|
19
|
+
} from "./token-goat-chunk-M6CDVASA.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-TGBSMHPM.mjs";
|
|
23
23
|
import {
|
|
24
24
|
displaySafeJson
|
|
25
25
|
} 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-SHV6QQAS.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-QTIRVK3M.mjs";
|
|
16
16
|
import {
|
|
17
17
|
displaySafeText
|
|
18
18
|
} from "./token-goat-chunk-NMTKNYGF.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-PHDNWISV.mjs";
|
|
12
12
|
import {
|
|
13
13
|
sanitizeFtsQuery
|
|
14
|
-
} from "./token-goat-chunk-
|
|
14
|
+
} from "./token-goat-chunk-XQSSPX3X.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getDb
|
|
17
|
-
} from "./token-goat-chunk-
|
|
17
|
+
} from "./token-goat-chunk-2ZHD3XCD.mjs";
|
|
18
18
|
import {
|
|
19
19
|
shortFingerprint
|
|
20
|
-
} from "./token-goat-chunk-
|
|
20
|
+
} from "./token-goat-chunk-M6CDVASA.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-TGBSMHPM.mjs";
|
|
28
28
|
import {
|
|
29
29
|
normalizePath
|
|
30
30
|
} from "./token-goat-chunk-NMTKNYGF.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-MEKVJZUN.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-PHDNWISV.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-M6CDVASA.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-TGBSMHPM.mjs";
|
|
35
35
|
import {
|
|
36
36
|
normalizePath
|
|
37
37
|
} from "./token-goat-chunk-NMTKNYGF.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-PHDNWISV.mjs";
|
|
8
8
|
import {
|
|
9
9
|
safeSlice
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-TGBSMHPM.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
|
estimateTokensFromLength
|
|
5
|
-
} from "./token-goat-chunk-
|
|
5
|
+
} from "./token-goat-chunk-MEKVJZUN.mjs";
|
|
6
6
|
import {
|
|
7
7
|
loadConfig
|
|
8
|
-
} from "./token-goat-chunk-
|
|
8
|
+
} from "./token-goat-chunk-M6CDVASA.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-TGBSMHPM.mjs";
|
|
25
25
|
import {
|
|
26
26
|
init_define_import_meta_env
|
|
27
27
|
} 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-M6CDVASA.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ensureDirSync,
|
|
11
11
|
tokenGoatHome
|
|
12
|
-
} from "./token-goat-chunk-
|
|
12
|
+
} from "./token-goat-chunk-TGBSMHPM.mjs";
|
|
13
13
|
import {
|
|
14
14
|
fenceUntrustedOcrText
|
|
15
15
|
} 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-MECDAPXB.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getBashOutput
|
|
17
|
-
} from "./token-goat-chunk-
|
|
17
|
+
} from "./token-goat-chunk-M43UJVYQ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
loadConfig
|
|
20
|
-
} from "./token-goat-chunk-
|
|
20
|
+
} from "./token-goat-chunk-M6CDVASA.mjs";
|
|
21
21
|
import {
|
|
22
22
|
foldPath,
|
|
23
23
|
runGit,
|
|
24
24
|
toKB
|
|
25
|
-
} from "./token-goat-chunk-
|
|
25
|
+
} from "./token-goat-chunk-TGBSMHPM.mjs";
|
|
26
26
|
import {
|
|
27
27
|
displaySafePath,
|
|
28
28
|
displaySafeText,
|
|
@@ -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-2ZHD3XCD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
getHarnessName,
|
|
8
8
|
loadConfig
|
|
9
|
-
} from "./token-goat-chunk-
|
|
9
|
+
} from "./token-goat-chunk-M6CDVASA.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-TGBSMHPM.mjs";
|
|
27
27
|
import {
|
|
28
28
|
displaySafeText
|
|
29
29
|
} from "./token-goat-chunk-NMTKNYGF.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-KQI24O4B.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotCliUserRoot,
|
|
9
9
|
readCopilotMcpTools
|
|
10
|
-
} from "./token-goat-chunk-
|
|
10
|
+
} from "./token-goat-chunk-MQACN7VG.mjs";
|
|
11
11
|
import {
|
|
12
12
|
canonicalize
|
|
13
|
-
} from "./token-goat-chunk-
|
|
13
|
+
} from "./token-goat-chunk-TGBSMHPM.mjs";
|
|
14
14
|
import {
|
|
15
15
|
init_define_import_meta_env
|
|
16
16
|
} from "./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-PCR43MCM.mjs";
|
|
24
|
+
import "./token-goat-chunk-PHDNWISV.mjs";
|
|
25
|
+
import "./token-goat-chunk-2ZHD3XCD.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-M6CDVASA.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-TGBSMHPM.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";
|