token-goat 2.6.32 → 2.6.33

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 (35) hide show
  1. package/README.md +20 -1
  2. package/dist/{token-goat-chunk-W3MX4LQV.mjs → token-goat-chunk-72R7M5H7.mjs} +6 -9
  3. package/dist/{token-goat-chunk-DNEPSN3P.mjs → token-goat-chunk-77CX3MCN.mjs} +4 -7
  4. package/dist/token-goat-chunk-AEX54RUZ.mjs +11 -0
  5. package/dist/{token-goat-chunk-3KW5C2KQ.mjs → token-goat-chunk-AO2QD2AG.mjs} +0 -4
  6. package/dist/{token-goat-hook-chunk-TKXOXN4J.mjs → token-goat-chunk-DG53MVNJ.mjs} +2 -98
  7. package/dist/{token-goat-chunk-N53GXI2Z.mjs → token-goat-chunk-FN6WLFIX.mjs} +14 -32
  8. package/dist/{token-goat-chunk-YWYITDOS.mjs → token-goat-chunk-G6XLWJWI.mjs} +2 -5
  9. package/dist/{token-goat-chunk-TBCLQTPG.mjs → token-goat-chunk-HPWPUBAK.mjs} +7 -7
  10. package/dist/{token-goat-chunk-DFBD2FFU.mjs → token-goat-chunk-L6FVTDPD.mjs} +9 -121
  11. package/dist/{token-goat-chunk-O7TGKV5I.mjs → token-goat-chunk-OHQ7RBLL.mjs} +23 -24
  12. package/dist/{token-goat-chunk-RD6O3PJU.mjs → token-goat-chunk-RPOXYJWK.mjs} +3642 -3329
  13. package/dist/{token-goat-chunk-GWZJ5SI2.mjs → token-goat-chunk-RQQ4SY2P.mjs} +1 -31
  14. package/dist/{token-goat-chunk-X5OPORR4.mjs → token-goat-chunk-TDYTBCT4.mjs} +1031 -1784
  15. package/dist/{token-goat-chunk-5EXIMDHA.mjs → token-goat-chunk-WFRR2DBG.mjs} +1131 -51
  16. package/dist/{token-goat-hook-chunk-UXD3B4OY.mjs → token-goat-hook-chunk-26DLRODR.mjs} +4 -7
  17. package/dist/{token-goat-chunk-4M7PSAO3.mjs → token-goat-hook-chunk-3QYSN4QV.mjs} +2 -98
  18. package/dist/{token-goat-hook-chunk-J2ZK2FYW.mjs → token-goat-hook-chunk-BUOCULAM.mjs} +0 -4
  19. package/dist/{token-goat-hook-chunk-DHW6SRHR.mjs → token-goat-hook-chunk-E6AIPKNF.mjs} +1131 -51
  20. package/dist/{token-goat-hook-chunk-TBJ5PUPQ.mjs → token-goat-hook-chunk-EKGDLI4D.mjs} +6 -9
  21. package/dist/{token-goat-hook-chunk-VHZECEQD.mjs → token-goat-hook-chunk-HXHFLKEL.mjs} +1 -31
  22. package/dist/{token-goat-hook-chunk-DJZGX27J.mjs → token-goat-hook-chunk-QD2DX2U7.mjs} +7 -120
  23. package/dist/token-goat-hook-chunk-RFRLWOQH.mjs +11 -0
  24. package/dist/{token-goat-hook-chunk-WBTHUYJP.mjs → token-goat-hook-chunk-UWV4MTYI.mjs} +1039 -1790
  25. package/dist/{token-goat-hook-chunk-Q5URQRIF.mjs → token-goat-hook-chunk-VDXQXYJK.mjs} +14 -32
  26. package/dist/{token-goat-hook-chunk-6NF4WM2U.mjs → token-goat-hook-chunk-WBBHV6TZ.mjs} +3643 -3330
  27. package/dist/token-goat-hook-chunk-XBOWDNJB.mjs +23 -0
  28. package/dist/{token-goat-hook-chunk-PCP4W65Z.mjs → token-goat-hook-chunk-XUMIVYEN.mjs} +2 -5
  29. package/dist/{token-goat-hook-chunk-LFYT4DLB.mjs → token-goat-hook-chunk-ZT47M3IA.mjs} +23 -24
  30. package/dist/token-goat-hook.mjs +7 -12
  31. package/dist/token-goat.core.mjs +7 -10
  32. package/package.json +13 -33
  33. package/dist/token-goat-chunk-3UOG7PSZ.mjs +0 -63
  34. package/dist/token-goat-hook-chunk-ANFXTEQO.mjs +0 -23
  35. package/dist/token-goat-hook-chunk-K33JMLL7.mjs +0 -63
