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.
Files changed (45) hide show
  1. package/dist/{token-goat-chunk-GE5FV4K4.mjs → token-goat-chunk-2DUAXUIJ.mjs} +8 -8
  2. package/dist/{token-goat-chunk-6AMDBNXA.mjs → token-goat-chunk-3PT5WLQK.mjs} +8 -8
  3. package/dist/{token-goat-chunk-DN5TDA7X.mjs → token-goat-chunk-4MAEUQLF.mjs} +3 -3
  4. package/dist/{token-goat-chunk-TETLHLL4.mjs → token-goat-chunk-5S74ZZEO.mjs} +3 -3
  5. package/dist/{token-goat-chunk-FIBB6HUJ.mjs → token-goat-chunk-72TE7FU7.mjs} +12 -12
  6. package/dist/{token-goat-chunk-P5DTTFWQ.mjs → token-goat-chunk-7ADSYVBK.mjs} +1 -1
  7. package/dist/{token-goat-chunk-YBG7SMAK.mjs → token-goat-chunk-7ZCZ2HPM.mjs} +18 -18
  8. package/dist/{token-goat-chunk-4NEYQA2B.mjs → token-goat-chunk-AS5NSR66.mjs} +27 -27
  9. package/dist/{token-goat-chunk-W3EV7NRO.mjs → token-goat-chunk-B7GDKYSS.mjs} +8 -8
  10. package/dist/{token-goat-chunk-Y4FGECX5.mjs → token-goat-chunk-BJRNKGYK.mjs} +3 -3
  11. package/dist/{token-goat-chunk-VVCGXBVQ.mjs → token-goat-chunk-CFVXTYRC.mjs} +1 -1
  12. package/dist/{token-goat-chunk-AIXKS6UY.mjs → token-goat-chunk-CLMQ24PD.mjs} +2 -2
  13. package/dist/{token-goat-chunk-K6B5REAF.mjs → token-goat-chunk-CORDQN2U.mjs} +6 -6
  14. package/dist/{token-goat-chunk-5IID4N52.mjs → token-goat-chunk-D4JAVM3Z.mjs} +5 -5
  15. package/dist/{token-goat-chunk-R7SWCKV2.mjs → token-goat-chunk-DNHYOVUK.mjs} +11 -11
  16. package/dist/{token-goat-chunk-F66GO3BZ.mjs → token-goat-chunk-EGYUJ2AP.mjs} +1 -1
  17. package/dist/{token-goat-chunk-3DFULEOA.mjs → token-goat-chunk-FMQP3ERO.mjs} +2 -2
  18. package/dist/{token-goat-chunk-GUPX2MSL.mjs → token-goat-chunk-FXK6UNAH.mjs} +1 -1
  19. package/dist/{token-goat-chunk-4BTOJTZD.mjs → token-goat-chunk-GT26NTEL.mjs} +3 -3
  20. package/dist/{token-goat-chunk-XJRKKQYI.mjs → token-goat-chunk-HC7SSQYK.mjs} +16 -16
  21. package/dist/{token-goat-chunk-7SPQ6IIS.mjs → token-goat-chunk-HYD56VIE.mjs} +2 -2
  22. package/dist/{token-goat-chunk-7ZJCWBZI.mjs → token-goat-chunk-HZJZRQRF.mjs} +4 -4
  23. package/dist/{token-goat-chunk-ZVYT6SOT.mjs → token-goat-chunk-I35H7T6A.mjs} +10 -10
  24. package/dist/{token-goat-chunk-PLIZZDYM.mjs → token-goat-chunk-I44FCOH2.mjs} +10 -10
  25. package/dist/{token-goat-chunk-P2OWJWPJ.mjs → token-goat-chunk-J3TXSEAO.mjs} +1 -1
  26. package/dist/{token-goat-chunk-FZ7QU7BN.mjs → token-goat-chunk-JFVBQTYP.mjs} +1 -1
  27. package/dist/{token-goat-chunk-QGBQOANR.mjs → token-goat-chunk-LN6CBNPK.mjs} +3 -3
  28. package/dist/{token-goat-chunk-K2WEBYUH.mjs → token-goat-chunk-MEAYTTPZ.mjs} +2 -2
  29. package/dist/{token-goat-chunk-JIWV3M7J.mjs → token-goat-chunk-MGJPPLPE.mjs} +4 -4
  30. package/dist/{token-goat-chunk-EYYDRFKA.mjs → token-goat-chunk-PKBVHMSV.mjs} +3 -3
  31. package/dist/{token-goat-chunk-RZ5V2RJ6.mjs → token-goat-chunk-Q4RV2RNK.mjs} +32 -31
  32. package/dist/{token-goat-chunk-45JI3MB7.mjs → token-goat-chunk-QVWZVH7Y.mjs} +2 -2
  33. package/dist/{token-goat-chunk-SVFSQRFS.mjs → token-goat-chunk-RR4X4DHY.mjs} +6 -6
  34. package/dist/{token-goat-chunk-SM3XG5YA.mjs → token-goat-chunk-SB5PY2N4.mjs} +4 -4
  35. package/dist/{token-goat-chunk-J3WHKFP2.mjs → token-goat-chunk-T2RFPPNW.mjs} +1 -1
  36. package/dist/{token-goat-chunk-UN6R6DKG.mjs → token-goat-chunk-U47EDUXC.mjs} +2 -2
  37. package/dist/{token-goat-chunk-UUCJI7X3.mjs → token-goat-chunk-UIHJZTP4.mjs} +3 -3
  38. package/dist/{token-goat-chunk-2KNXKM4P.mjs → token-goat-chunk-VG36C3C4.mjs} +4 -4
  39. package/dist/{token-goat-chunk-VMJWBG3B.mjs → token-goat-chunk-XSX4LVA2.mjs} +5 -5
  40. package/dist/{token-goat-chunk-GEYF6V37.mjs → token-goat-chunk-YVPIXBSD.mjs} +1 -1
  41. package/dist/token-goat-chunk-ZK52PPYH.mjs +41 -0
  42. package/dist/token-goat-hook.mjs +17 -17
  43. package/dist/token-goat.core.mjs +27 -27
  44. package/package.json +1 -1
  45. package/dist/token-goat-chunk-V3CHCE6G.mjs +0 -41
