token-goat 2.9.24 → 2.9.26

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-D4JAVM3Z.mjs → token-goat-chunk-43JFN26X.mjs} +5 -5
  2. package/dist/{token-goat-chunk-BJRNKGYK.mjs → token-goat-chunk-4GEDH2WU.mjs} +8 -5
  3. package/dist/{token-goat-chunk-HC7SSQYK.mjs → token-goat-chunk-5BQ7W7D7.mjs} +16 -16
  4. package/dist/{token-goat-chunk-MEAYTTPZ.mjs → token-goat-chunk-5M3NRJD2.mjs} +2 -2
  5. package/dist/{token-goat-chunk-CLMQ24PD.mjs → token-goat-chunk-62IHOU6L.mjs} +2 -2
  6. package/dist/{token-goat-chunk-CFVXTYRC.mjs → token-goat-chunk-6E2IDLHF.mjs} +1 -1
  7. package/dist/{token-goat-chunk-3PT5WLQK.mjs → token-goat-chunk-7EPYB34H.mjs} +71 -61
  8. package/dist/{token-goat-chunk-7ADSYVBK.mjs → token-goat-chunk-7SXPJOSZ.mjs} +1 -1
  9. package/dist/{token-goat-chunk-2DUAXUIJ.mjs → token-goat-chunk-7Y6GWTII.mjs} +8 -8
  10. package/dist/token-goat-chunk-ADMR3QVF.mjs +41 -0
  11. package/dist/{token-goat-chunk-FXK6UNAH.mjs → token-goat-chunk-BAWKGODL.mjs} +1 -1
  12. package/dist/{token-goat-chunk-QVWZVH7Y.mjs → token-goat-chunk-BH4ZVRB2.mjs} +2 -2
  13. package/dist/{token-goat-chunk-VG36C3C4.mjs → token-goat-chunk-C2PG4K5D.mjs} +4 -4
  14. package/dist/{token-goat-chunk-GT26NTEL.mjs → token-goat-chunk-CQHY4SL7.mjs} +3 -3
  15. package/dist/{token-goat-chunk-I44FCOH2.mjs → token-goat-chunk-CXBOFPF4.mjs} +10 -10
  16. package/dist/{token-goat-chunk-UIHJZTP4.mjs → token-goat-chunk-D2X7XN5M.mjs} +3 -3
  17. package/dist/{token-goat-chunk-B7GDKYSS.mjs → token-goat-chunk-E6B2UFDF.mjs} +8 -8
  18. package/dist/{token-goat-chunk-5S74ZZEO.mjs → token-goat-chunk-FLEYOCAS.mjs} +3 -3
  19. package/dist/{token-goat-chunk-FMQP3ERO.mjs → token-goat-chunk-G6EYO5CD.mjs} +2 -2
  20. package/dist/{token-goat-chunk-AS5NSR66.mjs → token-goat-chunk-GKZ2US5B.mjs} +27 -27
  21. package/dist/{token-goat-chunk-CORDQN2U.mjs → token-goat-chunk-H2CPLEMP.mjs} +6 -6
  22. package/dist/{token-goat-chunk-HYD56VIE.mjs → token-goat-chunk-IKZLSRII.mjs} +2 -2
  23. package/dist/{token-goat-chunk-7ZCZ2HPM.mjs → token-goat-chunk-JALB3KWJ.mjs} +26 -19
  24. package/dist/{token-goat-chunk-JFVBQTYP.mjs → token-goat-chunk-L43RKNHA.mjs} +1 -1
  25. package/dist/{token-goat-chunk-RR4X4DHY.mjs → token-goat-chunk-L45IWWMC.mjs} +6 -6
  26. package/dist/{token-goat-chunk-T2RFPPNW.mjs → token-goat-chunk-LHUP4DXZ.mjs} +1 -1
  27. package/dist/{token-goat-chunk-J3TXSEAO.mjs → token-goat-chunk-LRIZ7K3F.mjs} +1 -1
  28. package/dist/{token-goat-chunk-SB5PY2N4.mjs → token-goat-chunk-M6CVNHTW.mjs} +4 -4
  29. package/dist/{token-goat-chunk-72TE7FU7.mjs → token-goat-chunk-MBDJR6HU.mjs} +12 -12
  30. package/dist/{token-goat-chunk-HZJZRQRF.mjs → token-goat-chunk-MDV5VWF4.mjs} +4 -4
  31. package/dist/{token-goat-chunk-PKBVHMSV.mjs → token-goat-chunk-MWID3YOY.mjs} +3 -3
  32. package/dist/{token-goat-chunk-I35H7T6A.mjs → token-goat-chunk-MZTO4FXH.mjs} +10 -10
  33. package/dist/{token-goat-chunk-4MAEUQLF.mjs → token-goat-chunk-PAV6NNY7.mjs} +3 -3
  34. package/dist/{token-goat-chunk-XSX4LVA2.mjs → token-goat-chunk-POOI26O6.mjs} +5 -5
  35. package/dist/{token-goat-chunk-DNHYOVUK.mjs → token-goat-chunk-RH27ZSPF.mjs} +11 -11
  36. package/dist/{token-goat-chunk-YVPIXBSD.mjs → token-goat-chunk-RIB6XY2V.mjs} +1 -1
  37. package/dist/{token-goat-chunk-U47EDUXC.mjs → token-goat-chunk-STYRLQIW.mjs} +2 -2
  38. package/dist/{token-goat-chunk-Q4RV2RNK.mjs → token-goat-chunk-TG5ZPD6B.mjs} +30 -30
  39. package/dist/{token-goat-chunk-LN6CBNPK.mjs → token-goat-chunk-VVROQBQJ.mjs} +3 -3
  40. package/dist/{token-goat-chunk-EGYUJ2AP.mjs → token-goat-chunk-WNBSCSAI.mjs} +1 -1
  41. package/dist/{token-goat-chunk-MGJPPLPE.mjs → token-goat-chunk-ZZT6PVB3.mjs} +4 -4
  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-ZK52PPYH.mjs +0 -41
