token-goat 2.6.33 → 2.6.34

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 (24) hide show
  1. package/README.md +4 -0
  2. package/dist/{token-goat-chunk-WFRR2DBG.mjs → token-goat-chunk-7FWBSPCT.mjs} +446 -339
  3. package/dist/{token-goat-chunk-HPWPUBAK.mjs → token-goat-chunk-CKRATWCJ.mjs} +5 -5
  4. package/dist/{token-goat-chunk-TDYTBCT4.mjs → token-goat-chunk-CN7GUPX6.mjs} +328 -86
  5. package/dist/{token-goat-chunk-L6FVTDPD.mjs → token-goat-chunk-FRMEOIRU.mjs} +361 -23
  6. package/dist/{token-goat-chunk-RPOXYJWK.mjs → token-goat-chunk-GXBPEQR2.mjs} +70 -25
  7. package/dist/{token-goat-chunk-77CX3MCN.mjs → token-goat-chunk-I6EQH27G.mjs} +2 -2
  8. package/dist/{token-goat-chunk-FN6WLFIX.mjs → token-goat-chunk-IYYQOPY4.mjs} +801 -51
  9. package/dist/{token-goat-chunk-72R7M5H7.mjs → token-goat-chunk-L7QLEVO7.mjs} +3 -3
  10. package/dist/{token-goat-chunk-OHQ7RBLL.mjs → token-goat-chunk-OA3GFKP2.mjs} +2 -2
  11. package/dist/{token-goat-hook-chunk-HXHFLKEL.mjs → token-goat-chunk-WA2ER6TZ.mjs} +7 -2
  12. package/dist/{token-goat-chunk-RQQ4SY2P.mjs → token-goat-hook-chunk-2ISZ4AZR.mjs} +7 -2
  13. package/dist/{token-goat-hook-chunk-ZT47M3IA.mjs → token-goat-hook-chunk-6C5RN3CM.mjs} +2 -2
  14. package/dist/{token-goat-hook-chunk-UWV4MTYI.mjs → token-goat-hook-chunk-6QTWMSRO.mjs} +328 -86
  15. package/dist/{token-goat-hook-chunk-XBOWDNJB.mjs → token-goat-hook-chunk-ATEGFQAU.mjs} +5 -5
  16. package/dist/{token-goat-hook-chunk-QD2DX2U7.mjs → token-goat-hook-chunk-BU5OFDGQ.mjs} +361 -23
  17. package/dist/{token-goat-hook-chunk-E6AIPKNF.mjs → token-goat-hook-chunk-CNLMPHXT.mjs} +442 -335
  18. package/dist/{token-goat-hook-chunk-WBBHV6TZ.mjs → token-goat-hook-chunk-I5VM5PO5.mjs} +70 -25
  19. package/dist/{token-goat-hook-chunk-VDXQXYJK.mjs → token-goat-hook-chunk-KGLMNOGD.mjs} +801 -51
  20. package/dist/{token-goat-hook-chunk-EKGDLI4D.mjs → token-goat-hook-chunk-OQML5EMA.mjs} +3 -3
  21. package/dist/{token-goat-hook-chunk-26DLRODR.mjs → token-goat-hook-chunk-QTZ6YUMQ.mjs} +2 -2
  22. package/dist/token-goat-hook.mjs +5 -5
  23. package/dist/token-goat.core.mjs +5 -5
  24. package/package.json +8 -8
@@ -25,7 +25,7 @@ import {
25
25
  runSkeleton,
26
26
  runSymbol,
27
27
  withPinnedReads
28
- } from "./token-goat-chunk-FN6WLFIX.mjs";
28
+ } from "./token-goat-chunk-IYYQOPY4.mjs";
29
29
  import {
30
30
  buildProjectMap,
31
31
  embeddingsDepsAvailable,
@@ -34,7 +34,7 @@ import {
34
34
  getProjectIndexCounts,
35
35
  isWorkerRunning,
36
36
  mapLookupBytesSaved
37
- } from "./token-goat-chunk-TDYTBCT4.mjs";
37
+ } from "./token-goat-chunk-CN7GUPX6.mjs";
38
38
  import {
39
39
  VERSION,
40
40
  dataDir,
@@ -45,7 +45,7 @@ import {
45
45
  normalizePath,
46
46
  recordStat,
47
47
  resolveProjectRoot
48
- } from "./token-goat-chunk-WFRR2DBG.mjs";
48
+ } from "./token-goat-chunk-7FWBSPCT.mjs";
49
49
  import "./token-goat-chunk-AO2QD2AG.mjs";
50
50
  import "./token-goat-chunk-AEX54RUZ.mjs";
51
51
 