@@ -5,7 +5,7 @@ import {
5
5
  isTextHeavy,
6
6
  ocrImage,
7
7
  ocrIntegrityFailed
8
- } from "./token-goat-chunk-K2WEBYUH.mjs";
8
+ } from "./token-goat-chunk-MEAYTTPZ.mjs";
9
9
  import {
10
10
  formatSqliteQueryTable,
11
11
  formatSqliteSchema,
@@ -42,12 +42,12 @@ import {
42
42
  urlPolicyDenialReason,
43
43
  virtualIndexedScopeNote,
44
44
  walkProject
45
- } from "./token-goat-chunk-FIBB6HUJ.mjs";
45
+ } from "./token-goat-chunk-72TE7FU7.mjs";
46
46
  import {
47
47
  capJsonRows,
48
48
  estimateTokens,
49
49
  trimToBudget
50
- } from "./token-goat-chunk-3DFULEOA.mjs";
50
+ } from "./token-goat-chunk-FMQP3ERO.mjs";
51
51
  import {
52
52
  BYTES_PER_TOKEN,
53
53
  colorStdout,
@@ -58,7 +58,7 @@ import {
58
58
  savedTokensFromBytes,
59
59
  storeBlob,
60
60
  stripAnsiEscapes
61
- } from "./token-goat-chunk-UUCJI7X3.mjs";
61
+ } from "./token-goat-chunk-UIHJZTP4.mjs";
62
62
  import {
63
63
  extractPdfMeta,
64
64
  extractPdfOutline,
@@ -72,7 +72,7 @@ import {
72
72
  parseWhereSpecs,
73
73
  profileCsv,
74
74
  queryCsv
75
- } from "./token-goat-chunk-FZ7QU7BN.mjs";
75
+ } from "./token-goat-chunk-JFVBQTYP.mjs";
76
76
  import {
77
77
  MAX_ZIP_INPUT_BYTES,
78
78
  MAX_ZIP_OUTPUT_BYTES,
@@ -107,7 +107,7 @@ import {
107
107
  extractSolidity,
108
108
  extractThrift,
109
109
  stripLeadingAttributes
110
- } from "./token-goat-chunk-J3WHKFP2.mjs";
110
+ } from "./token-goat-chunk-T2RFPPNW.mjs";
111
111
  import {
112
112
  MAX_OVER_FETCH,
113
113
  OVER_FETCH_FACTOR,
@@ -121,7 +121,7 @@ import {
121
121
  mergeNearbyHits,
122
122
  readSection,
123
123
  searchSemantic
124
- } from "./token-goat-chunk-6AMDBNXA.mjs";
124
+ } from "./token-goat-chunk-3PT5WLQK.mjs";
125
125
  import {
126
126
  DEFAULT_QUERY_LIMIT,
127
127
  countRefs,
@@ -134,7 +134,7 @@ import {
134
134
  queryRefsByContext,
135
135
  querySymbols,
136
136
  searchSymbolsFts
137
- } from "./token-goat-chunk-7SPQ6IIS.mjs";
137
+ } from "./token-goat-chunk-HYD56VIE.mjs";
138
138
  import {
139
139
  FILENAME_LANGUAGE,
140
140
  TREE_SITTER_LANGUAGES,
@@ -153,7 +153,7 @@ import {
153
153
  partialRefsReason,
154
154
  redactIfDotenv,
155
155
  unsupportedLanguageName
156
- } from "./token-goat-chunk-P5DTTFWQ.mjs";
156
+ } from "./token-goat-chunk-7ADSYVBK.mjs";
157
157
  import {
158
158
  fileIsAbsent,
159
159
  findProject,
@@ -163,7 +163,7 @@ import {
163
163
  loadConfig,
164
164
  resolveProjectRoot,
165
165
  shortFingerprint
166
- } from "./token-goat-chunk-P2OWJWPJ.mjs";
166
+ } from "./token-goat-chunk-J3TXSEAO.mjs";
167
167
  import {
168
168
  registerReset
169
169
  } from "./token-goat-chunk-EEIDFMEM.mjs";