@@ -5,7 +5,7 @@ import {
5
5
  isTextHeavy,
6
6
  ocrImage,
7
7
  ocrIntegrityFailed
8
- } from "./token-goat-chunk-MEAYTTPZ.mjs";
8
+ } from "./token-goat-chunk-5M3NRJD2.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-72TE7FU7.mjs";
45
+ } from "./token-goat-chunk-MBDJR6HU.mjs";
46
46
  import {
47
47
  capJsonRows,
48
48
  estimateTokens,
49
49
  trimToBudget
50
- } from "./token-goat-chunk-FMQP3ERO.mjs";
50
+ } from "./token-goat-chunk-G6EYO5CD.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-UIHJZTP4.mjs";
61
+ } from "./token-goat-chunk-D2X7XN5M.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-JFVBQTYP.mjs";
75
+ } from "./token-goat-chunk-L43RKNHA.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-T2RFPPNW.mjs";
110
+ } from "./token-goat-chunk-LHUP4DXZ.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-3PT5WLQK.mjs";
124
+ } from "./token-goat-chunk-7EPYB34H.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-HYD56VIE.mjs";
137
+ } from "./token-goat-chunk-IKZLSRII.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-7ADSYVBK.mjs";
156
+ } from "./token-goat-chunk-7SXPJOSZ.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-J3TXSEAO.mjs";
166
+ } from "./token-goat-chunk-LRIZ7K3F.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-CFVXTYRC.mjs";
199
+ } from "./token-goat-chunk-6E2IDLHF.mjs";
200
200
  import {
201
201
  UNTRUSTED_FILE_TAG,
202
202
  UNTRUSTED_GITHUB_TAG,
@@ -12,7 +12,7 @@ import {
12
12
  } from "./token-goat-chunk-AH6QILZM.mjs";
13
13
  import {
14
14
  pushAll
15
- } from "./token-goat-chunk-CFVXTYRC.mjs";
15
+ } from "./token-goat-chunk-6E2IDLHF.mjs";
16
16
  import {
17
17
  DocumentRefusedError,
18
18
  MAX_DOCUMENT_WORK_MILLIS
@@ -3,7 +3,7 @@ const require = __cjsRequire(import.meta.url);
3
3
  import {
4
4
  queryCsv,
5
5
  quoteCsvCell
6
- } from "./token-goat-chunk-JFVBQTYP.mjs";
6
+ } from "./token-goat-chunk-L43RKNHA.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-YVPIXBSD.mjs";
15
+ } from "./token-goat-chunk-RIB6XY2V.mjs";
16
16
  import {
17
17
  displaySafeText
18
18
  } from "./token-goat-chunk-NMTKNYGF.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-QVWZVH7Y.mjs";