@@ -4,13 +4,9 @@ import {
4
4
  loadConfig,
5
5
  redactSecrets,
6
6
  stripAnsiCodes
7
- } from "./token-goat-chunk-5EXIMDHA.mjs";
8
- import {
9
- init_define_import_meta_env
10
- } from "./token-goat-chunk-3UOG7PSZ.mjs";
7
+ } from "./token-goat-chunk-WFRR2DBG.mjs";
11
8
 
12
9
  // src/tool_filters/helpers.ts
13
- init_define_import_meta_env();
14
10
  import * as fs from "node:fs";
15
11
  import * as path from "node:path";
16
12
  var DEFAULT_MAX_LINES = 1e3;
@@ -593,7 +589,6 @@ function byteLength(s) {
593
589
  }
594
590
 
595
591
  // src/tool_filters/base.ts
596
- init_define_import_meta_env();
597
592
  var DEFAULT_MIN_NET_SAVINGS_BYTES = 100;
598
593
  function resolveMinNetSavingsBytes() {
599
594
  try {
@@ -828,11 +823,7 @@ ${body}`;
828
823
  }
829
824
  };
830
825
 
831
- // src/tool_filters/dispatch.ts
832
- init_define_import_meta_env();
833
-
834
826
  // src/tool_filters/generic.ts
835
- init_define_import_meta_env();
836
827
  var GenericFilter = class extends ToolFilter {
837
828
  name = "generic";
838
829
  compress(stdout, stderr, _exitCode, _argv) {
@@ -853,7 +844,6 @@ ${errPart}` : errPart;
853
844
  };
854
845
 
855
846
  // src/tool_filters/go_test.ts
856
- init_define_import_meta_env();
857
847
  var TEST_RUN_RE = /^=== (RUN|PAUSE|CONT|NAME)\s/;
858
848
  var RACE_FENCE_RE = /^={10,}\s*$/;
859
849
  var RACE_WARNING_RE = /^WARNING: DATA RACE/;
@@ -1054,11 +1044,7 @@ var GoTestFilter = class extends ToolFilter {
1054
1044
  };
1055
1045
  var goTestFilter = new GoTestFilter();
1056
1046
 
1057
- // src/tool_filters/ai_clis.ts
1058
- init_define_import_meta_env();
1059
-
1060
1047
  // src/tool_filters/families.ts
1061
- init_define_import_meta_env();
1062
1048
  function plural(n, suffix = "s") {
1063
1049
  return n === 1 ? "" : suffix;
1064
1050
  }
@@ -1740,7 +1726,6 @@ var AI_CLI_FILTERS = [
1740
1726
  ];
1741
1727
 
1742
1728
  // src/tool_filters/build.ts
1743
- init_define_import_meta_env();
1744
1729
  var MAKE_RECURSE_RE = /^make\[\d+\]: (?:Entering|Leaving) directory/;
1745
1730
  var MAKE_PERCENT_RE = /^\[\s*\d+%\] (?:Building|Linking|Scanning|Generating|Installing|Compiling)\b/;
1746
1731
  var MAKE_ECHO_RE = /^\s*(?:echo|cc|gcc|clang|g\+\+)\b.*(?<![Ee]rror|[Ww]arning)/;
@@ -3226,7 +3211,6 @@ var BUILD_FILTERS = [
3226
3211
  ];
3227
3212
 
3228
3213
  // src/tool_filters/ci.ts
3229
- init_define_import_meta_env();
3230
3214
  var _GH_RUN_PASS_STEP_RE = /^\s*[✓√]\s/;
3231
3215
  var _GH_RUN_FAIL_STEP_RE = /^\s*[X✗❌]\s|^\s*FAIL(:|ED|URE)\b|^\s*Error:\s/;
3232
3216
  var _GH_API_URL_SUFFIX = "_url";
@@ -4027,7 +4011,6 @@ var CI_FILTERS = [
4027
4011
  ];
4028
4012
 
4029
4013
  // src/tool_filters/cloud.ts
4030
- init_define_import_meta_env();
4031
4014
  var _TF_REFRESH_RE = /^[a-z0-9_.[\]"-]+: (Refreshing state|Reading|Read complete|Still |Modifications complete)/;
4032
4015
  var _TF_PLAN_SUMMARY_RE = /^Plan: \d+ to (add|change|destroy|import)/;
4033
4016
  var _TF_NO_CHANGES_RE = /^No changes\.|^(?:This plan does nothing|Nothing to do\.)/i;
@@ -5447,7 +5430,6 @@ var CLOUD_FILTERS = [
5447
5430
  ];
5448
5431
 
5449
5432
  // src/tool_filters/shell_file.ts
5450
- init_define_import_meta_env();
5451
5433
  var _GREP_COMPRESS_THRESHOLD = 30;
5452
5434
  var _GREP_MAX_FILE_LINES = 20;
5453
5435
  var GrepFilter = class extends ToolFilter {
@@ -6550,7 +6532,6 @@ var SHELL_FILE_FILTERS = [
6550
6532
  ];
6551
6533
 
6552
6534
  // src/tool_filters/languages.ts
6553
- init_define_import_meta_env();
6554
6535
  var NODE_INTERNAL_FRAME_RE = /^\s{4}at\s+(?:node:|.+\s+\(node:)/;
6555
6536
  var NODE_MODULES_FRAME_RE = /^\s{4}at\s+.*[/\\]node_modules[/\\]/;
6556
6537
  var NodeFilter = class extends ToolFilter {
@@ -7775,7 +7756,6 @@ var LANGUAGE_FILTERS = [
7775
7756
  ];
7776
7757
 
7777
7758
  // src/tool_filters/misc.ts
7778
- init_define_import_meta_env();
7779
7759
  var PW_PASS_RE = /^\s+[✓✔]\s/;
7780
7760
  var PW_DOWNLOAD_RE = /^\s*(Downloading|Downloaded|Installing)\s+\w|^\s*[\d.]+\s+[KMG]b\s+\[/i;
7781
7761
  var PlaywrightFilter = class _PlaywrightFilter extends ToolFilter {
@@ -9173,7 +9153,6 @@ var MISC_FILTERS = [
9173
9153
  ];
9174
9154
 
9175
9155
  // src/tool_filters/containers.ts
9176
- init_define_import_meta_env();
9177
9156
  var _DOCKER_DIGEST_RE = /^\s*#\d+\s+(sha256:[a-f0-9]{8,}|resolve\s)/;
9178
9157
  var _DOCKER_PROGRESS_RE = /^\s*#\d+\s+\d+(?:\.\d+)?(?:MB|kB|GB)\s+\//;
9179
9158
  var _DOCKER_STEP_RE = /^\s*=>\s|^\s*#\d+\s+\[(internal|build|stage)/;
@@ -9835,7 +9814,6 @@ var CONTAINER_FILTERS = [
9835
9814
  ];
9836
9815
 
9837
9816
  // src/tool_filters/git.ts
9838
- init_define_import_meta_env();
9839
9817
  var _GIT_VALUE_FLAGS = /* @__PURE__ */ new Set([
9840
9818
  "-m",
9841
9819
  "--message",
@@ -10877,7 +10855,6 @@ var GIT_FILTERS = [
10877
10855
  ];
10878
10856
 
10879
10857
  // src/tool_filters/linters.ts
10880
- init_define_import_meta_env();
10881
10858
  var _ESLINT_LOC_RE = /^\s+\d+:\d+\s+(error|warning|info)\s/;
10882
10859
  var _ESLINT_FILE_RE = /^(?:\/|[A-Za-z]:|[a-zA-Z0-9_./-]+\.(?:js|jsx|ts|tsx|mjs|cjs|vue))/;
10883
10860
  var _ESLINT_SUMMARY_RE = /^[✖✗✘x×]\s+\d+\s+problem/;
@@ -12218,7 +12195,6 @@ var LINTER_FILTERS = [
12218
12195
  ];
12219
12196
 
12220
12197
  // src/tool_filters/package_managers.ts
12221
- init_define_import_meta_env();
12222
12198
  function dedupLines(lines, maxPerKey = 1, keyFn = (l) => l.trim()) {
12223
12199
  const seen = /* @__PURE__ */ new Map();
12224
12200
  const out = [];
@@ -13290,7 +13266,6 @@ var PACKAGE_MANAGER_FILTERS = [
13290
13266
  ];
13291
13267
 
13292
13268
  // src/tool_filters/pytest.ts
13293
- init_define_import_meta_env();
13294
13269
  var XDIST_PREFIX_RE = /^\[gw\d+\]\s*(?:\[\s*\d+%\]\s*)?/;
13295
13270
  var DOTS_RE = /^[.FxXEsS]+\s*(\[\s*\d+%\])?\s*$/;
13296
13271
  var BANNER_RE = /^(?:platform\s|cachedir:\s|rootdir:\s|plugins:\s|configfile:\s|bringing up\s|cacheprovider-)/;
@@ -13477,7 +13452,6 @@ var PytestFilter = class extends ToolFilter {
13477
13452
  var pytestFilter = new PytestFilter();
13478
13453
 
13479
13454
  // src/tool_filters/test_runners.ts
13480
- init_define_import_meta_env();
13481
13455
  var jestFilter = makeNodeTestRunnerFilter({
13482
13456
  name: "jest",
13483
13457
  binaries: ["jest", "mocha", "ava", "tap"],
@@ -13605,11 +13579,7 @@ function filterByName(name) {
13605
13579
  return null;
13606
13580
  }
13607
13581
 
13608
- // src/tool_filters/index.ts
13609
- init_define_import_meta_env();
13610
-
13611
13582
  // src/shell.ts
13612
- init_define_import_meta_env();
13613
13583
  import * as fs2 from "node:fs";
13614
13584
  import * as path2 from "node:path";
13615
13585
  var WSL_LAUNCHER_SEGMENTS = /* @__PURE__ */ new Set(["system32", "syswow64", "windowsapps"]);