@@ -196,7 +196,7 @@ import {
196
196
  supportRequestLine,
197
197
  windowsCmdQuoteArg,
198
198
  withExtension
199
- } from "./token-goat-chunk-VVCGXBVQ.mjs";
199
+ } from "./token-goat-chunk-CFVXTYRC.mjs";
200
200
  import {
201
201
  UNTRUSTED_FILE_TAG,
202
202
  UNTRUSTED_GITHUB_TAG,
@@ -11,7 +11,7 @@ import {
11
11
  ooxmlPartBudget,
12
12
  parseOoxmlPart,
13
13
  readOoxmlZip
14
- } from "./token-goat-chunk-GEYF6V37.mjs";
14
+ } from "./token-goat-chunk-YVPIXBSD.mjs";
15
15
  import {
16
16
  displaySafeText
17
17
  } 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-UUCJI7X3.mjs";
7
+ } from "./token-goat-chunk-UIHJZTP4.mjs";
8
8
  import {
9
9
  safeSlice
10
- } from "./token-goat-chunk-VVCGXBVQ.mjs";
10
+ } from "./token-goat-chunk-CFVXTYRC.mjs";
11
11
  import {
12
12
  displaySafeText
13
13
  } from "./token-goat-chunk-NMTKNYGF.mjs";
@@ -12,7 +12,7 @@ import {
12
12
  parseOoxmlPart,
13
13
  readOoxmlZip,
14
14
  sortNumberedParts
15
- } from "./token-goat-chunk-GEYF6V37.mjs";
15
+ } from "./token-goat-chunk-YVPIXBSD.mjs";
16
16
  import {
17
17
  compileGuardedRegex
18
18
  } from "./token-goat-chunk-GMOUBOX4.mjs";
@@ -5,10 +5,10 @@ import {
5
5
  cmdUpgrade,
6
6
  compareSemver,
7
7
  fetchLatestVersion
8
- } from "./token-goat-chunk-45JI3MB7.mjs";
9
- import "./token-goat-chunk-P2OWJWPJ.mjs";
8
+ } from "./token-goat-chunk-QVWZVH7Y.mjs";
9
+ import "./token-goat-chunk-J3TXSEAO.mjs";
10
10
  import "./token-goat-chunk-EEIDFMEM.mjs";
11
- import "./token-goat-chunk-VVCGXBVQ.mjs";
11
+ import "./token-goat-chunk-CFVXTYRC.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";
@@ -26,8 +26,8 @@ import {
26
26
  runSkeleton,
27
27
  runSymbol,
28
28
  withPinnedReads
29
- } from "./token-goat-chunk-R7SWCKV2.mjs";
30
- import "./token-goat-chunk-K2WEBYUH.mjs";
29
+ } from "./token-goat-chunk-DNHYOVUK.mjs";
30
+ import "./token-goat-chunk-MEAYTTPZ.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-FIBB6HUJ.mjs";
41
- import "./token-goat-chunk-Y4FGECX5.mjs";
42
- import "./token-goat-chunk-QGBQOANR.mjs";
43
- import "./token-goat-chunk-SM3XG5YA.mjs";
40
+ } from "./token-goat-chunk-72TE7FU7.mjs";
41
+ import "./token-goat-chunk-BJRNKGYK.mjs";
42
+ import "./token-goat-chunk-LN6CBNPK.mjs";
43
+ import "./token-goat-chunk-SB5PY2N4.mjs";
44
44
  import {
45
45
  claudeConfigDir
46
- } from "./token-goat-chunk-3DFULEOA.mjs";
47
- import "./token-goat-chunk-5IID4N52.mjs";
46
+ } from "./token-goat-chunk-FMQP3ERO.mjs";
47
+ import "./token-goat-chunk-D4JAVM3Z.mjs";
48
48
  import {
49
49
  recordStat,
50
50
  savedTokensFromBytes
51
- } from "./token-goat-chunk-UUCJI7X3.mjs";
51
+ } from "./token-goat-chunk-UIHJZTP4.mjs";
52
52
  import "./token-goat-chunk-LKSXAMJB.mjs";