5
+ } from "./token-goat-chunk-BH4ZVRB2.mjs";
6
6
  import {
7
7
  buildCopilotWasteReport,
8
8
  findLatestCopilotSession,
9
9
  findProjectSession,
10
10
  isCopilotTranscript
11
- } from "./token-goat-chunk-4MAEUQLF.mjs";
11
+ } from "./token-goat-chunk-PAV6NNY7.mjs";
12
12
  import {
13
13
  buildResumePacket
14
- } from "./token-goat-chunk-RR4X4DHY.mjs";
14
+ } from "./token-goat-chunk-L45IWWMC.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-DNHYOVUK.mjs";
110
+ } from "./token-goat-chunk-RH27ZSPF.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-2DUAXUIJ.mjs";
129
+ } from "./token-goat-chunk-7Y6GWTII.mjs";
130
130
  import {
131
131
  buildWasteReport,
132
132
  extractResultText,
133
133
  findLatestTranscript,
134
134
  projectTranscriptsDir,
135
135
  safeStringify
136
- } from "./token-goat-chunk-CLMQ24PD.mjs";
136
+ } from "./token-goat-chunk-62IHOU6L.mjs";
137
137
  import {
138
138
  buildManifest
139
- } from "./token-goat-chunk-HZJZRQRF.mjs";
139
+ } from "./token-goat-chunk-MDV5VWF4.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-72TE7FU7.mjs";
211
+ } from "./token-goat-chunk-MBDJR6HU.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-BJRNKGYK.mjs";
218
+ } from "./token-goat-chunk-4GEDH2WU.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-LN6CBNPK.mjs";
256
+ } from "./token-goat-chunk-VVROQBQJ.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-SB5PY2N4.mjs";
282
+ } from "./token-goat-chunk-M6CVNHTW.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-FMQP3ERO.mjs";
291
+ } from "./token-goat-chunk-G6EYO5CD.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-D4JAVM3Z.mjs";
298
+ } from "./token-goat-chunk-43JFN26X.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-UIHJZTP4.mjs";
324
+ } from "./token-goat-chunk-D2X7XN5M.mjs";
325
325
  import {
326
326
  docxOutline,
327
327
  docxTables,
328
328
  docxText,
329
329
  formatDocxTables
330
- } from "./token-goat-chunk-EGYUJ2AP.mjs";
330
+ } from "./token-goat-chunk-WNBSCSAI.mjs";
331
331
  import {
332
332
  pptxNotesText,
333
333
  pptxOutline,
334
334
  pptxSlideText,
335
335
  pptxTextGrep
336
- } from "./token-goat-chunk-FXK6UNAH.mjs";
336
+ } from "./token-goat-chunk-BAWKGODL.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-U47EDUXC.mjs";
345
+ } from "./token-goat-chunk-STYRLQIW.mjs";
346
346
  import {
347
347
  formatCsvTable,
348
348
  parseWhereSpecs
349
- } from "./token-goat-chunk-JFVBQTYP.mjs";
349
+ } from "./token-goat-chunk-L43RKNHA.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-3PT5WLQK.mjs";
375
+ } from "./token-goat-chunk-7EPYB34H.mjs";
376
376
  import {
377
377
  getFileEntry,
378
378
  getProjectFileEntries,
379
379
  querySymbols
380
- } from "./token-goat-chunk-HYD56VIE.mjs";
380
+ } from "./token-goat-chunk-IKZLSRII.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-7ADSYVBK.mjs";
391
+ } from "./token-goat-chunk-7SXPJOSZ.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-J3TXSEAO.mjs";
420
+ } from "./token-goat-chunk-LRIZ7K3F.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-CFVXTYRC.mjs";
481
+ } from "./token-goat-chunk-6E2IDLHF.mjs";
482
482
  import {
483
483
  UNTRUSTED_FILE_TAG,
484
484
  UNTRUSTED_TOOL_TAG,
@@ -8470,7 +8470,7 @@ async function runDoctorAndExit(opts) {
8470
8470
  }
8471
8471
  }
