token-goat 2.9.11 → 2.9.12

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.
@@ -24,7 +24,7 @@ import {
24
24
  extractSolidity,
25
25
  extractThrift,
26
26
  stripLeadingAttributes
27
- } from "./token-goat-chunk-2ZUPQYLO.mjs";
27
+ } from "./token-goat-chunk-6F5TLJC7.mjs";
28
28
  import {
29
29
  DEFAULT_QUERY_LIMIT,
30
30
  ImageDecodeError,
@@ -88,7 +88,7 @@ import {
88
88
  unzipBounded,
89
89
  urlPolicyDenialReason,
90
90
  walkProject
91
- } from "./token-goat-chunk-SY7WTZMW.mjs";
91
+ } from "./token-goat-chunk-GM6QZWCF.mjs";
92
92
  import {
93
93
  Database,
94
94
  FILENAME_LANGUAGE,
@@ -117,7 +117,7 @@ import {
117
117
  stripAnsi,
118
118
  trimToBudget,
119
119
  unsupportedLanguageName
120
- } from "./token-goat-chunk-AAEYU2U2.mjs";
120
+ } from "./token-goat-chunk-TOGYS5A7.mjs";
121
121
  import {
122
122
  registerReset
123
123
  } from "./token-goat-chunk-EEIDFMEM.mjs";
@@ -168,7 +168,7 @@ import {
168
168
  toDisplayPath,
169
169
  windowsCmdQuoteArg,
170
170
  withExtension
171
- } from "./token-goat-chunk-YCKCFYTM.mjs";
171
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
172
172
  import {
173
173
  init_define_import_meta_env
174
174
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  stripMultilineStringSpan,
10
10
  stripNestedBlockCommentSpan,
11
11
  stripStringLiterals
12
- } from "./token-goat-chunk-YCKCFYTM.mjs";
12
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
13
13
  import {
14
14
  init_define_import_meta_env
15
15
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -2,7 +2,7 @@ import { createRequire as __cjsRequire } from 'node:module';
2
2
  const require = __cjsRequire(import.meta.url);
3
3
  import {
4
4
  detectHarness
5
- } from "./token-goat-chunk-AAEYU2U2.mjs";
5
+ } from "./token-goat-chunk-TOGYS5A7.mjs";
6
6
  import {
7
7
  init_define_import_meta_env
8
8
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  isBlobStale,
10
10
  loadBlob,
11
11
  storeBlob
12
- } from "./token-goat-chunk-SY7WTZMW.mjs";
12
+ } from "./token-goat-chunk-GM6QZWCF.mjs";
13
13
  import {
14
14
  estimateTokensFromLength,
15
15
  fingerprintFile,
@@ -17,7 +17,7 @@ import {
17
17
  getDisplayRoot,
18
18
  redactSecrets,
19
19
  shortFingerprint
20
- } from "./token-goat-chunk-AAEYU2U2.mjs";
20
+ } from "./token-goat-chunk-TOGYS5A7.mjs";
21
21
  import {
22
22
  registerReset
23
23
  } from "./token-goat-chunk-EEIDFMEM.mjs";