53
- import "./token-goat-chunk-FZ7QU7BN.mjs";
53
+ import "./token-goat-chunk-JFVBQTYP.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-J3WHKFP2.mjs";
57
+ import "./token-goat-chunk-T2RFPPNW.mjs";
58
58
  import {
59
59
  checkEmbeddingPreflight,
60
60
  embeddingsDepsAvailable
61
- } from "./token-goat-chunk-6AMDBNXA.mjs";
62
- import "./token-goat-chunk-7SPQ6IIS.mjs";
61
+ } from "./token-goat-chunk-3PT5WLQK.mjs";
62
+ import "./token-goat-chunk-HYD56VIE.mjs";
63
63
  import {
64
64
  getDb
65
- } from "./token-goat-chunk-P5DTTFWQ.mjs";
65
+ } from "./token-goat-chunk-7ADSYVBK.mjs";
66
66
  import {
67
67
  envStrList,
68
68
  loadConfig,
69
69
  resolveProjectRoot
70
- } from "./token-goat-chunk-P2OWJWPJ.mjs";
70
+ } from "./token-goat-chunk-J3TXSEAO.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-VVCGXBVQ.mjs";
80
+ } from "./token-goat-chunk-CFVXTYRC.mjs";
81
81
  import {
82
82
  displaySafeJson,
83
83
  normalizePath
@@ -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-P5DTTFWQ.mjs";
5
+ } from "./token-goat-chunk-7ADSYVBK.mjs";
6
6
  import {
7
7
  foldPath,
8
8
  globalDbPath,
9
9
  isCaseInsensitiveFs
10
- } from "./token-goat-chunk-VVCGXBVQ.mjs";
10
+ } from "./token-goat-chunk-CFVXTYRC.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-SM3XG5YA.mjs";
14
+ } from "./token-goat-chunk-SB5PY2N4.mjs";
15
15
  import {
16
16
  getBashOutput
17
- } from "./token-goat-chunk-5IID4N52.mjs";
17
+ } from "./token-goat-chunk-D4JAVM3Z.mjs";
18
18
  import {
19
19
  loadConfig
20
- } from "./token-goat-chunk-P2OWJWPJ.mjs";
20
+ } from "./token-goat-chunk-J3TXSEAO.mjs";
21
21
  import {
22
22
  foldPath,
23
23
  runGit,
24
24
  toKB
25
- } from "./token-goat-chunk-VVCGXBVQ.mjs";
25
+ } from "./token-goat-chunk-CFVXTYRC.mjs";
26
26
  import {
27
27
  displaySafePath,
28
28
  displaySafeText,
@@ -4,18 +4,18 @@ import {
4
4
  MAX_RESUME_CHARS,
5
5
  MAX_RESUME_TOKENS,
6
6
  buildResumePacket
7
- } from "./token-goat-chunk-SVFSQRFS.mjs";
8
- import "./token-goat-chunk-7ZJCWBZI.mjs";
9
- import "./token-goat-chunk-SM3XG5YA.mjs";
10
- import "./token-goat-chunk-3DFULEOA.mjs";
11
- import "./token-goat-chunk-5IID4N52.mjs";
12
- import "./token-goat-chunk-UUCJI7X3.mjs";
13
- import "./token-goat-chunk-7SPQ6IIS.mjs";
14
- import "./token-goat-chunk-P5DTTFWQ.mjs";
15
- import "./token-goat-chunk-P2OWJWPJ.mjs";
7
+ } from "./token-goat-chunk-RR4X4DHY.mjs";
8
+ import "./token-goat-chunk-HZJZRQRF.mjs";
9
+ import "./token-goat-chunk-SB5PY2N4.mjs";
10
+ import "./token-goat-chunk-FMQP3ERO.mjs";
11
+ import "./token-goat-chunk-D4JAVM3Z.mjs";
12
+ import "./token-goat-chunk-UIHJZTP4.mjs";
13
+ import "./token-goat-chunk-HYD56VIE.mjs";
14
+ import "./token-goat-chunk-7ADSYVBK.mjs";
15
+ import "./token-goat-chunk-J3TXSEAO.mjs";
16
16
  import "./token-goat-chunk-EEIDFMEM.mjs";
17
17
  import "./token-goat-chunk-OSUFN2FV.mjs";
18
- import "./token-goat-chunk-VVCGXBVQ.mjs";
18
+ import "./token-goat-chunk-CFVXTYRC.mjs";
19
19
  import "./token-goat-chunk-NMTKNYGF.mjs";
20
20
  import "./token-goat-chunk-GMOUBOX4.mjs";
21
21
  import "./token-goat-chunk-A37V4PBF.mjs";
@@ -4,22 +4,22 @@ import {
4
4
  buildCopilotWasteReport,
5
5
  findProjectSession,
6
6
  isCopilotTranscript
7
- } from "./token-goat-chunk-DN5TDA7X.mjs";
7
+ } from "./token-goat-chunk-4MAEUQLF.mjs";
8
8
  import {
9
9
  buildWasteReport
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";
10
+ } from "./token-goat-chunk-CLMQ24PD.mjs";
11
+ import "./token-goat-chunk-LN6CBNPK.mjs";
12
+ import "./token-goat-chunk-FMQP3ERO.mjs";
13
+ import "./token-goat-chunk-D4JAVM3Z.mjs";
14
+ import "./token-goat-chunk-UIHJZTP4.mjs";
15
+ import "./token-goat-chunk-HYD56VIE.mjs";
16
+ import "./token-goat-chunk-7ADSYVBK.mjs";
17
17
  import {
18
18
  resolveProjectRoot
19
- } from "./token-goat-chunk-P2OWJWPJ.mjs";
19
+ } from "./token-goat-chunk-J3TXSEAO.mjs";
20
20
  import "./token-goat-chunk-EEIDFMEM.mjs";