8472
8472
  try {
8473
- const { checkUpdateStatus } = await import("./token-goat-chunk-GT26NTEL.mjs");
8473
+ const { checkUpdateStatus } = await import("./token-goat-chunk-CQHY4SL7.mjs");
8474
8474
  const update = await checkUpdateStatus(1500);
8475
8475
  if (update.updateAvailable && update.latest) {
8476
8476
  console.log(`
@@ -18434,7 +18434,7 @@ function cmdWaste(opts = {}) {
18434
18434
  });
18435
18435
  }
18436
18436
  async function cmdAudit(opts = {}) {
18437
- const { runAuditCommand } = await import("./token-goat-chunk-I44FCOH2.mjs");
18437
+ const { runAuditCommand } = await import("./token-goat-chunk-CXBOFPF4.mjs");
18438
18438
  return runAuditCommand({
18439
18439
  ...opts.project !== void 0 ? { project: opts.project } : {},
18440
18440
  ...opts.transcript !== void 0 ? { transcript: opts.transcript } : {},
@@ -20367,7 +20367,7 @@ async function cmdMcpServe() {
20367
20367
  let StdioServerTransport;
20368
20368
  try {
20369
20369
  ;
20370
- ({ createMcpServer } = await import("./token-goat-chunk-HC7SSQYK.mjs"));
20370
+ ({ createMcpServer } = await import("./token-goat-chunk-5BQ7W7D7.mjs"));
20371
20371
  ({ StdioServerTransport } = await import("./token-goat-chunk-EVC4TOLE.mjs"));
20372
20372
  } catch (err2) {
20373
20373
  process.stderr.write(
@@ -20392,7 +20392,7 @@ async function cmdHook(event, opts) {
20392
20392
  if (typeof opts.harness === "string" && opts.harness.length > 0) {
20393
20393
  process.env[ENV_KEYS.HARNESS_OVERRIDE] = opts.harness;
20394
20394
  }
20395
- const { relay } = await import("./token-goat-chunk-ZK52PPYH.mjs");
20395
+ const { relay } = await import("./token-goat-chunk-ADMR3QVF.mjs");
20396
20396
  await relay(event);
20397
20397
  }
20398
20398
  function projectHooksCommitNote(pathFiles, hooksConfigPath) {
@@ -20429,7 +20429,7 @@ async function cmdInstall(opts) {
20429
20429
  if (opts.project === true && opts.user === true) {
20430
20430
  throw new Error("install takes either -p/--project or --user, not both.");
20431
20431
  }
20432
- await import("./token-goat-chunk-ZK52PPYH.mjs");
20432
+ await import("./token-goat-chunk-ADMR3QVF.mjs");
20433
20433
  const scope = opts.project === true ? "project" : "user";
20434
20434
  if (wantsClaudeCodeBase(opts)) {
20435
20435
  const result = installHooks(scope);
@@ -21020,7 +21020,7 @@ async function cmdCompress(commandArgs, opts = {}) {
21020
21020
  process.exitCode = 1;
21021
21021
  return;
21022
21022
  }
21023
- const bashRunner = await import("./token-goat-chunk-B7GDKYSS.mjs");
21023
+ const bashRunner = await import("./token-goat-chunk-E6B2UFDF.mjs");
21024
21024
  if (opts.compress === false) {
21025
21025
  process.exitCode = bashRunner.runRaw(command, parseTimeout(opts.timeout, bashRunner.DEFAULT_TIMEOUT_SECONDS));
21026
21026
  return;
@@ -21286,7 +21286,7 @@ function buildProgram() {
21286
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);
21287
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(
21288
21288
  (opts) => guard(async () => {
21289
- const { cmdUpgrade } = await import("./token-goat-chunk-GT26NTEL.mjs");
21289
+ const { cmdUpgrade } = await import("./token-goat-chunk-CQHY4SL7.mjs");
21290
21290
  await cmdUpgrade(opts, () => cmdInstall({}));
21291
21291
  })()
21292
21292
  );
@@ -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-FMQP3ERO.mjs";
5
+ } from "./token-goat-chunk-G6EYO5CD.mjs";
6
6
  import {
7
7
  loadConfig
8
- } from "./token-goat-chunk-J3TXSEAO.mjs";
8
+ } from "./token-goat-chunk-LRIZ7K3F.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-CFVXTYRC.mjs";
24
+ } from "./token-goat-chunk-6E2IDLHF.mjs";
25
25
  import {
26
26
  init_define_import_meta_env
27
27
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  ooxmlPartBudget,
12
12
  parseOoxmlPart,
13
13
  readOoxmlZip
14
- } from "./token-goat-chunk-YVPIXBSD.mjs";
14
+ } from "./token-goat-chunk-RIB6XY2V.mjs";
15
15
  import {
16
16
  displaySafeText
17
17
  } 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-BJRNKGYK.mjs";
10
+ } from "./token-goat-chunk-4GEDH2WU.mjs";
11
11
  import {
12
12
  capTokens,
13
13
  shlexSplit,
14
14
  storeBashOutputSync
15
- } from "./token-goat-chunk-D4JAVM3Z.mjs";
15
+ } from "./token-goat-chunk-43JFN26X.mjs";
16
16
  import {
17
17
  recordStat
18
- } from "./token-goat-chunk-UIHJZTP4.mjs";
18
+ } from "./token-goat-chunk-D2X7XN5M.mjs";
19
19
  import {
20
20
  detectHarness,
21
21
  loadConfig
22
- } from "./token-goat-chunk-J3TXSEAO.mjs";
22
+ } from "./token-goat-chunk-LRIZ7K3F.mjs";
23
23
  import {
24
24
  init_define_import_meta_env
25
25
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -2,26 +2,26 @@ import { createRequire as __cjsRequire } from 'node:module';
2
2
  const require = __cjsRequire(import.meta.url);
3
3
  import {
4
4
  relayInProcess
5
- } from "./token-goat-chunk-7ZCZ2HPM.mjs";
6
- import "./token-goat-chunk-MGJPPLPE.mjs";
7
- import "./token-goat-chunk-2DUAXUIJ.mjs";
8
- import "./token-goat-chunk-CLMQ24PD.mjs";
9
- import "./token-goat-chunk-HZJZRQRF.mjs";
10
- import "./token-goat-chunk-72TE7FU7.mjs";
11
- import "./token-goat-chunk-BJRNKGYK.mjs";
12
- import "./token-goat-chunk-LN6CBNPK.mjs";
13
- import "./token-goat-chunk-SB5PY2N4.mjs";
14
- import "./token-goat-chunk-FMQP3ERO.mjs";
15
- import "./token-goat-chunk-D4JAVM3Z.mjs";
16
- import "./token-goat-chunk-UIHJZTP4.mjs";
5
+ } from "./token-goat-chunk-JALB3KWJ.mjs";
6
+ import "./token-goat-chunk-ZZT6PVB3.mjs";
7
+ import "./token-goat-chunk-7Y6GWTII.mjs";
8
+ import "./token-goat-chunk-62IHOU6L.mjs";
9
+ import "./token-goat-chunk-MDV5VWF4.mjs";
10
+ import "./token-goat-chunk-MBDJR6HU.mjs";
11
+ import "./token-goat-chunk-4GEDH2WU.mjs";
12
+ import "./token-goat-chunk-VVROQBQJ.mjs";
13
+ import "./token-goat-chunk-M6CVNHTW.mjs";
14
+ import "./token-goat-chunk-G6EYO5CD.mjs";
15
+ import "./token-goat-chunk-43JFN26X.mjs";
16
+ import "./token-goat-chunk-D2X7XN5M.mjs";
17
17
  import "./token-goat-chunk-3BTK54F3.mjs";
18
- import "./token-goat-chunk-3PT5WLQK.mjs";
19
- import "./token-goat-chunk-HYD56VIE.mjs";
20
- import "./token-goat-chunk-7ADSYVBK.mjs";
21
- import "./token-goat-chunk-J3TXSEAO.mjs";
18
+ import "./token-goat-chunk-7EPYB34H.mjs";
19
+ import "./token-goat-chunk-IKZLSRII.mjs";
20
+ import "./token-goat-chunk-7SXPJOSZ.mjs";
21
+ import "./token-goat-chunk-LRIZ7K3F.mjs";
22
22
  import "./token-goat-chunk-EEIDFMEM.mjs";
23
23
  import "./token-goat-chunk-OSUFN2FV.mjs";
24
- import "./token-goat-chunk-CFVXTYRC.mjs";
24
+ import "./token-goat-chunk-6E2IDLHF.mjs";
25
25
  import "./token-goat-chunk-NMTKNYGF.mjs";
26
26
  import "./token-goat-chunk-Y4AFKTHK.mjs";
27
27
  import "./token-goat-chunk-GMOUBOX4.mjs";
@@ -2,42 +2,42 @@ import { createRequire as __cjsRequire } from 'node:module';
2
2
  const require = __cjsRequire(import.meta.url);
3
3
  import {
4
4
  run
5
- } from "./token-goat-chunk-Q4RV2RNK.mjs";
6
- import "./token-goat-chunk-QVWZVH7Y.mjs";
7
- import "./token-goat-chunk-4MAEUQLF.mjs";
8
- import "./token-goat-chunk-RR4X4DHY.mjs";
9
- import "./token-goat-chunk-DNHYOVUK.mjs";
10
- import "./token-goat-chunk-MEAYTTPZ.mjs";
5
+ } from "./token-goat-chunk-TG5ZPD6B.mjs";
6
+ import "./token-goat-chunk-BH4ZVRB2.mjs";
7
+ import "./token-goat-chunk-PAV6NNY7.mjs";
8
+ import "./token-goat-chunk-L45IWWMC.mjs";
9
+ import "./token-goat-chunk-RH27ZSPF.mjs";
10
+ import "./token-goat-chunk-5M3NRJD2.mjs";
11
11
  import "./token-goat-chunk-DA43OE7L.mjs";
12
- import "./token-goat-chunk-2DUAXUIJ.mjs";
13
- import "./token-goat-chunk-CLMQ24PD.mjs";
14
- import "./token-goat-chunk-HZJZRQRF.mjs";
15
- import "./token-goat-chunk-72TE7FU7.mjs";
16
- import "./token-goat-chunk-BJRNKGYK.mjs";
17
- import "./token-goat-chunk-LN6CBNPK.mjs";
18
- import "./token-goat-chunk-SB5PY2N4.mjs";
19
- import "./token-goat-chunk-FMQP3ERO.mjs";
20
- import "./token-goat-chunk-D4JAVM3Z.mjs";
21
- import "./token-goat-chunk-UIHJZTP4.mjs";
12
+ import "./token-goat-chunk-7Y6GWTII.mjs";
13
+ import "./token-goat-chunk-62IHOU6L.mjs";
14
+ import "./token-goat-chunk-MDV5VWF4.mjs";
15
+ import "./token-goat-chunk-MBDJR6HU.mjs";
16
+ import "./token-goat-chunk-4GEDH2WU.mjs";
17
+ import "./token-goat-chunk-VVROQBQJ.mjs";
18
+ import "./token-goat-chunk-M6CVNHTW.mjs";
19
+ import "./token-goat-chunk-G6EYO5CD.mjs";
20
+ import "./token-goat-chunk-43JFN26X.mjs";
21
+ import "./token-goat-chunk-D2X7XN5M.mjs";
22
22
  import "./token-goat-chunk-LKSXAMJB.mjs";
23
- import "./token-goat-chunk-EGYUJ2AP.mjs";
24
- import "./token-goat-chunk-FXK6UNAH.mjs";
25
- import "./token-goat-chunk-U47EDUXC.mjs";
26
- import "./token-goat-chunk-JFVBQTYP.mjs";
23
+ import "./token-goat-chunk-WNBSCSAI.mjs";
24
+ import "./token-goat-chunk-BAWKGODL.mjs";
25
+ import "./token-goat-chunk-STYRLQIW.mjs";
26
+ import "./token-goat-chunk-L43RKNHA.mjs";
27
27
  import "./token-goat-chunk-3BTK54F3.mjs";
28
- import "./token-goat-chunk-YVPIXBSD.mjs";
28
+ import "./token-goat-chunk-RIB6XY2V.mjs";
29
29
  import "./token-goat-chunk-XTQAOTSO.mjs";
30
30
  import "./token-goat-chunk-AH6QILZM.mjs";
31
- import "./token-goat-chunk-T2RFPPNW.mjs";
32
- import "./token-goat-chunk-3PT5WLQK.mjs";
33
- import "./token-goat-chunk-HYD56VIE.mjs";
34
- import "./token-goat-chunk-7ADSYVBK.mjs";
35
- import "./token-goat-chunk-J3TXSEAO.mjs";
31
+ import "./token-goat-chunk-LHUP4DXZ.mjs";
32
+ import "./token-goat-chunk-7EPYB34H.mjs";
33
+ import "./token-goat-chunk-IKZLSRII.mjs";
34
+ import "./token-goat-chunk-7SXPJOSZ.mjs";
35
+ import "./token-goat-chunk-LRIZ7K3F.mjs";
36
36
  import "./token-goat-chunk-EEIDFMEM.mjs";
37
37
  import "./token-goat-chunk-OSUFN2FV.mjs";
38
38
  import {
39
39
  installEpipeGuard
40
- } from "./token-goat-chunk-CFVXTYRC.mjs";
40
+ } from "./token-goat-chunk-6E2IDLHF.mjs";
41
41
  import "./token-goat-chunk-NMTKNYGF.mjs";
42
42
  import "./token-goat-chunk-Y4AFKTHK.mjs";
43
43
  import "./token-goat-chunk-GMOUBOX4.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "token-goat",
3
- "version": "2.9.24",
3
+ "version": "2.9.26",
4
4
  "description": "Surgical token-reduction companion for Claude Code and other AI coding agents",
5
5
  "type": "module",
6
6
  "main": "./dist/token-goat.mjs",
@@ -1,41 +0,0 @@
1
- import { createRequire as __cjsRequire } from 'node:module';
2
- const require = __cjsRequire(import.meta.url);
3
- import {
4
- buildEvent,
5
- relay,
6
- relayInProcess
7
- } from "./token-goat-chunk-7ZCZ2HPM.mjs";
8
- import "./token-goat-chunk-MGJPPLPE.mjs";
9
- import {
10
- MAX_STDIN_BYTES,
11
- readStdinJson
12
- } from "./token-goat-chunk-2DUAXUIJ.mjs";
13
- import "./token-goat-chunk-CLMQ24PD.mjs";
14
- import "./token-goat-chunk-HZJZRQRF.mjs";
15
- import "./token-goat-chunk-72TE7FU7.mjs";
16
- import "./token-goat-chunk-BJRNKGYK.mjs";
17
- import "./token-goat-chunk-LN6CBNPK.mjs";
18
- import "./token-goat-chunk-SB5PY2N4.mjs";
19
- import "./token-goat-chunk-FMQP3ERO.mjs";
20
- import "./token-goat-chunk-D4JAVM3Z.mjs";
21
- import "./token-goat-chunk-UIHJZTP4.mjs";
22
- import "./token-goat-chunk-3BTK54F3.mjs";
23
- import "./token-goat-chunk-3PT5WLQK.mjs";
24
- import "./token-goat-chunk-HYD56VIE.mjs";
25
- import "./token-goat-chunk-7ADSYVBK.mjs";
26
- import "./token-goat-chunk-J3TXSEAO.mjs";
27
- import "./token-goat-chunk-EEIDFMEM.mjs";
28
- import "./token-goat-chunk-OSUFN2FV.mjs";
29
- import "./token-goat-chunk-CFVXTYRC.mjs";
30
- import "./token-goat-chunk-NMTKNYGF.mjs";
31
- import "./token-goat-chunk-Y4AFKTHK.mjs";
32
- import "./token-goat-chunk-GMOUBOX4.mjs";
33
- import "./token-goat-chunk-RRNZMM3A.mjs";
34
- import "./token-goat-chunk-A37V4PBF.mjs";
35
- export {
36
- MAX_STDIN_BYTES,
37
- buildEvent,
38
- readStdinJson,
39
- relay,
40
- relayInProcess
41
- };