@@ -33,7 +33,7 @@ import {
33
33
  normalizePath,
34
34
  resolveIndexPath,
35
35
  toDisplayPath
36
- } from "./token-goat-chunk-YCKCFYTM.mjs";
36
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
37
37
  import {
38
38
  init_define_import_meta_env
39
39
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -87,7 +87,7 @@ import {
87
87
  symbolNamesInFile,
88
88
  upsertNote,
89
89
  warnIfFilesStale
90
- } from "./token-goat-chunk-LKOYKSID.mjs";
90
+ } from "./token-goat-chunk-4CK445AW.mjs";
91
91
  import {
92
92
  DEFAULT_RECONCILE_BUDGET_MS,
93
93
  HOOK_EVENTS,
@@ -107,7 +107,7 @@ import {
107
107
  runReconcile,
108
108
  storeWebOutput,
109
109
  summarizeResidentContext
110
- } from "./token-goat-chunk-V53Z47ZH.mjs";
110
+ } from "./token-goat-chunk-A6QTLAWO.mjs";
111
111
  import {
112
112
  AGENT_SALT_MARKER,
113
113
  BASH_OUTPUT_SUBDIR,
@@ -240,7 +240,7 @@ import {
240
240
  visionTokensSavedByText,
241
241
  walkProject,
242
242
  writeCompact
243
- } from "./token-goat-chunk-SY7WTZMW.mjs";
243
+ } from "./token-goat-chunk-GM6QZWCF.mjs";
244
244
  import {
245
245
  C,
246
246
  CONFIG_KEY_ENV_OVERRIDES,
@@ -356,7 +356,7 @@ import {
356
356
  vscodeHooksInstalled,
357
357
  vscodeScopeFromFlags,
358
358
  vscodeUsesClaudeHooks
359
- } from "./token-goat-chunk-AAEYU2U2.mjs";
359
+ } from "./token-goat-chunk-TOGYS5A7.mjs";
360
360
  import {
361
361
  ENV_KEYS,
362
362
  LOCK_WAIT_MS_HARDENED,
@@ -425,7 +425,7 @@ import {
425
425
  withRetryOnLock,
426
426
  writeIfDifferent,
427
427
  writeJsonSettings
428
- } from "./token-goat-chunk-YCKCFYTM.mjs";
428
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
429
429
  import {
430
430
  __export,
431
431
  init_define_import_meta_env
@@ -16171,7 +16171,7 @@ async function cmdMcpServe() {
16171
16171
  let StdioServerTransport;
16172
16172
  try {
16173
16173
  ;
16174
- ({ createMcpServer } = await import("./token-goat-chunk-3ZALKJ23.mjs"));
16174
+ ({ createMcpServer } = await import("./token-goat-chunk-SBYRP3X4.mjs"));
16175
16175
  ({ StdioServerTransport } = await import("./token-goat-chunk-EVC4TOLE.mjs"));
16176
16176
  } catch (err2) {
16177
16177
  process.stderr.write(
@@ -16196,7 +16196,7 @@ async function cmdHook(event, opts) {
16196
16196
  if (typeof opts.harness === "string" && opts.harness.length > 0) {
16197
16197
  process.env[ENV_KEYS.HARNESS_OVERRIDE] = opts.harness;
16198
16198
  }
16199
- const { relay } = await import("./token-goat-chunk-PJPFOOGM.mjs");
16199
+ const { relay } = await import("./token-goat-chunk-VRWX6QYW.mjs");
16200
16200
  await relay(event);
16201
16201
  }
16202
16202
  function projectHooksCommitNote(pathFiles, hooksConfigPath) {
@@ -16233,7 +16233,7 @@ async function cmdInstall(opts) {
16233
16233
  if (opts.project === true && opts.user === true) {
16234
16234
  throw new Error("install takes either -p/--project or --user, not both.");
16235
16235
  }
16236
- await import("./token-goat-chunk-PJPFOOGM.mjs");
16236
+ await import("./token-goat-chunk-VRWX6QYW.mjs");
16237
16237
  const scope = opts.project === true ? "project" : "user";
16238
16238
  if (wantsClaudeCodeBase(opts)) {
16239
16239
  const result = installHooks(scope);
@@ -17236,7 +17236,7 @@ function emitExtraFileArgsNote(command, first, extras, opts = {}) {
17236
17236
  }
17237
17237
  async function cmdCompress(opts) {
17238
17238
  try {
17239
- const bashRunner = await import("./token-goat-chunk-4NZUXC4F.mjs");
17239
+ const bashRunner = await import("./token-goat-chunk-SF2CKCFQ.mjs");
17240
17240
  if (opts.compress === false) {
17241
17241
  process.exitCode = bashRunner.runRaw(opts.cmd, parseTimeout(opts.timeout, bashRunner.DEFAULT_TIMEOUT_SECONDS));
17242
17242
  return;
@@ -41,7 +41,7 @@ import {
41
41
  sessionStateKey,
42
42
  shortFingerprint,
43
43
  summarize
44
- } from "./token-goat-chunk-AAEYU2U2.mjs";
44
+ } from "./token-goat-chunk-TOGYS5A7.mjs";
45
45
  import {
46
46
  registerReset
47
47
  } from "./token-goat-chunk-EEIDFMEM.mjs";
@@ -103,7 +103,7 @@ import {
103
103
  toKB,
104
104
  tokenGoatHome,
105
105
  withFileLock
106
- } from "./token-goat-chunk-YCKCFYTM.mjs";
106
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
107
107
  import {
108
108
  __commonJS,
109
109
  __toESM,
@@ -2834,6 +2834,15 @@ init_define_import_meta_env();
2834
2834
  init_define_import_meta_env();
2835
2835
  import * as fs from "node:fs";
2836
2836
 
2837
+ // src/document_refusal.ts
2838
+ init_define_import_meta_env();
2839
+ var DocumentRefusedError = class extends Error {
2840
+ constructor(message, name) {
2841
+ super(message);
2842
+ this.name = name;
2843
+ }
2844
+ };
2845
+
2837
2846
  // src/lazy_module.ts
2838
2847
  init_define_import_meta_env();
2839
2848
  function createLazyModuleLoader(load3, errorLabel) {
@@ -3064,17 +3073,6 @@ function parseXml(xml) {
3064
3073
 
3065
3074
  // src/zip_bounds.ts
3066
3075
  init_define_import_meta_env();
3067
-
3068
- // src/document_refusal.ts
3069
- init_define_import_meta_env();
3070
- var DocumentRefusedError = class extends Error {
3071
- constructor(message, name) {
3072
- super(message);
3073
- this.name = name;
3074
- }
3075
- };
3076
-
3077
- // src/zip_bounds.ts
3078
3076
  var MAX_ZIP_INPUT_BYTES = 50 * 1024 * 1024;
3079
3077
  var MAX_ZIP_OUTPUT_BYTES = 500 * 1024 * 1024;
3080
3078
  var STREAM_CHUNK_BYTES = 64 * 1024;
@@ -3147,6 +3145,20 @@ function unzipBounded(mod, data, opts) {
3147
3145
  }
3148
3146
 
3149
3147
  // src/ooxml_extract.ts
3148
+ var MAX_OOXML_WORK_MILLIS = 6e4;
3149
+ var OoxmlTookTooLongError = class extends DocumentRefusedError {
3150
+ constructor(message) {
3151
+ super(message, "OoxmlTookTooLongError");
3152
+ }
3153
+ };
3154
+ function ooxmlWorkDeadline() {
3155
+ return Date.now() + MAX_OOXML_WORK_MILLIS;
3156
+ }
3157
+ function assertOoxmlWithinDeadline(deadline, hint) {
3158
+ if (Date.now() > deadline) {
3159
+ throw new OoxmlTookTooLongError(`reading this document's slides/sheets passed the ${MAX_OOXML_WORK_MILLIS}ms limit. ${hint}`);
3160
+ }
3161
+ }
3150
3162
  var loadFflate = createLazyModuleLoader(
3151
3163
  async () => await import("fflate"),
3152
3164
  "office-file reading disabled (fflate unavailable)"
@@ -3166,9 +3178,7 @@ async function readOoxmlZip(filePath, kind) {
3166
3178
  throw new Error(accessFailureMessage(err, filePath), { cause: err });
3167
3179
  }
3168
3180
  if (!stat2.isFile()) throw new Error(`not a valid ${kind} file: ${filePath}`);
3169
- if (stat2.size > MAX_ZIP_INPUT_BYTES) {
3170
- throw new Error(`${filePath} is ${Math.round(stat2.size / (1024 * 1024))}MB, over the ${MAX_ZIP_INPUT_BYTES / (1024 * 1024)}MB limit for OOXML files`);
3171
- }
3181
+ if (stat2.size > MAX_ZIP_INPUT_BYTES) throw new ZipInputTooLargeError(filePath, stat2.size, MAX_ZIP_INPUT_BYTES);
3172
3182
  let data;
3173
3183
  try {
3174
3184
  data = fs.readFileSync(filePath);
@@ -3400,8 +3410,7 @@ async function pptxOutline(filePath) {
3400
3410
  }
3401
3411
  return out;
3402
3412
  }
3403
- async function pptxSlideText(filePath, slideNumber, includeNotes) {
3404
- const { entries, slidePaths } = await listSlideParts(filePath);
3413
+ async function slideTextFromParts(entries, slidePaths, slideNumber, includeNotes) {
3405
3414
  if (slideNumber < 1 || slideNumber > slidePaths.length) {
3406
3415
  throw new Error(`slide ${slideNumber} out of range (this deck has ${slidePaths.length} slides)`);
3407
3416
  }
@@ -3416,6 +3425,19 @@ async function pptxSlideText(filePath, slideNumber, includeNotes) {
3416
3425
  }
3417
3426
  return lines2.join("\n\n");
3418
3427
  }
3428
+ async function pptxSlideText(filePath, slideNumber, includeNotes) {
3429
+ const { entries, slidePaths } = await listSlideParts(filePath);
3430
+ return slideTextFromParts(entries, slidePaths, slideNumber, includeNotes);
3431
+ }
3432
+ async function pptxAllSlidesText(filePath, includeNotes, deadline = ooxmlWorkDeadline()) {
3433
+ const { entries, slidePaths } = await listSlideParts(filePath);
3434
+ const slideTexts = [];
3435
+ for (let i = 1; i <= slidePaths.length; i++) {
3436
+ assertOoxmlWithinDeadline(deadline, "Narrow the read to specific slides with pptx-slide, or use a smaller deck.");
3437
+ slideTexts.push(await slideTextFromParts(entries, slidePaths, i, includeNotes));
3438
+ }
3439
+ return slideTexts.join("\n\n");
3440
+ }
3419
3441
  async function pptxNotesText(filePath, slideNumber) {
3420
3442
  const { entries, slidePaths } = await listSlideParts(filePath);
3421
3443
  const targets = slideNumber !== void 0 ? [slideNumber] : slidePaths.map((_, i) => i + 1);
@@ -5622,10 +5644,13 @@ function requireSheet(wb, sheetName) {
5622
5644
  return ws;
5623
5645
  }
5624
5646
  var MAX_XLSX_SCAN_CELLS = 2e7;
5625
- function assertCellCount(cells, extent, hint) {
5626
- if (cells > MAX_XLSX_SCAN_CELLS) {
5627
- throw new Error(`${extent} (${cells.toLocaleString()} cells), over the ${MAX_XLSX_SCAN_CELLS.toLocaleString()}-cell scan limit; ${hint}`);
5647
+ var XlsxScanTooLargeError = class extends DocumentRefusedError {
5648
+ constructor(extent, cells, hint) {
5649
+ super(`${extent} (${cells.toLocaleString()} cells), over the ${MAX_XLSX_SCAN_CELLS.toLocaleString()}-cell scan limit; ${hint}`, "XlsxScanTooLargeError");
5628
5650
  }
5651
+ };
5652
+ function assertCellCount(cells, extent, hint) {
5653
+ if (cells > MAX_XLSX_SCAN_CELLS) throw new XlsxScanTooLargeError(extent, cells, hint);
5629
5654
  }
5630
5655
  function assertScannableExtent(ws) {
5631
5656
  assertCellCount(
@@ -5723,9 +5748,7 @@ async function listSheets(filePath) {
5723
5748
  return { name: ws.name, ref: ref2, rows, cols };
5724
5749
  });
5725
5750
  }
5726
- async function headSheet(filePath, sheetName, rows) {
5727
- const wb = await loadWorkbook(filePath);
5728
- const ws = requireSheet(wb, sheetName);
5751
+ function headSheetFromWorksheet(ws, rows) {
5729
5752
  assertScannableExtent(ws);
5730
5753
  const rowCount = ws.rowCount || 0;
5731
5754
  const aoa = [];
@@ -5754,6 +5777,21 @@ async function headSheet(filePath, sheetName, rows) {
5754
5777
  }
5755
5778
  return lines2.join("\n");
5756
5779
  }
5780
+ async function headSheet(filePath, sheetName, rows) {
5781
+ const wb = await loadWorkbook(filePath);
5782
+ const ws = requireSheet(wb, sheetName);
5783
+ return headSheetFromWorksheet(ws, rows);
5784
+ }
5785
+ async function allSheetsHeadText(filePath, rows, deadline = ooxmlWorkDeadline()) {
5786
+ const wb = await loadWorkbook(filePath);
5787
+ const sheetTexts = [];
5788
+ for (const ws of wb.worksheets) {
5789
+ assertOoxmlWithinDeadline(deadline, "Narrow the read to specific sheets with xlsx-head, or use a smaller workbook.");
5790
+ sheetTexts.push(`# Sheet: ${ws.name}
5791
+ ${headSheetFromWorksheet(ws, rows)}`);
5792
+ }
5793
+ return sheetTexts.join("\n\n");
5794
+ }
5757
5795
  async function rangeSheet(filePath, sheetName, rangeSpec, showFormulas) {
5758
5796
  const wb = await loadWorkbook(filePath);
5759
5797
  const ws = requireSheet(wb, sheetName);
@@ -5952,7 +5990,7 @@ function reconstructLayout(items, deadline) {
5952
5990
  const y = item.transform[5];
5953
5991
  const home = bucketOf(y);
5954
5992
  let found = -1;
5955
- for (let bucket = home - 1; bucket <= home + 1; bucket++) {
5993
+ for (const bucket of [home - 1, home, home + 1]) {
5956
5994
  for (const row of byBucket.get(bucket) ?? []) {
5957
5995
  const last = rows[row][rows[row].length - 1];
5958
5996
  if (Math.abs(last.transform[5] - y) < Y_EPSILON && (found === -1 || row < found)) found = row;
@@ -6190,24 +6228,10 @@ async function extractEmbeddableDocumentText(filePath) {
6190
6228
  }
6191
6229
  case ".docx":
6192
6230
  return await docxText(filePath);
6193
- case ".pptx": {
6194
- const outline = await pptxOutline(filePath);
6195
- const slideTexts = [];
6196
- for (let i = 1; i <= outline.length; i++) {
6197
- slideTexts.push(await pptxSlideText(filePath, i, true));
6198
- }
6199
- return slideTexts.join("\n\n");
6200
- }
6201
- case ".xlsx": {
6202
- const sheets = await listSheets(filePath);
6203
- const sheetTexts = [];
6204
- for (const sheet of sheets) {
6205
- const body = await headSheet(filePath, sheet.name, XLSX_SHEET_ROW_CAP);
6206
- sheetTexts.push(`# Sheet: ${sheet.name}
6207
- ${body}`);
6208
- }
6209
- return sheetTexts.join("\n\n");
6210
- }
6231
+ case ".pptx":
6232
+ return await pptxAllSlidesText(filePath, true);
6233
+ case ".xlsx":
6234
+ return await allSheetsHeadText(filePath, XLSX_SHEET_ROW_CAP);
6211
6235
  default:
6212
6236
  return null;
6213
6237
  }
@@ -13570,7 +13594,7 @@ function parseSourceSymbolsTreeSitterOnly(content, filePath, language) {
13570
13594
  var REGEX_ADAPTERS_SLOT = /* @__PURE__ */ Symbol.for("token-goat.regex-adapters");
13571
13595
  var adapterSlot = globalThis;
13572
13596
  async function loadRegexExtractors() {
13573
- adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-Y5VKNLVD.mjs");
13597
+ adapterSlot[REGEX_ADAPTERS_SLOT] ??= await import("./token-goat-chunk-OTW7LC4Y.mjs");
13574
13598
  }
13575
13599
  function regexAdapters() {
13576
13600
  const loaded = adapterSlot[REGEX_ADAPTERS_SLOT];
@@ -8,14 +8,14 @@ import {
8
8
  leftoverIntegrations,
9
9
  run,
10
10
  visualStudioManualSteps
11
- } from "./token-goat-chunk-MRZ555B3.mjs";
12
- import "./token-goat-chunk-LKOYKSID.mjs";
13
- import "./token-goat-chunk-2ZUPQYLO.mjs";
14
- import "./token-goat-chunk-V53Z47ZH.mjs";
15
- import "./token-goat-chunk-SY7WTZMW.mjs";
16
- import "./token-goat-chunk-AAEYU2U2.mjs";
11
+ } from "./token-goat-chunk-GCXX67HM.mjs";
12
+ import "./token-goat-chunk-4CK445AW.mjs";
13
+ import "./token-goat-chunk-6F5TLJC7.mjs";
14
+ import "./token-goat-chunk-A6QTLAWO.mjs";
15
+ import "./token-goat-chunk-GM6QZWCF.mjs";
16
+ import "./token-goat-chunk-TOGYS5A7.mjs";
17
17
  import "./token-goat-chunk-EEIDFMEM.mjs";
18
- import "./token-goat-chunk-YCKCFYTM.mjs";
18
+ import "./token-goat-chunk-LOCOX2ML.mjs";
19
19
  import "./token-goat-chunk-A37V4PBF.mjs";
20
20
  export {
21
21
  applyExitOverride,
@@ -9,7 +9,7 @@ init_define_import_meta_env();
9
9
  import { createRequire } from "node:module";
10
10
  function resolveVersion() {
11
11
  if (true) {
12
- return "2.9.11";
12
+ return "2.9.12";
13
13
  }
14
14
  const require2 = createRequire(import.meta.url);
15
15
  const pkg = require2("../package.json");
@@ -25,7 +25,7 @@ import {
25
25
  extractSwift,
26
26
  extractThrift,
27
27
  extractWgsl
28
- } from "./token-goat-chunk-2ZUPQYLO.mjs";
28
+ } from "./token-goat-chunk-6F5TLJC7.mjs";
29
29
  import {
30
30
  assignBraceBlockSpans,
31
31
  assignFlatEndLines,
@@ -56,7 +56,7 @@ import {
56
56
  stripMultilineStringSpan,
57
57
  stripStringLiterals,
58
58
  stripXmlComments
59
- } from "./token-goat-chunk-YCKCFYTM.mjs";
59
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
60
60
  import {
61
61
  init_define_import_meta_env
62
62
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -25,8 +25,8 @@ import {
25
25
  runSkeleton,
26
26
  runSymbol,
27
27
  withPinnedReads
28
- } from "./token-goat-chunk-LKOYKSID.mjs";
29
- import "./token-goat-chunk-2ZUPQYLO.mjs";
28
+ } from "./token-goat-chunk-4CK445AW.mjs";
29
+ import "./token-goat-chunk-6F5TLJC7.mjs";
30
30
  import {
31
31
  buildProjectMap,
32
32
  embeddingsDepsAvailable,
@@ -35,7 +35,7 @@ import {
35
35
  getProjectIndexCounts,
36
36
  isWorkerRunning,
37
37
  mapLookupBytesSaved
38
- } from "./token-goat-chunk-SY7WTZMW.mjs";
38
+ } from "./token-goat-chunk-GM6QZWCF.mjs";
39
39
  import {
40
40
  envStrList,
41
41
  getDb,
@@ -43,7 +43,7 @@ import {
43
43
  recordStat,
44
44
  resolveProjectRoot,
45
45
  savedTokensFromBytes
46
- } from "./token-goat-chunk-AAEYU2U2.mjs";
46
+ } from "./token-goat-chunk-TOGYS5A7.mjs";
47
47
  import "./token-goat-chunk-EEIDFMEM.mjs";
48
48
  import {
49
49
  ENV_KEYS,
@@ -54,7 +54,7 @@ import {
54
54
  foldCaseForContainment,
55
55
  globalDbPath,
56
56
  normalizePath
57
- } from "./token-goat-chunk-YCKCFYTM.mjs";
57
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
58
58
  import {
59
59
  init_define_import_meta_env
60
60
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -3,7 +3,7 @@ const require = __cjsRequire(import.meta.url);
3
3
  import {
4
4
  deliveredOutputBytes,
5
5
  wrappedShell
6
- } from "./token-goat-chunk-FDURVZQD.mjs";
6
+ } from "./token-goat-chunk-6NIGPPN6.mjs";
7
7
  import {
8
8
  ToolFilter,
9
9
  capTokens,
@@ -15,9 +15,9 @@ import {
15
15
  recordStat,
16
16
  selectFilter,
17
17
  shlexSplit
18
- } from "./token-goat-chunk-AAEYU2U2.mjs";
18
+ } from "./token-goat-chunk-TOGYS5A7.mjs";
19
19
  import "./token-goat-chunk-EEIDFMEM.mjs";
20
- import "./token-goat-chunk-YCKCFYTM.mjs";
20
+ import "./token-goat-chunk-LOCOX2ML.mjs";
21
21
  import {
22
22
  init_define_import_meta_env
23
23
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  canRunWrappedShell,
5
5
  clipToDeliveryCap,
6
6
  deliveredOutputBytes
7
- } from "./token-goat-chunk-FDURVZQD.mjs";
7
+ } from "./token-goat-chunk-6NIGPPN6.mjs";
8
8
  import {
9
9
  DEFAULT_RECONCILE_BUDGET_MS,
10
10
  HOOK_EVENTS,
@@ -22,7 +22,7 @@ import {
22
22
  storeWebOutput,
23
23
  summarizeResidentContext,
24
24
  taskListPruneHint
25
- } from "./token-goat-chunk-V53Z47ZH.mjs";
25
+ } from "./token-goat-chunk-A6QTLAWO.mjs";
26
26
  import {
27
27
  BASH_OUTPUT_SUBDIR,
28
28
  GENERIC_SERVED_OUTPUT_KEY,
@@ -131,7 +131,7 @@ import {
131
131
  wasCliReadThisSession,
132
132
  wasFileReadThisSession,
133
133
  wasHintShown
134
- } from "./token-goat-chunk-SY7WTZMW.mjs";
134
+ } from "./token-goat-chunk-GM6QZWCF.mjs";
135
135
  import {
136
136
  BODY_FIRST_TOOL_RESPONSE_KEYS,
137
137
  OUTPUT_FIRST_TOOL_RESPONSE_KEYS,
@@ -180,7 +180,7 @@ import {
180
180
  shortFingerprint,
181
181
  splitOwnTrailingNotices,
182
182
  stripAnsiEscapes
183
- } from "./token-goat-chunk-AAEYU2U2.mjs";
183
+ } from "./token-goat-chunk-TOGYS5A7.mjs";
184
184
  import {
185
185
  ENV_KEYS,
186
186
  IDENTICAL_READ_MIN_BODY_BYTES,
@@ -207,7 +207,7 @@ import {
207
207
  runGit,
208
208
  toDisplayPath,
209
209
  toKB
210
- } from "./token-goat-chunk-YCKCFYTM.mjs";
210
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
211
211
  import {
212
212
  init_define_import_meta_env
213
213
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -927,7 +927,7 @@ init_define_import_meta_env();
927
927
  var TRACKED_SKILL = "token-goat";
928
928
  var MAX_COMMANDS_SHOWN = 8;
929
929
  async function currentCommandNames() {
930
- const { buildProgram } = await import("./token-goat-chunk-HDL77BN3.mjs");
930
+ const { buildProgram } = await import("./token-goat-chunk-HKFOH6JH.mjs");
931
931
  return flattenCommandNames(buildCommandManifest(buildProgram()));
932
932
  }
933
933
  async function recordSkillVersionSnapshot(sessionId, skillName) {
@@ -58,7 +58,7 @@ import {
58
58
  withInstallScope,
59
59
  writeIfDifferent,
60
60
  writeJsonSettings
61
- } from "./token-goat-chunk-YCKCFYTM.mjs";
61
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
62
62
  import {
63
63
  init_define_import_meta_env
64
64
  } from "./token-goat-chunk-A37V4PBF.mjs";
@@ -4,16 +4,16 @@ import {
4
4
  buildEvent,
5
5
  relay,
6
6
  relayInProcess
7
- } from "./token-goat-chunk-MKITQ5RY.mjs";
8
- import "./token-goat-chunk-FDURVZQD.mjs";
7
+ } from "./token-goat-chunk-THLHC6QJ.mjs";
8
+ import "./token-goat-chunk-6NIGPPN6.mjs";
9
9
  import {
10
10
  MAX_STDIN_BYTES,
11
11
  readStdinJson
12
- } from "./token-goat-chunk-V53Z47ZH.mjs";
13
- import "./token-goat-chunk-SY7WTZMW.mjs";
14
- import "./token-goat-chunk-AAEYU2U2.mjs";
12
+ } from "./token-goat-chunk-A6QTLAWO.mjs";
13
+ import "./token-goat-chunk-GM6QZWCF.mjs";
14
+ import "./token-goat-chunk-TOGYS5A7.mjs";
15
15
  import "./token-goat-chunk-EEIDFMEM.mjs";
16
- import "./token-goat-chunk-YCKCFYTM.mjs";
16
+ import "./token-goat-chunk-LOCOX2ML.mjs";
17
17
  import "./token-goat-chunk-A37V4PBF.mjs";
18
18
  export {
19
19
  MAX_STDIN_BYTES,
@@ -2,13 +2,13 @@ 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-MKITQ5RY.mjs";
6
- import "./token-goat-chunk-FDURVZQD.mjs";
7
- import "./token-goat-chunk-V53Z47ZH.mjs";
8
- import "./token-goat-chunk-SY7WTZMW.mjs";
9
- import "./token-goat-chunk-AAEYU2U2.mjs";
5
+ } from "./token-goat-chunk-THLHC6QJ.mjs";
6
+ import "./token-goat-chunk-6NIGPPN6.mjs";
7
+ import "./token-goat-chunk-A6QTLAWO.mjs";
8
+ import "./token-goat-chunk-GM6QZWCF.mjs";
9
+ import "./token-goat-chunk-TOGYS5A7.mjs";
10
10
  import "./token-goat-chunk-EEIDFMEM.mjs";
11
- import "./token-goat-chunk-YCKCFYTM.mjs";
11
+ import "./token-goat-chunk-LOCOX2ML.mjs";
12
12
  import {
13
13
  init_define_import_meta_env
14
14
  } from "./token-goat-chunk-A37V4PBF.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
  run
5
- } from "./token-goat-chunk-MRZ555B3.mjs";
6
- import "./token-goat-chunk-LKOYKSID.mjs";
7
- import "./token-goat-chunk-2ZUPQYLO.mjs";
8
- import "./token-goat-chunk-V53Z47ZH.mjs";
9
- import "./token-goat-chunk-SY7WTZMW.mjs";
10
- import "./token-goat-chunk-AAEYU2U2.mjs";
5
+ } from "./token-goat-chunk-GCXX67HM.mjs";
6
+ import "./token-goat-chunk-4CK445AW.mjs";
7
+ import "./token-goat-chunk-6F5TLJC7.mjs";
8
+ import "./token-goat-chunk-A6QTLAWO.mjs";
9
+ import "./token-goat-chunk-GM6QZWCF.mjs";
10
+ import "./token-goat-chunk-TOGYS5A7.mjs";
11
11
  import "./token-goat-chunk-EEIDFMEM.mjs";
12
12
  import {
13
13
  installEpipeGuard
14
- } from "./token-goat-chunk-YCKCFYTM.mjs";
14
+ } from "./token-goat-chunk-LOCOX2ML.mjs";
15
15
  import {
16
16
  init_define_import_meta_env
17
17
  } from "./token-goat-chunk-A37V4PBF.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "token-goat",
3
- "version": "2.9.11",
3
+ "version": "2.9.12",
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",