21
21
  import "./token-goat-chunk-OSUFN2FV.mjs";
22
- import "./token-goat-chunk-VVCGXBVQ.mjs";
22
+ import "./token-goat-chunk-CFVXTYRC.mjs";
23
23
  import {
24
24
  displaySafeJson
25
25
  } from "./token-goat-chunk-NMTKNYGF.mjs";
@@ -13,7 +13,7 @@ import {
13
13
  foldPath,
14
14
  projectConfigPath,
15
15
  runGit
16
- } from "./token-goat-chunk-VVCGXBVQ.mjs";
16
+ } from "./token-goat-chunk-CFVXTYRC.mjs";
17
17
  import {
18
18
  normalizeDarwinSystemAlias
19
19
  } from "./token-goat-chunk-NMTKNYGF.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./token-goat-chunk-3BTK54F3.mjs";
6
6
  import {
7
7
  filtersFilteredToEmptyNotice
8
- } from "./token-goat-chunk-VVCGXBVQ.mjs";
8
+ } from "./token-goat-chunk-CFVXTYRC.mjs";
9
9
  import {
10
10
  displaySafeText
11
11
  } 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-3DFULEOA.mjs";
5
+ } from "./token-goat-chunk-FMQP3ERO.mjs";
6
6
  import {
7
7
  loadConfig
8
- } from "./token-goat-chunk-P2OWJWPJ.mjs";
8
+ } from "./token-goat-chunk-J3TXSEAO.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-VVCGXBVQ.mjs";
24
+ } from "./token-goat-chunk-CFVXTYRC.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-P2OWJWPJ.mjs";
8
+ } from "./token-goat-chunk-J3TXSEAO.mjs";
9
9
  import {
10
10
  ensureDirSync,
11
11
  tokenGoatHome
12
- } from "./token-goat-chunk-VVCGXBVQ.mjs";
12
+ } from "./token-goat-chunk-CFVXTYRC.mjs";
13
13
  import {
14
14
  fenceUntrustedOcrText
15
15
  } from "./token-goat-chunk-NMTKNYGF.mjs";
@@ -7,19 +7,19 @@ import {
7
7
  dispatchArgv,
8
8
  filterByName,
9
9
  selectFilter
10
- } from "./token-goat-chunk-Y4FGECX5.mjs";
10
+ } from "./token-goat-chunk-BJRNKGYK.mjs";
11
11
  import {
12
12
  capTokens,
13
13
  shlexSplit,
14
14
  storeBashOutputSync
15
- } from "./token-goat-chunk-5IID4N52.mjs";
15
+ } from "./token-goat-chunk-D4JAVM3Z.mjs";
16
16
  import {
17
17
  recordStat
18
- } from "./token-goat-chunk-UUCJI7X3.mjs";
18
+ } from "./token-goat-chunk-UIHJZTP4.mjs";
19
19
  import {
20
20
  detectHarness,
21
21
  loadConfig
22
- } from "./token-goat-chunk-P2OWJWPJ.mjs";
22
+ } from "./token-goat-chunk-J3TXSEAO.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
  docxTables,
6
6
  docxText,
7
7
  formatDocxTables
8
- } from "./token-goat-chunk-F66GO3BZ.mjs";
9
- import "./token-goat-chunk-GEYF6V37.mjs";
8
+ } from "./token-goat-chunk-EGYUJ2AP.mjs";
9
+ import "./token-goat-chunk-YVPIXBSD.mjs";
10
10
  import "./token-goat-chunk-XTQAOTSO.mjs";
11
11
  import "./token-goat-chunk-AH6QILZM.mjs";
12
- import "./token-goat-chunk-VVCGXBVQ.mjs";
12
+ import "./token-goat-chunk-CFVXTYRC.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";
@@ -2,16 +2,16 @@ import { createRequire as __cjsRequire } from 'node:module';
2
2
  const require = __cjsRequire(import.meta.url);
