token-goat 2.9.18 → 2.9.20
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 +5 -1
- package/dist/token-goat-chunk-2CLWWRFR.mjs +26 -0
- package/dist/{token-goat-chunk-LTYWLKAG.mjs → token-goat-chunk-2Q3N5KUQ.mjs} +1283 -1012
- package/dist/{token-goat-chunk-6LGVCCMY.mjs → token-goat-chunk-3OGZOFLS.mjs} +26 -16
- package/dist/{token-goat-chunk-QML7ITHJ.mjs → token-goat-chunk-3VTJC7KU.mjs} +693 -438
- package/dist/{token-goat-chunk-QIDLJGXZ.mjs → token-goat-chunk-6LJNM4ZZ.mjs} +29 -5
- package/dist/{token-goat-chunk-CA6V36KW.mjs → token-goat-chunk-74ADIZZX.mjs} +68 -50
- package/dist/{token-goat-chunk-52IMXJ2L.mjs → token-goat-chunk-ASTBLE2R.mjs} +4 -4
- package/dist/token-goat-chunk-AU2K2QHR.mjs +20 -0
- package/dist/token-goat-chunk-BQIC3AVL.mjs +292 -0
- package/dist/token-goat-chunk-CBXLE54Q.mjs +30 -0
- package/dist/{token-goat-chunk-LMFO66YD.mjs → token-goat-chunk-DA43OE7L.mjs} +1 -1
- package/dist/{token-goat-chunk-ARNRFR6M.mjs → token-goat-chunk-DNAF26L4.mjs} +1 -1
- package/dist/{token-goat-chunk-BFEWOMA3.mjs → token-goat-chunk-DPHJU3P7.mjs} +1186 -4573
- package/dist/{token-goat-chunk-OWSJJY5R.mjs → token-goat-chunk-DW4VKU7D.mjs} +5 -5
- package/dist/token-goat-chunk-DYUBZZNP.mjs +198 -0
- package/dist/{token-goat-chunk-W3E65QOW.mjs → token-goat-chunk-ERGHDBC6.mjs} +310 -47
- package/dist/token-goat-chunk-EUZKG7ZO.mjs +304 -0
- package/dist/{token-goat-chunk-5MMJAJF3.mjs → token-goat-chunk-FWYZVS3E.mjs} +324 -31
- package/dist/token-goat-chunk-G6SYQQO7.mjs +41 -0
- package/dist/{token-goat-chunk-YQZE5NS6.mjs → token-goat-chunk-GIPMOGOI.mjs} +6 -6
- package/dist/{token-goat-chunk-BWCRC23L.mjs → token-goat-chunk-H4VC5TR6.mjs} +29 -20
- package/dist/{token-goat-chunk-V3ZWBEHM.mjs → token-goat-chunk-I5PQRHFE.mjs} +103 -24
- package/dist/token-goat-chunk-ITWYDOKP.mjs +341 -0
- package/dist/{token-goat-chunk-I67CPTDD.mjs → token-goat-chunk-K3ZNBN4U.mjs} +19 -14
- package/dist/{token-goat-chunk-HPOFR6QX.mjs → token-goat-chunk-K5XPIUVB.mjs} +222 -61
- package/dist/token-goat-chunk-KT75DZK4.mjs +1989 -0
- package/dist/{token-goat-chunk-H3FONFBO.mjs → token-goat-chunk-MNJWG2ZO.mjs} +3 -3
- package/dist/{token-goat-chunk-GRI6HWX3.mjs → token-goat-chunk-MUJV7BR3.mjs} +1 -1
- package/dist/{token-goat-chunk-ERTXEKB6.mjs → token-goat-chunk-NMTKNYGF.mjs} +2 -0
- package/dist/{token-goat-chunk-LA3O4JGD.mjs → token-goat-chunk-ODF7H7WS.mjs} +3 -3
- package/dist/{token-goat-chunk-K4DG6EEF.mjs → token-goat-chunk-ONMU7BON.mjs} +7 -8
- package/dist/{token-goat-chunk-4EXFN2AW.mjs → token-goat-chunk-OZRSREKR.mjs} +2 -2
- package/dist/{token-goat-chunk-EPXNOKIV.mjs → token-goat-chunk-P4XBHZXU.mjs} +2 -2
- package/dist/{token-goat-chunk-CTOYJ232.mjs → token-goat-chunk-PAVWB4L4.mjs} +173 -1840
- package/dist/{token-goat-chunk-UENEL6KX.mjs → token-goat-chunk-PTW22MRC.mjs} +2 -2
- package/dist/token-goat-chunk-SL454EN5.mjs +1816 -0
- package/dist/token-goat-chunk-SP5QR2HN.mjs +1379 -0
- package/dist/{token-goat-chunk-7VLWNQDQ.mjs → token-goat-chunk-T46UKRFM.mjs} +1 -1
- package/dist/{token-goat-chunk-L7VCX33I.mjs → token-goat-chunk-T63VHOL3.mjs} +40 -10
- package/dist/token-goat-chunk-VSJGPEBB.mjs +248 -0
- package/dist/{token-goat-chunk-HIZXQVNU.mjs → token-goat-chunk-VYXGHGUY.mjs} +4 -4
- package/dist/token-goat-chunk-W6QYCWAT.mjs +128 -0
- package/dist/{token-goat-chunk-WFX2V3OF.mjs → token-goat-chunk-Z4ALQADF.mjs} +579 -422
- package/dist/token-goat-chunk-ZHFM4DHJ.mjs +324 -0
- package/dist/token-goat-hook.mjs +18 -12
- package/dist/token-goat.core.mjs +29 -20
- package/docs/C4_RUNTIME_ARCHITECTURE.md +1 -1
- package/docs/cli.md +15 -13
- package/docs/install.md +1 -1
- package/docs/security.md +2 -2
- package/package.json +3 -2
- package/dist/token-goat-chunk-2KTZ6J7T.mjs +0 -173
- package/dist/token-goat-chunk-34OUJ2IE.mjs +0 -35
- package/dist/token-goat-chunk-RHHFEXKF.mjs +0 -93
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
createHandoff,
|
|
9
9
|
fileIdentity,
|
|
10
10
|
findSpecSeparator,
|
|
11
|
+
parseColonLineSpec,
|
|
11
12
|
parseLineRange,
|
|
12
13
|
pinKey,
|
|
13
14
|
resolveHandoff,
|
|
@@ -25,9 +26,9 @@ import {
|
|
|
25
26
|
runSkeleton,
|
|
26
27
|
runSymbol,
|
|
27
28
|
withPinnedReads
|
|
28
|
-
} from "./token-goat-chunk-
|
|
29
|
-
import "./token-goat-chunk-
|
|
30
|
-
import "./token-goat-chunk-
|
|
29
|
+
} from "./token-goat-chunk-3VTJC7KU.mjs";
|
|
30
|
+
import "./token-goat-chunk-MNJWG2ZO.mjs";
|
|
31
|
+
import "./token-goat-chunk-DA43OE7L.mjs";
|
|
31
32
|
import {
|
|
32
33
|
buildProjectMap,
|
|
33
34
|
formatProjectMap,
|
|
@@ -36,31 +37,37 @@ import {
|
|
|
36
37
|
getProjectIndexCounts,
|
|
37
38
|
isWorkerRunning,
|
|
38
39
|
mapLookupBytesSaved
|
|
39
|
-
} from "./token-goat-chunk-
|
|
40
|
-
import "./token-goat-chunk-
|
|
40
|
+
} from "./token-goat-chunk-DPHJU3P7.mjs";
|
|
41
|
+
import "./token-goat-chunk-PAVWB4L4.mjs";
|
|
42
|
+
import "./token-goat-chunk-SP5QR2HN.mjs";
|
|
43
|
+
import "./token-goat-chunk-KT75DZK4.mjs";
|
|
44
|
+
import {
|
|
45
|
+
claudeConfigDir
|
|
46
|
+
} from "./token-goat-chunk-ZHFM4DHJ.mjs";
|
|
47
|
+
import "./token-goat-chunk-SL454EN5.mjs";
|
|
41
48
|
import {
|
|
42
49
|
recordStat,
|
|
43
50
|
savedTokensFromBytes
|
|
44
|
-
} from "./token-goat-chunk-
|
|
51
|
+
} from "./token-goat-chunk-K5XPIUVB.mjs";
|
|
45
52
|
import "./token-goat-chunk-LKSXAMJB.mjs";
|
|
46
|
-
import "./token-goat-chunk-
|
|
53
|
+
import "./token-goat-chunk-P4XBHZXU.mjs";
|
|
47
54
|
import "./token-goat-chunk-3BTK54F3.mjs";
|
|
48
55
|
import "./token-goat-chunk-XTQAOTSO.mjs";
|
|
49
56
|
import "./token-goat-chunk-AH6QILZM.mjs";
|
|
50
|
-
import "./token-goat-chunk-
|
|
57
|
+
import "./token-goat-chunk-MUJV7BR3.mjs";
|
|
51
58
|
import {
|
|
52
59
|
checkEmbeddingPreflight,
|
|
53
60
|
embeddingsDepsAvailable
|
|
54
|
-
} from "./token-goat-chunk-
|
|
55
|
-
import "./token-goat-chunk-
|
|
61
|
+
} from "./token-goat-chunk-ERGHDBC6.mjs";
|
|
62
|
+
import "./token-goat-chunk-K3ZNBN4U.mjs";
|
|
56
63
|
import {
|
|
57
64
|
getDb
|
|
58
|
-
} from "./token-goat-chunk-
|
|
65
|
+
} from "./token-goat-chunk-T63VHOL3.mjs";
|
|
59
66
|
import {
|
|
60
67
|
envStrList,
|
|
61
68
|
loadConfig,
|
|
62
69
|
resolveProjectRoot
|
|
63
|
-
} from "./token-goat-chunk-
|
|
70
|
+
} from "./token-goat-chunk-74ADIZZX.mjs";
|
|
64
71
|
import "./token-goat-chunk-EEIDFMEM.mjs";
|
|
65
72
|
import "./token-goat-chunk-OSUFN2FV.mjs";
|
|
66
73
|
import {
|
|
@@ -70,11 +77,11 @@ import {
|
|
|
70
77
|
extractErrorMessage,
|
|
71
78
|
foldCaseForContainment,
|
|
72
79
|
globalDbPath
|
|
73
|
-
} from "./token-goat-chunk-
|
|
80
|
+
} from "./token-goat-chunk-6LJNM4ZZ.mjs";
|
|
74
81
|
import {
|
|
75
82
|
displaySafeJson,
|
|
76
83
|
normalizePath
|
|
77
|
-
} from "./token-goat-chunk-
|
|
84
|
+
} from "./token-goat-chunk-NMTKNYGF.mjs";
|
|
78
85
|
import "./token-goat-chunk-Y4AFKTHK.mjs";
|
|
79
86
|
import "./token-goat-chunk-GMOUBOX4.mjs";
|
|
80
87
|
import "./token-goat-chunk-RRNZMM3A.mjs";
|
|
@@ -170,10 +177,11 @@ var RootNotAllowedError = class extends Error {
|
|
|
170
177
|
};
|
|
171
178
|
function getStandardAuxiliaryRoots(targetPath) {
|
|
172
179
|
const home = os.homedir();
|
|
180
|
+
const claudeHome = claudeConfigDir(home);
|
|
173
181
|
const roots = [
|
|
174
|
-
path.join(
|
|
182
|
+
path.join(claudeHome, "skills"),
|
|
175
183
|
path.join(home, ".copilot", "skills"),
|
|
176
|
-
path.join(
|
|
184
|
+
path.join(claudeHome, "projects"),
|
|
177
185
|
path.join(home, ".copilot", "session-state")
|
|
178
186
|
];
|
|
179
187
|
const appData = process.env["APPDATA"] || path.join(home, "AppData", "Roaming");
|
|
@@ -244,6 +252,8 @@ function checkWithinProjectRoot(target, resolvedRoot) {
|
|
|
244
252
|
function specFilePart(spec) {
|
|
245
253
|
const range = parseLineRange(spec);
|
|
246
254
|
if (range !== null) return range.file;
|
|
255
|
+
const region = parseColonLineSpec(spec);
|
|
256
|
+
if (region !== null) return region.file;
|
|
247
257
|
const colonIdx = findSpecSeparator(spec);
|
|
248
258
|
return colonIdx === -1 ? spec : spec.slice(0, colonIdx);
|
|
249
259
|
}
|