@@ -6,7 +6,7 @@ import {
6
6
  loadBlob,
7
7
  sanitizeFtsQuery,
8
8
  storeBlob
9
- } from "./token-goat-chunk-TDYTBCT4.mjs";
9
+ } from "./token-goat-chunk-CN7GUPX6.mjs";
10
10
  import {
11
11
  SYMBOL_BODY_CHAR_CAP,
12
12
  extractErrorMessage,
@@ -16,7 +16,7 @@ import {
16
16
  redactSecrets,
17
17
  runGit,
18
18
  shortFingerprint
19
- } from "./token-goat-chunk-WFRR2DBG.mjs";
19
+ } from "./token-goat-chunk-7FWBSPCT.mjs";
20
20
  import {
21
21
  registerReset
22
22
  } from "./token-goat-chunk-AO2QD2AG.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  loadConfig,
5
5
  redactSecrets,
6
6
  stripAnsiCodes
7
- } from "./token-goat-hook-chunk-E6AIPKNF.mjs";
7
+ } from "./token-goat-chunk-7FWBSPCT.mjs";
8
8
 
9
9
  // src/tool_filters/helpers.ts
10
10
  import * as fs from "node:fs";
@@ -3416,7 +3416,12 @@ var GhRunLogFilter = class extends ToolFilter {
3416
3416
  const name = pathName(first).toLowerCase();
3417
3417
  if (stem !== "gh" && name !== "gh") return false;
3418
3418
  const positionals = positionalArgs(argv.slice(1));
3419
- return positionals.length >= 2 && positionals[0] === "run" && positionals[1] === "view" && argv.includes("--log");
3419
+ return positionals.length >= 2 && positionals[0] === "run" && positionals[1] === "view" && // `--log-failed` is the CI-triage spelling and emits the identical
3420
+ // job/step/timestamp column format, so it needs this filter too. A plain
3421
+ // `argv.includes('--log')` is a whole-token test and never matches it,
3422
+ // which sent it to GhFilter -- whose pass-step regex anchors at line
3423
+ // start and so matches nothing while the column prefix is still present.
3424
+ (argv.includes("--log") || argv.includes("--log-failed"));
3420
3425
  }
3421
3426
  compress(stdout, stderr, _exitCode, _argv) {
3422
3427
  const merged = this.combineOutput(stdout, stderr);
@@ -4,7 +4,7 @@ import {
4
4
  loadConfig,
5
5
  redactSecrets,
6
6
  stripAnsiCodes
7
- } from "./token-goat-chunk-WFRR2DBG.mjs";
7
+ } from "./token-goat-hook-chunk-CNLMPHXT.mjs";
8
8
 
9
9
  // src/tool_filters/helpers.ts
10
10
  import * as fs from "node:fs";
@@ -3416,7 +3416,12 @@ var GhRunLogFilter = class extends ToolFilter {
3416
3416
  const name = pathName(first).toLowerCase();
3417
3417
  if (stem !== "gh" && name !== "gh") return false;
3418
3418
  const positionals = positionalArgs(argv.slice(1));
3419
- return positionals.length >= 2 && positionals[0] === "run" && positionals[1] === "view" && argv.includes("--log");
3419
+ return positionals.length >= 2 && positionals[0] === "run" && positionals[1] === "view" && // `--log-failed` is the CI-triage spelling and emits the identical
3420
+ // job/step/timestamp column format, so it needs this filter too. A plain
3421
+ // `argv.includes('--log')` is a whole-token test and never matches it,
3422
+ // which sent it to GhFilter -- whose pass-step regex anchors at line
3423
+ // start and so matches nothing while the column prefix is still present.
3424
+ (argv.includes("--log") || argv.includes("--log-failed"));
3420
3425
  }
3421
3426
  compress(stdout, stderr, _exitCode, _argv) {
3422
3427
  const merged = this.combineOutput(stdout, stderr);
@@ -6,7 +6,7 @@ import {
6
6
  loadBlob,
7
7
  sanitizeFtsQuery,
8
8
  storeBlob
9
- } from "./token-goat-hook-chunk-UWV4MTYI.mjs";
9
+ } from "./token-goat-hook-chunk-6QTWMSRO.mjs";
10
10
  import {
11
11
  SYMBOL_BODY_CHAR_CAP,
12
12
  extractErrorMessage,
@@ -16,7 +16,7 @@ import {
16
16
  redactSecrets,
17
17
  runGit,
18
18
  shortFingerprint
19
- } from "./token-goat-hook-chunk-E6AIPKNF.mjs";
19
+ } from "./token-goat-hook-chunk-CNLMPHXT.mjs";
20
20
  import {
21
21
  registerReset
22
22
  } from "./token-goat-hook-chunk-BUOCULAM.mjs";