3
3
  import {
4
4
  compareSemver
5
- } from "./token-goat-chunk-45JI3MB7.mjs";
5
+ } from "./token-goat-chunk-QVWZVH7Y.mjs";
6
6
  import {
7
7
  buildCopilotWasteReport,
8
8
  findLatestCopilotSession,
9
9
  findProjectSession,
10
10
  isCopilotTranscript
11
- } from "./token-goat-chunk-DN5TDA7X.mjs";
11
+ } from "./token-goat-chunk-4MAEUQLF.mjs";
12
12
  import {
13
13
  buildResumePacket
14
- } from "./token-goat-chunk-SVFSQRFS.mjs";
14
+ } from "./token-goat-chunk-RR4X4DHY.mjs";
15
15
  import {
16
16
  ALL_SYMBOLS_IN_FILE_LIMIT,
17
17
  AMBIGUOUS_HEADING_LIMIT,
@@ -107,7 +107,7 @@ import {
107
107
  symbolNamesInFile,
108
108
  upsertNote,
109
109
  warnIfFilesStale
110
- } from "./token-goat-chunk-R7SWCKV2.mjs";
110
+ } from "./token-goat-chunk-DNHYOVUK.mjs";
111
111
  import {
112
112
  DEFAULT_RECONCILE_BUDGET_MS,
113
113
  HOOK_EVENTS,
@@ -126,17 +126,17 @@ import {
126
126
  runRecallCommand,
127
127
  runReconcile,
128
128
  storeWebOutput
129
- } from "./token-goat-chunk-GE5FV4K4.mjs";
129
+ } from "./token-goat-chunk-2DUAXUIJ.mjs";
130
130
  import {
131
131
  buildWasteReport,
132
132
  extractResultText,
133
133
  findLatestTranscript,
134
134
  projectTranscriptsDir,
135
135
  safeStringify
136
- } from "./token-goat-chunk-AIXKS6UY.mjs";
136
+ } from "./token-goat-chunk-CLMQ24PD.mjs";
137
137
  import {
138
138
  buildManifest
139
- } from "./token-goat-chunk-7ZJCWBZI.mjs";
139
+ } from "./token-goat-chunk-HZJZRQRF.mjs";
140
140
  import {
141
141
  GEMINI_TOOL_NAME_MAP,
142
142
  MAX_FILES_SCANNED,
@@ -208,14 +208,14 @@ import {
208
208
  visionTokensSavedByText,
209
209
  walkProject,
210
210
  writeCompact
211
- } from "./token-goat-chunk-FIBB6HUJ.mjs";
211
+ } from "./token-goat-chunk-72TE7FU7.mjs";
212
212
  import {
213
213
  CompressedOutput,
214
214
  TOOL_FILTERS,
215
215
  ToolFilter,
216
216
  deliverCompressed,
217
217
  detectFromCommand
218
- } from "./token-goat-chunk-Y4FGECX5.mjs";
218
+ } from "./token-goat-chunk-BJRNKGYK.mjs";
219
219
  import {
220
220
  HOOKS_SCRIPT_FILE,
221
221
  MATERIALIZE_SHRUNK_IMAGE_JS,
@@ -253,7 +253,7 @@ import {
253
253
  visualStudioProjectMcpPath,
254
254
  visualStudioSolutionVscodeMcpPath,
255
255
  visualStudioUserMcpPath
256
- } from "./token-goat-chunk-QGBQOANR.mjs";
256
+ } from "./token-goat-chunk-LN6CBNPK.mjs";
257
257
  import {
258
258
  AGENT_SALT_MARKER,
259
259
  CONTEXT_AUTOCOMPACT_TOKENS,
@@ -279,7 +279,7 @@ import {
279
279
  skillOutputsDir,
280
280
  storeCompact,
281
281
  storeOutput
282
- } from "./token-goat-chunk-SM3XG5YA.mjs";
282
+ } from "./token-goat-chunk-SB5PY2N4.mjs";
283
283
  import {
284
284
  capJsonRows,
285
285
  claudeConfigDir,
@@ -288,14 +288,14 @@ import {
288
288
  formatBytes,
289
289
  formatTokenEstimate,
290
290
  trimToBudget
291
- } from "./token-goat-chunk-3DFULEOA.mjs";
291
+ } from "./token-goat-chunk-FMQP3ERO.mjs";
292
292
  import {
293
293
  BASH_OUTPUT_SUBDIR,
294
294
  clipLongMatchLine,
295
295
  combineStreams,
296
296
  getBashOutput,
297
297
  isRecallCacheType
298
- } from "./token-goat-chunk-5IID4N52.mjs";
298
+ } from "./token-goat-chunk-D4JAVM3Z.mjs";
299
299
  import {
300
300
  C,
301
301
  DEFAULT_MAX_AGE_MS,
@@ -321,19 +321,19 @@ import {
321
321
  statsHasHarnessColumn,
322
322
  stripAnsiEscapes,
323
323
  summarize
324
- } from "./token-goat-chunk-UUCJI7X3.mjs";
324
+ } from "./token-goat-chunk-UIHJZTP4.mjs";
325
325
  import {
326
326
  docxOutline,
327
327
  docxTables,
328
328
  docxText,
329
329
  formatDocxTables
330
- } from "./token-goat-chunk-F66GO3BZ.mjs";
330
+ } from "./token-goat-chunk-EGYUJ2AP.mjs";
331
331
  import {
332
332
  pptxNotesText,
333
333
  pptxOutline,
334
334
  pptxSlideText,
335
335
  pptxTextGrep
336
- } from "./token-goat-chunk-GUPX2MSL.mjs";
336
+ } from "./token-goat-chunk-FXK6UNAH.mjs";
337
337
  import {
338
338
  formatXlsxColumns,
339
339
  formatXlsxRange,
@@ -342,11 +342,11 @@ import {
342
342
  querySheet,
343
343
  rangeSheet,
344
344
  xlsxColumns
345
- } from "./token-goat-chunk-UN6R6DKG.mjs";
345
+ } from "./token-goat-chunk-U47EDUXC.mjs";
346
346
  import {
347
347
  formatCsvTable,
348
348
  parseWhereSpecs
349
- } from "./token-goat-chunk-FZ7QU7BN.mjs";
349
+ } from "./token-goat-chunk-JFVBQTYP.mjs";
350
350
  import {
351
351
  assetEmbedSha,
352
352
  deleteFileEmbeddings,
@@ -372,12 +372,12 @@ import {
372
372
  readSection,
373
373
  treeSitterCoreAvailable,
374
374
  treeSitterCoreLoadError
375
- } from "./token-goat-chunk-6AMDBNXA.mjs";
375
+ } from "./token-goat-chunk-3PT5WLQK.mjs";
376
376
  import {
377
377
  getFileEntry,
378
378
  getProjectFileEntries,
379
379
  querySymbols
380
- } from "./token-goat-chunk-7SPQ6IIS.mjs";
380
+ } from "./token-goat-chunk-HYD56VIE.mjs";
381
381
  import {
382
382
  TREE_SITTER_LANGUAGES,
383
383
  detectLanguage,
@@ -388,7 +388,7 @@ import {
388
388
  matchGroovySlashy,
389
389
  nonTreeSitterLanguageCount,
390
390
  redactIfDotenv
391
- } from "./token-goat-chunk-P5DTTFWQ.mjs";
391
+ } from "./token-goat-chunk-7ADSYVBK.mjs";
392
392
  import {
393
393
  CONFIG_KEY_ENV_OVERRIDES,
394
394
  PROJECT_LOCKED_KEYS,
@@ -417,7 +417,7 @@ import {
417
417
  stringify,
418
418
  validateEnumField,
419
419
  validateNumericField
420
- } from "./token-goat-chunk-P2OWJWPJ.mjs";
420
+ } from "./token-goat-chunk-J3TXSEAO.mjs";
421
421
  import {
422
422
  ENV_KEYS,
423
423
  LOCK_WAIT_MS_HARDENED,
@@ -478,7 +478,7 @@ import {
478
478
  withRetryOnLock,
479
479
  writeIfDifferent,
480
480
  writeJsonSettings
481
- } from "./token-goat-chunk-VVCGXBVQ.mjs";
481
+ } from "./token-goat-chunk-CFVXTYRC.mjs";
482
482
  import {
483
483
  UNTRUSTED_FILE_TAG,
484
484
  UNTRUSTED_TOOL_TAG,
@@ -7605,7 +7605,8 @@ function oversizeDbMessage(dbPath, sizeBytes, freeBytes, tempRows, categories =
7605
7605
  }
7606
7606
  const head = `global.db is ${mb(sizeBytes)} MB at ${displaySafeText(dbPath)} (larger than threshold of ${thresholdMb} MB). `;
7607
7607
  const totalCategoryBytes = categories.reduce((sum, c) => sum + c.bytes, 0);
7608
- const breakdown = totalCategoryBytes > 0 ? ` Where it went: ${categories.slice(0, 3).map((c) => `${c.name} ${mb(c.bytes)} MB (${Math.round(c.bytes / totalCategoryBytes * 100)}%) -- ${c.command}`).join("; ")}.` : "";
7608
+ const unmeasuredBytes = sizeBytes - totalCategoryBytes;
7609
+ const breakdown = totalCategoryBytes > 0 && sizeBytes > 0 ? ` Where it went: ${categories.slice(0, 3).map((c) => `${c.name} ${mb(c.bytes)} MB (${Math.round(c.bytes / sizeBytes * 100)}%) -- ${c.command}`).join("; ")}.${unmeasuredBytes >= sizeBytes / 20 ? ` The other ${mb(unmeasuredBytes)} MB is row overhead and indexes, which these commands do not measure.` : ""}` : "";
7609
7610
  let base = advice.length > 0 ? `${head}${advice.join("; ")}.${breakdown}` : `${head}Only ${mb(freeBytes)} MB of it is free pages and none of it is temp-dir scratch, so it is live index data that neither 'reclaim-index' nor 'project prune' will shrink.${breakdown}`;
7610
7611
  if (topConsumers.length > 0) {
7611
7612
  const list = topConsumers.map((c) => `${path17.basename(c.root) || c.root} (${countNoun(c.fileCount, "file")})`).join(", ");
@@ -8469,7 +8470,7 @@ async function runDoctorAndExit(opts) {
8469
8470
  }
8470
8471
  }
8471
8472
  try {
8472
- const { checkUpdateStatus } = await import("./token-goat-chunk-4BTOJTZD.mjs");
8473
+ const { checkUpdateStatus } = await import("./token-goat-chunk-GT26NTEL.mjs");
8473
8474
  const update = await checkUpdateStatus(1500);
8474
8475
  if (update.updateAvailable && update.latest) {
8475
8476
  console.log(`
@@ -18433,7 +18434,7 @@ function cmdWaste(opts = {}) {
18433
18434
  });
18434
18435
  }
18435
18436
  async function cmdAudit(opts = {}) {
18436
- const { runAuditCommand } = await import("./token-goat-chunk-PLIZZDYM.mjs");
18437
+ const { runAuditCommand } = await import("./token-goat-chunk-I44FCOH2.mjs");
18437
18438
  return runAuditCommand({
18438
18439
  ...opts.project !== void 0 ? { project: opts.project } : {},
18439
18440
  ...opts.transcript !== void 0 ? { transcript: opts.transcript } : {},
@@ -20366,7 +20367,7 @@ async function cmdMcpServe() {
20366
20367
  let StdioServerTransport;
20367
20368
  try {
20368
20369
  ;
20369
- ({ createMcpServer } = await import("./token-goat-chunk-XJRKKQYI.mjs"));
20370
+ ({ createMcpServer } = await import("./token-goat-chunk-HC7SSQYK.mjs"));
20370
20371
  ({ StdioServerTransport } = await import("./token-goat-chunk-EVC4TOLE.mjs"));
20371
20372
  } catch (err2) {
20372
20373
  process.stderr.write(
@@ -20391,7 +20392,7 @@ async function cmdHook(event, opts) {
20391
20392
  if (typeof opts.harness === "string" && opts.harness.length > 0) {
20392
20393
  process.env[ENV_KEYS.HARNESS_OVERRIDE] = opts.harness;
20393
20394
  }
20394
- const { relay } = await import("./token-goat-chunk-V3CHCE6G.mjs");
20395
+ const { relay } = await import("./token-goat-chunk-ZK52PPYH.mjs");
20395
20396
  await relay(event);
20396
20397
  }
20397
20398
  function projectHooksCommitNote(pathFiles, hooksConfigPath) {
@@ -20428,7 +20429,7 @@ async function cmdInstall(opts) {
20428
20429
  if (opts.project === true && opts.user === true) {
20429
20430
  throw new Error("install takes either -p/--project or --user, not both.");
20430
20431
  }
20431
- await import("./token-goat-chunk-V3CHCE6G.mjs");
20432
+ await import("./token-goat-chunk-ZK52PPYH.mjs");
20432
20433
  const scope = opts.project === true ? "project" : "user";
20433
20434
  if (wantsClaudeCodeBase(opts)) {
20434
20435
  const result = installHooks(scope);
@@ -21019,7 +21020,7 @@ async function cmdCompress(commandArgs, opts = {}) {
21019
21020
  process.exitCode = 1;
21020
21021
  return;
21021
21022
  }
21022
- const bashRunner = await import("./token-goat-chunk-W3EV7NRO.mjs");
21023
+ const bashRunner = await import("./token-goat-chunk-B7GDKYSS.mjs");
21023
21024
  if (opts.compress === false) {
21024
21025
  process.exitCode = bashRunner.runRaw(command, parseTimeout(opts.timeout, bashRunner.DEFAULT_TIMEOUT_SECONDS));
21025
21026
  return;
@@ -21285,7 +21286,7 @@ function buildProgram() {
21285
21286
  program2.command("compress [command...]").alias("bash").alias("run").description("run a shell command (under a POSIX shell / bash) and emit a compressed view of its output").allowUnknownOption(true).option("-c, --cmd <command>", "the shell command to run, as one string (use / for paths across platforms)").option("--cmd-b64 <payload>", "the shell command as a base64-encoded string (preserves quotes, backslashes, and symbols across platforms)").option("-f, --filter <name>", "filter name (auto-detected from the command when omitted)").option("--timeout <seconds>", "wall-clock timeout in seconds (0 = built-in default)").option("--no-compress", "stream output raw without compression (debug the wrapper)").option("--profile <name>", "compression profile: aggressive | balanced | minimal").option("--max-tokens <n>", "post-compress token cap (0 = no cap)").option("-q, --quiet-success", "on exit code 0, emit only [tg: ok] summary and store full output for recall via bash-output").option("--native", "use native platform shell (e.g. cmd.exe on Windows) instead of bash, preserving Windows path backslashes").action(cmdCompress);
21286
21287
  program2.command("upgrade").alias("update").description("check for updates and upgrade token-goat to the latest version").option("--check", "check whether an update is available without installing").option("-j, --json", "emit version check status as JSON").action(
21287
21288
  (opts) => guard(async () => {
21288
- const { cmdUpgrade } = await import("./token-goat-chunk-4BTOJTZD.mjs");
21289
+ const { cmdUpgrade } = await import("./token-goat-chunk-GT26NTEL.mjs");
21289
21290
  await cmdUpgrade(opts, () => cmdInstall({}));
21290
21291
  })()
21291
21292
  );