token-goat 2.9.26 → 2.9.28
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/README.md +28 -88
- package/SECURITY.md +14 -0
- package/dist/{token-goat-chunk-CQHY4SL7.mjs → token-goat-chunk-4JJBFT7V.mjs} +3 -3
- package/dist/token-goat-chunk-4JMWPWCS.mjs +96 -0
- package/dist/token-goat-chunk-4RN64ZND.mjs +954 -0
- package/dist/{token-goat-chunk-5M3NRJD2.mjs → token-goat-chunk-4STDIGYC.mjs} +2 -2
- package/dist/{token-goat-chunk-BH4ZVRB2.mjs → token-goat-chunk-5NNYIUGV.mjs} +2 -2
- package/dist/{token-goat-chunk-LHUP4DXZ.mjs → token-goat-chunk-66LODAUT.mjs} +1 -1
- package/dist/{token-goat-chunk-M6CVNHTW.mjs → token-goat-chunk-6CCQDAYY.mjs} +69 -566
- package/dist/{token-goat-chunk-62IHOU6L.mjs → token-goat-chunk-6DQNNFJ6.mjs} +5 -3
- package/dist/{token-goat-chunk-H2CPLEMP.mjs → token-goat-chunk-6SGLIPQB.mjs} +40 -20
- package/dist/{token-goat-chunk-MBDJR6HU.mjs → token-goat-chunk-6Z5ULNE5.mjs} +3570 -3970
- package/dist/token-goat-chunk-7MAFDRVR.mjs +47 -0
- package/dist/{token-goat-chunk-POOI26O6.mjs → token-goat-chunk-7R2XYKC5.mjs} +6 -5
- package/dist/{token-goat-chunk-E6B2UFDF.mjs → token-goat-chunk-BCN2YQC6.mjs} +10 -8
- package/dist/token-goat-chunk-BJBRGPBX.mjs +244 -0
- package/dist/{token-goat-chunk-TG5ZPD6B.mjs → token-goat-chunk-CBMY2FGI.mjs} +479 -544
- package/dist/{token-goat-chunk-LRIZ7K3F.mjs → token-goat-chunk-CC2PYJM7.mjs} +2 -1
- package/dist/{token-goat-chunk-7EPYB34H.mjs → token-goat-chunk-D5ICEPSB.mjs} +14 -14
- package/dist/token-goat-chunk-D7GHQKQD.mjs +30 -0
- package/dist/{token-goat-chunk-JALB3KWJ.mjs → token-goat-chunk-EL7M26WP.mjs} +7623 -8462
- package/dist/{token-goat-chunk-ZZT6PVB3.mjs → token-goat-chunk-F7QZRIWM.mjs} +69 -20
- package/dist/{token-goat-chunk-FLEYOCAS.mjs → token-goat-chunk-FSTWAOW6.mjs} +3 -3
- package/dist/token-goat-chunk-GGLEE35R.mjs +564 -0
- package/dist/{token-goat-chunk-IKZLSRII.mjs → token-goat-chunk-HUDC5GS5.mjs} +2 -2
- package/dist/{token-goat-chunk-43JFN26X.mjs → token-goat-chunk-HXNAC4ZF.mjs} +22 -964
- package/dist/token-goat-chunk-I7CB3X4K.mjs +1379 -0
- package/dist/{token-goat-chunk-GKZ2US5B.mjs → token-goat-chunk-IFORDBGC.mjs} +32 -27
- package/dist/{token-goat-chunk-CXBOFPF4.mjs → token-goat-chunk-IHKZ3QNA.mjs} +26 -15
- package/dist/token-goat-chunk-IZXKVT4A.mjs +711 -0
- package/dist/{token-goat-chunk-PAV6NNY7.mjs → token-goat-chunk-JXK2HQXS.mjs} +22 -8
- package/dist/{token-goat-chunk-6E2IDLHF.mjs → token-goat-chunk-L45ZQRT7.mjs} +1 -1
- package/dist/{token-goat-chunk-MDV5VWF4.mjs → token-goat-chunk-L7SDVGBT.mjs} +196 -14
- package/dist/token-goat-chunk-LEG3JNJ6.mjs +139 -0
- package/dist/{token-goat-chunk-7SXPJOSZ.mjs → token-goat-chunk-M56BWPBN.mjs} +1 -1
- package/dist/{token-goat-chunk-G6EYO5CD.mjs → token-goat-chunk-MAMQPC43.mjs} +2 -87
- package/dist/{token-goat-chunk-VVROQBQJ.mjs → token-goat-chunk-MMLMALWK.mjs} +5 -3
- package/dist/{token-goat-chunk-D2X7XN5M.mjs → token-goat-chunk-MVSWBNMD.mjs} +7 -231
- package/dist/{token-goat-chunk-C2PG4K5D.mjs → token-goat-chunk-NILVK7XM.mjs} +4 -4
- package/dist/{token-goat-chunk-BAWKGODL.mjs → token-goat-chunk-Q4S3UQGO.mjs} +1 -1
- package/dist/{token-goat-chunk-MWID3YOY.mjs → token-goat-chunk-QM76S6YS.mjs} +3 -3
- package/dist/{token-goat-chunk-4GEDH2WU.mjs → token-goat-chunk-RJH64KQH.mjs} +81 -70
- package/dist/{token-goat-chunk-STYRLQIW.mjs → token-goat-chunk-RSS3TLXU.mjs} +2 -2
- package/dist/{token-goat-chunk-5BQ7W7D7.mjs → token-goat-chunk-SJEKA7Y2.mjs} +21 -16
- package/dist/{token-goat-chunk-RIB6XY2V.mjs → token-goat-chunk-UBUKHVYW.mjs} +1 -1
- package/dist/{token-goat-chunk-7Y6GWTII.mjs → token-goat-chunk-VE27HPIF.mjs} +14 -10
- package/dist/{token-goat-chunk-RH27ZSPF.mjs → token-goat-chunk-VWZKZPSR.mjs} +100 -23
- package/dist/{token-goat-chunk-L45IWWMC.mjs → token-goat-chunk-XI2VFAV6.mjs} +6 -6
- package/dist/{token-goat-chunk-WNBSCSAI.mjs → token-goat-chunk-XKY4VKJ4.mjs} +1 -1
- package/dist/{token-goat-chunk-L43RKNHA.mjs → token-goat-chunk-YWSP6IU7.mjs} +1 -1
- package/dist/token-goat-hook.mjs +23 -17
- package/dist/token-goat.core.mjs +32 -27
- package/docs/cli.md +32 -21
- package/docs/install.md +2 -0
- package/package.json +1 -1
- package/dist/token-goat-chunk-ADMR3QVF.mjs +0 -41
- package/dist/token-goat-chunk-MZTO4FXH.mjs +0 -26
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
foldPath,
|
|
14
14
|
projectConfigPath,
|
|
15
15
|
runGit
|
|
16
|
-
} from "./token-goat-chunk-
|
|
16
|
+
} from "./token-goat-chunk-L45ZQRT7.mjs";
|
|
17
17
|
import {
|
|
18
18
|
normalizeDarwinSystemAlias
|
|
19
19
|
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
@@ -2580,6 +2580,7 @@ export {
|
|
|
2580
2580
|
stringify,
|
|
2581
2581
|
detectHarness,
|
|
2582
2582
|
getHarnessName,
|
|
2583
|
+
FALSY_ENV_VALUES,
|
|
2583
2584
|
envBool,
|
|
2584
2585
|
envInt,
|
|
2585
2586
|
envStrList,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
pathEqClause,
|
|
5
5
|
projectScopeClause,
|
|
6
6
|
querySymbols
|
|
7
|
-
} from "./token-goat-chunk-
|
|
7
|
+
} from "./token-goat-chunk-HUDC5GS5.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-M56BWPBN.mjs";
|
|
26
26
|
import {
|
|
27
27
|
fingerprintContent,
|
|
28
28
|
loadConfig
|
|
29
|
-
} from "./token-goat-chunk-
|
|
29
|
+
} from "./token-goat-chunk-CC2PYJM7.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-L45ZQRT7.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-QM76S6YS.mjs")).docxText(filePath);
|
|
79
79
|
case ".pptx":
|
|
80
|
-
return await (await import("./token-goat-chunk-
|
|
80
|
+
return await (await import("./token-goat-chunk-FSTWAOW6.mjs")).pptxAllSlidesText(filePath, true);
|
|
81
81
|
case ".xlsx":
|
|
82
|
-
return await (await import("./token-goat-chunk-
|
|
82
|
+
return await (await import("./token-goat-chunk-NILVK7XM.mjs")).allSheetsHeadText(filePath, XLSX_SHEET_ROW_CAP);
|
|
83
83
|
default:
|
|
84
84
|
return null;
|
|
85
85
|
}
|
|
@@ -1507,7 +1507,7 @@ var LANGUAGE_PARSER_FINGERPRINTS = /* @__PURE__ */ new Map([
|
|
|
1507
1507
|
["perl", "428dedff631b186c"],
|
|
1508
1508
|
["php", "0750539f6b26a427"],
|
|
1509
1509
|
["pli", "46f375df7d0473a7"],
|
|
1510
|
-
["powershell", "
|
|
1510
|
+
["powershell", "76318e45df322ae9"],
|
|
1511
1511
|
["proto", "124edf63697ed35f"],
|
|
1512
1512
|
["r", "88a4246ba6d3280d"],
|
|
1513
1513
|
["racket", "b24c7e2ab9ec4b9a"],
|
|
@@ -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-6SGLIPQB.mjs");
|
|
3926
3926
|
}
|
|
3927
3927
|
function regexAdapters() {
|
|
3928
3928
|
const loaded = adapterSlot[REGEX_ADAPTERS_SLOT];
|
|
@@ -4804,6 +4804,11 @@ export {
|
|
|
4804
4804
|
isEmbeddableDocument,
|
|
4805
4805
|
ipynbToVirtualSource,
|
|
4806
4806
|
eachUnfencedLine,
|
|
4807
|
+
MARKDOWN_SIZE_THRESHOLD,
|
|
4808
|
+
extractMarkdownHeadings,
|
|
4809
|
+
formatHeadingTreeParts,
|
|
4810
|
+
getWellKnownSections,
|
|
4811
|
+
extractChangelogVersionHint,
|
|
4807
4812
|
isImagePath,
|
|
4808
4813
|
isNonTextAsset,
|
|
4809
4814
|
modelFilesPresent,
|
|
@@ -4819,11 +4824,6 @@ export {
|
|
|
4819
4824
|
embeddingsDepsAvailable,
|
|
4820
4825
|
deleteFileEmbeddings,
|
|
4821
4826
|
ensureEmbeddingProvenance,
|
|
4822
|
-
MARKDOWN_SIZE_THRESHOLD,
|
|
4823
|
-
extractMarkdownHeadings,
|
|
4824
|
-
formatHeadingTreeParts,
|
|
4825
|
-
getWellKnownSections,
|
|
4826
|
-
extractChangelogVersionHint,
|
|
4827
4827
|
parserFingerprintForLanguage,
|
|
4828
4828
|
treeSitterCoreAvailable,
|
|
4829
4829
|
treeSitterCoreLoadError,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __cjsRequire } from 'node:module';
|
|
2
|
+
const require = __cjsRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
MAX_RESUME_CHARS,
|
|
5
|
+
MAX_RESUME_TOKENS,
|
|
6
|
+
buildResumePacket
|
|
7
|
+
} from "./token-goat-chunk-XI2VFAV6.mjs";
|
|
8
|
+
import "./token-goat-chunk-L7SDVGBT.mjs";
|
|
9
|
+
import "./token-goat-chunk-6CCQDAYY.mjs";
|
|
10
|
+
import "./token-goat-chunk-GGLEE35R.mjs";
|
|
11
|
+
import "./token-goat-chunk-MAMQPC43.mjs";
|
|
12
|
+
import "./token-goat-chunk-HXNAC4ZF.mjs";
|
|
13
|
+
import "./token-goat-chunk-BJBRGPBX.mjs";
|
|
14
|
+
import "./token-goat-chunk-4JMWPWCS.mjs";
|
|
15
|
+
import "./token-goat-chunk-4RN64ZND.mjs";
|
|
16
|
+
import "./token-goat-chunk-MVSWBNMD.mjs";
|
|
17
|
+
import "./token-goat-chunk-HUDC5GS5.mjs";
|
|
18
|
+
import "./token-goat-chunk-M56BWPBN.mjs";
|
|
19
|
+
import "./token-goat-chunk-CC2PYJM7.mjs";
|
|
20
|
+
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
21
|
+
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
22
|
+
import "./token-goat-chunk-L45ZQRT7.mjs";
|
|
23
|
+
import "./token-goat-chunk-NMTKNYGF.mjs";
|
|
24
|
+
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
25
|
+
import "./token-goat-chunk-A37V4PBF.mjs";
|
|
26
|
+
export {
|
|
27
|
+
MAX_RESUME_CHARS,
|
|
28
|
+
MAX_RESUME_TOKENS,
|
|
29
|
+
buildResumePacket
|
|
30
|
+
};
|