@adhdev/daemon-standalone 1.0.58-rc.4 → 1.0.58-rc.5

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.
package/dist/index.js CHANGED
@@ -63,6 +63,7 @@ var require_config_dir = __commonJS({
63
63
  detectOccupiedConfigDir: () => detectOccupiedConfigDir2,
64
64
  formatOccupiedConfigDirWarning: () => formatOccupiedConfigDirWarning2,
65
65
  isCrossTrackConfigDirOverride: () => isCrossTrackConfigDirOverride,
66
+ isTestRuntimeEnv: () => isTestRuntimeEnv,
66
67
  otherTrackConfigDir: () => otherTrackConfigDir,
67
68
  resolveConfigDir: () => resolveConfigDir,
68
69
  resolveConfigLogsDir: () => resolveConfigLogsDir
@@ -104,17 +105,56 @@ var require_config_dir = __commonJS({
104
105
  }
105
106
  var IDENTITY = getTrackIdentity(TRACK);
106
107
  var DEFAULT_CONFIG_DIR_NAME = ".adhdev";
108
+ function isTestRuntimeEnv(env2 = process.env) {
109
+ if (env2.VITEST) return true;
110
+ if (env2.NODE_ENV === "test") return true;
111
+ if (env2.NODE_TEST_CONTEXT) return true;
112
+ return false;
113
+ }
107
114
  function resolveConfigDir(env2 = process.env, homeDir) {
108
115
  const override = env2.ADHDEV_CONFIG_DIR;
109
- if (override && override.trim()) return override.trim();
110
- assertConfigDirPinnedInTestRuntime(env2);
116
+ if (override && override.trim()) {
117
+ const resolved = override.trim();
118
+ assertConfigDirIsolatedInTestRuntime(env2, resolved);
119
+ return resolved;
120
+ }
121
+ assertConfigDirIsolatedInTestRuntime(env2);
111
122
  return (0, import_path2.join)(homeDir ?? (0, import_os2.homedir)(), getTrackIdentity(resolveBuildTrack(env2)).configDirName);
112
123
  }
113
- function assertConfigDirPinnedInTestRuntime(env2) {
124
+ function normalizeConfigPath(p, platform = process.platform) {
125
+ const unified = p.trim().replace(/[\\/]+$/, "").replace(/\\/g, "/");
126
+ return platform === "win32" ? unified.toLowerCase() : unified;
127
+ }
128
+ function liveTrackHomeDirs(homeDir = (0, import_os2.homedir)()) {
129
+ return [
130
+ (0, import_path2.join)(homeDir, getTrackIdentity("stable").configDirName),
131
+ (0, import_path2.join)(homeDir, getTrackIdentity("preview").configDirName)
132
+ ];
133
+ }
134
+ var ORIGINAL_HOME_DIR = typeof process.env.HOME === "string" && process.env.HOME.trim() !== "" ? process.env.HOME.trim() : typeof process.env.USERPROFILE === "string" ? process.env.USERPROFILE.trim() : "";
135
+ function isLiveTrackHomeDir(resolved, homeDir) {
136
+ const needle = normalizeConfigPath(resolved);
137
+ const bases = homeDir !== void 0 ? [homeDir] : [ORIGINAL_HOME_DIR].filter((v) => v !== "");
138
+ return bases.some((base) => liveTrackHomeDirs(base).some((live) => normalizeConfigPath(live) === needle));
139
+ }
140
+ function processLooksLikeNodeTestRunner() {
141
+ return process.execArgv.some((arg) => arg === "--test" || arg.startsWith("--test="));
142
+ }
143
+ function assertConfigDirIsolatedInTestRuntime(env2, resolvedOverride) {
114
144
  if (env2 !== process.env) return;
115
- if (!env2.VITEST && env2.NODE_ENV !== "test") return;
145
+ if (!isTestRuntimeEnv(env2) && !processLooksLikeNodeTestRunner()) return;
146
+ if (resolvedOverride) {
147
+ if (isLiveTrackHomeDir(resolvedOverride)) {
148
+ throw new Error(
149
+ `resolveConfigDir() is pinned to the LIVE ~/.adhdev(-preview) dir in a test runtime: a test inherited or re-assigned ADHDEV_CONFIG_DIR to the developer's real state dir (${resolvedOverride}). Pin ADHDEV_CONFIG_DIR to a tmp dir in test setup, or pass an explicit env/homeDir to resolveConfigDir.`
150
+ );
151
+ }
152
+ return;
153
+ }
154
+ const fallbackDir = (0, import_path2.join)((0, import_os2.homedir)(), getTrackIdentity(resolveBuildTrack(env2)).configDirName);
155
+ if (!isLiveTrackHomeDir(fallbackDir)) return;
116
156
  throw new Error(
117
- "resolveConfigDir() reached the real-home fallback in a test runtime with ADHDEV_CONFIG_DIR unset: a test is about to touch the LIVE ~/.adhdev(-preview) state dir. Pin ADHDEV_CONFIG_DIR to a tmp dir in test setup, or pass an explicit env/homeDir to resolveConfigDir."
157
+ `resolveConfigDir() reached the real-home fallback in a test runtime with ADHDEV_CONFIG_DIR unset: a test is about to touch the LIVE ${fallbackDir} state dir. Pin ADHDEV_CONFIG_DIR to a tmp dir in test setup, or pass an explicit env/homeDir to resolveConfigDir.`
118
158
  );
119
159
  }
120
160
  function resolveConfigLogsDir(env2 = process.env, homeDir) {
@@ -180,9 +220,9 @@ var require_config_dir = __commonJS({
180
220
  }
181
221
  });
182
222
 
183
- // ../../node_modules/js-yaml/lib/common.js
223
+ // ../../../node_modules/js-yaml/lib/common.js
184
224
  var require_common = __commonJS({
185
- "../../node_modules/js-yaml/lib/common.js"(exports2, module2) {
225
+ "../../../node_modules/js-yaml/lib/common.js"(exports2, module2) {
186
226
  "use strict";
187
227
  function isNothing2(subject) {
188
228
  return typeof subject === "undefined" || subject === null;
@@ -225,9 +265,9 @@ var require_common = __commonJS({
225
265
  }
226
266
  });
227
267
 
228
- // ../../node_modules/js-yaml/lib/exception.js
268
+ // ../../../node_modules/js-yaml/lib/exception.js
229
269
  var require_exception = __commonJS({
230
- "../../node_modules/js-yaml/lib/exception.js"(exports2, module2) {
270
+ "../../../node_modules/js-yaml/lib/exception.js"(exports2, module2) {
231
271
  "use strict";
232
272
  function formatError3(exception2, compact) {
233
273
  var where = "", message = exception2.reason || "(unknown reason)";
@@ -262,9 +302,9 @@ var require_exception = __commonJS({
262
302
  }
263
303
  });
264
304
 
265
- // ../../node_modules/js-yaml/lib/snippet.js
305
+ // ../../../node_modules/js-yaml/lib/snippet.js
266
306
  var require_snippet = __commonJS({
267
- "../../node_modules/js-yaml/lib/snippet.js"(exports2, module2) {
307
+ "../../../node_modules/js-yaml/lib/snippet.js"(exports2, module2) {
268
308
  "use strict";
269
309
  var common2 = require_common();
270
310
  function getLine2(buffer, lineStart, lineEnd, position, maxLineLength) {
@@ -342,9 +382,9 @@ var require_snippet = __commonJS({
342
382
  }
343
383
  });
344
384
 
345
- // ../../node_modules/js-yaml/lib/type.js
385
+ // ../../../node_modules/js-yaml/lib/type.js
346
386
  var require_type = __commonJS({
347
- "../../node_modules/js-yaml/lib/type.js"(exports2, module2) {
387
+ "../../../node_modules/js-yaml/lib/type.js"(exports2, module2) {
348
388
  "use strict";
349
389
  var YAMLException2 = require_exception();
350
390
  var TYPE_CONSTRUCTOR_OPTIONS2 = [
@@ -406,9 +446,9 @@ var require_type = __commonJS({
406
446
  }
407
447
  });
408
448
 
409
- // ../../node_modules/js-yaml/lib/schema.js
449
+ // ../../../node_modules/js-yaml/lib/schema.js
410
450
  var require_schema = __commonJS({
411
- "../../node_modules/js-yaml/lib/schema.js"(exports2, module2) {
451
+ "../../../node_modules/js-yaml/lib/schema.js"(exports2, module2) {
412
452
  "use strict";
413
453
  var YAMLException2 = require_exception();
414
454
  var Type2 = require_type();
@@ -495,9 +535,9 @@ var require_schema = __commonJS({
495
535
  }
496
536
  });
497
537
 
498
- // ../../node_modules/js-yaml/lib/type/str.js
538
+ // ../../../node_modules/js-yaml/lib/type/str.js
499
539
  var require_str = __commonJS({
500
- "../../node_modules/js-yaml/lib/type/str.js"(exports2, module2) {
540
+ "../../../node_modules/js-yaml/lib/type/str.js"(exports2, module2) {
501
541
  "use strict";
502
542
  var Type2 = require_type();
503
543
  module2.exports = new Type2("tag:yaml.org,2002:str", {
@@ -509,9 +549,9 @@ var require_str = __commonJS({
509
549
  }
510
550
  });
511
551
 
512
- // ../../node_modules/js-yaml/lib/type/seq.js
552
+ // ../../../node_modules/js-yaml/lib/type/seq.js
513
553
  var require_seq = __commonJS({
514
- "../../node_modules/js-yaml/lib/type/seq.js"(exports2, module2) {
554
+ "../../../node_modules/js-yaml/lib/type/seq.js"(exports2, module2) {
515
555
  "use strict";
516
556
  var Type2 = require_type();
517
557
  module2.exports = new Type2("tag:yaml.org,2002:seq", {
@@ -523,9 +563,9 @@ var require_seq = __commonJS({
523
563
  }
524
564
  });
525
565
 
526
- // ../../node_modules/js-yaml/lib/type/map.js
566
+ // ../../../node_modules/js-yaml/lib/type/map.js
527
567
  var require_map = __commonJS({
528
- "../../node_modules/js-yaml/lib/type/map.js"(exports2, module2) {
568
+ "../../../node_modules/js-yaml/lib/type/map.js"(exports2, module2) {
529
569
  "use strict";
530
570
  var Type2 = require_type();
531
571
  module2.exports = new Type2("tag:yaml.org,2002:map", {
@@ -537,9 +577,9 @@ var require_map = __commonJS({
537
577
  }
538
578
  });
539
579
 
540
- // ../../node_modules/js-yaml/lib/schema/failsafe.js
580
+ // ../../../node_modules/js-yaml/lib/schema/failsafe.js
541
581
  var require_failsafe = __commonJS({
542
- "../../node_modules/js-yaml/lib/schema/failsafe.js"(exports2, module2) {
582
+ "../../../node_modules/js-yaml/lib/schema/failsafe.js"(exports2, module2) {
543
583
  "use strict";
544
584
  var Schema2 = require_schema();
545
585
  module2.exports = new Schema2({
@@ -552,9 +592,9 @@ var require_failsafe = __commonJS({
552
592
  }
553
593
  });
554
594
 
555
- // ../../node_modules/js-yaml/lib/type/null.js
595
+ // ../../../node_modules/js-yaml/lib/type/null.js
556
596
  var require_null = __commonJS({
557
- "../../node_modules/js-yaml/lib/type/null.js"(exports2, module2) {
597
+ "../../../node_modules/js-yaml/lib/type/null.js"(exports2, module2) {
558
598
  "use strict";
559
599
  var Type2 = require_type();
560
600
  function resolveYamlNull2(data) {
@@ -595,9 +635,9 @@ var require_null = __commonJS({
595
635
  }
596
636
  });
597
637
 
598
- // ../../node_modules/js-yaml/lib/type/bool.js
638
+ // ../../../node_modules/js-yaml/lib/type/bool.js
599
639
  var require_bool = __commonJS({
600
- "../../node_modules/js-yaml/lib/type/bool.js"(exports2, module2) {
640
+ "../../../node_modules/js-yaml/lib/type/bool.js"(exports2, module2) {
601
641
  "use strict";
602
642
  var Type2 = require_type();
603
643
  function resolveYamlBoolean2(data) {
@@ -632,9 +672,9 @@ var require_bool = __commonJS({
632
672
  }
633
673
  });
634
674
 
635
- // ../../node_modules/js-yaml/lib/type/int.js
675
+ // ../../../node_modules/js-yaml/lib/type/int.js
636
676
  var require_int = __commonJS({
637
- "../../node_modules/js-yaml/lib/type/int.js"(exports2, module2) {
677
+ "../../../node_modules/js-yaml/lib/type/int.js"(exports2, module2) {
638
678
  "use strict";
639
679
  var common2 = require_common();
640
680
  var Type2 = require_type();
@@ -754,9 +794,9 @@ var require_int = __commonJS({
754
794
  }
755
795
  });
756
796
 
757
- // ../../node_modules/js-yaml/lib/type/float.js
797
+ // ../../../node_modules/js-yaml/lib/type/float.js
758
798
  var require_float = __commonJS({
759
- "../../node_modules/js-yaml/lib/type/float.js"(exports2, module2) {
799
+ "../../../node_modules/js-yaml/lib/type/float.js"(exports2, module2) {
760
800
  "use strict";
761
801
  var common2 = require_common();
762
802
  var Type2 = require_type();
@@ -837,9 +877,9 @@ var require_float = __commonJS({
837
877
  }
838
878
  });
839
879
 
840
- // ../../node_modules/js-yaml/lib/schema/json.js
880
+ // ../../../node_modules/js-yaml/lib/schema/json.js
841
881
  var require_json = __commonJS({
842
- "../../node_modules/js-yaml/lib/schema/json.js"(exports2, module2) {
882
+ "../../../node_modules/js-yaml/lib/schema/json.js"(exports2, module2) {
843
883
  "use strict";
844
884
  module2.exports = require_failsafe().extend({
845
885
  implicit: [
@@ -852,17 +892,17 @@ var require_json = __commonJS({
852
892
  }
853
893
  });
854
894
 
855
- // ../../node_modules/js-yaml/lib/schema/core.js
895
+ // ../../../node_modules/js-yaml/lib/schema/core.js
856
896
  var require_core = __commonJS({
857
- "../../node_modules/js-yaml/lib/schema/core.js"(exports2, module2) {
897
+ "../../../node_modules/js-yaml/lib/schema/core.js"(exports2, module2) {
858
898
  "use strict";
859
899
  module2.exports = require_json();
860
900
  }
861
901
  });
862
902
 
863
- // ../../node_modules/js-yaml/lib/type/timestamp.js
903
+ // ../../../node_modules/js-yaml/lib/type/timestamp.js
864
904
  var require_timestamp = __commonJS({
865
- "../../node_modules/js-yaml/lib/type/timestamp.js"(exports2, module2) {
905
+ "../../../node_modules/js-yaml/lib/type/timestamp.js"(exports2, module2) {
866
906
  "use strict";
867
907
  var Type2 = require_type();
868
908
  var YAML_DATE_REGEXP2 = new RegExp(
@@ -921,9 +961,9 @@ var require_timestamp = __commonJS({
921
961
  }
922
962
  });
923
963
 
924
- // ../../node_modules/js-yaml/lib/type/merge.js
964
+ // ../../../node_modules/js-yaml/lib/type/merge.js
925
965
  var require_merge = __commonJS({
926
- "../../node_modules/js-yaml/lib/type/merge.js"(exports2, module2) {
966
+ "../../../node_modules/js-yaml/lib/type/merge.js"(exports2, module2) {
927
967
  "use strict";
928
968
  var Type2 = require_type();
929
969
  function resolveYamlMerge2(data) {
@@ -936,9 +976,9 @@ var require_merge = __commonJS({
936
976
  }
937
977
  });
938
978
 
939
- // ../../node_modules/js-yaml/lib/type/binary.js
979
+ // ../../../node_modules/js-yaml/lib/type/binary.js
940
980
  var require_binary = __commonJS({
941
- "../../node_modules/js-yaml/lib/type/binary.js"(exports2, module2) {
981
+ "../../../node_modules/js-yaml/lib/type/binary.js"(exports2, module2) {
942
982
  "use strict";
943
983
  var Type2 = require_type();
944
984
  var BASE64_MAP2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
@@ -1019,9 +1059,9 @@ var require_binary = __commonJS({
1019
1059
  }
1020
1060
  });
1021
1061
 
1022
- // ../../node_modules/js-yaml/lib/type/omap.js
1062
+ // ../../../node_modules/js-yaml/lib/type/omap.js
1023
1063
  var require_omap = __commonJS({
1024
- "../../node_modules/js-yaml/lib/type/omap.js"(exports2, module2) {
1064
+ "../../../node_modules/js-yaml/lib/type/omap.js"(exports2, module2) {
1025
1065
  "use strict";
1026
1066
  var Type2 = require_type();
1027
1067
  var _hasOwnProperty2 = Object.prototype.hasOwnProperty;
@@ -1056,9 +1096,9 @@ var require_omap = __commonJS({
1056
1096
  }
1057
1097
  });
1058
1098
 
1059
- // ../../node_modules/js-yaml/lib/type/pairs.js
1099
+ // ../../../node_modules/js-yaml/lib/type/pairs.js
1060
1100
  var require_pairs = __commonJS({
1061
- "../../node_modules/js-yaml/lib/type/pairs.js"(exports2, module2) {
1101
+ "../../../node_modules/js-yaml/lib/type/pairs.js"(exports2, module2) {
1062
1102
  "use strict";
1063
1103
  var Type2 = require_type();
1064
1104
  var _toString2 = Object.prototype.toString;
@@ -1094,9 +1134,9 @@ var require_pairs = __commonJS({
1094
1134
  }
1095
1135
  });
1096
1136
 
1097
- // ../../node_modules/js-yaml/lib/type/set.js
1137
+ // ../../../node_modules/js-yaml/lib/type/set.js
1098
1138
  var require_set = __commonJS({
1099
- "../../node_modules/js-yaml/lib/type/set.js"(exports2, module2) {
1139
+ "../../../node_modules/js-yaml/lib/type/set.js"(exports2, module2) {
1100
1140
  "use strict";
1101
1141
  var Type2 = require_type();
1102
1142
  var _hasOwnProperty2 = Object.prototype.hasOwnProperty;
@@ -1121,9 +1161,9 @@ var require_set = __commonJS({
1121
1161
  }
1122
1162
  });
1123
1163
 
1124
- // ../../node_modules/js-yaml/lib/schema/default.js
1164
+ // ../../../node_modules/js-yaml/lib/schema/default.js
1125
1165
  var require_default = __commonJS({
1126
- "../../node_modules/js-yaml/lib/schema/default.js"(exports2, module2) {
1166
+ "../../../node_modules/js-yaml/lib/schema/default.js"(exports2, module2) {
1127
1167
  "use strict";
1128
1168
  module2.exports = require_core().extend({
1129
1169
  implicit: [
@@ -1140,9 +1180,9 @@ var require_default = __commonJS({
1140
1180
  }
1141
1181
  });
1142
1182
 
1143
- // ../../node_modules/js-yaml/lib/loader.js
1183
+ // ../../../node_modules/js-yaml/lib/loader.js
1144
1184
  var require_loader = __commonJS({
1145
- "../../node_modules/js-yaml/lib/loader.js"(exports2, module2) {
1185
+ "../../../node_modules/js-yaml/lib/loader.js"(exports2, module2) {
1146
1186
  "use strict";
1147
1187
  var common2 = require_common();
1148
1188
  var YAMLException2 = require_exception();
@@ -2304,9 +2344,9 @@ var require_loader = __commonJS({
2304
2344
  }
2305
2345
  });
2306
2346
 
2307
- // ../../node_modules/js-yaml/lib/dumper.js
2347
+ // ../../../node_modules/js-yaml/lib/dumper.js
2308
2348
  var require_dumper = __commonJS({
2309
- "../../node_modules/js-yaml/lib/dumper.js"(exports2, module2) {
2349
+ "../../../node_modules/js-yaml/lib/dumper.js"(exports2, module2) {
2310
2350
  "use strict";
2311
2351
  var common2 = require_common();
2312
2352
  var YAMLException2 = require_exception();
@@ -2933,9 +2973,9 @@ var require_dumper = __commonJS({
2933
2973
  }
2934
2974
  });
2935
2975
 
2936
- // ../../node_modules/js-yaml/index.js
2976
+ // ../../../node_modules/js-yaml/index.js
2937
2977
  var require_js_yaml = __commonJS({
2938
- "../../node_modules/js-yaml/index.js"(exports2, module2) {
2978
+ "../../../node_modules/js-yaml/index.js"(exports2, module2) {
2939
2979
  "use strict";
2940
2980
  var loader2 = require_loader();
2941
2981
  var dumper2 = require_dumper();
@@ -3904,9 +3944,9 @@ var require_dist = __commonJS({
3904
3944
  }
3905
3945
  });
3906
3946
 
3907
- // ../../node_modules/ajv/dist/compile/codegen/code.js
3947
+ // ../../../node_modules/ajv/dist/compile/codegen/code.js
3908
3948
  var require_code = __commonJS({
3909
- "../../node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
3949
+ "../../../node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
3910
3950
  "use strict";
3911
3951
  Object.defineProperty(exports2, "__esModule", { value: true });
3912
3952
  exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = void 0;
@@ -4058,9 +4098,9 @@ var require_code = __commonJS({
4058
4098
  }
4059
4099
  });
4060
4100
 
4061
- // ../../node_modules/ajv/dist/compile/codegen/scope.js
4101
+ // ../../../node_modules/ajv/dist/compile/codegen/scope.js
4062
4102
  var require_scope = __commonJS({
4063
- "../../node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
4103
+ "../../../node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
4064
4104
  "use strict";
4065
4105
  Object.defineProperty(exports2, "__esModule", { value: true });
4066
4106
  exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
@@ -4203,9 +4243,9 @@ var require_scope = __commonJS({
4203
4243
  }
4204
4244
  });
4205
4245
 
4206
- // ../../node_modules/ajv/dist/compile/codegen/index.js
4246
+ // ../../../node_modules/ajv/dist/compile/codegen/index.js
4207
4247
  var require_codegen = __commonJS({
4208
- "../../node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
4248
+ "../../../node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
4209
4249
  "use strict";
4210
4250
  Object.defineProperty(exports2, "__esModule", { value: true });
4211
4251
  exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = void 0;
@@ -4923,9 +4963,9 @@ var require_codegen = __commonJS({
4923
4963
  }
4924
4964
  });
4925
4965
 
4926
- // ../../node_modules/ajv/dist/compile/util.js
4966
+ // ../../../node_modules/ajv/dist/compile/util.js
4927
4967
  var require_util = __commonJS({
4928
- "../../node_modules/ajv/dist/compile/util.js"(exports2) {
4968
+ "../../../node_modules/ajv/dist/compile/util.js"(exports2) {
4929
4969
  "use strict";
4930
4970
  Object.defineProperty(exports2, "__esModule", { value: true });
4931
4971
  exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = void 0;
@@ -5090,9 +5130,9 @@ var require_util = __commonJS({
5090
5130
  }
5091
5131
  });
5092
5132
 
5093
- // ../../node_modules/ajv/dist/compile/names.js
5133
+ // ../../../node_modules/ajv/dist/compile/names.js
5094
5134
  var require_names = __commonJS({
5095
- "../../node_modules/ajv/dist/compile/names.js"(exports2) {
5135
+ "../../../node_modules/ajv/dist/compile/names.js"(exports2) {
5096
5136
  "use strict";
5097
5137
  Object.defineProperty(exports2, "__esModule", { value: true });
5098
5138
  var codegen_1 = require_codegen();
@@ -5129,9 +5169,9 @@ var require_names = __commonJS({
5129
5169
  }
5130
5170
  });
5131
5171
 
5132
- // ../../node_modules/ajv/dist/compile/errors.js
5172
+ // ../../../node_modules/ajv/dist/compile/errors.js
5133
5173
  var require_errors = __commonJS({
5134
- "../../node_modules/ajv/dist/compile/errors.js"(exports2) {
5174
+ "../../../node_modules/ajv/dist/compile/errors.js"(exports2) {
5135
5175
  "use strict";
5136
5176
  Object.defineProperty(exports2, "__esModule", { value: true });
5137
5177
  exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
@@ -5251,9 +5291,9 @@ var require_errors = __commonJS({
5251
5291
  }
5252
5292
  });
5253
5293
 
5254
- // ../../node_modules/ajv/dist/compile/validate/boolSchema.js
5294
+ // ../../../node_modules/ajv/dist/compile/validate/boolSchema.js
5255
5295
  var require_boolSchema = __commonJS({
5256
- "../../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
5296
+ "../../../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
5257
5297
  "use strict";
5258
5298
  Object.defineProperty(exports2, "__esModule", { value: true });
5259
5299
  exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = void 0;
@@ -5302,9 +5342,9 @@ var require_boolSchema = __commonJS({
5302
5342
  }
5303
5343
  });
5304
5344
 
5305
- // ../../node_modules/ajv/dist/compile/rules.js
5345
+ // ../../../node_modules/ajv/dist/compile/rules.js
5306
5346
  var require_rules = __commonJS({
5307
- "../../node_modules/ajv/dist/compile/rules.js"(exports2) {
5347
+ "../../../node_modules/ajv/dist/compile/rules.js"(exports2) {
5308
5348
  "use strict";
5309
5349
  Object.defineProperty(exports2, "__esModule", { value: true });
5310
5350
  exports2.getRules = exports2.isJSONType = void 0;
@@ -5333,9 +5373,9 @@ var require_rules = __commonJS({
5333
5373
  }
5334
5374
  });
5335
5375
 
5336
- // ../../node_modules/ajv/dist/compile/validate/applicability.js
5376
+ // ../../../node_modules/ajv/dist/compile/validate/applicability.js
5337
5377
  var require_applicability = __commonJS({
5338
- "../../node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
5378
+ "../../../node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
5339
5379
  "use strict";
5340
5380
  Object.defineProperty(exports2, "__esModule", { value: true });
5341
5381
  exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = void 0;
@@ -5356,9 +5396,9 @@ var require_applicability = __commonJS({
5356
5396
  }
5357
5397
  });
5358
5398
 
5359
- // ../../node_modules/ajv/dist/compile/validate/dataType.js
5399
+ // ../../../node_modules/ajv/dist/compile/validate/dataType.js
5360
5400
  var require_dataType = __commonJS({
5361
- "../../node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
5401
+ "../../../node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
5362
5402
  "use strict";
5363
5403
  Object.defineProperty(exports2, "__esModule", { value: true });
5364
5404
  exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = void 0;
@@ -5540,9 +5580,9 @@ var require_dataType = __commonJS({
5540
5580
  }
5541
5581
  });
5542
5582
 
5543
- // ../../node_modules/ajv/dist/compile/validate/defaults.js
5583
+ // ../../../node_modules/ajv/dist/compile/validate/defaults.js
5544
5584
  var require_defaults = __commonJS({
5545
- "../../node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
5585
+ "../../../node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
5546
5586
  "use strict";
5547
5587
  Object.defineProperty(exports2, "__esModule", { value: true });
5548
5588
  exports2.assignDefaults = void 0;
@@ -5577,9 +5617,9 @@ var require_defaults = __commonJS({
5577
5617
  }
5578
5618
  });
5579
5619
 
5580
- // ../../node_modules/ajv/dist/vocabularies/code.js
5620
+ // ../../../node_modules/ajv/dist/vocabularies/code.js
5581
5621
  var require_code2 = __commonJS({
5582
- "../../node_modules/ajv/dist/vocabularies/code.js"(exports2) {
5622
+ "../../../node_modules/ajv/dist/vocabularies/code.js"(exports2) {
5583
5623
  "use strict";
5584
5624
  Object.defineProperty(exports2, "__esModule", { value: true });
5585
5625
  exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = void 0;
@@ -5710,9 +5750,9 @@ var require_code2 = __commonJS({
5710
5750
  }
5711
5751
  });
5712
5752
 
5713
- // ../../node_modules/ajv/dist/compile/validate/keyword.js
5753
+ // ../../../node_modules/ajv/dist/compile/validate/keyword.js
5714
5754
  var require_keyword = __commonJS({
5715
- "../../node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
5755
+ "../../../node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
5716
5756
  "use strict";
5717
5757
  Object.defineProperty(exports2, "__esModule", { value: true });
5718
5758
  exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = void 0;
@@ -5828,9 +5868,9 @@ var require_keyword = __commonJS({
5828
5868
  }
5829
5869
  });
5830
5870
 
5831
- // ../../node_modules/ajv/dist/compile/validate/subschema.js
5871
+ // ../../../node_modules/ajv/dist/compile/validate/subschema.js
5832
5872
  var require_subschema = __commonJS({
5833
- "../../node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
5873
+ "../../../node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
5834
5874
  "use strict";
5835
5875
  Object.defineProperty(exports2, "__esModule", { value: true });
5836
5876
  exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = void 0;
@@ -5911,9 +5951,9 @@ var require_subschema = __commonJS({
5911
5951
  }
5912
5952
  });
5913
5953
 
5914
- // ../../node_modules/fast-deep-equal/index.js
5954
+ // ../../../node_modules/fast-deep-equal/index.js
5915
5955
  var require_fast_deep_equal = __commonJS({
5916
- "../../node_modules/fast-deep-equal/index.js"(exports2, module2) {
5956
+ "../../../node_modules/fast-deep-equal/index.js"(exports2, module2) {
5917
5957
  "use strict";
5918
5958
  module2.exports = function equal(a, b) {
5919
5959
  if (a === b) return true;
@@ -5946,9 +5986,9 @@ var require_fast_deep_equal = __commonJS({
5946
5986
  }
5947
5987
  });
5948
5988
 
5949
- // ../../node_modules/json-schema-traverse/index.js
5989
+ // ../../../node_modules/json-schema-traverse/index.js
5950
5990
  var require_json_schema_traverse = __commonJS({
5951
- "../../node_modules/json-schema-traverse/index.js"(exports2, module2) {
5991
+ "../../../node_modules/json-schema-traverse/index.js"(exports2, module2) {
5952
5992
  "use strict";
5953
5993
  var traverse = module2.exports = function(schema2, opts, cb) {
5954
5994
  if (typeof opts == "function") {
@@ -6034,9 +6074,9 @@ var require_json_schema_traverse = __commonJS({
6034
6074
  }
6035
6075
  });
6036
6076
 
6037
- // ../../node_modules/ajv/dist/compile/resolve.js
6077
+ // ../../../node_modules/ajv/dist/compile/resolve.js
6038
6078
  var require_resolve = __commonJS({
6039
- "../../node_modules/ajv/dist/compile/resolve.js"(exports2) {
6079
+ "../../../node_modules/ajv/dist/compile/resolve.js"(exports2) {
6040
6080
  "use strict";
6041
6081
  Object.defineProperty(exports2, "__esModule", { value: true });
6042
6082
  exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = void 0;
@@ -6190,9 +6230,9 @@ var require_resolve = __commonJS({
6190
6230
  }
6191
6231
  });
6192
6232
 
6193
- // ../../node_modules/ajv/dist/compile/validate/index.js
6233
+ // ../../../node_modules/ajv/dist/compile/validate/index.js
6194
6234
  var require_validate = __commonJS({
6195
- "../../node_modules/ajv/dist/compile/validate/index.js"(exports2) {
6235
+ "../../../node_modules/ajv/dist/compile/validate/index.js"(exports2) {
6196
6236
  "use strict";
6197
6237
  Object.defineProperty(exports2, "__esModule", { value: true });
6198
6238
  exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = void 0;
@@ -6698,9 +6738,9 @@ var require_validate = __commonJS({
6698
6738
  }
6699
6739
  });
6700
6740
 
6701
- // ../../node_modules/ajv/dist/runtime/validation_error.js
6741
+ // ../../../node_modules/ajv/dist/runtime/validation_error.js
6702
6742
  var require_validation_error = __commonJS({
6703
- "../../node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
6743
+ "../../../node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
6704
6744
  "use strict";
6705
6745
  Object.defineProperty(exports2, "__esModule", { value: true });
6706
6746
  var ValidationError = class extends Error {
@@ -6714,9 +6754,9 @@ var require_validation_error = __commonJS({
6714
6754
  }
6715
6755
  });
6716
6756
 
6717
- // ../../node_modules/ajv/dist/compile/ref_error.js
6757
+ // ../../../node_modules/ajv/dist/compile/ref_error.js
6718
6758
  var require_ref_error = __commonJS({
6719
- "../../node_modules/ajv/dist/compile/ref_error.js"(exports2) {
6759
+ "../../../node_modules/ajv/dist/compile/ref_error.js"(exports2) {
6720
6760
  "use strict";
6721
6761
  Object.defineProperty(exports2, "__esModule", { value: true });
6722
6762
  var resolve_1 = require_resolve();
@@ -6731,9 +6771,9 @@ var require_ref_error = __commonJS({
6731
6771
  }
6732
6772
  });
6733
6773
 
6734
- // ../../node_modules/ajv/dist/compile/index.js
6774
+ // ../../../node_modules/ajv/dist/compile/index.js
6735
6775
  var require_compile = __commonJS({
6736
- "../../node_modules/ajv/dist/compile/index.js"(exports2) {
6776
+ "../../../node_modules/ajv/dist/compile/index.js"(exports2) {
6737
6777
  "use strict";
6738
6778
  Object.defineProperty(exports2, "__esModule", { value: true });
6739
6779
  exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = void 0;
@@ -6955,9 +6995,9 @@ var require_compile = __commonJS({
6955
6995
  }
6956
6996
  });
6957
6997
 
6958
- // ../../node_modules/ajv/dist/refs/data.json
6998
+ // ../../../node_modules/ajv/dist/refs/data.json
6959
6999
  var require_data = __commonJS({
6960
- "../../node_modules/ajv/dist/refs/data.json"(exports2, module2) {
7000
+ "../../../node_modules/ajv/dist/refs/data.json"(exports2, module2) {
6961
7001
  module2.exports = {
6962
7002
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
6963
7003
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -6974,9 +7014,9 @@ var require_data = __commonJS({
6974
7014
  }
6975
7015
  });
6976
7016
 
6977
- // ../../node_modules/fast-uri/lib/utils.js
7017
+ // ../../../node_modules/fast-uri/lib/utils.js
6978
7018
  var require_utils = __commonJS({
6979
- "../../node_modules/fast-uri/lib/utils.js"(exports2, module2) {
7019
+ "../../../node_modules/fast-uri/lib/utils.js"(exports2, module2) {
6980
7020
  "use strict";
6981
7021
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
6982
7022
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
@@ -7231,9 +7271,9 @@ var require_utils = __commonJS({
7231
7271
  }
7232
7272
  });
7233
7273
 
7234
- // ../../node_modules/fast-uri/lib/schemes.js
7274
+ // ../../../node_modules/fast-uri/lib/schemes.js
7235
7275
  var require_schemes = __commonJS({
7236
- "../../node_modules/fast-uri/lib/schemes.js"(exports2, module2) {
7276
+ "../../../node_modules/fast-uri/lib/schemes.js"(exports2, module2) {
7237
7277
  "use strict";
7238
7278
  var { isUUID } = require_utils();
7239
7279
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -7441,9 +7481,9 @@ var require_schemes = __commonJS({
7441
7481
  }
7442
7482
  });
7443
7483
 
7444
- // ../../node_modules/fast-uri/index.js
7484
+ // ../../../node_modules/fast-uri/index.js
7445
7485
  var require_fast_uri = __commonJS({
7446
- "../../node_modules/fast-uri/index.js"(exports2, module2) {
7486
+ "../../../node_modules/fast-uri/index.js"(exports2, module2) {
7447
7487
  "use strict";
7448
7488
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
7449
7489
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -7696,9 +7736,9 @@ var require_fast_uri = __commonJS({
7696
7736
  }
7697
7737
  });
7698
7738
 
7699
- // ../../node_modules/ajv/dist/runtime/uri.js
7739
+ // ../../../node_modules/ajv/dist/runtime/uri.js
7700
7740
  var require_uri = __commonJS({
7701
- "../../node_modules/ajv/dist/runtime/uri.js"(exports2) {
7741
+ "../../../node_modules/ajv/dist/runtime/uri.js"(exports2) {
7702
7742
  "use strict";
7703
7743
  Object.defineProperty(exports2, "__esModule", { value: true });
7704
7744
  var uri = require_fast_uri();
@@ -7707,9 +7747,9 @@ var require_uri = __commonJS({
7707
7747
  }
7708
7748
  });
7709
7749
 
7710
- // ../../node_modules/ajv/dist/core.js
7750
+ // ../../../node_modules/ajv/dist/core.js
7711
7751
  var require_core2 = __commonJS({
7712
- "../../node_modules/ajv/dist/core.js"(exports2) {
7752
+ "../../../node_modules/ajv/dist/core.js"(exports2) {
7713
7753
  "use strict";
7714
7754
  Object.defineProperty(exports2, "__esModule", { value: true });
7715
7755
  exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
@@ -8318,9 +8358,9 @@ var require_core2 = __commonJS({
8318
8358
  }
8319
8359
  });
8320
8360
 
8321
- // ../../node_modules/ajv/dist/vocabularies/core/id.js
8361
+ // ../../../node_modules/ajv/dist/vocabularies/core/id.js
8322
8362
  var require_id = __commonJS({
8323
- "../../node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
8363
+ "../../../node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
8324
8364
  "use strict";
8325
8365
  Object.defineProperty(exports2, "__esModule", { value: true });
8326
8366
  var def = {
@@ -8333,9 +8373,9 @@ var require_id = __commonJS({
8333
8373
  }
8334
8374
  });
8335
8375
 
8336
- // ../../node_modules/ajv/dist/vocabularies/core/ref.js
8376
+ // ../../../node_modules/ajv/dist/vocabularies/core/ref.js
8337
8377
  var require_ref = __commonJS({
8338
- "../../node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
8378
+ "../../../node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
8339
8379
  "use strict";
8340
8380
  Object.defineProperty(exports2, "__esModule", { value: true });
8341
8381
  exports2.callRef = exports2.getValidate = void 0;
@@ -8455,9 +8495,9 @@ var require_ref = __commonJS({
8455
8495
  }
8456
8496
  });
8457
8497
 
8458
- // ../../node_modules/ajv/dist/vocabularies/core/index.js
8498
+ // ../../../node_modules/ajv/dist/vocabularies/core/index.js
8459
8499
  var require_core3 = __commonJS({
8460
- "../../node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
8500
+ "../../../node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
8461
8501
  "use strict";
8462
8502
  Object.defineProperty(exports2, "__esModule", { value: true });
8463
8503
  var id_1 = require_id();
@@ -8476,9 +8516,9 @@ var require_core3 = __commonJS({
8476
8516
  }
8477
8517
  });
8478
8518
 
8479
- // ../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js
8519
+ // ../../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js
8480
8520
  var require_limitNumber = __commonJS({
8481
- "../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
8521
+ "../../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
8482
8522
  "use strict";
8483
8523
  Object.defineProperty(exports2, "__esModule", { value: true });
8484
8524
  var codegen_1 = require_codegen();
@@ -8508,9 +8548,9 @@ var require_limitNumber = __commonJS({
8508
8548
  }
8509
8549
  });
8510
8550
 
8511
- // ../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js
8551
+ // ../../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js
8512
8552
  var require_multipleOf = __commonJS({
8513
- "../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
8553
+ "../../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
8514
8554
  "use strict";
8515
8555
  Object.defineProperty(exports2, "__esModule", { value: true });
8516
8556
  var codegen_1 = require_codegen();
@@ -8536,9 +8576,9 @@ var require_multipleOf = __commonJS({
8536
8576
  }
8537
8577
  });
8538
8578
 
8539
- // ../../node_modules/ajv/dist/runtime/ucs2length.js
8579
+ // ../../../node_modules/ajv/dist/runtime/ucs2length.js
8540
8580
  var require_ucs2length = __commonJS({
8541
- "../../node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
8581
+ "../../../node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
8542
8582
  "use strict";
8543
8583
  Object.defineProperty(exports2, "__esModule", { value: true });
8544
8584
  function ucs2length(str2) {
@@ -8562,9 +8602,9 @@ var require_ucs2length = __commonJS({
8562
8602
  }
8563
8603
  });
8564
8604
 
8565
- // ../../node_modules/ajv/dist/vocabularies/validation/limitLength.js
8605
+ // ../../../node_modules/ajv/dist/vocabularies/validation/limitLength.js
8566
8606
  var require_limitLength = __commonJS({
8567
- "../../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
8607
+ "../../../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
8568
8608
  "use strict";
8569
8609
  Object.defineProperty(exports2, "__esModule", { value: true });
8570
8610
  var codegen_1 = require_codegen();
@@ -8594,9 +8634,9 @@ var require_limitLength = __commonJS({
8594
8634
  }
8595
8635
  });
8596
8636
 
8597
- // ../../node_modules/ajv/dist/vocabularies/validation/pattern.js
8637
+ // ../../../node_modules/ajv/dist/vocabularies/validation/pattern.js
8598
8638
  var require_pattern = __commonJS({
8599
- "../../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
8639
+ "../../../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
8600
8640
  "use strict";
8601
8641
  Object.defineProperty(exports2, "__esModule", { value: true });
8602
8642
  var code_1 = require_code2();
@@ -8631,9 +8671,9 @@ var require_pattern = __commonJS({
8631
8671
  }
8632
8672
  });
8633
8673
 
8634
- // ../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js
8674
+ // ../../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js
8635
8675
  var require_limitProperties = __commonJS({
8636
- "../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
8676
+ "../../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
8637
8677
  "use strict";
8638
8678
  Object.defineProperty(exports2, "__esModule", { value: true });
8639
8679
  var codegen_1 = require_codegen();
@@ -8660,9 +8700,9 @@ var require_limitProperties = __commonJS({
8660
8700
  }
8661
8701
  });
8662
8702
 
8663
- // ../../node_modules/ajv/dist/vocabularies/validation/required.js
8703
+ // ../../../node_modules/ajv/dist/vocabularies/validation/required.js
8664
8704
  var require_required = __commonJS({
8665
- "../../node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
8705
+ "../../../node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
8666
8706
  "use strict";
8667
8707
  Object.defineProperty(exports2, "__esModule", { value: true });
8668
8708
  var code_1 = require_code2();
@@ -8742,9 +8782,9 @@ var require_required = __commonJS({
8742
8782
  }
8743
8783
  });
8744
8784
 
8745
- // ../../node_modules/ajv/dist/vocabularies/validation/limitItems.js
8785
+ // ../../../node_modules/ajv/dist/vocabularies/validation/limitItems.js
8746
8786
  var require_limitItems = __commonJS({
8747
- "../../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
8787
+ "../../../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
8748
8788
  "use strict";
8749
8789
  Object.defineProperty(exports2, "__esModule", { value: true });
8750
8790
  var codegen_1 = require_codegen();
@@ -8771,9 +8811,9 @@ var require_limitItems = __commonJS({
8771
8811
  }
8772
8812
  });
8773
8813
 
8774
- // ../../node_modules/ajv/dist/runtime/equal.js
8814
+ // ../../../node_modules/ajv/dist/runtime/equal.js
8775
8815
  var require_equal = __commonJS({
8776
- "../../node_modules/ajv/dist/runtime/equal.js"(exports2) {
8816
+ "../../../node_modules/ajv/dist/runtime/equal.js"(exports2) {
8777
8817
  "use strict";
8778
8818
  Object.defineProperty(exports2, "__esModule", { value: true });
8779
8819
  var equal = require_fast_deep_equal();
@@ -8782,9 +8822,9 @@ var require_equal = __commonJS({
8782
8822
  }
8783
8823
  });
8784
8824
 
8785
- // ../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
8825
+ // ../../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
8786
8826
  var require_uniqueItems = __commonJS({
8787
- "../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
8827
+ "../../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
8788
8828
  "use strict";
8789
8829
  Object.defineProperty(exports2, "__esModule", { value: true });
8790
8830
  var dataType_1 = require_dataType();
@@ -8849,9 +8889,9 @@ var require_uniqueItems = __commonJS({
8849
8889
  }
8850
8890
  });
8851
8891
 
8852
- // ../../node_modules/ajv/dist/vocabularies/validation/const.js
8892
+ // ../../../node_modules/ajv/dist/vocabularies/validation/const.js
8853
8893
  var require_const = __commonJS({
8854
- "../../node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
8894
+ "../../../node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
8855
8895
  "use strict";
8856
8896
  Object.defineProperty(exports2, "__esModule", { value: true });
8857
8897
  var codegen_1 = require_codegen();
@@ -8878,9 +8918,9 @@ var require_const = __commonJS({
8878
8918
  }
8879
8919
  });
8880
8920
 
8881
- // ../../node_modules/ajv/dist/vocabularies/validation/enum.js
8921
+ // ../../../node_modules/ajv/dist/vocabularies/validation/enum.js
8882
8922
  var require_enum = __commonJS({
8883
- "../../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
8923
+ "../../../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
8884
8924
  "use strict";
8885
8925
  Object.defineProperty(exports2, "__esModule", { value: true });
8886
8926
  var codegen_1 = require_codegen();
@@ -8927,9 +8967,9 @@ var require_enum = __commonJS({
8927
8967
  }
8928
8968
  });
8929
8969
 
8930
- // ../../node_modules/ajv/dist/vocabularies/validation/index.js
8970
+ // ../../../node_modules/ajv/dist/vocabularies/validation/index.js
8931
8971
  var require_validation = __commonJS({
8932
- "../../node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
8972
+ "../../../node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
8933
8973
  "use strict";
8934
8974
  Object.defineProperty(exports2, "__esModule", { value: true });
8935
8975
  var limitNumber_1 = require_limitNumber();
@@ -8965,9 +9005,9 @@ var require_validation = __commonJS({
8965
9005
  }
8966
9006
  });
8967
9007
 
8968
- // ../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
9008
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
8969
9009
  var require_additionalItems = __commonJS({
8970
- "../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
9010
+ "../../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
8971
9011
  "use strict";
8972
9012
  Object.defineProperty(exports2, "__esModule", { value: true });
8973
9013
  exports2.validateAdditionalItems = void 0;
@@ -9018,9 +9058,9 @@ var require_additionalItems = __commonJS({
9018
9058
  }
9019
9059
  });
9020
9060
 
9021
- // ../../node_modules/ajv/dist/vocabularies/applicator/items.js
9061
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/items.js
9022
9062
  var require_items = __commonJS({
9023
- "../../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
9063
+ "../../../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
9024
9064
  "use strict";
9025
9065
  Object.defineProperty(exports2, "__esModule", { value: true });
9026
9066
  exports2.validateTuple = void 0;
@@ -9075,9 +9115,9 @@ var require_items = __commonJS({
9075
9115
  }
9076
9116
  });
9077
9117
 
9078
- // ../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
9118
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
9079
9119
  var require_prefixItems = __commonJS({
9080
- "../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
9120
+ "../../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
9081
9121
  "use strict";
9082
9122
  Object.defineProperty(exports2, "__esModule", { value: true });
9083
9123
  var items_1 = require_items();
@@ -9092,9 +9132,9 @@ var require_prefixItems = __commonJS({
9092
9132
  }
9093
9133
  });
9094
9134
 
9095
- // ../../node_modules/ajv/dist/vocabularies/applicator/items2020.js
9135
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/items2020.js
9096
9136
  var require_items2020 = __commonJS({
9097
- "../../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
9137
+ "../../../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
9098
9138
  "use strict";
9099
9139
  Object.defineProperty(exports2, "__esModule", { value: true });
9100
9140
  var codegen_1 = require_codegen();
@@ -9127,9 +9167,9 @@ var require_items2020 = __commonJS({
9127
9167
  }
9128
9168
  });
9129
9169
 
9130
- // ../../node_modules/ajv/dist/vocabularies/applicator/contains.js
9170
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/contains.js
9131
9171
  var require_contains = __commonJS({
9132
- "../../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
9172
+ "../../../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
9133
9173
  "use strict";
9134
9174
  Object.defineProperty(exports2, "__esModule", { value: true });
9135
9175
  var codegen_1 = require_codegen();
@@ -9221,9 +9261,9 @@ var require_contains = __commonJS({
9221
9261
  }
9222
9262
  });
9223
9263
 
9224
- // ../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js
9264
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js
9225
9265
  var require_dependencies = __commonJS({
9226
- "../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
9266
+ "../../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
9227
9267
  "use strict";
9228
9268
  Object.defineProperty(exports2, "__esModule", { value: true });
9229
9269
  exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
@@ -9315,9 +9355,9 @@ var require_dependencies = __commonJS({
9315
9355
  }
9316
9356
  });
9317
9357
 
9318
- // ../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
9358
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
9319
9359
  var require_propertyNames = __commonJS({
9320
- "../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
9360
+ "../../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
9321
9361
  "use strict";
9322
9362
  Object.defineProperty(exports2, "__esModule", { value: true });
9323
9363
  var codegen_1 = require_codegen();
@@ -9358,9 +9398,9 @@ var require_propertyNames = __commonJS({
9358
9398
  }
9359
9399
  });
9360
9400
 
9361
- // ../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
9401
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
9362
9402
  var require_additionalProperties = __commonJS({
9363
- "../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
9403
+ "../../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
9364
9404
  "use strict";
9365
9405
  Object.defineProperty(exports2, "__esModule", { value: true });
9366
9406
  var code_1 = require_code2();
@@ -9464,9 +9504,9 @@ var require_additionalProperties = __commonJS({
9464
9504
  }
9465
9505
  });
9466
9506
 
9467
- // ../../node_modules/ajv/dist/vocabularies/applicator/properties.js
9507
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/properties.js
9468
9508
  var require_properties = __commonJS({
9469
- "../../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
9509
+ "../../../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
9470
9510
  "use strict";
9471
9511
  Object.defineProperty(exports2, "__esModule", { value: true });
9472
9512
  var validate_1 = require_validate();
@@ -9522,9 +9562,9 @@ var require_properties = __commonJS({
9522
9562
  }
9523
9563
  });
9524
9564
 
9525
- // ../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
9565
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
9526
9566
  var require_patternProperties = __commonJS({
9527
- "../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
9567
+ "../../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
9528
9568
  "use strict";
9529
9569
  Object.defineProperty(exports2, "__esModule", { value: true });
9530
9570
  var code_1 = require_code2();
@@ -9596,9 +9636,9 @@ var require_patternProperties = __commonJS({
9596
9636
  }
9597
9637
  });
9598
9638
 
9599
- // ../../node_modules/ajv/dist/vocabularies/applicator/not.js
9639
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/not.js
9600
9640
  var require_not = __commonJS({
9601
- "../../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
9641
+ "../../../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
9602
9642
  "use strict";
9603
9643
  Object.defineProperty(exports2, "__esModule", { value: true });
9604
9644
  var util_1 = require_util();
@@ -9627,9 +9667,9 @@ var require_not = __commonJS({
9627
9667
  }
9628
9668
  });
9629
9669
 
9630
- // ../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js
9670
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js
9631
9671
  var require_anyOf = __commonJS({
9632
- "../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
9672
+ "../../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
9633
9673
  "use strict";
9634
9674
  Object.defineProperty(exports2, "__esModule", { value: true });
9635
9675
  var code_1 = require_code2();
@@ -9644,9 +9684,9 @@ var require_anyOf = __commonJS({
9644
9684
  }
9645
9685
  });
9646
9686
 
9647
- // ../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js
9687
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js
9648
9688
  var require_oneOf = __commonJS({
9649
- "../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
9689
+ "../../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
9650
9690
  "use strict";
9651
9691
  Object.defineProperty(exports2, "__esModule", { value: true });
9652
9692
  var codegen_1 = require_codegen();
@@ -9702,9 +9742,9 @@ var require_oneOf = __commonJS({
9702
9742
  }
9703
9743
  });
9704
9744
 
9705
- // ../../node_modules/ajv/dist/vocabularies/applicator/allOf.js
9745
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/allOf.js
9706
9746
  var require_allOf = __commonJS({
9707
- "../../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
9747
+ "../../../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
9708
9748
  "use strict";
9709
9749
  Object.defineProperty(exports2, "__esModule", { value: true });
9710
9750
  var util_1 = require_util();
@@ -9729,9 +9769,9 @@ var require_allOf = __commonJS({
9729
9769
  }
9730
9770
  });
9731
9771
 
9732
- // ../../node_modules/ajv/dist/vocabularies/applicator/if.js
9772
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/if.js
9733
9773
  var require_if = __commonJS({
9734
- "../../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
9774
+ "../../../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
9735
9775
  "use strict";
9736
9776
  Object.defineProperty(exports2, "__esModule", { value: true });
9737
9777
  var codegen_1 = require_codegen();
@@ -9798,9 +9838,9 @@ var require_if = __commonJS({
9798
9838
  }
9799
9839
  });
9800
9840
 
9801
- // ../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js
9841
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js
9802
9842
  var require_thenElse = __commonJS({
9803
- "../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
9843
+ "../../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
9804
9844
  "use strict";
9805
9845
  Object.defineProperty(exports2, "__esModule", { value: true });
9806
9846
  var util_1 = require_util();
@@ -9816,9 +9856,9 @@ var require_thenElse = __commonJS({
9816
9856
  }
9817
9857
  });
9818
9858
 
9819
- // ../../node_modules/ajv/dist/vocabularies/applicator/index.js
9859
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/index.js
9820
9860
  var require_applicator = __commonJS({
9821
- "../../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
9861
+ "../../../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
9822
9862
  "use strict";
9823
9863
  Object.defineProperty(exports2, "__esModule", { value: true });
9824
9864
  var additionalItems_1 = require_additionalItems();
@@ -9864,9 +9904,9 @@ var require_applicator = __commonJS({
9864
9904
  }
9865
9905
  });
9866
9906
 
9867
- // ../../node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
9907
+ // ../../../node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
9868
9908
  var require_dynamicAnchor = __commonJS({
9869
- "../../node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports2) {
9909
+ "../../../node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports2) {
9870
9910
  "use strict";
9871
9911
  Object.defineProperty(exports2, "__esModule", { value: true });
9872
9912
  exports2.dynamicAnchor = void 0;
@@ -9899,9 +9939,9 @@ var require_dynamicAnchor = __commonJS({
9899
9939
  }
9900
9940
  });
9901
9941
 
9902
- // ../../node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
9942
+ // ../../../node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
9903
9943
  var require_dynamicRef = __commonJS({
9904
- "../../node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports2) {
9944
+ "../../../node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports2) {
9905
9945
  "use strict";
9906
9946
  Object.defineProperty(exports2, "__esModule", { value: true });
9907
9947
  exports2.dynamicRef = void 0;
@@ -9945,9 +9985,9 @@ var require_dynamicRef = __commonJS({
9945
9985
  }
9946
9986
  });
9947
9987
 
9948
- // ../../node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
9988
+ // ../../../node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
9949
9989
  var require_recursiveAnchor = __commonJS({
9950
- "../../node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports2) {
9990
+ "../../../node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports2) {
9951
9991
  "use strict";
9952
9992
  Object.defineProperty(exports2, "__esModule", { value: true });
9953
9993
  var dynamicAnchor_1 = require_dynamicAnchor();
@@ -9966,9 +10006,9 @@ var require_recursiveAnchor = __commonJS({
9966
10006
  }
9967
10007
  });
9968
10008
 
9969
- // ../../node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
10009
+ // ../../../node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
9970
10010
  var require_recursiveRef = __commonJS({
9971
- "../../node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports2) {
10011
+ "../../../node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports2) {
9972
10012
  "use strict";
9973
10013
  Object.defineProperty(exports2, "__esModule", { value: true });
9974
10014
  var dynamicRef_1 = require_dynamicRef();
@@ -9981,9 +10021,9 @@ var require_recursiveRef = __commonJS({
9981
10021
  }
9982
10022
  });
9983
10023
 
9984
- // ../../node_modules/ajv/dist/vocabularies/dynamic/index.js
10024
+ // ../../../node_modules/ajv/dist/vocabularies/dynamic/index.js
9985
10025
  var require_dynamic = __commonJS({
9986
- "../../node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports2) {
10026
+ "../../../node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports2) {
9987
10027
  "use strict";
9988
10028
  Object.defineProperty(exports2, "__esModule", { value: true });
9989
10029
  var dynamicAnchor_1 = require_dynamicAnchor();
@@ -9995,9 +10035,9 @@ var require_dynamic = __commonJS({
9995
10035
  }
9996
10036
  });
9997
10037
 
9998
- // ../../node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
10038
+ // ../../../node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
9999
10039
  var require_dependentRequired = __commonJS({
10000
- "../../node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports2) {
10040
+ "../../../node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports2) {
10001
10041
  "use strict";
10002
10042
  Object.defineProperty(exports2, "__esModule", { value: true });
10003
10043
  var dependencies_1 = require_dependencies();
@@ -10012,9 +10052,9 @@ var require_dependentRequired = __commonJS({
10012
10052
  }
10013
10053
  });
10014
10054
 
10015
- // ../../node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
10055
+ // ../../../node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
10016
10056
  var require_dependentSchemas = __commonJS({
10017
- "../../node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports2) {
10057
+ "../../../node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports2) {
10018
10058
  "use strict";
10019
10059
  Object.defineProperty(exports2, "__esModule", { value: true });
10020
10060
  var dependencies_1 = require_dependencies();
@@ -10028,9 +10068,9 @@ var require_dependentSchemas = __commonJS({
10028
10068
  }
10029
10069
  });
10030
10070
 
10031
- // ../../node_modules/ajv/dist/vocabularies/validation/limitContains.js
10071
+ // ../../../node_modules/ajv/dist/vocabularies/validation/limitContains.js
10032
10072
  var require_limitContains = __commonJS({
10033
- "../../node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports2) {
10073
+ "../../../node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports2) {
10034
10074
  "use strict";
10035
10075
  Object.defineProperty(exports2, "__esModule", { value: true });
10036
10076
  var util_1 = require_util();
@@ -10048,9 +10088,9 @@ var require_limitContains = __commonJS({
10048
10088
  }
10049
10089
  });
10050
10090
 
10051
- // ../../node_modules/ajv/dist/vocabularies/next.js
10091
+ // ../../../node_modules/ajv/dist/vocabularies/next.js
10052
10092
  var require_next = __commonJS({
10053
- "../../node_modules/ajv/dist/vocabularies/next.js"(exports2) {
10093
+ "../../../node_modules/ajv/dist/vocabularies/next.js"(exports2) {
10054
10094
  "use strict";
10055
10095
  Object.defineProperty(exports2, "__esModule", { value: true });
10056
10096
  var dependentRequired_1 = require_dependentRequired();
@@ -10061,9 +10101,9 @@ var require_next = __commonJS({
10061
10101
  }
10062
10102
  });
10063
10103
 
10064
- // ../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
10104
+ // ../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
10065
10105
  var require_unevaluatedProperties = __commonJS({
10066
- "../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports2) {
10106
+ "../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports2) {
10067
10107
  "use strict";
10068
10108
  Object.defineProperty(exports2, "__esModule", { value: true });
10069
10109
  var codegen_1 = require_codegen();
@@ -10127,9 +10167,9 @@ var require_unevaluatedProperties = __commonJS({
10127
10167
  }
10128
10168
  });
10129
10169
 
10130
- // ../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
10170
+ // ../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
10131
10171
  var require_unevaluatedItems = __commonJS({
10132
- "../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports2) {
10172
+ "../../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports2) {
10133
10173
  "use strict";
10134
10174
  Object.defineProperty(exports2, "__esModule", { value: true });
10135
10175
  var codegen_1 = require_codegen();
@@ -10171,9 +10211,9 @@ var require_unevaluatedItems = __commonJS({
10171
10211
  }
10172
10212
  });
10173
10213
 
10174
- // ../../node_modules/ajv/dist/vocabularies/unevaluated/index.js
10214
+ // ../../../node_modules/ajv/dist/vocabularies/unevaluated/index.js
10175
10215
  var require_unevaluated = __commonJS({
10176
- "../../node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports2) {
10216
+ "../../../node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports2) {
10177
10217
  "use strict";
10178
10218
  Object.defineProperty(exports2, "__esModule", { value: true });
10179
10219
  var unevaluatedProperties_1 = require_unevaluatedProperties();
@@ -10183,9 +10223,9 @@ var require_unevaluated = __commonJS({
10183
10223
  }
10184
10224
  });
10185
10225
 
10186
- // ../../node_modules/ajv/dist/vocabularies/format/format.js
10226
+ // ../../../node_modules/ajv/dist/vocabularies/format/format.js
10187
10227
  var require_format = __commonJS({
10188
- "../../node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
10228
+ "../../../node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
10189
10229
  "use strict";
10190
10230
  Object.defineProperty(exports2, "__esModule", { value: true });
10191
10231
  var codegen_1 = require_codegen();
@@ -10273,9 +10313,9 @@ var require_format = __commonJS({
10273
10313
  }
10274
10314
  });
10275
10315
 
10276
- // ../../node_modules/ajv/dist/vocabularies/format/index.js
10316
+ // ../../../node_modules/ajv/dist/vocabularies/format/index.js
10277
10317
  var require_format2 = __commonJS({
10278
- "../../node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
10318
+ "../../../node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
10279
10319
  "use strict";
10280
10320
  Object.defineProperty(exports2, "__esModule", { value: true });
10281
10321
  var format_1 = require_format();
@@ -10284,9 +10324,9 @@ var require_format2 = __commonJS({
10284
10324
  }
10285
10325
  });
10286
10326
 
10287
- // ../../node_modules/ajv/dist/vocabularies/metadata.js
10327
+ // ../../../node_modules/ajv/dist/vocabularies/metadata.js
10288
10328
  var require_metadata = __commonJS({
10289
- "../../node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
10329
+ "../../../node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
10290
10330
  "use strict";
10291
10331
  Object.defineProperty(exports2, "__esModule", { value: true });
10292
10332
  exports2.contentVocabulary = exports2.metadataVocabulary = void 0;
@@ -10307,9 +10347,9 @@ var require_metadata = __commonJS({
10307
10347
  }
10308
10348
  });
10309
10349
 
10310
- // ../../node_modules/ajv/dist/vocabularies/draft2020.js
10350
+ // ../../../node_modules/ajv/dist/vocabularies/draft2020.js
10311
10351
  var require_draft2020 = __commonJS({
10312
- "../../node_modules/ajv/dist/vocabularies/draft2020.js"(exports2) {
10352
+ "../../../node_modules/ajv/dist/vocabularies/draft2020.js"(exports2) {
10313
10353
  "use strict";
10314
10354
  Object.defineProperty(exports2, "__esModule", { value: true });
10315
10355
  var core_1 = require_core3();
@@ -10335,9 +10375,9 @@ var require_draft2020 = __commonJS({
10335
10375
  }
10336
10376
  });
10337
10377
 
10338
- // ../../node_modules/ajv/dist/vocabularies/discriminator/types.js
10378
+ // ../../../node_modules/ajv/dist/vocabularies/discriminator/types.js
10339
10379
  var require_types = __commonJS({
10340
- "../../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
10380
+ "../../../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
10341
10381
  "use strict";
10342
10382
  Object.defineProperty(exports2, "__esModule", { value: true });
10343
10383
  exports2.DiscrError = void 0;
@@ -10349,9 +10389,9 @@ var require_types = __commonJS({
10349
10389
  }
10350
10390
  });
10351
10391
 
10352
- // ../../node_modules/ajv/dist/vocabularies/discriminator/index.js
10392
+ // ../../../node_modules/ajv/dist/vocabularies/discriminator/index.js
10353
10393
  var require_discriminator = __commonJS({
10354
- "../../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
10394
+ "../../../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
10355
10395
  "use strict";
10356
10396
  Object.defineProperty(exports2, "__esModule", { value: true });
10357
10397
  var codegen_1 = require_codegen();
@@ -10454,9 +10494,9 @@ var require_discriminator = __commonJS({
10454
10494
  }
10455
10495
  });
10456
10496
 
10457
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
10497
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/schema.json
10458
10498
  var require_schema2 = __commonJS({
10459
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/schema.json"(exports2, module2) {
10499
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/schema.json"(exports2, module2) {
10460
10500
  module2.exports = {
10461
10501
  $schema: "https://json-schema.org/draft/2020-12/schema",
10462
10502
  $id: "https://json-schema.org/draft/2020-12/schema",
@@ -10514,9 +10554,9 @@ var require_schema2 = __commonJS({
10514
10554
  }
10515
10555
  });
10516
10556
 
10517
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
10557
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json
10518
10558
  var require_applicator2 = __commonJS({
10519
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json"(exports2, module2) {
10559
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json"(exports2, module2) {
10520
10560
  module2.exports = {
10521
10561
  $schema: "https://json-schema.org/draft/2020-12/schema",
10522
10562
  $id: "https://json-schema.org/draft/2020-12/meta/applicator",
@@ -10567,9 +10607,9 @@ var require_applicator2 = __commonJS({
10567
10607
  }
10568
10608
  });
10569
10609
 
10570
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
10610
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json
10571
10611
  var require_unevaluated2 = __commonJS({
10572
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json"(exports2, module2) {
10612
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json"(exports2, module2) {
10573
10613
  module2.exports = {
10574
10614
  $schema: "https://json-schema.org/draft/2020-12/schema",
10575
10615
  $id: "https://json-schema.org/draft/2020-12/meta/unevaluated",
@@ -10587,9 +10627,9 @@ var require_unevaluated2 = __commonJS({
10587
10627
  }
10588
10628
  });
10589
10629
 
10590
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
10630
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json
10591
10631
  var require_content = __commonJS({
10592
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json"(exports2, module2) {
10632
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json"(exports2, module2) {
10593
10633
  module2.exports = {
10594
10634
  $schema: "https://json-schema.org/draft/2020-12/schema",
10595
10635
  $id: "https://json-schema.org/draft/2020-12/meta/content",
@@ -10608,9 +10648,9 @@ var require_content = __commonJS({
10608
10648
  }
10609
10649
  });
10610
10650
 
10611
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
10651
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json
10612
10652
  var require_core4 = __commonJS({
10613
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json"(exports2, module2) {
10653
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json"(exports2, module2) {
10614
10654
  module2.exports = {
10615
10655
  $schema: "https://json-schema.org/draft/2020-12/schema",
10616
10656
  $id: "https://json-schema.org/draft/2020-12/meta/core",
@@ -10664,9 +10704,9 @@ var require_core4 = __commonJS({
10664
10704
  }
10665
10705
  });
10666
10706
 
10667
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
10707
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json
10668
10708
  var require_format_annotation = __commonJS({
10669
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json"(exports2, module2) {
10709
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json"(exports2, module2) {
10670
10710
  module2.exports = {
10671
10711
  $schema: "https://json-schema.org/draft/2020-12/schema",
10672
10712
  $id: "https://json-schema.org/draft/2020-12/meta/format-annotation",
@@ -10683,9 +10723,9 @@ var require_format_annotation = __commonJS({
10683
10723
  }
10684
10724
  });
10685
10725
 
10686
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
10726
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json
10687
10727
  var require_meta_data = __commonJS({
10688
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json"(exports2, module2) {
10728
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json"(exports2, module2) {
10689
10729
  module2.exports = {
10690
10730
  $schema: "https://json-schema.org/draft/2020-12/schema",
10691
10731
  $id: "https://json-schema.org/draft/2020-12/meta/meta-data",
@@ -10724,9 +10764,9 @@ var require_meta_data = __commonJS({
10724
10764
  }
10725
10765
  });
10726
10766
 
10727
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
10767
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json
10728
10768
  var require_validation2 = __commonJS({
10729
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json"(exports2, module2) {
10769
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json"(exports2, module2) {
10730
10770
  module2.exports = {
10731
10771
  $schema: "https://json-schema.org/draft/2020-12/schema",
10732
10772
  $id: "https://json-schema.org/draft/2020-12/meta/validation",
@@ -10819,9 +10859,9 @@ var require_validation2 = __commonJS({
10819
10859
  }
10820
10860
  });
10821
10861
 
10822
- // ../../node_modules/ajv/dist/refs/json-schema-2020-12/index.js
10862
+ // ../../../node_modules/ajv/dist/refs/json-schema-2020-12/index.js
10823
10863
  var require_json_schema_2020_12 = __commonJS({
10824
- "../../node_modules/ajv/dist/refs/json-schema-2020-12/index.js"(exports2) {
10864
+ "../../../node_modules/ajv/dist/refs/json-schema-2020-12/index.js"(exports2) {
10825
10865
  "use strict";
10826
10866
  Object.defineProperty(exports2, "__esModule", { value: true });
10827
10867
  var metaSchema = require_schema2();
@@ -10854,9 +10894,9 @@ var require_json_schema_2020_12 = __commonJS({
10854
10894
  }
10855
10895
  });
10856
10896
 
10857
- // ../../node_modules/ajv/dist/2020.js
10897
+ // ../../../node_modules/ajv/dist/2020.js
10858
10898
  var require__ = __commonJS({
10859
- "../../node_modules/ajv/dist/2020.js"(exports2, module2) {
10899
+ "../../../node_modules/ajv/dist/2020.js"(exports2, module2) {
10860
10900
  "use strict";
10861
10901
  Object.defineProperty(exports2, "__esModule", { value: true });
10862
10902
  exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv2020 = void 0;
@@ -10931,9 +10971,9 @@ var require__ = __commonJS({
10931
10971
  }
10932
10972
  });
10933
10973
 
10934
- // ../../node_modules/ajv-formats/dist/formats.js
10974
+ // ../../../node_modules/ajv-formats/dist/formats.js
10935
10975
  var require_formats = __commonJS({
10936
- "../../node_modules/ajv-formats/dist/formats.js"(exports2) {
10976
+ "../../../node_modules/ajv-formats/dist/formats.js"(exports2) {
10937
10977
  "use strict";
10938
10978
  Object.defineProperty(exports2, "__esModule", { value: true });
10939
10979
  exports2.formatNames = exports2.fastFormats = exports2.fullFormats = void 0;
@@ -11134,9 +11174,9 @@ var require_formats = __commonJS({
11134
11174
  }
11135
11175
  });
11136
11176
 
11137
- // ../../node_modules/ajv/dist/vocabularies/draft7.js
11177
+ // ../../../node_modules/ajv/dist/vocabularies/draft7.js
11138
11178
  var require_draft7 = __commonJS({
11139
- "../../node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
11179
+ "../../../node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
11140
11180
  "use strict";
11141
11181
  Object.defineProperty(exports2, "__esModule", { value: true });
11142
11182
  var core_1 = require_core3();
@@ -11156,9 +11196,9 @@ var require_draft7 = __commonJS({
11156
11196
  }
11157
11197
  });
11158
11198
 
11159
- // ../../node_modules/ajv/dist/refs/json-schema-draft-07.json
11199
+ // ../../../node_modules/ajv/dist/refs/json-schema-draft-07.json
11160
11200
  var require_json_schema_draft_07 = __commonJS({
11161
- "../../node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
11201
+ "../../../node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
11162
11202
  module2.exports = {
11163
11203
  $schema: "http://json-schema.org/draft-07/schema#",
11164
11204
  $id: "http://json-schema.org/draft-07/schema#",
@@ -11313,9 +11353,9 @@ var require_json_schema_draft_07 = __commonJS({
11313
11353
  }
11314
11354
  });
11315
11355
 
11316
- // ../../node_modules/ajv/dist/ajv.js
11356
+ // ../../../node_modules/ajv/dist/ajv.js
11317
11357
  var require_ajv = __commonJS({
11318
- "../../node_modules/ajv/dist/ajv.js"(exports2, module2) {
11358
+ "../../../node_modules/ajv/dist/ajv.js"(exports2, module2) {
11319
11359
  "use strict";
11320
11360
  Object.defineProperty(exports2, "__esModule", { value: true });
11321
11361
  exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
@@ -11383,9 +11423,9 @@ var require_ajv = __commonJS({
11383
11423
  }
11384
11424
  });
11385
11425
 
11386
- // ../../node_modules/ajv-formats/dist/limit.js
11426
+ // ../../../node_modules/ajv-formats/dist/limit.js
11387
11427
  var require_limit = __commonJS({
11388
- "../../node_modules/ajv-formats/dist/limit.js"(exports2) {
11428
+ "../../../node_modules/ajv-formats/dist/limit.js"(exports2) {
11389
11429
  "use strict";
11390
11430
  Object.defineProperty(exports2, "__esModule", { value: true });
11391
11431
  exports2.formatLimitDefinition = void 0;
@@ -11455,9 +11495,9 @@ var require_limit = __commonJS({
11455
11495
  }
11456
11496
  });
11457
11497
 
11458
- // ../../node_modules/ajv-formats/dist/index.js
11498
+ // ../../../node_modules/ajv-formats/dist/index.js
11459
11499
  var require_dist2 = __commonJS({
11460
- "../../node_modules/ajv-formats/dist/index.js"(exports2, module2) {
11500
+ "../../../node_modules/ajv-formats/dist/index.js"(exports2, module2) {
11461
11501
  "use strict";
11462
11502
  Object.defineProperty(exports2, "__esModule", { value: true });
11463
11503
  var formats_1 = require_formats();
@@ -11497,7 +11537,7 @@ var require_dist2 = __commonJS({
11497
11537
  }
11498
11538
  });
11499
11539
 
11500
- // ../../node_modules/chalk/source/vendor/ansi-styles/index.js
11540
+ // ../../../node_modules/chalk/source/vendor/ansi-styles/index.js
11501
11541
  function assembleStyles() {
11502
11542
  const codes = /* @__PURE__ */ new Map();
11503
11543
  for (const [groupName, group] of Object.entries(styles)) {
@@ -11614,7 +11654,7 @@ function assembleStyles() {
11614
11654
  }
11615
11655
  var ANSI_BACKGROUND_OFFSET, wrapAnsi16, wrapAnsi256, wrapAnsi16m, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default;
11616
11656
  var init_ansi_styles = __esm({
11617
- "../../node_modules/chalk/source/vendor/ansi-styles/index.js"() {
11657
+ "../../../node_modules/chalk/source/vendor/ansi-styles/index.js"() {
11618
11658
  "use strict";
11619
11659
  ANSI_BACKGROUND_OFFSET = 10;
11620
11660
  wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
@@ -11689,7 +11729,7 @@ var init_ansi_styles = __esm({
11689
11729
  }
11690
11730
  });
11691
11731
 
11692
- // ../../node_modules/chalk/source/vendor/supports-color/index.js
11732
+ // ../../../node_modules/chalk/source/vendor/supports-color/index.js
11693
11733
  function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
11694
11734
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
11695
11735
  const position = argv.indexOf(prefix + flag);
@@ -11807,7 +11847,7 @@ function createSupportsColor(stream, options = {}) {
11807
11847
  }
11808
11848
  var import_node_process, import_node_os, import_node_tty, env, flagForceColor, supportsColor, supports_color_default;
11809
11849
  var init_supports_color = __esm({
11810
- "../../node_modules/chalk/source/vendor/supports-color/index.js"() {
11850
+ "../../../node_modules/chalk/source/vendor/supports-color/index.js"() {
11811
11851
  "use strict";
11812
11852
  import_node_process = __toESM(require("process"), 1);
11813
11853
  import_node_os = __toESM(require("os"), 1);
@@ -11826,7 +11866,7 @@ var init_supports_color = __esm({
11826
11866
  }
11827
11867
  });
11828
11868
 
11829
- // ../../node_modules/chalk/source/utilities.js
11869
+ // ../../../node_modules/chalk/source/utilities.js
11830
11870
  function stringReplaceAll(string4, substring, replacer) {
11831
11871
  let index = string4.indexOf(substring);
11832
11872
  if (index === -1) {
@@ -11856,12 +11896,12 @@ function stringEncaseCRLFWithFirstIndex(string4, prefix, postfix, index) {
11856
11896
  return returnValue;
11857
11897
  }
11858
11898
  var init_utilities = __esm({
11859
- "../../node_modules/chalk/source/utilities.js"() {
11899
+ "../../../node_modules/chalk/source/utilities.js"() {
11860
11900
  "use strict";
11861
11901
  }
11862
11902
  });
11863
11903
 
11864
- // ../../node_modules/chalk/source/index.js
11904
+ // ../../../node_modules/chalk/source/index.js
11865
11905
  var source_exports = {};
11866
11906
  __export(source_exports, {
11867
11907
  Chalk: () => Chalk,
@@ -11883,7 +11923,7 @@ function createChalk(options) {
11883
11923
  }
11884
11924
  var stdoutColor, stderrColor, GENERATOR, STYLER, IS_EMPTY, levelMapping, styles2, applyOptions, Chalk, chalkFactory, getModelAnsi, usedModels, proto, createStyler, createBuilder, applyStyle, chalk, chalkStderr, source_default;
11885
11925
  var init_source = __esm({
11886
- "../../node_modules/chalk/source/index.js"() {
11926
+ "../../../node_modules/chalk/source/index.js"() {
11887
11927
  "use strict";
11888
11928
  init_ansi_styles();
11889
11929
  init_supports_color();
@@ -12039,7 +12079,7 @@ var init_source = __esm({
12039
12079
  }
12040
12080
  });
12041
12081
 
12042
- // ../../node_modules/zod/v4/core/core.js
12082
+ // ../../../node_modules/zod/v4/core/core.js
12043
12083
  // @__NO_SIDE_EFFECTS__
12044
12084
  function $constructor(name, initializer3, params) {
12045
12085
  function init(inst, def) {
@@ -12099,7 +12139,7 @@ function config(newConfig) {
12099
12139
  }
12100
12140
  var NEVER, $brand, $ZodAsyncError, $ZodEncodeError, globalConfig;
12101
12141
  var init_core = __esm({
12102
- "../../node_modules/zod/v4/core/core.js"() {
12142
+ "../../../node_modules/zod/v4/core/core.js"() {
12103
12143
  "use strict";
12104
12144
  NEVER = Object.freeze({
12105
12145
  status: "aborted"
@@ -12120,7 +12160,7 @@ var init_core = __esm({
12120
12160
  }
12121
12161
  });
12122
12162
 
12123
- // ../../node_modules/zod/v4/core/util.js
12163
+ // ../../../node_modules/zod/v4/core/util.js
12124
12164
  var util_exports = {};
12125
12165
  __export(util_exports, {
12126
12166
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -12724,7 +12764,7 @@ function uint8ArrayToHex(bytes) {
12724
12764
  }
12725
12765
  var EVALUATING, captureStackTrace, allowsEval, getParsedType, propertyKeyTypes, primitiveTypes, NUMBER_FORMAT_RANGES, BIGINT_FORMAT_RANGES, Class;
12726
12766
  var init_util = __esm({
12727
- "../../node_modules/zod/v4/core/util.js"() {
12767
+ "../../../node_modules/zod/v4/core/util.js"() {
12728
12768
  "use strict";
12729
12769
  EVALUATING = /* @__PURE__ */ Symbol("evaluating");
12730
12770
  captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {
@@ -12805,7 +12845,7 @@ var init_util = __esm({
12805
12845
  }
12806
12846
  });
12807
12847
 
12808
- // ../../node_modules/zod/v4/core/errors.js
12848
+ // ../../../node_modules/zod/v4/core/errors.js
12809
12849
  function flattenError(error48, mapper = (issue2) => issue2.message) {
12810
12850
  const fieldErrors = {};
12811
12851
  const formErrors = [];
@@ -12924,7 +12964,7 @@ function prettifyError(error48) {
12924
12964
  }
12925
12965
  var initializer, $ZodError, $ZodRealError;
12926
12966
  var init_errors = __esm({
12927
- "../../node_modules/zod/v4/core/errors.js"() {
12967
+ "../../../node_modules/zod/v4/core/errors.js"() {
12928
12968
  "use strict";
12929
12969
  init_core();
12930
12970
  init_util();
@@ -12949,10 +12989,10 @@ var init_errors = __esm({
12949
12989
  }
12950
12990
  });
12951
12991
 
12952
- // ../../node_modules/zod/v4/core/parse.js
12992
+ // ../../../node_modules/zod/v4/core/parse.js
12953
12993
  var _parse, parse, _parseAsync, parseAsync, _safeParse, safeParse, _safeParseAsync, safeParseAsync, _encode, encode, _decode, decode, _encodeAsync, encodeAsync, _decodeAsync, decodeAsync, _safeEncode, safeEncode, _safeDecode, safeDecode, _safeEncodeAsync, safeEncodeAsync, _safeDecodeAsync, safeDecodeAsync;
12954
12994
  var init_parse = __esm({
12955
- "../../node_modules/zod/v4/core/parse.js"() {
12995
+ "../../../node_modules/zod/v4/core/parse.js"() {
12956
12996
  "use strict";
12957
12997
  init_core();
12958
12998
  init_errors();
@@ -13046,7 +13086,7 @@ var init_parse = __esm({
13046
13086
  }
13047
13087
  });
13048
13088
 
13049
- // ../../node_modules/zod/v4/core/regexes.js
13089
+ // ../../../node_modules/zod/v4/core/regexes.js
13050
13090
  var regexes_exports = {};
13051
13091
  __export(regexes_exports, {
13052
13092
  base64: () => base64,
@@ -13137,7 +13177,7 @@ function fixedBase64url(length) {
13137
13177
  }
13138
13178
  var cuid, cuid2, ulid, xid, ksuid, nanoid, duration, extendedDuration, guid, uuid, uuid4, uuid6, uuid7, email, html5Email, rfc5322Email, unicodeEmail, idnEmail, browserEmail, _emoji, ipv4, ipv6, mac, cidrv4, cidrv6, base64, base64url, hostname, domain, e164, dateSource, date, string, bigint, integer, number, boolean, _null, _undefined, lowercase, uppercase, hex, md5_hex, md5_base64, md5_base64url, sha1_hex, sha1_base64, sha1_base64url, sha256_hex, sha256_base64, sha256_base64url, sha384_hex, sha384_base64, sha384_base64url, sha512_hex, sha512_base64, sha512_base64url;
13139
13179
  var init_regexes = __esm({
13140
- "../../node_modules/zod/v4/core/regexes.js"() {
13180
+ "../../../node_modules/zod/v4/core/regexes.js"() {
13141
13181
  "use strict";
13142
13182
  init_util();
13143
13183
  cuid = /^[cC][^\s-]{8,}$/;
@@ -13210,7 +13250,7 @@ var init_regexes = __esm({
13210
13250
  }
13211
13251
  });
13212
13252
 
13213
- // ../../node_modules/zod/v4/core/checks.js
13253
+ // ../../../node_modules/zod/v4/core/checks.js
13214
13254
  function handleCheckPropertyResult(result, payload, property) {
13215
13255
  if (result.issues.length) {
13216
13256
  payload.issues.push(...prefixIssues(property, result.issues));
@@ -13218,7 +13258,7 @@ function handleCheckPropertyResult(result, payload, property) {
13218
13258
  }
13219
13259
  var $ZodCheck, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckBigIntFormat, $ZodCheckMaxSize, $ZodCheckMinSize, $ZodCheckSizeEquals, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckLengthEquals, $ZodCheckStringFormat, $ZodCheckRegex, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckProperty, $ZodCheckMimeType, $ZodCheckOverwrite;
13220
13260
  var init_checks = __esm({
13221
- "../../node_modules/zod/v4/core/checks.js"() {
13261
+ "../../../node_modules/zod/v4/core/checks.js"() {
13222
13262
  "use strict";
13223
13263
  init_core();
13224
13264
  init_regexes();
@@ -13767,10 +13807,10 @@ var init_checks = __esm({
13767
13807
  }
13768
13808
  });
13769
13809
 
13770
- // ../../node_modules/zod/v4/core/doc.js
13810
+ // ../../../node_modules/zod/v4/core/doc.js
13771
13811
  var Doc;
13772
13812
  var init_doc = __esm({
13773
- "../../node_modules/zod/v4/core/doc.js"() {
13813
+ "../../../node_modules/zod/v4/core/doc.js"() {
13774
13814
  "use strict";
13775
13815
  Doc = class {
13776
13816
  constructor(args = []) {
@@ -13809,10 +13849,10 @@ var init_doc = __esm({
13809
13849
  }
13810
13850
  });
13811
13851
 
13812
- // ../../node_modules/zod/v4/core/versions.js
13852
+ // ../../../node_modules/zod/v4/core/versions.js
13813
13853
  var version;
13814
13854
  var init_versions = __esm({
13815
- "../../node_modules/zod/v4/core/versions.js"() {
13855
+ "../../../node_modules/zod/v4/core/versions.js"() {
13816
13856
  "use strict";
13817
13857
  version = {
13818
13858
  major: 4,
@@ -13822,7 +13862,7 @@ var init_versions = __esm({
13822
13862
  }
13823
13863
  });
13824
13864
 
13825
- // ../../node_modules/zod/v4/core/schemas.js
13865
+ // ../../../node_modules/zod/v4/core/schemas.js
13826
13866
  function isValidBase64(data) {
13827
13867
  if (data === "")
13828
13868
  return true;
@@ -14182,7 +14222,7 @@ function handleRefineResult(result, payload, input, inst) {
14182
14222
  }
14183
14223
  var $ZodType, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, $ZodIPv6, $ZodMAC, $ZodCIDRv4, $ZodCIDRv6, $ZodBase64, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodCustomStringFormat, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodBigInt, $ZodBigIntFormat, $ZodSymbol, $ZodUndefined, $ZodNull, $ZodAny, $ZodUnknown, $ZodNever, $ZodVoid, $ZodDate, $ZodArray, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodXor, $ZodDiscriminatedUnion, $ZodIntersection, $ZodTuple, $ZodRecord, $ZodMap, $ZodSet, $ZodEnum, $ZodLiteral, $ZodFile, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodSuccess, $ZodCatch, $ZodNaN, $ZodPipe, $ZodCodec, $ZodReadonly, $ZodTemplateLiteral, $ZodFunction, $ZodPromise, $ZodLazy, $ZodCustom;
14184
14224
  var init_schemas = __esm({
14185
- "../../node_modules/zod/v4/core/schemas.js"() {
14225
+ "../../../node_modules/zod/v4/core/schemas.js"() {
14186
14226
  "use strict";
14187
14227
  init_checks();
14188
14228
  init_core();
@@ -15807,7 +15847,7 @@ var init_schemas = __esm({
15807
15847
  }
15808
15848
  });
15809
15849
 
15810
- // ../../node_modules/zod/v4/locales/ar.js
15850
+ // ../../../node_modules/zod/v4/locales/ar.js
15811
15851
  function ar_default() {
15812
15852
  return {
15813
15853
  localeError: error()
@@ -15815,7 +15855,7 @@ function ar_default() {
15815
15855
  }
15816
15856
  var error;
15817
15857
  var init_ar = __esm({
15818
- "../../node_modules/zod/v4/locales/ar.js"() {
15858
+ "../../../node_modules/zod/v4/locales/ar.js"() {
15819
15859
  "use strict";
15820
15860
  init_util();
15821
15861
  error = () => {
@@ -15921,7 +15961,7 @@ var init_ar = __esm({
15921
15961
  }
15922
15962
  });
15923
15963
 
15924
- // ../../node_modules/zod/v4/locales/az.js
15964
+ // ../../../node_modules/zod/v4/locales/az.js
15925
15965
  function az_default() {
15926
15966
  return {
15927
15967
  localeError: error2()
@@ -15929,7 +15969,7 @@ function az_default() {
15929
15969
  }
15930
15970
  var error2;
15931
15971
  var init_az = __esm({
15932
- "../../node_modules/zod/v4/locales/az.js"() {
15972
+ "../../../node_modules/zod/v4/locales/az.js"() {
15933
15973
  "use strict";
15934
15974
  init_util();
15935
15975
  error2 = () => {
@@ -16034,7 +16074,7 @@ var init_az = __esm({
16034
16074
  }
16035
16075
  });
16036
16076
 
16037
- // ../../node_modules/zod/v4/locales/be.js
16077
+ // ../../../node_modules/zod/v4/locales/be.js
16038
16078
  function getBelarusianPlural(count, one, few, many) {
16039
16079
  const absCount = Math.abs(count);
16040
16080
  const lastDigit = absCount % 10;
@@ -16057,7 +16097,7 @@ function be_default() {
16057
16097
  }
16058
16098
  var error3;
16059
16099
  var init_be = __esm({
16060
- "../../node_modules/zod/v4/locales/be.js"() {
16100
+ "../../../node_modules/zod/v4/locales/be.js"() {
16061
16101
  "use strict";
16062
16102
  init_util();
16063
16103
  error3 = () => {
@@ -16198,7 +16238,7 @@ var init_be = __esm({
16198
16238
  }
16199
16239
  });
16200
16240
 
16201
- // ../../node_modules/zod/v4/locales/bg.js
16241
+ // ../../../node_modules/zod/v4/locales/bg.js
16202
16242
  function bg_default() {
16203
16243
  return {
16204
16244
  localeError: error4()
@@ -16206,7 +16246,7 @@ function bg_default() {
16206
16246
  }
16207
16247
  var error4;
16208
16248
  var init_bg = __esm({
16209
- "../../node_modules/zod/v4/locales/bg.js"() {
16249
+ "../../../node_modules/zod/v4/locales/bg.js"() {
16210
16250
  "use strict";
16211
16251
  init_util();
16212
16252
  error4 = () => {
@@ -16326,7 +16366,7 @@ var init_bg = __esm({
16326
16366
  }
16327
16367
  });
16328
16368
 
16329
- // ../../node_modules/zod/v4/locales/ca.js
16369
+ // ../../../node_modules/zod/v4/locales/ca.js
16330
16370
  function ca_default() {
16331
16371
  return {
16332
16372
  localeError: error5()
@@ -16334,7 +16374,7 @@ function ca_default() {
16334
16374
  }
16335
16375
  var error5;
16336
16376
  var init_ca = __esm({
16337
- "../../node_modules/zod/v4/locales/ca.js"() {
16377
+ "../../../node_modules/zod/v4/locales/ca.js"() {
16338
16378
  "use strict";
16339
16379
  init_util();
16340
16380
  error5 = () => {
@@ -16442,7 +16482,7 @@ var init_ca = __esm({
16442
16482
  }
16443
16483
  });
16444
16484
 
16445
- // ../../node_modules/zod/v4/locales/cs.js
16485
+ // ../../../node_modules/zod/v4/locales/cs.js
16446
16486
  function cs_default() {
16447
16487
  return {
16448
16488
  localeError: error6()
@@ -16450,7 +16490,7 @@ function cs_default() {
16450
16490
  }
16451
16491
  var error6;
16452
16492
  var init_cs = __esm({
16453
- "../../node_modules/zod/v4/locales/cs.js"() {
16493
+ "../../../node_modules/zod/v4/locales/cs.js"() {
16454
16494
  "use strict";
16455
16495
  init_util();
16456
16496
  error6 = () => {
@@ -16561,7 +16601,7 @@ var init_cs = __esm({
16561
16601
  }
16562
16602
  });
16563
16603
 
16564
- // ../../node_modules/zod/v4/locales/da.js
16604
+ // ../../../node_modules/zod/v4/locales/da.js
16565
16605
  function da_default() {
16566
16606
  return {
16567
16607
  localeError: error7()
@@ -16569,7 +16609,7 @@ function da_default() {
16569
16609
  }
16570
16610
  var error7;
16571
16611
  var init_da = __esm({
16572
- "../../node_modules/zod/v4/locales/da.js"() {
16612
+ "../../../node_modules/zod/v4/locales/da.js"() {
16573
16613
  "use strict";
16574
16614
  init_util();
16575
16615
  error7 = () => {
@@ -16684,7 +16724,7 @@ var init_da = __esm({
16684
16724
  }
16685
16725
  });
16686
16726
 
16687
- // ../../node_modules/zod/v4/locales/de.js
16727
+ // ../../../node_modules/zod/v4/locales/de.js
16688
16728
  function de_default() {
16689
16729
  return {
16690
16730
  localeError: error8()
@@ -16692,7 +16732,7 @@ function de_default() {
16692
16732
  }
16693
16733
  var error8;
16694
16734
  var init_de = __esm({
16695
- "../../node_modules/zod/v4/locales/de.js"() {
16735
+ "../../../node_modules/zod/v4/locales/de.js"() {
16696
16736
  "use strict";
16697
16737
  init_util();
16698
16738
  error8 = () => {
@@ -16800,7 +16840,7 @@ var init_de = __esm({
16800
16840
  }
16801
16841
  });
16802
16842
 
16803
- // ../../node_modules/zod/v4/locales/en.js
16843
+ // ../../../node_modules/zod/v4/locales/en.js
16804
16844
  function en_default() {
16805
16845
  return {
16806
16846
  localeError: error9()
@@ -16808,7 +16848,7 @@ function en_default() {
16808
16848
  }
16809
16849
  var error9;
16810
16850
  var init_en = __esm({
16811
- "../../node_modules/zod/v4/locales/en.js"() {
16851
+ "../../../node_modules/zod/v4/locales/en.js"() {
16812
16852
  "use strict";
16813
16853
  init_util();
16814
16854
  error9 = () => {
@@ -16916,7 +16956,7 @@ var init_en = __esm({
16916
16956
  }
16917
16957
  });
16918
16958
 
16919
- // ../../node_modules/zod/v4/locales/eo.js
16959
+ // ../../../node_modules/zod/v4/locales/eo.js
16920
16960
  function eo_default() {
16921
16961
  return {
16922
16962
  localeError: error10()
@@ -16924,7 +16964,7 @@ function eo_default() {
16924
16964
  }
16925
16965
  var error10;
16926
16966
  var init_eo = __esm({
16927
- "../../node_modules/zod/v4/locales/eo.js"() {
16967
+ "../../../node_modules/zod/v4/locales/eo.js"() {
16928
16968
  "use strict";
16929
16969
  init_util();
16930
16970
  error10 = () => {
@@ -17033,7 +17073,7 @@ var init_eo = __esm({
17033
17073
  }
17034
17074
  });
17035
17075
 
17036
- // ../../node_modules/zod/v4/locales/es.js
17076
+ // ../../../node_modules/zod/v4/locales/es.js
17037
17077
  function es_default() {
17038
17078
  return {
17039
17079
  localeError: error11()
@@ -17041,7 +17081,7 @@ function es_default() {
17041
17081
  }
17042
17082
  var error11;
17043
17083
  var init_es = __esm({
17044
- "../../node_modules/zod/v4/locales/es.js"() {
17084
+ "../../../node_modules/zod/v4/locales/es.js"() {
17045
17085
  "use strict";
17046
17086
  init_util();
17047
17087
  error11 = () => {
@@ -17173,7 +17213,7 @@ var init_es = __esm({
17173
17213
  }
17174
17214
  });
17175
17215
 
17176
- // ../../node_modules/zod/v4/locales/fa.js
17216
+ // ../../../node_modules/zod/v4/locales/fa.js
17177
17217
  function fa_default() {
17178
17218
  return {
17179
17219
  localeError: error12()
@@ -17181,7 +17221,7 @@ function fa_default() {
17181
17221
  }
17182
17222
  var error12;
17183
17223
  var init_fa = __esm({
17184
- "../../node_modules/zod/v4/locales/fa.js"() {
17224
+ "../../../node_modules/zod/v4/locales/fa.js"() {
17185
17225
  "use strict";
17186
17226
  init_util();
17187
17227
  error12 = () => {
@@ -17295,7 +17335,7 @@ var init_fa = __esm({
17295
17335
  }
17296
17336
  });
17297
17337
 
17298
- // ../../node_modules/zod/v4/locales/fi.js
17338
+ // ../../../node_modules/zod/v4/locales/fi.js
17299
17339
  function fi_default() {
17300
17340
  return {
17301
17341
  localeError: error13()
@@ -17303,7 +17343,7 @@ function fi_default() {
17303
17343
  }
17304
17344
  var error13;
17305
17345
  var init_fi = __esm({
17306
- "../../node_modules/zod/v4/locales/fi.js"() {
17346
+ "../../../node_modules/zod/v4/locales/fi.js"() {
17307
17347
  "use strict";
17308
17348
  init_util();
17309
17349
  error13 = () => {
@@ -17415,7 +17455,7 @@ var init_fi = __esm({
17415
17455
  }
17416
17456
  });
17417
17457
 
17418
- // ../../node_modules/zod/v4/locales/fr.js
17458
+ // ../../../node_modules/zod/v4/locales/fr.js
17419
17459
  function fr_default() {
17420
17460
  return {
17421
17461
  localeError: error14()
@@ -17423,7 +17463,7 @@ function fr_default() {
17423
17463
  }
17424
17464
  var error14;
17425
17465
  var init_fr = __esm({
17426
- "../../node_modules/zod/v4/locales/fr.js"() {
17466
+ "../../../node_modules/zod/v4/locales/fr.js"() {
17427
17467
  "use strict";
17428
17468
  init_util();
17429
17469
  error14 = () => {
@@ -17531,7 +17571,7 @@ var init_fr = __esm({
17531
17571
  }
17532
17572
  });
17533
17573
 
17534
- // ../../node_modules/zod/v4/locales/fr-CA.js
17574
+ // ../../../node_modules/zod/v4/locales/fr-CA.js
17535
17575
  function fr_CA_default() {
17536
17576
  return {
17537
17577
  localeError: error15()
@@ -17539,7 +17579,7 @@ function fr_CA_default() {
17539
17579
  }
17540
17580
  var error15;
17541
17581
  var init_fr_CA = __esm({
17542
- "../../node_modules/zod/v4/locales/fr-CA.js"() {
17582
+ "../../../node_modules/zod/v4/locales/fr-CA.js"() {
17543
17583
  "use strict";
17544
17584
  init_util();
17545
17585
  error15 = () => {
@@ -17646,7 +17686,7 @@ var init_fr_CA = __esm({
17646
17686
  }
17647
17687
  });
17648
17688
 
17649
- // ../../node_modules/zod/v4/locales/he.js
17689
+ // ../../../node_modules/zod/v4/locales/he.js
17650
17690
  function he_default() {
17651
17691
  return {
17652
17692
  localeError: error16()
@@ -17654,7 +17694,7 @@ function he_default() {
17654
17694
  }
17655
17695
  var error16;
17656
17696
  var init_he = __esm({
17657
- "../../node_modules/zod/v4/locales/he.js"() {
17697
+ "../../../node_modules/zod/v4/locales/he.js"() {
17658
17698
  "use strict";
17659
17699
  init_util();
17660
17700
  error16 = () => {
@@ -17848,7 +17888,7 @@ var init_he = __esm({
17848
17888
  }
17849
17889
  });
17850
17890
 
17851
- // ../../node_modules/zod/v4/locales/hu.js
17891
+ // ../../../node_modules/zod/v4/locales/hu.js
17852
17892
  function hu_default() {
17853
17893
  return {
17854
17894
  localeError: error17()
@@ -17856,7 +17896,7 @@ function hu_default() {
17856
17896
  }
17857
17897
  var error17;
17858
17898
  var init_hu = __esm({
17859
- "../../node_modules/zod/v4/locales/hu.js"() {
17899
+ "../../../node_modules/zod/v4/locales/hu.js"() {
17860
17900
  "use strict";
17861
17901
  init_util();
17862
17902
  error17 = () => {
@@ -17964,7 +18004,7 @@ var init_hu = __esm({
17964
18004
  }
17965
18005
  });
17966
18006
 
17967
- // ../../node_modules/zod/v4/locales/hy.js
18007
+ // ../../../node_modules/zod/v4/locales/hy.js
17968
18008
  function getArmenianPlural(count, one, many) {
17969
18009
  return Math.abs(count) === 1 ? one : many;
17970
18010
  }
@@ -17982,7 +18022,7 @@ function hy_default() {
17982
18022
  }
17983
18023
  var error18;
17984
18024
  var init_hy = __esm({
17985
- "../../node_modules/zod/v4/locales/hy.js"() {
18025
+ "../../../node_modules/zod/v4/locales/hy.js"() {
17986
18026
  "use strict";
17987
18027
  init_util();
17988
18028
  error18 = () => {
@@ -18119,7 +18159,7 @@ var init_hy = __esm({
18119
18159
  }
18120
18160
  });
18121
18161
 
18122
- // ../../node_modules/zod/v4/locales/id.js
18162
+ // ../../../node_modules/zod/v4/locales/id.js
18123
18163
  function id_default() {
18124
18164
  return {
18125
18165
  localeError: error19()
@@ -18127,7 +18167,7 @@ function id_default() {
18127
18167
  }
18128
18168
  var error19;
18129
18169
  var init_id = __esm({
18130
- "../../node_modules/zod/v4/locales/id.js"() {
18170
+ "../../../node_modules/zod/v4/locales/id.js"() {
18131
18171
  "use strict";
18132
18172
  init_util();
18133
18173
  error19 = () => {
@@ -18233,7 +18273,7 @@ var init_id = __esm({
18233
18273
  }
18234
18274
  });
18235
18275
 
18236
- // ../../node_modules/zod/v4/locales/is.js
18276
+ // ../../../node_modules/zod/v4/locales/is.js
18237
18277
  function is_default() {
18238
18278
  return {
18239
18279
  localeError: error20()
@@ -18241,7 +18281,7 @@ function is_default() {
18241
18281
  }
18242
18282
  var error20;
18243
18283
  var init_is = __esm({
18244
- "../../node_modules/zod/v4/locales/is.js"() {
18284
+ "../../../node_modules/zod/v4/locales/is.js"() {
18245
18285
  "use strict";
18246
18286
  init_util();
18247
18287
  error20 = () => {
@@ -18350,7 +18390,7 @@ var init_is = __esm({
18350
18390
  }
18351
18391
  });
18352
18392
 
18353
- // ../../node_modules/zod/v4/locales/it.js
18393
+ // ../../../node_modules/zod/v4/locales/it.js
18354
18394
  function it_default() {
18355
18395
  return {
18356
18396
  localeError: error21()
@@ -18358,7 +18398,7 @@ function it_default() {
18358
18398
  }
18359
18399
  var error21;
18360
18400
  var init_it = __esm({
18361
- "../../node_modules/zod/v4/locales/it.js"() {
18401
+ "../../../node_modules/zod/v4/locales/it.js"() {
18362
18402
  "use strict";
18363
18403
  init_util();
18364
18404
  error21 = () => {
@@ -18466,7 +18506,7 @@ var init_it = __esm({
18466
18506
  }
18467
18507
  });
18468
18508
 
18469
- // ../../node_modules/zod/v4/locales/ja.js
18509
+ // ../../../node_modules/zod/v4/locales/ja.js
18470
18510
  function ja_default() {
18471
18511
  return {
18472
18512
  localeError: error22()
@@ -18474,7 +18514,7 @@ function ja_default() {
18474
18514
  }
18475
18515
  var error22;
18476
18516
  var init_ja = __esm({
18477
- "../../node_modules/zod/v4/locales/ja.js"() {
18517
+ "../../../node_modules/zod/v4/locales/ja.js"() {
18478
18518
  "use strict";
18479
18519
  init_util();
18480
18520
  error22 = () => {
@@ -18581,7 +18621,7 @@ var init_ja = __esm({
18581
18621
  }
18582
18622
  });
18583
18623
 
18584
- // ../../node_modules/zod/v4/locales/ka.js
18624
+ // ../../../node_modules/zod/v4/locales/ka.js
18585
18625
  function ka_default() {
18586
18626
  return {
18587
18627
  localeError: error23()
@@ -18589,7 +18629,7 @@ function ka_default() {
18589
18629
  }
18590
18630
  var error23;
18591
18631
  var init_ka = __esm({
18592
- "../../node_modules/zod/v4/locales/ka.js"() {
18632
+ "../../../node_modules/zod/v4/locales/ka.js"() {
18593
18633
  "use strict";
18594
18634
  init_util();
18595
18635
  error23 = () => {
@@ -18701,7 +18741,7 @@ var init_ka = __esm({
18701
18741
  }
18702
18742
  });
18703
18743
 
18704
- // ../../node_modules/zod/v4/locales/km.js
18744
+ // ../../../node_modules/zod/v4/locales/km.js
18705
18745
  function km_default() {
18706
18746
  return {
18707
18747
  localeError: error24()
@@ -18709,7 +18749,7 @@ function km_default() {
18709
18749
  }
18710
18750
  var error24;
18711
18751
  var init_km = __esm({
18712
- "../../node_modules/zod/v4/locales/km.js"() {
18752
+ "../../../node_modules/zod/v4/locales/km.js"() {
18713
18753
  "use strict";
18714
18754
  init_util();
18715
18755
  error24 = () => {
@@ -18819,18 +18859,18 @@ var init_km = __esm({
18819
18859
  }
18820
18860
  });
18821
18861
 
18822
- // ../../node_modules/zod/v4/locales/kh.js
18862
+ // ../../../node_modules/zod/v4/locales/kh.js
18823
18863
  function kh_default() {
18824
18864
  return km_default();
18825
18865
  }
18826
18866
  var init_kh = __esm({
18827
- "../../node_modules/zod/v4/locales/kh.js"() {
18867
+ "../../../node_modules/zod/v4/locales/kh.js"() {
18828
18868
  "use strict";
18829
18869
  init_km();
18830
18870
  }
18831
18871
  });
18832
18872
 
18833
- // ../../node_modules/zod/v4/locales/ko.js
18873
+ // ../../../node_modules/zod/v4/locales/ko.js
18834
18874
  function ko_default() {
18835
18875
  return {
18836
18876
  localeError: error25()
@@ -18838,7 +18878,7 @@ function ko_default() {
18838
18878
  }
18839
18879
  var error25;
18840
18880
  var init_ko = __esm({
18841
- "../../node_modules/zod/v4/locales/ko.js"() {
18881
+ "../../../node_modules/zod/v4/locales/ko.js"() {
18842
18882
  "use strict";
18843
18883
  init_util();
18844
18884
  error25 = () => {
@@ -18949,7 +18989,7 @@ var init_ko = __esm({
18949
18989
  }
18950
18990
  });
18951
18991
 
18952
- // ../../node_modules/zod/v4/locales/lt.js
18992
+ // ../../../node_modules/zod/v4/locales/lt.js
18953
18993
  function getUnitTypeFromNumber(number4) {
18954
18994
  const abs = Math.abs(number4);
18955
18995
  const last = abs % 10;
@@ -18967,7 +19007,7 @@ function lt_default() {
18967
19007
  }
18968
19008
  var capitalizeFirstCharacter, error26;
18969
19009
  var init_lt = __esm({
18970
- "../../node_modules/zod/v4/locales/lt.js"() {
19010
+ "../../../node_modules/zod/v4/locales/lt.js"() {
18971
19011
  "use strict";
18972
19012
  init_util();
18973
19013
  capitalizeFirstCharacter = (text) => {
@@ -19160,7 +19200,7 @@ var init_lt = __esm({
19160
19200
  }
19161
19201
  });
19162
19202
 
19163
- // ../../node_modules/zod/v4/locales/mk.js
19203
+ // ../../../node_modules/zod/v4/locales/mk.js
19164
19204
  function mk_default() {
19165
19205
  return {
19166
19206
  localeError: error27()
@@ -19168,7 +19208,7 @@ function mk_default() {
19168
19208
  }
19169
19209
  var error27;
19170
19210
  var init_mk = __esm({
19171
- "../../node_modules/zod/v4/locales/mk.js"() {
19211
+ "../../../node_modules/zod/v4/locales/mk.js"() {
19172
19212
  "use strict";
19173
19213
  init_util();
19174
19214
  error27 = () => {
@@ -19277,7 +19317,7 @@ var init_mk = __esm({
19277
19317
  }
19278
19318
  });
19279
19319
 
19280
- // ../../node_modules/zod/v4/locales/ms.js
19320
+ // ../../../node_modules/zod/v4/locales/ms.js
19281
19321
  function ms_default() {
19282
19322
  return {
19283
19323
  localeError: error28()
@@ -19285,7 +19325,7 @@ function ms_default() {
19285
19325
  }
19286
19326
  var error28;
19287
19327
  var init_ms = __esm({
19288
- "../../node_modules/zod/v4/locales/ms.js"() {
19328
+ "../../../node_modules/zod/v4/locales/ms.js"() {
19289
19329
  "use strict";
19290
19330
  init_util();
19291
19331
  error28 = () => {
@@ -19392,7 +19432,7 @@ var init_ms = __esm({
19392
19432
  }
19393
19433
  });
19394
19434
 
19395
- // ../../node_modules/zod/v4/locales/nl.js
19435
+ // ../../../node_modules/zod/v4/locales/nl.js
19396
19436
  function nl_default() {
19397
19437
  return {
19398
19438
  localeError: error29()
@@ -19400,7 +19440,7 @@ function nl_default() {
19400
19440
  }
19401
19441
  var error29;
19402
19442
  var init_nl = __esm({
19403
- "../../node_modules/zod/v4/locales/nl.js"() {
19443
+ "../../../node_modules/zod/v4/locales/nl.js"() {
19404
19444
  "use strict";
19405
19445
  init_util();
19406
19446
  error29 = () => {
@@ -19510,7 +19550,7 @@ var init_nl = __esm({
19510
19550
  }
19511
19551
  });
19512
19552
 
19513
- // ../../node_modules/zod/v4/locales/no.js
19553
+ // ../../../node_modules/zod/v4/locales/no.js
19514
19554
  function no_default() {
19515
19555
  return {
19516
19556
  localeError: error30()
@@ -19518,7 +19558,7 @@ function no_default() {
19518
19558
  }
19519
19559
  var error30;
19520
19560
  var init_no = __esm({
19521
- "../../node_modules/zod/v4/locales/no.js"() {
19561
+ "../../../node_modules/zod/v4/locales/no.js"() {
19522
19562
  "use strict";
19523
19563
  init_util();
19524
19564
  error30 = () => {
@@ -19626,7 +19666,7 @@ var init_no = __esm({
19626
19666
  }
19627
19667
  });
19628
19668
 
19629
- // ../../node_modules/zod/v4/locales/ota.js
19669
+ // ../../../node_modules/zod/v4/locales/ota.js
19630
19670
  function ota_default() {
19631
19671
  return {
19632
19672
  localeError: error31()
@@ -19634,7 +19674,7 @@ function ota_default() {
19634
19674
  }
19635
19675
  var error31;
19636
19676
  var init_ota = __esm({
19637
- "../../node_modules/zod/v4/locales/ota.js"() {
19677
+ "../../../node_modules/zod/v4/locales/ota.js"() {
19638
19678
  "use strict";
19639
19679
  init_util();
19640
19680
  error31 = () => {
@@ -19743,7 +19783,7 @@ var init_ota = __esm({
19743
19783
  }
19744
19784
  });
19745
19785
 
19746
- // ../../node_modules/zod/v4/locales/ps.js
19786
+ // ../../../node_modules/zod/v4/locales/ps.js
19747
19787
  function ps_default() {
19748
19788
  return {
19749
19789
  localeError: error32()
@@ -19751,7 +19791,7 @@ function ps_default() {
19751
19791
  }
19752
19792
  var error32;
19753
19793
  var init_ps = __esm({
19754
- "../../node_modules/zod/v4/locales/ps.js"() {
19794
+ "../../../node_modules/zod/v4/locales/ps.js"() {
19755
19795
  "use strict";
19756
19796
  init_util();
19757
19797
  error32 = () => {
@@ -19865,7 +19905,7 @@ var init_ps = __esm({
19865
19905
  }
19866
19906
  });
19867
19907
 
19868
- // ../../node_modules/zod/v4/locales/pl.js
19908
+ // ../../../node_modules/zod/v4/locales/pl.js
19869
19909
  function pl_default() {
19870
19910
  return {
19871
19911
  localeError: error33()
@@ -19873,7 +19913,7 @@ function pl_default() {
19873
19913
  }
19874
19914
  var error33;
19875
19915
  var init_pl = __esm({
19876
- "../../node_modules/zod/v4/locales/pl.js"() {
19916
+ "../../../node_modules/zod/v4/locales/pl.js"() {
19877
19917
  "use strict";
19878
19918
  init_util();
19879
19919
  error33 = () => {
@@ -19982,7 +20022,7 @@ var init_pl = __esm({
19982
20022
  }
19983
20023
  });
19984
20024
 
19985
- // ../../node_modules/zod/v4/locales/pt.js
20025
+ // ../../../node_modules/zod/v4/locales/pt.js
19986
20026
  function pt_default() {
19987
20027
  return {
19988
20028
  localeError: error34()
@@ -19990,7 +20030,7 @@ function pt_default() {
19990
20030
  }
19991
20031
  var error34;
19992
20032
  var init_pt = __esm({
19993
- "../../node_modules/zod/v4/locales/pt.js"() {
20033
+ "../../../node_modules/zod/v4/locales/pt.js"() {
19994
20034
  "use strict";
19995
20035
  init_util();
19996
20036
  error34 = () => {
@@ -20098,7 +20138,7 @@ var init_pt = __esm({
20098
20138
  }
20099
20139
  });
20100
20140
 
20101
- // ../../node_modules/zod/v4/locales/ru.js
20141
+ // ../../../node_modules/zod/v4/locales/ru.js
20102
20142
  function getRussianPlural(count, one, few, many) {
20103
20143
  const absCount = Math.abs(count);
20104
20144
  const lastDigit = absCount % 10;
@@ -20121,7 +20161,7 @@ function ru_default() {
20121
20161
  }
20122
20162
  var error35;
20123
20163
  var init_ru = __esm({
20124
- "../../node_modules/zod/v4/locales/ru.js"() {
20164
+ "../../../node_modules/zod/v4/locales/ru.js"() {
20125
20165
  "use strict";
20126
20166
  init_util();
20127
20167
  error35 = () => {
@@ -20262,7 +20302,7 @@ var init_ru = __esm({
20262
20302
  }
20263
20303
  });
20264
20304
 
20265
- // ../../node_modules/zod/v4/locales/sl.js
20305
+ // ../../../node_modules/zod/v4/locales/sl.js
20266
20306
  function sl_default() {
20267
20307
  return {
20268
20308
  localeError: error36()
@@ -20270,7 +20310,7 @@ function sl_default() {
20270
20310
  }
20271
20311
  var error36;
20272
20312
  var init_sl = __esm({
20273
- "../../node_modules/zod/v4/locales/sl.js"() {
20313
+ "../../../node_modules/zod/v4/locales/sl.js"() {
20274
20314
  "use strict";
20275
20315
  init_util();
20276
20316
  error36 = () => {
@@ -20379,7 +20419,7 @@ var init_sl = __esm({
20379
20419
  }
20380
20420
  });
20381
20421
 
20382
- // ../../node_modules/zod/v4/locales/sv.js
20422
+ // ../../../node_modules/zod/v4/locales/sv.js
20383
20423
  function sv_default() {
20384
20424
  return {
20385
20425
  localeError: error37()
@@ -20387,7 +20427,7 @@ function sv_default() {
20387
20427
  }
20388
20428
  var error37;
20389
20429
  var init_sv = __esm({
20390
- "../../node_modules/zod/v4/locales/sv.js"() {
20430
+ "../../../node_modules/zod/v4/locales/sv.js"() {
20391
20431
  "use strict";
20392
20432
  init_util();
20393
20433
  error37 = () => {
@@ -20497,7 +20537,7 @@ var init_sv = __esm({
20497
20537
  }
20498
20538
  });
20499
20539
 
20500
- // ../../node_modules/zod/v4/locales/ta.js
20540
+ // ../../../node_modules/zod/v4/locales/ta.js
20501
20541
  function ta_default() {
20502
20542
  return {
20503
20543
  localeError: error38()
@@ -20505,7 +20545,7 @@ function ta_default() {
20505
20545
  }
20506
20546
  var error38;
20507
20547
  var init_ta = __esm({
20508
- "../../node_modules/zod/v4/locales/ta.js"() {
20548
+ "../../../node_modules/zod/v4/locales/ta.js"() {
20509
20549
  "use strict";
20510
20550
  init_util();
20511
20551
  error38 = () => {
@@ -20615,7 +20655,7 @@ var init_ta = __esm({
20615
20655
  }
20616
20656
  });
20617
20657
 
20618
- // ../../node_modules/zod/v4/locales/th.js
20658
+ // ../../../node_modules/zod/v4/locales/th.js
20619
20659
  function th_default() {
20620
20660
  return {
20621
20661
  localeError: error39()
@@ -20623,7 +20663,7 @@ function th_default() {
20623
20663
  }
20624
20664
  var error39;
20625
20665
  var init_th = __esm({
20626
- "../../node_modules/zod/v4/locales/th.js"() {
20666
+ "../../../node_modules/zod/v4/locales/th.js"() {
20627
20667
  "use strict";
20628
20668
  init_util();
20629
20669
  error39 = () => {
@@ -20733,7 +20773,7 @@ var init_th = __esm({
20733
20773
  }
20734
20774
  });
20735
20775
 
20736
- // ../../node_modules/zod/v4/locales/tr.js
20776
+ // ../../../node_modules/zod/v4/locales/tr.js
20737
20777
  function tr_default() {
20738
20778
  return {
20739
20779
  localeError: error40()
@@ -20741,7 +20781,7 @@ function tr_default() {
20741
20781
  }
20742
20782
  var error40;
20743
20783
  var init_tr = __esm({
20744
- "../../node_modules/zod/v4/locales/tr.js"() {
20784
+ "../../../node_modules/zod/v4/locales/tr.js"() {
20745
20785
  "use strict";
20746
20786
  init_util();
20747
20787
  error40 = () => {
@@ -20846,7 +20886,7 @@ var init_tr = __esm({
20846
20886
  }
20847
20887
  });
20848
20888
 
20849
- // ../../node_modules/zod/v4/locales/uk.js
20889
+ // ../../../node_modules/zod/v4/locales/uk.js
20850
20890
  function uk_default() {
20851
20891
  return {
20852
20892
  localeError: error41()
@@ -20854,7 +20894,7 @@ function uk_default() {
20854
20894
  }
20855
20895
  var error41;
20856
20896
  var init_uk = __esm({
20857
- "../../node_modules/zod/v4/locales/uk.js"() {
20897
+ "../../../node_modules/zod/v4/locales/uk.js"() {
20858
20898
  "use strict";
20859
20899
  init_util();
20860
20900
  error41 = () => {
@@ -20962,18 +21002,18 @@ var init_uk = __esm({
20962
21002
  }
20963
21003
  });
20964
21004
 
20965
- // ../../node_modules/zod/v4/locales/ua.js
21005
+ // ../../../node_modules/zod/v4/locales/ua.js
20966
21006
  function ua_default() {
20967
21007
  return uk_default();
20968
21008
  }
20969
21009
  var init_ua = __esm({
20970
- "../../node_modules/zod/v4/locales/ua.js"() {
21010
+ "../../../node_modules/zod/v4/locales/ua.js"() {
20971
21011
  "use strict";
20972
21012
  init_uk();
20973
21013
  }
20974
21014
  });
20975
21015
 
20976
- // ../../node_modules/zod/v4/locales/ur.js
21016
+ // ../../../node_modules/zod/v4/locales/ur.js
20977
21017
  function ur_default() {
20978
21018
  return {
20979
21019
  localeError: error42()
@@ -20981,7 +21021,7 @@ function ur_default() {
20981
21021
  }
20982
21022
  var error42;
20983
21023
  var init_ur = __esm({
20984
- "../../node_modules/zod/v4/locales/ur.js"() {
21024
+ "../../../node_modules/zod/v4/locales/ur.js"() {
20985
21025
  "use strict";
20986
21026
  init_util();
20987
21027
  error42 = () => {
@@ -21091,7 +21131,7 @@ var init_ur = __esm({
21091
21131
  }
21092
21132
  });
21093
21133
 
21094
- // ../../node_modules/zod/v4/locales/uz.js
21134
+ // ../../../node_modules/zod/v4/locales/uz.js
21095
21135
  function uz_default() {
21096
21136
  return {
21097
21137
  localeError: error43()
@@ -21099,7 +21139,7 @@ function uz_default() {
21099
21139
  }
21100
21140
  var error43;
21101
21141
  var init_uz = __esm({
21102
- "../../node_modules/zod/v4/locales/uz.js"() {
21142
+ "../../../node_modules/zod/v4/locales/uz.js"() {
21103
21143
  "use strict";
21104
21144
  init_util();
21105
21145
  error43 = () => {
@@ -21208,7 +21248,7 @@ var init_uz = __esm({
21208
21248
  }
21209
21249
  });
21210
21250
 
21211
- // ../../node_modules/zod/v4/locales/vi.js
21251
+ // ../../../node_modules/zod/v4/locales/vi.js
21212
21252
  function vi_default() {
21213
21253
  return {
21214
21254
  localeError: error44()
@@ -21216,7 +21256,7 @@ function vi_default() {
21216
21256
  }
21217
21257
  var error44;
21218
21258
  var init_vi = __esm({
21219
- "../../node_modules/zod/v4/locales/vi.js"() {
21259
+ "../../../node_modules/zod/v4/locales/vi.js"() {
21220
21260
  "use strict";
21221
21261
  init_util();
21222
21262
  error44 = () => {
@@ -21324,7 +21364,7 @@ var init_vi = __esm({
21324
21364
  }
21325
21365
  });
21326
21366
 
21327
- // ../../node_modules/zod/v4/locales/zh-CN.js
21367
+ // ../../../node_modules/zod/v4/locales/zh-CN.js
21328
21368
  function zh_CN_default() {
21329
21369
  return {
21330
21370
  localeError: error45()
@@ -21332,7 +21372,7 @@ function zh_CN_default() {
21332
21372
  }
21333
21373
  var error45;
21334
21374
  var init_zh_CN = __esm({
21335
- "../../node_modules/zod/v4/locales/zh-CN.js"() {
21375
+ "../../../node_modules/zod/v4/locales/zh-CN.js"() {
21336
21376
  "use strict";
21337
21377
  init_util();
21338
21378
  error45 = () => {
@@ -21441,7 +21481,7 @@ var init_zh_CN = __esm({
21441
21481
  }
21442
21482
  });
21443
21483
 
21444
- // ../../node_modules/zod/v4/locales/zh-TW.js
21484
+ // ../../../node_modules/zod/v4/locales/zh-TW.js
21445
21485
  function zh_TW_default() {
21446
21486
  return {
21447
21487
  localeError: error46()
@@ -21449,7 +21489,7 @@ function zh_TW_default() {
21449
21489
  }
21450
21490
  var error46;
21451
21491
  var init_zh_TW = __esm({
21452
- "../../node_modules/zod/v4/locales/zh-TW.js"() {
21492
+ "../../../node_modules/zod/v4/locales/zh-TW.js"() {
21453
21493
  "use strict";
21454
21494
  init_util();
21455
21495
  error46 = () => {
@@ -21556,7 +21596,7 @@ var init_zh_TW = __esm({
21556
21596
  }
21557
21597
  });
21558
21598
 
21559
- // ../../node_modules/zod/v4/locales/yo.js
21599
+ // ../../../node_modules/zod/v4/locales/yo.js
21560
21600
  function yo_default() {
21561
21601
  return {
21562
21602
  localeError: error47()
@@ -21564,7 +21604,7 @@ function yo_default() {
21564
21604
  }
21565
21605
  var error47;
21566
21606
  var init_yo = __esm({
21567
- "../../node_modules/zod/v4/locales/yo.js"() {
21607
+ "../../../node_modules/zod/v4/locales/yo.js"() {
21568
21608
  "use strict";
21569
21609
  init_util();
21570
21610
  error47 = () => {
@@ -21671,7 +21711,7 @@ var init_yo = __esm({
21671
21711
  }
21672
21712
  });
21673
21713
 
21674
- // ../../node_modules/zod/v4/locales/index.js
21714
+ // ../../../node_modules/zod/v4/locales/index.js
21675
21715
  var locales_exports = {};
21676
21716
  __export(locales_exports, {
21677
21717
  ar: () => ar_default,
@@ -21725,7 +21765,7 @@ __export(locales_exports, {
21725
21765
  zhTW: () => zh_TW_default
21726
21766
  });
21727
21767
  var init_locales = __esm({
21728
- "../../node_modules/zod/v4/locales/index.js"() {
21768
+ "../../../node_modules/zod/v4/locales/index.js"() {
21729
21769
  "use strict";
21730
21770
  init_ar();
21731
21771
  init_az();
@@ -21779,13 +21819,13 @@ var init_locales = __esm({
21779
21819
  }
21780
21820
  });
21781
21821
 
21782
- // ../../node_modules/zod/v4/core/registries.js
21822
+ // ../../../node_modules/zod/v4/core/registries.js
21783
21823
  function registry() {
21784
21824
  return new $ZodRegistry();
21785
21825
  }
21786
21826
  var _a, $output, $input, $ZodRegistry, globalRegistry;
21787
21827
  var init_registries = __esm({
21788
- "../../node_modules/zod/v4/core/registries.js"() {
21828
+ "../../../node_modules/zod/v4/core/registries.js"() {
21789
21829
  "use strict";
21790
21830
  $output = /* @__PURE__ */ Symbol("ZodOutput");
21791
21831
  $input = /* @__PURE__ */ Symbol("ZodInput");
@@ -21834,7 +21874,7 @@ var init_registries = __esm({
21834
21874
  }
21835
21875
  });
21836
21876
 
21837
- // ../../node_modules/zod/v4/core/api.js
21877
+ // ../../../node_modules/zod/v4/core/api.js
21838
21878
  // @__NO_SIDE_EFFECTS__
21839
21879
  function _string(Class2, params) {
21840
21880
  return new Class2({
@@ -22867,7 +22907,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
22867
22907
  }
22868
22908
  var TimePrecision;
22869
22909
  var init_api = __esm({
22870
- "../../node_modules/zod/v4/core/api.js"() {
22910
+ "../../../node_modules/zod/v4/core/api.js"() {
22871
22911
  "use strict";
22872
22912
  init_checks();
22873
22913
  init_registries();
@@ -22883,7 +22923,7 @@ var init_api = __esm({
22883
22923
  }
22884
22924
  });
22885
22925
 
22886
- // ../../node_modules/zod/v4/core/to-json-schema.js
22926
+ // ../../../node_modules/zod/v4/core/to-json-schema.js
22887
22927
  function initializeContext(params) {
22888
22928
  let target = params?.target ?? "draft-2020-12";
22889
22929
  if (target === "draft-4")
@@ -23223,7 +23263,7 @@ function isTransforming(_schema, _ctx) {
23223
23263
  }
23224
23264
  var createToJSONSchemaMethod, createStandardJSONSchemaMethod;
23225
23265
  var init_to_json_schema = __esm({
23226
- "../../node_modules/zod/v4/core/to-json-schema.js"() {
23266
+ "../../../node_modules/zod/v4/core/to-json-schema.js"() {
23227
23267
  "use strict";
23228
23268
  init_registries();
23229
23269
  createToJSONSchemaMethod = (schema2, processors = {}) => (params) => {
@@ -23242,7 +23282,7 @@ var init_to_json_schema = __esm({
23242
23282
  }
23243
23283
  });
23244
23284
 
23245
- // ../../node_modules/zod/v4/core/json-schema-processors.js
23285
+ // ../../../node_modules/zod/v4/core/json-schema-processors.js
23246
23286
  function toJSONSchema(input, params) {
23247
23287
  if ("_idmap" in input) {
23248
23288
  const registry2 = input;
@@ -23279,7 +23319,7 @@ function toJSONSchema(input, params) {
23279
23319
  }
23280
23320
  var formatMap, stringProcessor, numberProcessor, booleanProcessor, bigintProcessor, symbolProcessor, nullProcessor, undefinedProcessor, voidProcessor, neverProcessor, anyProcessor, unknownProcessor, dateProcessor, enumProcessor, literalProcessor, nanProcessor, templateLiteralProcessor, fileProcessor, successProcessor, customProcessor, functionProcessor, transformProcessor, mapProcessor, setProcessor, arrayProcessor, objectProcessor, unionProcessor, intersectionProcessor, tupleProcessor, recordProcessor, nullableProcessor, nonoptionalProcessor, defaultProcessor, prefaultProcessor, catchProcessor, pipeProcessor, readonlyProcessor, promiseProcessor, optionalProcessor, lazyProcessor, allProcessors;
23281
23321
  var init_json_schema_processors = __esm({
23282
- "../../node_modules/zod/v4/core/json-schema-processors.js"() {
23322
+ "../../../node_modules/zod/v4/core/json-schema-processors.js"() {
23283
23323
  "use strict";
23284
23324
  init_to_json_schema();
23285
23325
  init_util();
@@ -23801,10 +23841,10 @@ var init_json_schema_processors = __esm({
23801
23841
  }
23802
23842
  });
23803
23843
 
23804
- // ../../node_modules/zod/v4/core/json-schema-generator.js
23844
+ // ../../../node_modules/zod/v4/core/json-schema-generator.js
23805
23845
  var JSONSchemaGenerator;
23806
23846
  var init_json_schema_generator = __esm({
23807
- "../../node_modules/zod/v4/core/json-schema-generator.js"() {
23847
+ "../../../node_modules/zod/v4/core/json-schema-generator.js"() {
23808
23848
  "use strict";
23809
23849
  init_json_schema_processors();
23810
23850
  init_to_json_schema();
@@ -23884,15 +23924,15 @@ var init_json_schema_generator = __esm({
23884
23924
  }
23885
23925
  });
23886
23926
 
23887
- // ../../node_modules/zod/v4/core/json-schema.js
23927
+ // ../../../node_modules/zod/v4/core/json-schema.js
23888
23928
  var json_schema_exports = {};
23889
23929
  var init_json_schema = __esm({
23890
- "../../node_modules/zod/v4/core/json-schema.js"() {
23930
+ "../../../node_modules/zod/v4/core/json-schema.js"() {
23891
23931
  "use strict";
23892
23932
  }
23893
23933
  });
23894
23934
 
23895
- // ../../node_modules/zod/v4/core/index.js
23935
+ // ../../../node_modules/zod/v4/core/index.js
23896
23936
  var core_exports2 = {};
23897
23937
  __export(core_exports2, {
23898
23938
  $ZodAny: () => $ZodAny,
@@ -24170,7 +24210,7 @@ __export(core_exports2, {
24170
24210
  version: () => version
24171
24211
  });
24172
24212
  var init_core2 = __esm({
24173
- "../../node_modules/zod/v4/core/index.js"() {
24213
+ "../../../node_modules/zod/v4/core/index.js"() {
24174
24214
  "use strict";
24175
24215
  init_core();
24176
24216
  init_parse();
@@ -24191,7 +24231,7 @@ var init_core2 = __esm({
24191
24231
  }
24192
24232
  });
24193
24233
 
24194
- // ../../node_modules/zod/v4/classic/checks.js
24234
+ // ../../../node_modules/zod/v4/classic/checks.js
24195
24235
  var checks_exports2 = {};
24196
24236
  __export(checks_exports2, {
24197
24237
  endsWith: () => _endsWith,
@@ -24225,13 +24265,13 @@ __export(checks_exports2, {
24225
24265
  uppercase: () => _uppercase
24226
24266
  });
24227
24267
  var init_checks2 = __esm({
24228
- "../../node_modules/zod/v4/classic/checks.js"() {
24268
+ "../../../node_modules/zod/v4/classic/checks.js"() {
24229
24269
  "use strict";
24230
24270
  init_core2();
24231
24271
  }
24232
24272
  });
24233
24273
 
24234
- // ../../node_modules/zod/v4/classic/iso.js
24274
+ // ../../../node_modules/zod/v4/classic/iso.js
24235
24275
  var iso_exports = {};
24236
24276
  __export(iso_exports, {
24237
24277
  ZodISODate: () => ZodISODate,
@@ -24257,7 +24297,7 @@ function duration2(params) {
24257
24297
  }
24258
24298
  var ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration;
24259
24299
  var init_iso = __esm({
24260
- "../../node_modules/zod/v4/classic/iso.js"() {
24300
+ "../../../node_modules/zod/v4/classic/iso.js"() {
24261
24301
  "use strict";
24262
24302
  init_core2();
24263
24303
  init_schemas2();
@@ -24280,10 +24320,10 @@ var init_iso = __esm({
24280
24320
  }
24281
24321
  });
24282
24322
 
24283
- // ../../node_modules/zod/v4/classic/errors.js
24323
+ // ../../../node_modules/zod/v4/classic/errors.js
24284
24324
  var initializer2, ZodError, ZodRealError;
24285
24325
  var init_errors2 = __esm({
24286
- "../../node_modules/zod/v4/classic/errors.js"() {
24326
+ "../../../node_modules/zod/v4/classic/errors.js"() {
24287
24327
  "use strict";
24288
24328
  init_core2();
24289
24329
  init_core2();
@@ -24329,10 +24369,10 @@ var init_errors2 = __esm({
24329
24369
  }
24330
24370
  });
24331
24371
 
24332
- // ../../node_modules/zod/v4/classic/parse.js
24372
+ // ../../../node_modules/zod/v4/classic/parse.js
24333
24373
  var parse2, parseAsync2, safeParse2, safeParseAsync2, encode2, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2;
24334
24374
  var init_parse2 = __esm({
24335
- "../../node_modules/zod/v4/classic/parse.js"() {
24375
+ "../../../node_modules/zod/v4/classic/parse.js"() {
24336
24376
  "use strict";
24337
24377
  init_core2();
24338
24378
  init_errors2();
@@ -24351,7 +24391,7 @@ var init_parse2 = __esm({
24351
24391
  }
24352
24392
  });
24353
24393
 
24354
- // ../../node_modules/zod/v4/classic/schemas.js
24394
+ // ../../../node_modules/zod/v4/classic/schemas.js
24355
24395
  var schemas_exports2 = {};
24356
24396
  __export(schemas_exports2, {
24357
24397
  ZodAny: () => ZodAny,
@@ -24975,7 +25015,7 @@ function preprocess(fn, schema2) {
24975
25015
  }
24976
25016
  var ZodType, _ZodString, ZodString, ZodStringFormat, ZodEmail, ZodGUID, ZodUUID, ZodURL, ZodEmoji, ZodNanoID, ZodCUID, ZodCUID2, ZodULID, ZodXID, ZodKSUID, ZodIPv4, ZodMAC, ZodIPv6, ZodCIDRv4, ZodCIDRv6, ZodBase64, ZodBase64URL, ZodE164, ZodJWT, ZodCustomStringFormat, ZodNumber, ZodNumberFormat, ZodBoolean, ZodBigInt, ZodBigIntFormat, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodDate, ZodArray, ZodObject, ZodUnion, ZodXor, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodEnum, ZodLiteral, ZodFile, ZodTransform, ZodOptional, ZodExactOptional, ZodNullable, ZodDefault, ZodPrefault, ZodNonOptional, ZodSuccess, ZodCatch, ZodNaN, ZodPipe, ZodCodec, ZodReadonly, ZodTemplateLiteral, ZodLazy, ZodPromise, ZodFunction, ZodCustom, describe2, meta2, stringbool;
24977
25017
  var init_schemas2 = __esm({
24978
- "../../node_modules/zod/v4/classic/schemas.js"() {
25018
+ "../../../node_modules/zod/v4/classic/schemas.js"() {
24979
25019
  "use strict";
24980
25020
  init_core2();
24981
25021
  init_core2();
@@ -25610,7 +25650,7 @@ var init_schemas2 = __esm({
25610
25650
  }
25611
25651
  });
25612
25652
 
25613
- // ../../node_modules/zod/v4/classic/compat.js
25653
+ // ../../../node_modules/zod/v4/classic/compat.js
25614
25654
  function setErrorMap(map3) {
25615
25655
  config({
25616
25656
  customError: map3
@@ -25621,7 +25661,7 @@ function getErrorMap() {
25621
25661
  }
25622
25662
  var ZodIssueCode, ZodFirstPartyTypeKind;
25623
25663
  var init_compat = __esm({
25624
- "../../node_modules/zod/v4/classic/compat.js"() {
25664
+ "../../../node_modules/zod/v4/classic/compat.js"() {
25625
25665
  "use strict";
25626
25666
  init_core2();
25627
25667
  init_core2();
@@ -25643,7 +25683,7 @@ var init_compat = __esm({
25643
25683
  }
25644
25684
  });
25645
25685
 
25646
- // ../../node_modules/zod/v4/classic/from-json-schema.js
25686
+ // ../../../node_modules/zod/v4/classic/from-json-schema.js
25647
25687
  function detectVersion(schema2, defaultTarget) {
25648
25688
  const $schema = schema2.$schema;
25649
25689
  if ($schema === "https://json-schema.org/draft/2020-12/schema") {
@@ -26042,7 +26082,7 @@ function fromJSONSchema(schema2, params) {
26042
26082
  }
26043
26083
  var z, RECOGNIZED_KEYS;
26044
26084
  var init_from_json_schema = __esm({
26045
- "../../node_modules/zod/v4/classic/from-json-schema.js"() {
26085
+ "../../../node_modules/zod/v4/classic/from-json-schema.js"() {
26046
26086
  "use strict";
26047
26087
  init_registries();
26048
26088
  init_checks2();
@@ -26127,7 +26167,7 @@ var init_from_json_schema = __esm({
26127
26167
  }
26128
26168
  });
26129
26169
 
26130
- // ../../node_modules/zod/v4/classic/coerce.js
26170
+ // ../../../node_modules/zod/v4/classic/coerce.js
26131
26171
  var coerce_exports = {};
26132
26172
  __export(coerce_exports, {
26133
26173
  bigint: () => bigint3,
@@ -26152,14 +26192,14 @@ function date4(params) {
26152
26192
  return _coercedDate(ZodDate, params);
26153
26193
  }
26154
26194
  var init_coerce = __esm({
26155
- "../../node_modules/zod/v4/classic/coerce.js"() {
26195
+ "../../../node_modules/zod/v4/classic/coerce.js"() {
26156
26196
  "use strict";
26157
26197
  init_core2();
26158
26198
  init_schemas2();
26159
26199
  }
26160
26200
  });
26161
26201
 
26162
- // ../../node_modules/zod/v4/classic/external.js
26202
+ // ../../../node_modules/zod/v4/classic/external.js
26163
26203
  var external_exports = {};
26164
26204
  __export(external_exports, {
26165
26205
  $brand: () => $brand,
@@ -26400,7 +26440,7 @@ __export(external_exports, {
26400
26440
  xor: () => xor
26401
26441
  });
26402
26442
  var init_external = __esm({
26403
- "../../node_modules/zod/v4/classic/external.js"() {
26443
+ "../../../node_modules/zod/v4/classic/external.js"() {
26404
26444
  "use strict";
26405
26445
  init_core2();
26406
26446
  init_schemas2();
@@ -26421,19 +26461,19 @@ var init_external = __esm({
26421
26461
  }
26422
26462
  });
26423
26463
 
26424
- // ../../node_modules/zod/index.js
26464
+ // ../../../node_modules/zod/index.js
26425
26465
  var init_zod = __esm({
26426
- "../../node_modules/zod/index.js"() {
26466
+ "../../../node_modules/zod/index.js"() {
26427
26467
  "use strict";
26428
26468
  init_external();
26429
26469
  init_external();
26430
26470
  }
26431
26471
  });
26432
26472
 
26433
- // ../../node_modules/@agentclientprotocol/sdk/dist/schema/index.js
26473
+ // ../../../node_modules/@agentclientprotocol/sdk/dist/schema/index.js
26434
26474
  var AGENT_METHODS, CLIENT_METHODS, PROTOCOL_VERSION;
26435
26475
  var init_schema = __esm({
26436
- "../../node_modules/@agentclientprotocol/sdk/dist/schema/index.js"() {
26476
+ "../../../node_modules/@agentclientprotocol/sdk/dist/schema/index.js"() {
26437
26477
  "use strict";
26438
26478
  AGENT_METHODS = {
26439
26479
  authenticate: "authenticate",
@@ -26465,28 +26505,28 @@ var init_schema = __esm({
26465
26505
  }
26466
26506
  });
26467
26507
 
26468
- // ../../node_modules/zod/v4/classic/index.js
26508
+ // ../../../node_modules/zod/v4/classic/index.js
26469
26509
  var init_classic = __esm({
26470
- "../../node_modules/zod/v4/classic/index.js"() {
26510
+ "../../../node_modules/zod/v4/classic/index.js"() {
26471
26511
  "use strict";
26472
26512
  init_external();
26473
26513
  init_external();
26474
26514
  }
26475
26515
  });
26476
26516
 
26477
- // ../../node_modules/zod/v4/index.js
26517
+ // ../../../node_modules/zod/v4/index.js
26478
26518
  var init_v4 = __esm({
26479
- "../../node_modules/zod/v4/index.js"() {
26519
+ "../../../node_modules/zod/v4/index.js"() {
26480
26520
  "use strict";
26481
26521
  init_classic();
26482
26522
  init_classic();
26483
26523
  }
26484
26524
  });
26485
26525
 
26486
- // ../../node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js
26526
+ // ../../../node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js
26487
26527
  var zAuthCapabilities, zAuthEnvVar, zAuthMethodAgent, zAuthMethodEnvVar, zAuthMethodTerminal, zAuthMethod, zAuthenticateRequest, zAuthenticateResponse, zBlobResourceContents, zCloseSessionResponse, zCost, zCreateTerminalResponse, zDiff, zEnvVariable, zErrorCode, zError, zExtNotification, zExtRequest, zExtResponse, zFileSystemCapabilities, zClientCapabilities, zHttpHeader, zImplementation, zKillTerminalResponse, zListSessionsRequest, zMcpCapabilities, zMcpServerHttp, zMcpServerSse, zMcpServerStdio, zMcpServer, zModelId, zModelInfo, zNewSessionRequest, zPermissionOptionId, zPermissionOptionKind, zPermissionOption, zPlanEntryPriority, zPlanEntryStatus, zPlanEntry, zPlan, zPromptCapabilities, zProtocolVersion, zInitializeRequest, zReadTextFileResponse, zReleaseTerminalResponse, zRequestId, zCancelRequestNotification, zRole, zAnnotations, zAudioContent, zImageContent, zResourceLink, zSelectedPermissionOutcome, zRequestPermissionOutcome, zRequestPermissionResponse, zSessionCloseCapabilities, zSessionConfigBoolean, zSessionConfigGroupId, zSessionConfigId, zSessionConfigOptionCategory, zSessionConfigValueId, zSessionConfigSelectOption, zSessionConfigSelectGroup, zSessionConfigSelectOptions, zSessionConfigSelect, zSessionConfigOption, zConfigOptionUpdate, zSessionForkCapabilities, zSessionId, zCancelNotification, zClientNotification, zCloseSessionRequest, zCreateTerminalRequest, zForkSessionRequest, zKillTerminalRequest, zLoadSessionRequest, zReadTextFileRequest, zReleaseTerminalRequest, zResumeSessionRequest, zSessionInfo, zListSessionsResponse, zSessionInfoUpdate, zSessionListCapabilities, zSessionModeId, zCurrentModeUpdate, zSessionMode, zSessionModeState, zSessionModelState, zForkSessionResponse, zLoadSessionResponse, zNewSessionResponse, zResumeSessionResponse, zSessionResumeCapabilities, zSessionCapabilities, zAgentCapabilities, zInitializeResponse, zSetSessionConfigOptionRequest, zSetSessionConfigOptionResponse, zSetSessionModeRequest, zSetSessionModeResponse, zSetSessionModelRequest, zSetSessionModelResponse, zStopReason, zTerminal, zTerminalExitStatus, zTerminalOutputRequest, zTerminalOutputResponse, zTextContent, zTextResourceContents, zEmbeddedResourceResource, zEmbeddedResource, zContentBlock, zContent, zContentChunk, zPromptRequest, zClientRequest, zToolCallContent, zToolCallId, zToolCallLocation, zToolCallStatus, zToolKind, zToolCall, zToolCallUpdate, zRequestPermissionRequest, zUnstructuredCommandInput, zAvailableCommandInput, zAvailableCommand, zAvailableCommandsUpdate, zUsage, zPromptResponse, zAgentResponse, zUsageUpdate, zSessionUpdate, zSessionNotification, zAgentNotification, zWaitForTerminalExitRequest, zWaitForTerminalExitResponse, zWriteTextFileRequest, zAgentRequest, zWriteTextFileResponse, zClientResponse;
26488
26528
  var init_zod_gen = __esm({
26489
- "../../node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js"() {
26529
+ "../../../node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js"() {
26490
26530
  "use strict";
26491
26531
  init_v4();
26492
26532
  zAuthCapabilities = external_exports.object({
@@ -27353,7 +27393,7 @@ var init_zod_gen = __esm({
27353
27393
  }
27354
27394
  });
27355
27395
 
27356
- // ../../node_modules/@agentclientprotocol/sdk/dist/stream.js
27396
+ // ../../../node_modules/@agentclientprotocol/sdk/dist/stream.js
27357
27397
  function ndJsonStream(output, input) {
27358
27398
  const textEncoder = new TextEncoder();
27359
27399
  const textDecoder = new TextDecoder();
@@ -27405,12 +27445,12 @@ function ndJsonStream(output, input) {
27405
27445
  return { readable, writable };
27406
27446
  }
27407
27447
  var init_stream = __esm({
27408
- "../../node_modules/@agentclientprotocol/sdk/dist/stream.js"() {
27448
+ "../../../node_modules/@agentclientprotocol/sdk/dist/stream.js"() {
27409
27449
  "use strict";
27410
27450
  }
27411
27451
  });
27412
27452
 
27413
- // ../../node_modules/@agentclientprotocol/sdk/dist/acp.js
27453
+ // ../../../node_modules/@agentclientprotocol/sdk/dist/acp.js
27414
27454
  var acp_exports = {};
27415
27455
  __export(acp_exports, {
27416
27456
  AGENT_METHODS: () => AGENT_METHODS,
@@ -27424,7 +27464,7 @@ __export(acp_exports, {
27424
27464
  });
27425
27465
  var AgentSideConnection, TerminalHandle, ClientSideConnection, Connection, RequestError;
27426
27466
  var init_acp = __esm({
27427
- "../../node_modules/@agentclientprotocol/sdk/dist/acp.js"() {
27467
+ "../../../node_modules/@agentclientprotocol/sdk/dist/acp.js"() {
27428
27468
  "use strict";
27429
27469
  init_zod();
27430
27470
  init_schema();
@@ -28340,9 +28380,9 @@ var init_acp = __esm({
28340
28380
  }
28341
28381
  });
28342
28382
 
28343
- // ../../node_modules/readdirp/index.js
28383
+ // ../../../node_modules/readdirp/index.js
28344
28384
  var require_readdirp = __commonJS({
28345
- "../../node_modules/readdirp/index.js"(exports2) {
28385
+ "../../../node_modules/readdirp/index.js"(exports2) {
28346
28386
  "use strict";
28347
28387
  Object.defineProperty(exports2, "__esModule", { value: true });
28348
28388
  exports2.ReaddirpStream = exports2.EntryTypes = void 0;
@@ -28576,9 +28616,9 @@ var require_readdirp = __commonJS({
28576
28616
  }
28577
28617
  });
28578
28618
 
28579
- // ../../node_modules/chokidar/handler.js
28619
+ // ../../../node_modules/chokidar/handler.js
28580
28620
  var require_handler = __commonJS({
28581
- "../../node_modules/chokidar/handler.js"(exports2) {
28621
+ "../../../node_modules/chokidar/handler.js"(exports2) {
28582
28622
  "use strict";
28583
28623
  Object.defineProperty(exports2, "__esModule", { value: true });
28584
28624
  exports2.NodeFsHandler = exports2.EVENTS = exports2.isIBMi = exports2.isFreeBSD = exports2.isLinux = exports2.isMacos = exports2.isWindows = exports2.IDENTITY_FN = exports2.EMPTY_FN = exports2.STR_CLOSE = exports2.STR_END = exports2.STR_DATA = void 0;
@@ -29343,9 +29383,9 @@ var require_handler = __commonJS({
29343
29383
  }
29344
29384
  });
29345
29385
 
29346
- // ../../node_modules/chokidar/index.js
29386
+ // ../../../node_modules/chokidar/index.js
29347
29387
  var require_chokidar = __commonJS({
29348
- "../../node_modules/chokidar/index.js"(exports2) {
29388
+ "../../../node_modules/chokidar/index.js"(exports2) {
29349
29389
  "use strict";
29350
29390
  Object.defineProperty(exports2, "__esModule", { value: true });
29351
29391
  exports2.FSWatcher = exports2.WatchHelper = void 0;
@@ -30069,17 +30109,17 @@ var require_chokidar = __commonJS({
30069
30109
  }
30070
30110
  });
30071
30111
 
30072
- // ../../node_modules/events-universal/default.js
30112
+ // ../../../node_modules/events-universal/default.js
30073
30113
  var require_default2 = __commonJS({
30074
- "../../node_modules/events-universal/default.js"(exports2, module2) {
30114
+ "../../../node_modules/events-universal/default.js"(exports2, module2) {
30075
30115
  "use strict";
30076
30116
  module2.exports = require("events");
30077
30117
  }
30078
30118
  });
30079
30119
 
30080
- // ../../node_modules/fast-fifo/fixed-size.js
30120
+ // ../../../node_modules/fast-fifo/fixed-size.js
30081
30121
  var require_fixed_size = __commonJS({
30082
- "../../node_modules/fast-fifo/fixed-size.js"(exports2, module2) {
30122
+ "../../../node_modules/fast-fifo/fixed-size.js"(exports2, module2) {
30083
30123
  "use strict";
30084
30124
  module2.exports = class FixedFIFO {
30085
30125
  constructor(hwm) {
@@ -30118,9 +30158,9 @@ var require_fixed_size = __commonJS({
30118
30158
  }
30119
30159
  });
30120
30160
 
30121
- // ../../node_modules/fast-fifo/index.js
30161
+ // ../../../node_modules/fast-fifo/index.js
30122
30162
  var require_fast_fifo = __commonJS({
30123
- "../../node_modules/fast-fifo/index.js"(exports2, module2) {
30163
+ "../../../node_modules/fast-fifo/index.js"(exports2, module2) {
30124
30164
  "use strict";
30125
30165
  var FixedFIFO = require_fixed_size();
30126
30166
  module2.exports = class FastFIFO {
@@ -30166,9 +30206,9 @@ var require_fast_fifo = __commonJS({
30166
30206
  }
30167
30207
  });
30168
30208
 
30169
- // ../../node_modules/text-decoder/node_modules/b4a/index.js
30209
+ // ../../../node_modules/text-decoder/node_modules/b4a/index.js
30170
30210
  var require_b4a = __commonJS({
30171
- "../../node_modules/text-decoder/node_modules/b4a/index.js"(exports2, module2) {
30211
+ "../../../node_modules/text-decoder/node_modules/b4a/index.js"(exports2, module2) {
30172
30212
  "use strict";
30173
30213
  function isBuffer(value) {
30174
30214
  return Buffer.isBuffer(value) || value instanceof Uint8Array;
@@ -30324,9 +30364,9 @@ var require_b4a = __commonJS({
30324
30364
  }
30325
30365
  });
30326
30366
 
30327
- // ../../node_modules/text-decoder/lib/pass-through-decoder.js
30367
+ // ../../../node_modules/text-decoder/lib/pass-through-decoder.js
30328
30368
  var require_pass_through_decoder = __commonJS({
30329
- "../../node_modules/text-decoder/lib/pass-through-decoder.js"(exports2, module2) {
30369
+ "../../../node_modules/text-decoder/lib/pass-through-decoder.js"(exports2, module2) {
30330
30370
  "use strict";
30331
30371
  var b4a = require_b4a();
30332
30372
  module2.exports = class PassThroughDecoder {
@@ -30346,9 +30386,9 @@ var require_pass_through_decoder = __commonJS({
30346
30386
  }
30347
30387
  });
30348
30388
 
30349
- // ../../node_modules/text-decoder/lib/utf8-decoder.js
30389
+ // ../../../node_modules/text-decoder/lib/utf8-decoder.js
30350
30390
  var require_utf8_decoder = __commonJS({
30351
- "../../node_modules/text-decoder/lib/utf8-decoder.js"(exports2, module2) {
30391
+ "../../../node_modules/text-decoder/lib/utf8-decoder.js"(exports2, module2) {
30352
30392
  "use strict";
30353
30393
  var b4a = require_b4a();
30354
30394
  module2.exports = class UTF8Decoder {
@@ -30494,9 +30534,9 @@ var require_utf8_decoder = __commonJS({
30494
30534
  }
30495
30535
  });
30496
30536
 
30497
- // ../../node_modules/text-decoder/index.js
30537
+ // ../../../node_modules/text-decoder/index.js
30498
30538
  var require_text_decoder = __commonJS({
30499
- "../../node_modules/text-decoder/index.js"(exports2, module2) {
30539
+ "../../../node_modules/text-decoder/index.js"(exports2, module2) {
30500
30540
  "use strict";
30501
30541
  var PassThroughDecoder = require_pass_through_decoder();
30502
30542
  var UTF8Decoder = require_utf8_decoder();
@@ -30557,9 +30597,9 @@ var require_text_decoder = __commonJS({
30557
30597
  }
30558
30598
  });
30559
30599
 
30560
- // ../../node_modules/streamx/lib/errors.js
30600
+ // ../../../node_modules/streamx/lib/errors.js
30561
30601
  var require_errors2 = __commonJS({
30562
- "../../node_modules/streamx/lib/errors.js"(exports2, module2) {
30602
+ "../../../node_modules/streamx/lib/errors.js"(exports2, module2) {
30563
30603
  "use strict";
30564
30604
  module2.exports = class StreamError extends Error {
30565
30605
  constructor(msg, code, fn = StreamError) {
@@ -30600,9 +30640,9 @@ var require_errors2 = __commonJS({
30600
30640
  }
30601
30641
  });
30602
30642
 
30603
- // ../../node_modules/streamx/index.js
30643
+ // ../../../node_modules/streamx/index.js
30604
30644
  var require_streamx = __commonJS({
30605
- "../../node_modules/streamx/index.js"(exports2, module2) {
30645
+ "../../../node_modules/streamx/index.js"(exports2, module2) {
30606
30646
  "use strict";
30607
30647
  var { EventEmitter } = require_default2();
30608
30648
  var FIFO = require_fast_fifo();
@@ -32663,9 +32703,9 @@ var require_tar_stream = __commonJS({
32663
32703
  }
32664
32704
  });
32665
32705
 
32666
- // ../../node_modules/wrappy/wrappy.js
32706
+ // ../../../node_modules/wrappy/wrappy.js
32667
32707
  var require_wrappy = __commonJS({
32668
- "../../node_modules/wrappy/wrappy.js"(exports2, module2) {
32708
+ "../../../node_modules/wrappy/wrappy.js"(exports2, module2) {
32669
32709
  "use strict";
32670
32710
  module2.exports = wrappy;
32671
32711
  function wrappy(fn, cb) {
@@ -32694,9 +32734,9 @@ var require_wrappy = __commonJS({
32694
32734
  }
32695
32735
  });
32696
32736
 
32697
- // ../../node_modules/once/once.js
32737
+ // ../../../node_modules/once/once.js
32698
32738
  var require_once = __commonJS({
32699
- "../../node_modules/once/once.js"(exports2, module2) {
32739
+ "../../../node_modules/once/once.js"(exports2, module2) {
32700
32740
  "use strict";
32701
32741
  var wrappy = require_wrappy();
32702
32742
  module2.exports = wrappy(once);
@@ -32739,9 +32779,9 @@ var require_once = __commonJS({
32739
32779
  }
32740
32780
  });
32741
32781
 
32742
- // ../../node_modules/end-of-stream/index.js
32782
+ // ../../../node_modules/end-of-stream/index.js
32743
32783
  var require_end_of_stream = __commonJS({
32744
- "../../node_modules/end-of-stream/index.js"(exports2, module2) {
32784
+ "../../../node_modules/end-of-stream/index.js"(exports2, module2) {
32745
32785
  "use strict";
32746
32786
  var once = require_once();
32747
32787
  var noop = function() {
@@ -32823,9 +32863,9 @@ var require_end_of_stream = __commonJS({
32823
32863
  }
32824
32864
  });
32825
32865
 
32826
- // ../../node_modules/pump/index.js
32866
+ // ../../../node_modules/pump/index.js
32827
32867
  var require_pump = __commonJS({
32828
- "../../node_modules/pump/index.js"(exports2, module2) {
32868
+ "../../../node_modules/pump/index.js"(exports2, module2) {
32829
32869
  "use strict";
32830
32870
  var once = require_once();
32831
32871
  var eos = require_end_of_stream();
@@ -33233,7 +33273,7 @@ var require_tar_fs = __commonJS({
33233
33273
  }
33234
33274
  });
33235
33275
 
33236
- // ../../node_modules/js-yaml/dist/js-yaml.mjs
33276
+ // ../../../node_modules/js-yaml/dist/js-yaml.mjs
33237
33277
  var js_yaml_exports = {};
33238
33278
  __export(js_yaml_exports, {
33239
33279
  CORE_SCHEMA: () => CORE_SCHEMA,
@@ -35435,7 +35475,7 @@ function renamed(from, to) {
35435
35475
  }
35436
35476
  var isNothing_1, isObject_1, toArray_1, repeat_1, isNegativeZero_1, extend_1, common, exception, snippet, TYPE_CONSTRUCTOR_OPTIONS, YAML_NODE_KINDS, type, schema, str, seq, map2, failsafe, _null4, bool, int2, YAML_FLOAT_PATTERN, SCIENTIFIC_WITHOUT_DOT, float, json2, core, YAML_DATE_REGEXP, YAML_TIMESTAMP_REGEXP, timestamp, merge2, BASE64_MAP, binary, _hasOwnProperty$3, _toString$2, omap, _toString$1, pairs, _hasOwnProperty$2, set2, _default3, _hasOwnProperty$1, CONTEXT_FLOW_IN, CONTEXT_FLOW_OUT, CONTEXT_BLOCK_IN, CONTEXT_BLOCK_OUT, CHOMPING_CLIP, CHOMPING_STRIP, CHOMPING_KEEP, PATTERN_NON_PRINTABLE, PATTERN_NON_ASCII_LINE_BREAKS, PATTERN_FLOW_INDICATORS, PATTERN_TAG_HANDLE, PATTERN_TAG_URI, simpleEscapeCheck, simpleEscapeMap, i, directiveHandlers, loadAll_1, load_1, loader, _toString, _hasOwnProperty, CHAR_BOM, CHAR_TAB, CHAR_LINE_FEED, CHAR_CARRIAGE_RETURN, CHAR_SPACE, CHAR_EXCLAMATION, CHAR_DOUBLE_QUOTE, CHAR_SHARP, CHAR_PERCENT, CHAR_AMPERSAND, CHAR_SINGLE_QUOTE, CHAR_ASTERISK, CHAR_COMMA, CHAR_MINUS, CHAR_COLON, CHAR_EQUALS, CHAR_GREATER_THAN, CHAR_QUESTION, CHAR_COMMERCIAL_AT, CHAR_LEFT_SQUARE_BRACKET, CHAR_RIGHT_SQUARE_BRACKET, CHAR_GRAVE_ACCENT, CHAR_LEFT_CURLY_BRACKET, CHAR_VERTICAL_LINE, CHAR_RIGHT_CURLY_BRACKET, ESCAPE_SEQUENCES, DEPRECATED_BOOLEANS_SYNTAX, DEPRECATED_BASE60_SYNTAX, QUOTING_TYPE_SINGLE, QUOTING_TYPE_DOUBLE, STYLE_PLAIN, STYLE_SINGLE, STYLE_LITERAL, STYLE_FOLDED, STYLE_DOUBLE, dump_1, dumper, Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types, safeLoad, safeLoadAll, safeDump, jsYaml;
35437
35477
  var init_js_yaml = __esm({
35438
- "../../node_modules/js-yaml/dist/js-yaml.mjs"() {
35478
+ "../../../node_modules/js-yaml/dist/js-yaml.mjs"() {
35439
35479
  "use strict";
35440
35480
  isNothing_1 = isNothing;
35441
35481
  isObject_1 = isObject2;
@@ -36831,10 +36871,10 @@ var require_dist3 = __commonJS({
36831
36871
  }
36832
36872
  function getDaemonBuildInfo() {
36833
36873
  if (cached2) return cached2;
36834
- const commit = readInjected(true ? "388d6e74b391ae9afd94d860aed141063297dca9" : void 0) ?? "unknown";
36835
- const commitShort = readInjected(true ? "388d6e74" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
36836
- const version2 = readInjected(true ? "1.0.58-rc.4" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
36837
- const builtAt = readInjected(true ? "2026-08-23T04:11:22.908Z" : void 0);
36874
+ const commit = readInjected(true ? "632b1d91d0a8505c01b9475b5d0a91cd99e34b1c" : void 0) ?? "unknown";
36875
+ const commitShort = readInjected(true ? "632b1d91" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
36876
+ const version2 = readInjected(true ? "1.0.58-rc.5" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
36877
+ const builtAt = readInjected(true ? "2026-08-23T14:39:31.570Z" : void 0);
36838
36878
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
36839
36879
  return cached2;
36840
36880
  }
@@ -38030,8 +38070,20 @@ var require_dist3 = __commonJS({
38030
38070
  static buffers = /* @__PURE__ */ new Map();
38031
38071
  static writePromises = /* @__PURE__ */ new Map();
38032
38072
  static flushTimer = null;
38073
+ static pendingBytes = /* @__PURE__ */ new Map();
38074
+ /**
38075
+ * Line/byte ceilings that force a synchronous flush. Sized so an idle daemon
38076
+ * never reaches them (the 50ms timer wins) while a loop-blocking handler
38077
+ * still gets its lines out: the status tick emits on the order of tens of
38078
+ * lines, so 64 lines bounds a stalled window to roughly one tick's worth.
38079
+ */
38080
+ static MAX_PENDING_LINES = 64;
38081
+ static MAX_PENDING_BYTES = 64 * 1024;
38033
38082
  /**
38034
38083
  * Queues data to be written to a file asynchronously in a batch.
38084
+ *
38085
+ * Crossing either pending threshold flushes synchronously before returning,
38086
+ * so a caller on a blocked event loop still lands its line on disk.
38035
38087
  */
38036
38088
  static write(filePath, data) {
38037
38089
  let buf = this.buffers.get(filePath);
@@ -38040,6 +38092,12 @@ var require_dist3 = __commonJS({
38040
38092
  this.buffers.set(filePath, buf);
38041
38093
  }
38042
38094
  buf.push(data);
38095
+ const bytes = (this.pendingBytes.get(filePath) ?? 0) + Buffer.byteLength(data);
38096
+ this.pendingBytes.set(filePath, bytes);
38097
+ if (buf.length >= this.MAX_PENDING_LINES || bytes >= this.MAX_PENDING_BYTES) {
38098
+ this.flushPathSync(filePath);
38099
+ return;
38100
+ }
38043
38101
  if (!this.flushTimer) {
38044
38102
  this.flushTimer = setTimeout(() => {
38045
38103
  this.flushTimer = null;
@@ -38047,9 +38105,35 @@ var require_dist3 = __commonJS({
38047
38105
  }, 50);
38048
38106
  }
38049
38107
  }
38108
+ /**
38109
+ * Synchronously drain every buffered path. Safe to call from shutdown
38110
+ * handlers and from code that has just blocked (or is about to block) the
38111
+ * event loop. Best-effort: never throws.
38112
+ */
38113
+ static flushSync() {
38114
+ if (this.flushTimer) {
38115
+ clearTimeout(this.flushTimer);
38116
+ this.flushTimer = null;
38117
+ }
38118
+ for (const filePath of Array.from(this.buffers.keys())) {
38119
+ this.flushPathSync(filePath);
38120
+ }
38121
+ }
38122
+ /** Append one path's pending buffer with a blocking write. Never throws. */
38123
+ static flushPathSync(filePath) {
38124
+ const buffer = this.buffers.get(filePath);
38125
+ this.buffers.delete(filePath);
38126
+ this.pendingBytes.delete(filePath);
38127
+ if (!buffer || buffer.length === 0) return;
38128
+ try {
38129
+ fs4.appendFileSync(filePath, buffer.join(""), { encoding: "utf-8", mode: 384 });
38130
+ } catch {
38131
+ }
38132
+ }
38050
38133
  static async flushAll() {
38051
38134
  const entries = Array.from(this.buffers.entries());
38052
38135
  this.buffers.clear();
38136
+ this.pendingBytes.clear();
38053
38137
  for (const [filePath, buffer] of entries) {
38054
38138
  const dataToWrite = buffer.join("");
38055
38139
  const doWrite = async () => {
@@ -38126,17 +38210,55 @@ var require_dist3 = __commonJS({
38126
38210
  IDENTITY = getTrackIdentity(TRACK);
38127
38211
  }
38128
38212
  });
38213
+ function isTestRuntimeEnv(env2 = process.env) {
38214
+ if (env2.VITEST) return true;
38215
+ if (env2.NODE_ENV === "test") return true;
38216
+ if (env2.NODE_TEST_CONTEXT) return true;
38217
+ return false;
38218
+ }
38129
38219
  function resolveConfigDir(env2 = process.env, homeDir) {
38130
38220
  const override = env2.ADHDEV_CONFIG_DIR;
38131
- if (override && override.trim()) return override.trim();
38132
- assertConfigDirPinnedInTestRuntime(env2);
38221
+ if (override && override.trim()) {
38222
+ const resolved = override.trim();
38223
+ assertConfigDirIsolatedInTestRuntime(env2, resolved);
38224
+ return resolved;
38225
+ }
38226
+ assertConfigDirIsolatedInTestRuntime(env2);
38133
38227
  return (0, import_path3.join)(homeDir ?? (0, import_os2.homedir)(), getTrackIdentity(resolveBuildTrack(env2)).configDirName);
38134
38228
  }
38135
- function assertConfigDirPinnedInTestRuntime(env2) {
38229
+ function normalizeConfigPath(p, platform10 = process.platform) {
38230
+ const unified = p.trim().replace(/[\\/]+$/, "").replace(/\\/g, "/");
38231
+ return platform10 === "win32" ? unified.toLowerCase() : unified;
38232
+ }
38233
+ function liveTrackHomeDirs(homeDir = (0, import_os2.homedir)()) {
38234
+ return [
38235
+ (0, import_path3.join)(homeDir, getTrackIdentity("stable").configDirName),
38236
+ (0, import_path3.join)(homeDir, getTrackIdentity("preview").configDirName)
38237
+ ];
38238
+ }
38239
+ function isLiveTrackHomeDir(resolved, homeDir) {
38240
+ const needle = normalizeConfigPath(resolved);
38241
+ const bases = homeDir !== void 0 ? [homeDir] : [ORIGINAL_HOME_DIR].filter((v) => v !== "");
38242
+ return bases.some((base) => liveTrackHomeDirs(base).some((live) => normalizeConfigPath(live) === needle));
38243
+ }
38244
+ function processLooksLikeNodeTestRunner() {
38245
+ return process.execArgv.some((arg) => arg === "--test" || arg.startsWith("--test="));
38246
+ }
38247
+ function assertConfigDirIsolatedInTestRuntime(env2, resolvedOverride) {
38136
38248
  if (env2 !== process.env) return;
38137
- if (!env2.VITEST && env2.NODE_ENV !== "test") return;
38249
+ if (!isTestRuntimeEnv(env2) && !processLooksLikeNodeTestRunner()) return;
38250
+ if (resolvedOverride) {
38251
+ if (isLiveTrackHomeDir(resolvedOverride)) {
38252
+ throw new Error(
38253
+ `resolveConfigDir() is pinned to the LIVE ~/.adhdev(-preview) dir in a test runtime: a test inherited or re-assigned ADHDEV_CONFIG_DIR to the developer's real state dir (${resolvedOverride}). Pin ADHDEV_CONFIG_DIR to a tmp dir in test setup, or pass an explicit env/homeDir to resolveConfigDir.`
38254
+ );
38255
+ }
38256
+ return;
38257
+ }
38258
+ const fallbackDir = (0, import_path3.join)((0, import_os2.homedir)(), getTrackIdentity(resolveBuildTrack(env2)).configDirName);
38259
+ if (!isLiveTrackHomeDir(fallbackDir)) return;
38138
38260
  throw new Error(
38139
- "resolveConfigDir() reached the real-home fallback in a test runtime with ADHDEV_CONFIG_DIR unset: a test is about to touch the LIVE ~/.adhdev(-preview) state dir. Pin ADHDEV_CONFIG_DIR to a tmp dir in test setup, or pass an explicit env/homeDir to resolveConfigDir."
38261
+ `resolveConfigDir() reached the real-home fallback in a test runtime with ADHDEV_CONFIG_DIR unset: a test is about to touch the LIVE ${fallbackDir} state dir. Pin ADHDEV_CONFIG_DIR to a tmp dir in test setup, or pass an explicit env/homeDir to resolveConfigDir.`
38140
38262
  );
38141
38263
  }
38142
38264
  function resolveConfigLogsDir(env2 = process.env, homeDir) {
@@ -38166,12 +38288,14 @@ var require_dist3 = __commonJS({
38166
38288
  }
38167
38289
  var import_os2;
38168
38290
  var import_path3;
38291
+ var ORIGINAL_HOME_DIR;
38169
38292
  var init_config_dir = __esm2({
38170
38293
  "src/config/config-dir.ts"() {
38171
38294
  "use strict";
38172
38295
  import_os2 = require("os");
38173
38296
  import_path3 = require("path");
38174
38297
  init_track_identity();
38298
+ ORIGINAL_HOME_DIR = typeof process.env.HOME === "string" && process.env.HOME.trim() !== "" ? process.env.HOME.trim() : typeof process.env.USERPROFILE === "string" ? process.env.USERPROFILE.trim() : "";
38175
38299
  }
38176
38300
  });
38177
38301
  function setLogLevel(level) {
@@ -38831,6 +38955,13 @@ var require_dist3 = __commonJS({
38831
38955
  MACHINE_ID_PREFIX = "mach_";
38832
38956
  }
38833
38957
  });
38958
+ function assertInjectedNetworkFetchInTest(overrides, caller) {
38959
+ if (overrides.fetch) return;
38960
+ if (!isTestRuntimeEnv()) return;
38961
+ throw new Error(
38962
+ `${caller}() in a test runtime without an injected fetch: this would hit a live provider endpoint. Mock the fetcher module, or pass deps.fetch (see test/quota/grok-quota.test.ts).`
38963
+ );
38964
+ }
38834
38965
  function resolveDeps(overrides = {}) {
38835
38966
  return {
38836
38967
  fetch: overrides.fetch ?? ((url2, init) => fetch(url2, init)),
@@ -38858,6 +38989,7 @@ var require_dist3 = __commonJS({
38858
38989
  "src/quota/fetchers/deps.ts"() {
38859
38990
  "use strict";
38860
38991
  import_node_child_process2 = require("child_process");
38992
+ init_config_dir();
38861
38993
  init_config();
38862
38994
  }
38863
38995
  });
@@ -39173,6 +39305,7 @@ var require_dist3 = __commonJS({
39173
39305
  return Number.isNaN(at) ? void 0 : at;
39174
39306
  }
39175
39307
  async function fetchAntigravityQuota2(overrides = {}) {
39308
+ assertInjectedNetworkFetchInTest(overrides, "fetchAntigravityQuota");
39176
39309
  const deps = resolveDeps(overrides);
39177
39310
  const credentialsResult = await readCredentials(deps);
39178
39311
  if (credentialsResult.kind === "unsupported-platform") {
@@ -40795,6 +40928,7 @@ child.on('exit', () => process.exit(0));
40795
40928
  return Number.isNaN(at) ? void 0 : at;
40796
40929
  }
40797
40930
  async function fetchGrokQuota2(overrides = {}) {
40931
+ assertInjectedNetworkFetchInTest(overrides, "fetchGrokQuota");
40798
40932
  const deps = resolveDeps(overrides);
40799
40933
  const credentialsResult = readCredentials2(deps);
40800
40934
  if (credentialsResult.kind === "missing") {
@@ -41034,6 +41168,7 @@ child.on('exit', () => process.exit(0));
41034
41168
  return Number.isNaN(at) ? void 0 : at;
41035
41169
  }
41036
41170
  async function fetchKimiQuota2(overrides = {}) {
41171
+ assertInjectedNetworkFetchInTest(overrides, "fetchKimiQuota");
41037
41172
  const deps = resolveDeps(overrides);
41038
41173
  const credentialsResult = readCredentials3(deps);
41039
41174
  if (credentialsResult.kind === "missing") {
@@ -41389,6 +41524,15 @@ child.on('exit', () => process.exit(0));
41389
41524
  if (cache.size === 0) return void 0;
41390
41525
  return Object.fromEntries(cache);
41391
41526
  }
41527
+ function notifyQuotaCacheChanged() {
41528
+ const listener = quotaCacheChangedListener;
41529
+ if (!listener) return;
41530
+ try {
41531
+ listener();
41532
+ } catch (e) {
41533
+ LOG2.warn("Quota", `Quota cache-change listener failed: ${e?.message || e}`);
41534
+ }
41535
+ }
41392
41536
  function hasFreshlyMeasuredQuota() {
41393
41537
  for (const provider of cache.keys()) {
41394
41538
  if (!hydratedOnly.has(provider)) return true;
@@ -41467,6 +41611,7 @@ child.on('exit', () => process.exit(0));
41467
41611
  }
41468
41612
  const snapshot = readQuotaCache();
41469
41613
  if (snapshot) saveQuotaCache(snapshot);
41614
+ notifyQuotaCacheChanged();
41470
41615
  }
41471
41616
  function cancelFailureRetry(provider) {
41472
41617
  const state = failureRetries.get(provider);
@@ -41532,13 +41677,81 @@ child.on('exit', () => process.exit(0));
41532
41677
  }
41533
41678
  return false;
41534
41679
  }
41680
+ function computeNextWakeDelayMs(fetchers, isEnabled, active, now = Date.now()) {
41681
+ if (!isEnabled) return void 0;
41682
+ let nextAt = Number.POSITIVE_INFINITY;
41683
+ for (const { provider } of fetchers) {
41684
+ if (!isEnabled(provider)) continue;
41685
+ const entry = cache.get(provider);
41686
+ if (!entry) return 0;
41687
+ if (entry.status !== "ok") {
41688
+ const retryAtMs = entry.metadata?.retryAtMs;
41689
+ if (typeof retryAtMs === "number" && (failureRetries.get(provider)?.failures ?? 0) <= QUOTA_FAILURE_MAX_RETRIES) {
41690
+ nextAt = Math.min(nextAt, retryAtMs);
41691
+ }
41692
+ }
41693
+ const updatedAtMs = Number(entry.updatedAt);
41694
+ const dataDueAt = Number.isFinite(updatedAtMs) && updatedAtMs > 0 ? updatedAtMs + QUOTA_ROUTABLE_MAX_AGE_MS : Number.NEGATIVE_INFINITY;
41695
+ const attemptedAt = lastAttemptAt(entry);
41696
+ const attemptDueAt = attemptedAt === void 0 ? Number.NEGATIVE_INFINITY : attemptedAt + QUOTA_ROUTABLE_MAX_AGE_MS;
41697
+ nextAt = Math.min(nextAt, Math.max(dataDueAt, attemptDueAt));
41698
+ if (active) {
41699
+ const ttl = QUOTA_AXIS_TTL_MS[provider];
41700
+ if (Number.isFinite(ttl)) {
41701
+ nextAt = Math.min(nextAt, attemptedAt === void 0 ? now : attemptedAt + ttl);
41702
+ }
41703
+ }
41704
+ }
41705
+ if (!Number.isFinite(nextAt)) return void 0;
41706
+ return Math.max(nextAt - now, 0);
41707
+ }
41535
41708
  function startQuotaRefreshLoop(options) {
41536
41709
  const intervalMs = options.intervalMs ?? QUOTA_REFRESH_INTERVAL_MS;
41537
41710
  const fetchers = options.fetchers ?? REFRESHERS;
41538
41711
  if (options.isEnabled) ambientIsEnabled = options.isEnabled;
41539
41712
  let running = false;
41540
- const timer = setInterval(() => {
41541
- if (running) return;
41713
+ let stopped = false;
41714
+ let timer = null;
41715
+ const scheduleNext = () => {
41716
+ if (stopped) return;
41717
+ if (timer) {
41718
+ clearTimeout(timer);
41719
+ timer = null;
41720
+ }
41721
+ let delayMs = intervalMs;
41722
+ try {
41723
+ let active = false;
41724
+ try {
41725
+ active = options.hasRecentCliActivity();
41726
+ } catch {
41727
+ active = false;
41728
+ }
41729
+ const computed = computeNextWakeDelayMs(fetchers, options.isEnabled, active);
41730
+ if (computed !== void 0) {
41731
+ delayMs = Math.max(computed, MIN_CHAIN_WAKE_DELAY_MS);
41732
+ delayMs = Math.min(delayMs, QUOTA_ROUTABLE_MAX_AGE_MS);
41733
+ if (options.isEnabled && fetchers.some(({ provider }) => !options.isEnabled(provider))) {
41734
+ delayMs = Math.min(delayMs, intervalMs);
41735
+ }
41736
+ }
41737
+ } catch {
41738
+ delayMs = intervalMs;
41739
+ }
41740
+ timer = setTimeout(runWake, delayMs);
41741
+ if (typeof timer.unref === "function") timer.unref();
41742
+ };
41743
+ const rescheduleFromOutside = () => {
41744
+ if (stopped || running) return;
41745
+ scheduleNext();
41746
+ };
41747
+ quotaCacheChangedListener = rescheduleFromOutside;
41748
+ const runWake = () => {
41749
+ timer = null;
41750
+ if (stopped) return;
41751
+ if (running) {
41752
+ scheduleNext();
41753
+ return;
41754
+ }
41542
41755
  let active = false;
41543
41756
  try {
41544
41757
  active = options.hasRecentCliActivity();
@@ -41552,18 +41765,30 @@ child.on('exit', () => process.exit(0));
41552
41765
  return active && isDueByAxisTtl(provider);
41553
41766
  });
41554
41767
  const needsPrune = !!options.isEnabled && fetchers.some(({ provider }) => !options.isEnabled(provider) && cache.has(provider));
41555
- if (due.length === 0 && !needsPrune) return;
41768
+ if (due.length === 0 && !needsPrune) {
41769
+ scheduleNext();
41770
+ return;
41771
+ }
41556
41772
  running = true;
41557
41773
  const probeOnly = new Set(due.map(({ provider }) => provider));
41558
41774
  void refreshQuotaCacheOnce(fetchers, options.isEnabled, { probeOnly }).catch((e) => LOG2.warn("Quota", `Quota refresh tick error: ${e?.message || e}`)).finally(() => {
41559
41775
  running = false;
41776
+ scheduleNext();
41560
41777
  });
41561
- }, intervalMs);
41778
+ };
41779
+ timer = setTimeout(runWake, intervalMs);
41562
41780
  if (typeof timer.unref === "function") timer.unref();
41563
- LOG2.info("Quota", `Quota refresh loop started (interval ${intervalMs}ms, per-axis TTL, idle machines skipped)`);
41781
+ LOG2.info("Quota", `Quota refresh loop started (first wake ${intervalMs}ms, then per-provider expiry chain; per-axis TTL, idle machines skipped)`);
41564
41782
  return {
41565
41783
  stop() {
41566
- clearInterval(timer);
41784
+ stopped = true;
41785
+ if (timer) {
41786
+ clearTimeout(timer);
41787
+ timer = null;
41788
+ }
41789
+ if (quotaCacheChangedListener === rescheduleFromOutside) {
41790
+ quotaCacheChangedListener = void 0;
41791
+ }
41567
41792
  LOG2.info("Quota", "Quota refresh loop stopped");
41568
41793
  }
41569
41794
  };
@@ -41689,12 +41914,14 @@ child.on('exit', () => process.exit(0));
41689
41914
  var REFRESHERS;
41690
41915
  var cache;
41691
41916
  var ambientIsEnabled;
41917
+ var quotaCacheChangedListener;
41692
41918
  var hydratedOnly;
41693
41919
  var hydrated;
41694
41920
  var QUOTA_FAILURE_MAX_RETRIES;
41695
41921
  var failureRetries;
41696
41922
  var QUOTA_ROUTABLE_MAX_AGE_MS;
41697
41923
  var WORKING_STATUSES;
41924
+ var MIN_CHAIN_WAKE_DELAY_MS;
41698
41925
  var bootRefreshInFlight;
41699
41926
  var QUOTA_EVENT_REFRESH_DEBOUNCE_MS;
41700
41927
  var QUOTA_REFRESH_EVENTS;
@@ -41761,6 +41988,7 @@ child.on('exit', () => process.exit(0));
41761
41988
  "no_progress",
41762
41989
  "long_generating"
41763
41990
  ]);
41991
+ MIN_CHAIN_WAKE_DELAY_MS = 1e3;
41764
41992
  bootRefreshInFlight = false;
41765
41993
  QUOTA_EVENT_REFRESH_DEBOUNCE_MS = 6e4;
41766
41994
  QUOTA_REFRESH_EVENTS = /* @__PURE__ */ new Set(["agent:generating_completed", "agent:stopped"]);
@@ -51064,7 +51292,6 @@ The instruction it carried was never delivered to anyone. If it still matters, r
51064
51292
  nodeId: entry.assignedNodeId,
51065
51293
  providerType: entry.assignedProviderType
51066
51294
  } : void 0;
51067
- entry.status = "cancelled";
51068
51295
  entry.cancelledAt = now;
51069
51296
  if (opts?.reason) entry.cancelReason = opts.reason;
51070
51297
  delete entry.parked;
@@ -51076,20 +51303,17 @@ The instruction it carried was never delivered to anyone. If it still matters, r
51076
51303
  entry.dispatchNonce = (entry.dispatchNonce || 0) + 1;
51077
51304
  delete entry.attemptId;
51078
51305
  MeshRuntimeStore.getInstance().updateQueueEntry(entry);
51079
- endTaskDispatchInFlight(meshId, taskId);
51080
51306
  terminalizeSiblingDispatch(meshId, taskId, "queue_task_cancelled");
51081
- try {
51082
- proposeTurnCompletion({
51083
- meshId,
51084
- taskId,
51085
- outcome: "cancelled",
51086
- source: "cancellation",
51087
- reason: opts?.reason ?? "operator_cancel"
51088
- });
51089
- } catch {
51090
- }
51307
+ const commit = commitTaskTerminalAndAdvanceGraph({
51308
+ meshId,
51309
+ taskId,
51310
+ status: "cancelled",
51311
+ sessionId: priorAssignment?.sessionId,
51312
+ source: "cancellation",
51313
+ reason: opts?.reason ?? "operator_cancel"
51314
+ });
51091
51315
  const cascaded = propagateDependencyFailure(meshId, taskId);
51092
- return { entry, cascaded, priorAssignment };
51316
+ return { entry: commit.entry ?? entry, cascaded, priorAssignment };
51093
51317
  });
51094
51318
  if (result) scheduleMissionCloseCandidateCheck(meshId, [result.entry, ...result.cascaded]);
51095
51319
  if (result?.priorAssignment) lastCancelledTaskAssignment.set(`${meshId}::${taskId}`, result.priorAssignment);
@@ -81710,6 +81934,51 @@ ${cleanBody}`;
81710
81934
  return [];
81711
81935
  }
81712
81936
  }
81937
+ async function verifyRemoteBranchContainsCommit(runGit3, submodulePath, commit, branch = "main") {
81938
+ try {
81939
+ await runGit3(submodulePath, ["-c", "protocol.file.allow=always", "fetch", "origin", `refs/heads/${branch}:refs/remotes/origin/${branch}`]);
81940
+ } catch (fetchError) {
81941
+ return { state: "undeterminable", error: fetchError };
81942
+ }
81943
+ const remoteRef = `refs/remotes/origin/${branch}`;
81944
+ try {
81945
+ await runGit3(submodulePath, ["rev-parse", "--verify", "--quiet", `${remoteRef}^{commit}`]);
81946
+ } catch (resolveError) {
81947
+ return { state: "undeterminable", error: resolveError };
81948
+ }
81949
+ try {
81950
+ await runGit3(submodulePath, ["rev-parse", "--verify", "--quiet", `${commit}^{commit}`]);
81951
+ } catch (missingCandidate) {
81952
+ return { state: "absent", error: missingCandidate };
81953
+ }
81954
+ try {
81955
+ await runGit3(submodulePath, ["merge-base", "--is-ancestor", commit, remoteRef]);
81956
+ return { state: "contained" };
81957
+ } catch (ancestryError) {
81958
+ return ancestryError?.code === 1 ? { state: "absent", error: ancestryError } : { state: "undeterminable", error: ancestryError };
81959
+ }
81960
+ }
81961
+ function buildSubmodulePublishRequiredNextStep(entries) {
81962
+ const undeterminable = entries.filter((entry) => entry.remoteMainUndeterminable);
81963
+ const decided = entries.filter((entry) => !entry.remoteMainUndeterminable);
81964
+ const convergeable = decided.filter((entry) => entry.equivalentPublishedCommit);
81965
+ const publishable = decided.filter((entry) => !entry.equivalentPublishedCommit);
81966
+ const parts = [];
81967
+ if (undeterminable.length > 0) {
81968
+ const refs = undeterminable.map((entry) => `${entry.path}@${entry.commit}`).join(", ");
81969
+ parts.push(`Submodule remote main containment could not be determined for (${refs}) \u2014 the submodule remote was not successfully consulted (network, auth, or a missing remote). This is NOT evidence that the commit is unpublished, so do not push it: restore access to the submodule remote and rerun mesh_refine_node to obtain a real verdict.`);
81970
+ }
81971
+ if (convergeable.length > 0) {
81972
+ const refs = convergeable.map((entry) => `${entry.path}: ${entry.commit} \u2192 ${entry.equivalentPublishedCommit}`).join(", ");
81973
+ parts.push(`Converge the submodule gitlink(s) to the already-published equivalent commit(s) (${refs}): a commit with an identical tree already exists on the submodule remote main branch, so publishing the local same-content twin is wrong. Retarget the gitlink to the published commit, commit the root pointer update, then rerun mesh_refine_node.`);
81974
+ }
81975
+ if (publishable.length > 0) {
81976
+ const refs = publishable.map((entry) => `${entry.path}@${entry.commit}`).join(", ");
81977
+ parts.push(`Ask the user for explicit approval to push/publish the unreachable submodule commit(s) (${refs}) to the configured submodule remote main branch, then rerun mesh_refine_node.`);
81978
+ }
81979
+ parts.push("Do not merge the root branch until every submodule gitlink commit is reachable from submodule origin/main.");
81980
+ return parts.join(" ");
81981
+ }
81713
81982
  var fs51;
81714
81983
  var import_node_child_process11;
81715
81984
  var import_path17;
@@ -81795,15 +82064,22 @@ ${cleanBody}`;
81795
82064
  }
81796
82065
  return void 0;
81797
82066
  }
81798
- function isCommitReachableFromRemoteMain(submoduleRepoPath, commit, remoteMainRef) {
81799
- if (!remoteMainRef) return false;
82067
+ function submoduleHasOriginRemote(submoduleRepoPath) {
81800
82068
  try {
81801
- (0, import_node_child_process12.execFileSync)(GIT4, ["merge-base", "--is-ancestor", commit, remoteMainRef], { cwd: submoduleRepoPath, stdio: "ignore" });
81802
- return true;
82069
+ const url2 = (0, import_node_child_process12.execFileSync)(GIT4, ["remote", "get-url", "origin"], {
82070
+ cwd: submoduleRepoPath,
82071
+ encoding: "utf8",
82072
+ stdio: ["ignore", "pipe", "ignore"]
82073
+ });
82074
+ return !!url2.trim();
81803
82075
  } catch {
81804
82076
  return false;
81805
82077
  }
81806
82078
  }
82079
+ function probeCommitReachableFromRemoteMain(submoduleRepoPath, commit, remoteMainRef) {
82080
+ if (!remoteMainRef) return "undeterminable";
82081
+ return probeGitAncestry(submoduleRepoPath, commit, remoteMainRef);
82082
+ }
81807
82083
  function convergeDivergedSubmoduleGitlinks(worktreeRoot, baseRepoRoot, baseHead, branchHead, options = {}) {
81808
82084
  const changed = readChangedGitlinkPaths(worktreeRoot, baseHead, branchHead);
81809
82085
  if (changed.length === 0) {
@@ -81841,9 +82117,12 @@ ${cleanBody}`;
81841
82117
  continue;
81842
82118
  }
81843
82119
  sawDiverged = true;
82120
+ const originConfigured = submoduleHasOriginRemote(submoduleRepoPath);
82121
+ let remoteFetched = true;
81844
82122
  try {
81845
82123
  (0, import_node_child_process12.execFileSync)(GIT4, ["-c", "protocol.file.allow=always", "fetch", "-q", "origin"], { cwd: submoduleRepoPath, stdio: ["ignore", "ignore", "pipe"] });
81846
82124
  } catch {
82125
+ remoteFetched = false;
81847
82126
  }
81848
82127
  const remoteMainRef = resolveSubmoduleRemoteMainRef(submoduleRepoPath);
81849
82128
  const publishedEquivalent = remoteMainRef ? findEquivalentPublishedSubmoduleCommit(submoduleRepoPath, baseCommit, branchCommit, remoteMainRef) : void 0;
@@ -81856,8 +82135,9 @@ ${cleanBody}`;
81856
82135
  resolutions.push({ path: path60, baseCommit, branchCommit, rebasedCommit: publishedEquivalent });
81857
82136
  continue;
81858
82137
  }
81859
- const branchAlreadyPublished = isCommitReachableFromRemoteMain(submoduleRepoPath, branchCommit, remoteMainRef);
81860
- const willMintUnpublishedCommit = !branchAlreadyPublished;
82138
+ const branchPublished = probeCommitReachableFromRemoteMain(submoduleRepoPath, branchCommit, remoteMainRef);
82139
+ const publicationUndeterminable = originConfigured && (branchPublished === "undeterminable" || !remoteFetched);
82140
+ const willMintUnpublishedCommit = branchPublished !== true;
81861
82141
  const wouldConflict = (() => {
81862
82142
  try {
81863
82143
  (0, import_node_child_process12.execFileSync)(GIT4, ["merge-tree", "--write-tree", baseCommit, branchCommit], {
@@ -81870,6 +82150,17 @@ ${cleanBody}`;
81870
82150
  return true;
81871
82151
  }
81872
82152
  })();
82153
+ if (publicationUndeterminable && !wouldConflict) {
82154
+ gitlinks.push({
82155
+ path: path60,
82156
+ baseCommit,
82157
+ branchCommit,
82158
+ action: "publication_undeterminable",
82159
+ remoteMainRef,
82160
+ remoteFetched
82161
+ });
82162
+ return { converged: false, reason: "submodule_publication_undeterminable", resolutions: [], gitlinks };
82163
+ }
81873
82164
  if (willMintUnpublishedCommit && !wouldConflict && options.allowAutoPublishSubmoduleMainCommits !== true) {
81874
82165
  gitlinks.push({
81875
82166
  path: path60,
@@ -81943,12 +82234,18 @@ ${cleanBody}`;
81943
82234
  if (reason === "submodule_publish_required") {
81944
82235
  return describeSubmodulePublishRequired(nodeId, gitlinks);
81945
82236
  }
82237
+ if (reason === "submodule_publication_undeterminable") {
82238
+ return `[Refinery] Could NOT determine whether the branch-side submodule commit(s) are already published for node ${nodeId} \u2014 the submodule remote was not successfully consulted, so refs/remotes/origin/* is stale or absent. Refusing to rebase: minting a submodule commit on absent evidence can synthesize a redundant twin of a commit that is already on origin. The branch was left untouched. NEXT STEP: restore access to the submodule remote and rerun mesh_refine_node \u2014 do NOT publish or rebase on this evidence: ` + gitlinks.filter((g) => g.action === "publication_undeterminable").map((g) => `${g.path} (branch=${(g.branchCommit || "?").slice(0, 12)} base=${(g.baseCommit || "?").slice(0, 12)} remote=${g.remoteMainRef || "unresolved"} fetched=${g.remoteFetched === true})`).join(", ");
82239
+ }
81946
82240
  if (reason === "submodule_commit_unavailable") {
81947
82241
  return `[Refinery] Could NOT determine submodule gitlink divergence for node ${nodeId} \u2014 a gitlink commit is missing from the local submodule object store (auto-converge could not run): ` + gitlinks.filter((g) => g.action === "skipped_commit_unavailable").map((g) => `${g.path} (missing: ${(g.unavailable || []).join("+") || "unknown"}; base=${(g.baseCommit || "?").slice(0, 12)} branch=${(g.branchCommit || "?").slice(0, 12)})`).join(", ");
81948
82242
  }
81949
82243
  return void 0;
81950
82244
  }
81951
82245
  function buildSubmoduleConvergeDeclineDetails(reason, autoPublishEnabled) {
82246
+ if (reason === "submodule_publication_undeterminable") {
82247
+ return { recommendedAction: SUBMODULE_PUBLICATION_UNDETERMINABLE_RECOMMENDED_ACTION };
82248
+ }
81952
82249
  if (reason !== "submodule_publish_required") return {};
81953
82250
  return {
81954
82251
  recommendedAction: SUBMODULE_PUBLISH_REQUIRED_RECOMMENDED_ACTION,
@@ -82042,6 +82339,7 @@ ${cleanBody}`;
82042
82339
  var import_path18;
82043
82340
  var import_node_child_process12;
82044
82341
  var SUBMODULE_PUBLISH_REQUIRED_RECOMMENDED_ACTION;
82342
+ var SUBMODULE_PUBLICATION_UNDETERMINABLE_RECOMMENDED_ACTION;
82045
82343
  var init_mesh_refine_submodule_converge = __esm2({
82046
82344
  "src/mesh/mesh-refine-submodule-converge.ts"() {
82047
82345
  "use strict";
@@ -82050,6 +82348,7 @@ ${cleanBody}`;
82050
82348
  import_node_child_process12 = require("child_process");
82051
82349
  init_mesh_refine_gitlink_utils();
82052
82350
  SUBMODULE_PUBLISH_REQUIRED_RECOMMENDED_ACTION = "Publish the branch-side submodule commit(s) to submodule origin main, then rerun mesh_refine_node. Do NOT retry the rebase: the branch was intentionally left unrewritten because a rebase here would mint a submodule commit the reachability gate must reject.";
82351
+ SUBMODULE_PUBLICATION_UNDETERMINABLE_RECOMMENDED_ACTION = "Restore access to the submodule remote (the publication check could not be run), then rerun mesh_refine_node. Do NOT publish and do NOT retry the rebase on this evidence: it is unknown whether the branch-side commit is already on origin, so minting or pushing here can synthesize a redundant twin of a published commit.";
82053
82352
  }
82054
82353
  });
82055
82354
  function truncateValidationOutput(value) {
@@ -82115,21 +82414,6 @@ ${asText(streams.stderr)}
82115
82414
  ...details || {}
82116
82415
  });
82117
82416
  }
82118
- function buildSubmodulePublishRequiredNextStep(entries) {
82119
- const convergeable = entries.filter((entry) => entry.equivalentPublishedCommit);
82120
- const publishable = entries.filter((entry) => !entry.equivalentPublishedCommit);
82121
- const parts = [];
82122
- if (convergeable.length > 0) {
82123
- const refs = convergeable.map((entry) => `${entry.path}: ${entry.commit} \u2192 ${entry.equivalentPublishedCommit}`).join(", ");
82124
- parts.push(`Converge the submodule gitlink(s) to the already-published equivalent commit(s) (${refs}): a commit with an identical tree already exists on the submodule remote main branch, so publishing the local same-content twin is wrong. Retarget the gitlink to the published commit, commit the root pointer update, then rerun mesh_refine_node.`);
82125
- }
82126
- if (publishable.length > 0) {
82127
- const refs = publishable.map((entry) => `${entry.path}@${entry.commit}`).join(", ");
82128
- parts.push(`Ask the user for explicit approval to push/publish the unreachable submodule commit(s) (${refs}) to the configured submodule remote main branch, then rerun mesh_refine_node.`);
82129
- }
82130
- parts.push("Do not merge the root branch until every submodule gitlink commit is reachable from submodule origin/main.");
82131
- return parts.join(" ");
82132
- }
82133
82417
  function resolveRefineryAutoPublishSubmoduleMainCommits(mesh, workspace) {
82134
82418
  if (mesh?.policy?.allowAutoPublishSubmoduleMainCommits === true) {
82135
82419
  process.stderr.write(
@@ -82848,10 +83132,7 @@ ${mergeTreeErr?.stderr || ""}`;
82848
83132
  });
82849
83133
  return String(stdout || "");
82850
83134
  };
82851
- const verifyRemoteMainContainsCommit = async (submodulePath, commit, branch = "main") => {
82852
- await runGit3(submodulePath, ["-c", "protocol.file.allow=always", "fetch", "origin", `refs/heads/${branch}:refs/remotes/origin/${branch}`]);
82853
- await runGit3(submodulePath, ["merge-base", "--is-ancestor", commit, `refs/remotes/origin/${branch}`]);
82854
- };
83135
+ const verifyRemoteMainContainsCommit = (submodulePath, commit, branch = "main") => verifyRemoteBranchContainsCommit(runGit3, submodulePath, commit, branch);
82855
83136
  const publishCommitToRemoteMain = async (submodulePath, commit, branch = "main") => {
82856
83137
  const refspec = `${commit}:refs/heads/${branch}`;
82857
83138
  const { stdout, stderr } = await execFileAsync7(GIT4, ["push", "origin", refspec], {
@@ -82880,8 +83161,13 @@ ${mergeTreeErr?.stderr || ""}`;
82880
83161
  if (!targetTree) return void 0;
82881
83162
  const candidates = (await runGit3(submodulePath, ["rev-list", "--max-count=100", remoteRef])).split("\n").map((s2) => s2.trim()).filter(Boolean);
82882
83163
  for (const candidate of candidates) {
82883
- const tree = (await runGit3(submodulePath, ["rev-parse", `${candidate}^{tree}`])).trim();
82884
- if (tree === targetTree) return candidate;
83164
+ let tree = "";
83165
+ try {
83166
+ tree = (await runGit3(submodulePath, ["rev-parse", `${candidate}^{tree}`])).trim();
83167
+ } catch {
83168
+ continue;
83169
+ }
83170
+ if (tree && tree === targetTree) return candidate;
82885
83171
  }
82886
83172
  } catch {
82887
83173
  }
@@ -82954,13 +83240,25 @@ ${mergeTreeErr?.stderr || ""}`;
82954
83240
  submodulePath: gitlink.path
82955
83241
  });
82956
83242
  entry.remoteMainBranch = submoduleDefaultBranch;
82957
- try {
82958
- await verifyRemoteMainContainsCommit(submodulePath, gitlink.commit, submoduleDefaultBranch);
83243
+ const verdict = await verifyRemoteMainContainsCommit(submodulePath, gitlink.commit, submoduleDefaultBranch);
83244
+ if (verdict.state === "contained") {
82959
83245
  entry.fetchedFromOrigin = true;
82960
83246
  entry.remoteReachable = true;
82961
83247
  entry.remoteMainReachable = true;
82962
83248
  entry.reachable = true;
82963
- } catch (e) {
83249
+ } else if (verdict.state === "undeterminable") {
83250
+ const e = verdict.error;
83251
+ entry.remoteMainUndeterminable = true;
83252
+ entry.publishRequired = false;
83253
+ const details = truncateValidationOutput(e?.stderr || e?.message || String(e));
83254
+ entry.error = `Submodule remote main reachability for origin/${submoduleDefaultBranch} could not be determined (the remote was not successfully consulted): ${details}. This is not evidence that ${gitlink.commit} is unpublished \u2014 resolve the remote access problem and re-run; Refinery will not publish on an undetermined verdict.`;
83255
+ if (options.allowAutoPublishSubmoduleMainCommits === true) {
83256
+ entry.autoPublishAllowed = true;
83257
+ entry.autoPublishAttempted = false;
83258
+ entry.autoPublishSkippedReason = `remote main containment for origin/${submoduleDefaultBranch} could not be determined, so Refinery will not push \u2014 a failed fetch is not proof the commit is unpublished`;
83259
+ }
83260
+ } else {
83261
+ const e = verdict.error;
82964
83262
  entry.remoteReachable = false;
82965
83263
  entry.remoteMainReachable = false;
82966
83264
  const equivalentPublished = await findEquivalentPublishedCommit(submodulePath, gitlink.commit, `refs/remotes/origin/${submoduleDefaultBranch}`);
@@ -82986,14 +83284,24 @@ ${mergeTreeErr?.stderr || ""}`;
82986
83284
  entry.publishStdout = truncateValidationOutput(publish.stdout);
82987
83285
  entry.publishStderr = truncateValidationOutput(publish.stderr);
82988
83286
  entry.autoPublishSucceeded = true;
82989
- await verifyRemoteMainContainsCommit(submodulePath, gitlink.commit, submoduleDefaultBranch);
82990
- entry.fetchedFromOrigin = true;
82991
- entry.remoteReachable = true;
82992
- entry.remoteMainReachable = true;
82993
- entry.autoPublishVerified = true;
82994
- entry.publishRequired = false;
82995
- entry.reachable = true;
82996
- entry.error = void 0;
83287
+ const postPublish = await verifyRemoteMainContainsCommit(submodulePath, gitlink.commit, submoduleDefaultBranch);
83288
+ if (postPublish.state !== "contained") {
83289
+ entry.autoPublishVerified = false;
83290
+ const postDetails = truncateValidationOutput(
83291
+ postPublish.error?.stderr || postPublish.error?.message || String(postPublish.error)
83292
+ );
83293
+ if (postPublish.state === "undeterminable") entry.remoteMainUndeterminable = true;
83294
+ else entry.remoteMainReachable = false;
83295
+ entry.error = `Submodule auto-publish to origin/${submoduleDefaultBranch} reported success but post-publish verification did not confirm containment (${postPublish.state}): ${postDetails}`;
83296
+ } else {
83297
+ entry.fetchedFromOrigin = true;
83298
+ entry.remoteReachable = true;
83299
+ entry.remoteMainReachable = true;
83300
+ entry.autoPublishVerified = true;
83301
+ entry.publishRequired = false;
83302
+ entry.reachable = true;
83303
+ entry.error = void 0;
83304
+ }
82997
83305
  } catch (publishError) {
82998
83306
  entry.autoPublishSucceeded = false;
82999
83307
  entry.autoPublishVerified = false;
@@ -83031,12 +83339,12 @@ ${mergeTreeErr?.stderr || ""}`;
83031
83339
  autoPublishPolicySource: options.autoPublishPolicySource
83032
83340
  };
83033
83341
  } catch (e) {
83034
- const unreachable = entries.filter((entry) => !entry.reachable).map((entry) => ({ ...entry, publishRequired: true }));
83342
+ const unreachable = entries.filter((entry) => !entry.reachable).map((entry) => ({ ...entry, publishRequired: entry.publishRequired !== false }));
83035
83343
  return {
83036
83344
  status: "failed",
83037
83345
  checked: entries.length,
83038
83346
  unreachable,
83039
- entries: entries.map((entry) => entry.reachable ? entry : { ...entry, publishRequired: true }),
83347
+ entries: entries.map((entry) => entry.reachable ? entry : { ...entry, publishRequired: entry.publishRequired !== false }),
83040
83348
  durationMs: Date.now() - startedAt,
83041
83349
  autoPublishAllowed: options.allowAutoPublishSubmoduleMainCommits === true,
83042
83350
  autoPublishPolicySource: options.autoPublishPolicySource,
@@ -83642,6 +83950,87 @@ ${excerpt}` : "\n--- git output ---\n(none captured)");
83642
83950
  "use strict";
83643
83951
  }
83644
83952
  });
83953
+ async function hasOriginRemote(execFileAsync7, repoRoot, env2) {
83954
+ try {
83955
+ const { stdout } = await execFileAsync7("git", ["remote", "get-url", "origin"], { cwd: repoRoot, encoding: "utf8", env: env2 });
83956
+ return !!stdout.trim();
83957
+ } catch {
83958
+ return false;
83959
+ }
83960
+ }
83961
+ async function probeRefineBaseCas(params) {
83962
+ const { execFileAsync: execFileAsync7, repoRoot, baseBranch, pinnedBaseHead, env: env2 } = params;
83963
+ if (!await hasOriginRemote(execFileAsync7, repoRoot, env2)) {
83964
+ return { state: "no_origin" };
83965
+ }
83966
+ try {
83967
+ await execFileAsync7("git", ["fetch", "origin", baseBranch], { cwd: repoRoot, encoding: "utf8", env: env2 });
83968
+ } catch (e) {
83969
+ const fetchError = e?.message || String(e);
83970
+ return { state: "undeterminable", reason: `git fetch origin ${baseBranch} failed: ${fetchError}`, fetchError };
83971
+ }
83972
+ let liveBaseHead;
83973
+ try {
83974
+ const { stdout } = await execFileAsync7("git", ["rev-parse", `origin/${baseBranch}`], { cwd: repoRoot, encoding: "utf8", env: env2 });
83975
+ liveBaseHead = stdout.trim();
83976
+ } catch (e) {
83977
+ return { state: "undeterminable", reason: `git rev-parse origin/${baseBranch} failed: ${e?.message || String(e)}` };
83978
+ }
83979
+ if (!liveBaseHead) {
83980
+ return { state: "undeterminable", reason: `git rev-parse origin/${baseBranch} produced no SHA` };
83981
+ }
83982
+ return { state: liveBaseHead === pinnedBaseHead ? "unmoved" : "moved", liveBaseHead };
83983
+ }
83984
+ function describeRefineBaseCasStage(cas, pinnedBaseHead) {
83985
+ switch (cas.state) {
83986
+ case "no_origin":
83987
+ return { status: "skipped", detail: { pinnedBaseHead, reason: "no_origin_remote" } };
83988
+ case "undeterminable":
83989
+ return { status: "failed", detail: {
83990
+ pinnedBaseHead,
83991
+ retryable: true,
83992
+ undeterminable: true,
83993
+ reason: cas.reason,
83994
+ ...cas.fetchError ? { fetchError: cas.fetchError } : {}
83995
+ } };
83996
+ case "moved":
83997
+ return { status: "failed", detail: { pinnedBaseHead, retryable: true, liveBaseHead: cas.liveBaseHead } };
83998
+ default:
83999
+ return { status: "passed", detail: { pinnedBaseHead, liveBaseHead: cas.liveBaseHead } };
84000
+ }
84001
+ }
84002
+ function buildRefineBaseCasBlockedResult(params) {
84003
+ const { cas, baseBranch, branch, pinnedBaseHead, validationSummary, patchEquivalence, submoduleReachability, refineStages } = params;
84004
+ const undeterminable = cas.state === "undeterminable";
84005
+ return {
84006
+ success: false,
84007
+ code: undeterminable ? "base_cas_undeterminable" : "base_moved",
84008
+ convergenceStatus: "blocked_review",
84009
+ retryable: true,
84010
+ error: undeterminable ? `Could not verify whether base ${baseBranch} is still at the pinned ${pinnedBaseHead.slice(0, 7)} (${cas.reason}); refusing to merge or push onto an unverified base. Restore access to origin and re-run refine.` : `Base ${baseBranch} advanced from ${pinnedBaseHead.slice(0, 7)} to ${(cas.liveBaseHead || "").slice(0, 7)} after this node was validated; re-run refine to rebase onto and re-validate the new base.`,
84011
+ branch,
84012
+ into: baseBranch,
84013
+ pinnedBaseHead,
84014
+ ...undeterminable ? { baseCasUndeterminable: cas.reason } : { liveBaseHead: cas.liveBaseHead },
84015
+ validationSummary,
84016
+ patchEquivalence,
84017
+ submoduleReachability,
84018
+ refineStages,
84019
+ finalBranchConvergenceState: {
84020
+ branch,
84021
+ baseBranch,
84022
+ merged: false,
84023
+ removed: false,
84024
+ status: "blocked_review",
84025
+ ...undeterminable ? { nextStep: "Restore access to origin (the base compare-and-swap could not run), then re-run refine for this node." } : {}
84026
+ }
84027
+ };
84028
+ }
84029
+ var init_mesh_refine_base_cas = __esm2({
84030
+ "src/mesh/mesh-refine-base-cas.ts"() {
84031
+ "use strict";
84032
+ }
84033
+ });
83645
84034
  function resolveRefineMaxConcurrentJobs(env2 = process.env) {
83646
84035
  const raw = env2[REFINE_MAX_CONCURRENT_JOBS_ENV];
83647
84036
  if (raw === void 0 || raw.trim() === "") return DEFAULT_REFINE_MAX_CONCURRENT_JOBS;
@@ -84986,45 +85375,27 @@ ${hintLines.join("\n")}` : "",
84986
85375
  async function runRefineMergeAndFinalizeLocked(self, ctx) {
84987
85376
  const { meshId, nodeId, args, repoRoot, baseHead, node, branch, baseBranch, sourceNode, validationSummary, patchEquivalence, submoduleReachability, mesh, refineStages, execFileAsync: execFileAsync7 } = ctx;
84988
85377
  const casStarted = Date.now();
84989
- let baseMoved = false;
84990
- let liveBaseHead;
84991
- try {
84992
- await execFileAsync7("git", ["fetch", "origin", baseBranch], { cwd: repoRoot, encoding: "utf8", env: gitChildEnv() });
84993
- const { stdout } = await execFileAsync7("git", ["rev-parse", `origin/${baseBranch}`], { cwd: repoRoot, encoding: "utf8", env: gitChildEnv() });
84994
- liveBaseHead = stdout.trim();
84995
- baseMoved = !!liveBaseHead && liveBaseHead !== baseHead;
84996
- } catch {
84997
- }
84998
- if (baseMoved) {
84999
- recordMeshRefineStage(refineStages, "base_cas", "failed", casStarted, {
85000
- pinnedBaseHead: baseHead,
85001
- liveBaseHead,
85002
- retryable: true
85003
- });
85004
- return { kind: "terminal", result: {
85005
- success: false,
85006
- code: "base_moved",
85007
- convergenceStatus: "blocked_review",
85008
- retryable: true,
85009
- error: `Base ${baseBranch} advanced from ${baseHead.slice(0, 7)} to ${(liveBaseHead || "").slice(0, 7)} after this node was validated; re-run refine to rebase onto and re-validate the new base.`,
85378
+ const cas = await probeRefineBaseCas({
85379
+ execFileAsync: execFileAsync7,
85380
+ repoRoot,
85381
+ baseBranch,
85382
+ pinnedBaseHead: baseHead,
85383
+ env: gitChildEnv()
85384
+ });
85385
+ const casStage = describeRefineBaseCasStage(cas, baseHead);
85386
+ recordMeshRefineStage(refineStages, "base_cas", casStage.status, casStarted, casStage.detail);
85387
+ if (cas.state === "undeterminable" || cas.state === "moved") {
85388
+ return { kind: "terminal", result: buildRefineBaseCasBlockedResult({
85389
+ cas,
85390
+ baseBranch,
85010
85391
  branch,
85011
- into: baseBranch,
85012
85392
  pinnedBaseHead: baseHead,
85013
- liveBaseHead,
85014
85393
  validationSummary,
85015
85394
  patchEquivalence,
85016
85395
  submoduleReachability,
85017
- refineStages,
85018
- finalBranchConvergenceState: {
85019
- branch,
85020
- baseBranch,
85021
- merged: false,
85022
- removed: false,
85023
- status: "blocked_review"
85024
- }
85025
- } };
85396
+ refineStages
85397
+ }) };
85026
85398
  }
85027
- recordMeshRefineStage(refineStages, "base_cas", "passed", casStarted, { pinnedBaseHead: baseHead });
85028
85399
  let mergeResult;
85029
85400
  const mergeStarted = Date.now();
85030
85401
  try {
@@ -85971,9 +86342,10 @@ ${e?.stderr || ""}`;
85971
86342
  init_git_locale();
85972
86343
  init_mesh_node_identity();
85973
86344
  init_mesh_refine_gates();
86345
+ init_mesh_refine_base_cas();
85974
86346
  init_mesh_refine_concurrency();
85975
86347
  init_router_refine_resume();
85976
- RETRYABLE_BASE_MOVEMENT_CODES = /* @__PURE__ */ new Set(["base_moved", "base_locked"]);
86348
+ RETRYABLE_BASE_MOVEMENT_CODES = /* @__PURE__ */ new Set(["base_moved", "base_locked", "base_cas_undeterminable"]);
85977
86349
  }
85978
86350
  });
85979
86351
  var index_exports = {};
@@ -86357,6 +86729,7 @@ ${e?.stderr || ""}`;
86357
86729
  isManagedStatusWorking: () => isManagedStatusWorking,
86358
86730
  isMeshHostOwner: () => isMeshHostOwner,
86359
86731
  isMeshNodeHealthLaunchable: () => isMeshNodeHealthLaunchable,
86732
+ isMeshTestPollution: () => isMeshTestPollution,
86360
86733
  isMissingLiveSessionResult: () => isMissingLiveSessionResult2,
86361
86734
  isOperatingNoteTombstoned: () => isOperatingNoteTombstoned,
86362
86735
  isP2pRelayTransportFailure: () => isP2pRelayTransportFailure,
@@ -86366,6 +86739,8 @@ ${e?.stderr || ""}`;
86366
86739
  isSessionHostLiveRuntime: () => import_session_host_core32.isSessionHostLiveRuntime,
86367
86740
  isSessionHostRecoverySnapshot: () => import_session_host_core32.isSessionHostRecoverySnapshot,
86368
86741
  isSetupComplete: () => isSetupComplete,
86742
+ isSyntheticTestCoordinatorSession: () => isSyntheticTestCoordinatorSession,
86743
+ isSyntheticTestMeshId: () => isSyntheticTestMeshId,
86369
86744
  isTaskReadonly: () => isTaskReadonly,
86370
86745
  isUserFacingChatMessage: () => isUserFacingChatMessage,
86371
86746
  isWeakCompletionEvidence: () => isWeakCompletionEvidence,
@@ -88733,6 +89108,19 @@ ${e?.stderr || ""}`;
88733
89108
  };
88734
89109
  }
88735
89110
  init_mesh_ledger();
89111
+ var SYNTHETIC_MESH_ID_RE = /^mesh_(adopt_|g4dup_|graph_[eg]_)/;
89112
+ var SYNTHETIC_COORDINATOR_SESSIONS = /* @__PURE__ */ new Set(["sess-coord", "sess-A"]);
89113
+ function isSyntheticTestMeshId(meshId) {
89114
+ if (!meshId) return false;
89115
+ return SYNTHETIC_MESH_ID_RE.test(meshId);
89116
+ }
89117
+ function isSyntheticTestCoordinatorSession(sessionId) {
89118
+ if (!sessionId) return false;
89119
+ return SYNTHETIC_COORDINATOR_SESSIONS.has(sessionId);
89120
+ }
89121
+ function isMeshTestPollution(args) {
89122
+ return isSyntheticTestMeshId(args.meshId) || isSyntheticTestCoordinatorSession(args.coordinatorSessionId);
89123
+ }
88736
89124
  var import_fs13 = require("fs");
88737
89125
  var import_path12 = require("path");
88738
89126
  init_config();
@@ -102296,6 +102684,11 @@ ${marker}`,
102296
102684
  var WIN32_SUBMIT_SETTLE_POLL_MS = 120;
102297
102685
  var WIN32_ECHO_PROBE_CHARS = 16;
102298
102686
  var WIN32_ECHO_MAX_WAIT_MS = 2e4;
102687
+ var VERIFIED_SUBMIT_MIN_CHARS = 512;
102688
+ function shouldUseVerifiedSubmit(text, platform10 = process.platform) {
102689
+ if (platform10 === "win32") return true;
102690
+ return text.length >= VERIFIED_SUBMIT_MIN_CHARS;
102691
+ }
102299
102692
  var WIN32_BRACKETED_PASTE_OPEN = "\x1B[200~";
102300
102693
  var WIN32_BRACKETED_PASTE_CLOSE = "\x1B[201~";
102301
102694
  var WIN32_SOFT_NEWLINE = "\x1B[27;2;13~";
@@ -102308,8 +102701,9 @@ ${marker}`,
102308
102701
  function resolveSubmitDelayMs(specBeforeSubmit, text) {
102309
102702
  const lines = countNewlines(text);
102310
102703
  const linesBonus = Math.min(800, lines * 80);
102704
+ const lengthBonus = Math.min(800, Math.floor(text.length / 1e3) * 200);
102311
102705
  const spec = typeof specBeforeSubmit === "number" && specBeforeSubmit > 0 ? specBeforeSubmit : 0;
102312
- return Math.max(spec, SUBMIT_DELAY_FLOOR_MS + linesBonus);
102706
+ return Math.max(spec, SUBMIT_DELAY_FLOOR_MS + linesBonus + lengthBonus);
102313
102707
  }
102314
102708
  var chunkPreservingSurrogates2 = chunkPreservingSurrogates;
102315
102709
  function guessExt(mime) {
@@ -102377,7 +102771,7 @@ ${marker}`,
102377
102771
  * resets the stall reference) or another full stall window lapses. */
102378
102772
  lastRefocusAt = 0;
102379
102773
  /** Timer driving the win32 verification-based submit resend loop (see
102380
- * WIN32_SUBMIT_* and scheduleWin32Submit). Re-arms itself until the FSM
102774
+ * WIN32_SUBMIT_* and scheduleVerifiedSubmit). Re-arms itself until the FSM
102381
102775
  * leaves idle (submitted) or the resend budget is spent. */
102382
102776
  win32SubmitTimer = null;
102383
102777
  /** Wall-clock (ms) of the most recent raw PTY output chunk. Advances on every
@@ -102395,6 +102789,12 @@ ${marker}`,
102395
102789
  * is absorbed by ConPTY the same way a send_message submit CR is, so the confirm
102396
102790
  * must be resent until the modal actually resolves (status leaves 'approval'). */
102397
102791
  win32ModalConfirmTimer = null;
102792
+ /** SUBMIT-SILENT-FAILURE: set when scheduleVerifiedSubmit spent its whole resend
102793
+ * budget without the FSM ever leaving 'idle' — i.e. the body is still sitting
102794
+ * unsent in the composer. Cleared on the next send. Exposed via
102795
+ * lastSubmitUnconfirmed() so a supervisor can distinguish "agent is thinking"
102796
+ * from "the prompt was never actually submitted". */
102797
+ submitUnconfirmed = false;
102398
102798
  currentEval = null;
102399
102799
  stateHistory = [];
102400
102800
  prevStateAt = 0;
@@ -103206,13 +103606,26 @@ ${marker}`,
103206
103606
  this.sendInFlight = true;
103207
103607
  this.sendInFlightAt = Date.now();
103208
103608
  }
103609
+ /** SUBMIT-SILENT-FAILURE: true when the most recent send exhausted its submit
103610
+ * resend budget without the agent ever leaving the composer. A caller seeing
103611
+ * this should treat an apparent 'generating' status as untrustworthy. */
103612
+ lastSubmitUnconfirmed() {
103613
+ return this.submitUnconfirmed;
103614
+ }
103209
103615
  actuallySendMessage(text) {
103210
103616
  const sm = this.spec.send_message;
103617
+ this.submitUnconfirmed = false;
103211
103618
  const perChar = sm.delay_ms_per_char ?? 0;
103212
103619
  const beforeSubmit = resolveSubmitDelayMs(sm.delay_ms_before_submit, text);
103213
103620
  if (process.platform === "win32") {
103214
103621
  this.writeWin32Body(text);
103215
- this.scheduleWin32Submit(sm.submit_key, beforeSubmit, text);
103622
+ this.scheduleVerifiedSubmit(sm.submit_key, beforeSubmit, text);
103623
+ return;
103624
+ }
103625
+ if (perChar === 0 && shouldUseVerifiedSubmit(text)) {
103626
+ this.adapter.send_keys(text);
103627
+ this.markBodyWrite();
103628
+ this.scheduleVerifiedSubmit(sm.submit_key, beforeSubmit, text);
103216
103629
  return;
103217
103630
  }
103218
103631
  if (perChar === 0) {
@@ -103239,7 +103652,7 @@ ${marker}`,
103239
103652
  }
103240
103653
  /** Record a win32 body write so the settle-gate counts it as input activity
103241
103654
  * even before the echo arrives. */
103242
- markWin32Write() {
103655
+ markBodyWrite() {
103243
103656
  this.lastWin32WriteAt = Date.now();
103244
103657
  }
103245
103658
  /** Most recent win32 input activity — a write we issued OR a PTY output chunk
@@ -103264,7 +103677,7 @@ ${marker}`,
103264
103677
  * - 'soft_newline': replace each embedded newline with a non-submitting
103265
103678
  * Shift+Enter (CSI-u) so the body is typed as one multi-line entry.
103266
103679
  * The trailing submit CR is NOT written here — it stays separate and is fired
103267
- * later by scheduleWin32Submit (concern (A)). The bracketed-paste markers are
103680
+ * later by scheduleVerifiedSubmit (concern (A)). The bracketed-paste markers are
103268
103681
  * written as their own atomic segments (never chunked), so chunking can never
103269
103682
  * split ESC[200~ / ESC[201~ mid-sequence regardless of body length.
103270
103683
  */
@@ -103289,7 +103702,7 @@ ${marker}`,
103289
103702
  ];
103290
103703
  }
103291
103704
  if (segments.length <= 1) {
103292
- this.markWin32Write();
103705
+ this.markBodyWrite();
103293
103706
  this.adapter.send_keys(segments[0] ?? text);
103294
103707
  return;
103295
103708
  }
@@ -103297,7 +103710,7 @@ ${marker}`,
103297
103710
  const writeNext = () => {
103298
103711
  this.win32WriteTimer = null;
103299
103712
  if (idx >= segments.length) return;
103300
- this.markWin32Write();
103713
+ this.markBodyWrite();
103301
103714
  this.adapter.send_keys(segments[idx]);
103302
103715
  idx += 1;
103303
103716
  if (idx < segments.length) {
@@ -103327,7 +103740,7 @@ ${marker}`,
103327
103740
  * idle and stop the instant the agent leaves idle (submitted → generating /
103328
103741
  * approval). This preserves the win32 lone-CR-swallow handling.
103329
103742
  */
103330
- scheduleWin32Submit(submitKey, initialDelayMs, body) {
103743
+ scheduleVerifiedSubmit(submitKey, initialDelayMs, body) {
103331
103744
  if (this.win32SubmitTimer) {
103332
103745
  clearTimeout(this.win32SubmitTimer);
103333
103746
  this.win32SubmitTimer = null;
@@ -103346,10 +103759,22 @@ ${marker}`,
103346
103759
  const fire = (attempt) => {
103347
103760
  this.win32SubmitTimer = null;
103348
103761
  this.adapter.send_keys(submitKey);
103349
- if (attempt + 1 >= WIN32_SUBMIT_MAX_RESENDS) return;
103762
+ if (attempt + 1 >= WIN32_SUBMIT_MAX_RESENDS) {
103763
+ if (this.currentStatus() === "idle") {
103764
+ this.submitUnconfirmed = true;
103765
+ LOG2.error(
103766
+ "FsmDriver",
103767
+ `[${this.specTag()}] SUBMIT NOT CONFIRMED after ${WIN32_SUBMIT_MAX_RESENDS} submit-key attempts (len=${body.length}, echoed=${bodyEchoed()}, waited=${Date.now() - startedAt}ms). The message is likely still sitting unsent in the composer \u2014 the agent is NOT working on it.`
103768
+ );
103769
+ }
103770
+ return;
103771
+ }
103350
103772
  this.win32SubmitTimer = setTimeout(() => {
103351
103773
  if (this.currentStatus() !== "idle") {
103352
103774
  this.win32SubmitTimer = null;
103775
+ if (attempt > 0) {
103776
+ LOG2.warn("FsmDriver", `[${this.specTag()}] submit confirmed only after ${attempt + 1} attempts (len=${body.length})`);
103777
+ }
103353
103778
  return;
103354
103779
  }
103355
103780
  fire(attempt + 1);
@@ -103366,6 +103791,10 @@ ${marker}`,
103366
103791
  return;
103367
103792
  }
103368
103793
  if (waited >= WIN32_ECHO_MAX_WAIT_MS) {
103794
+ LOG2.warn(
103795
+ "FsmDriver",
103796
+ `[${this.specTag()}] body never confirmed in composer after ${waited}ms (len=${body.length}) \u2014 firing submit key blind; resend net will verify.`
103797
+ );
103369
103798
  fire(0);
103370
103799
  return;
103371
103800
  }
@@ -103461,7 +103890,7 @@ ${marker}`,
103461
103890
  this.scheduleWin32ModalConfirm(cr);
103462
103891
  }
103463
103892
  /**
103464
- * win32 modal-confirm CR resend loop. Mirrors scheduleWin32Submit's phase-2
103893
+ * win32 modal-confirm CR resend loop. Mirrors scheduleVerifiedSubmit's phase-2
103465
103894
  * verified resend, but gated on still being IN a modal (status 'approval')
103466
103895
  * rather than still idle: the first CR fires immediately, then resends every
103467
103896
  * WIN32_SUBMIT_RESEND_GAP_MS while the FSM is still showing the modal, up to
@@ -134631,6 +135060,7 @@ data: ${JSON.stringify(msg.data)}
134631
135060
  }
134632
135061
  var import_node_perf_hooks = require("perf_hooks");
134633
135062
  init_logger();
135063
+ init_async_batch_writer();
134634
135064
  var EVENT_LOOP_MONITOR_INTERVAL_ENV = "ADHDEV_EVENT_LOOP_MONITOR_INTERVAL_MS";
134635
135065
  var EVENT_LOOP_LAG_WARN_ENV = "ADHDEV_EVENT_LOOP_LAG_WARN_MS";
134636
135066
  var DEFAULT_EVENT_LOOP_MONITOR_INTERVAL_MS = 1e4;
@@ -134647,8 +135077,12 @@ data: ${JSON.stringify(msg.data)}
134647
135077
  return parseMs(env2[EVENT_LOOP_LAG_WARN_ENV], DEFAULT_EVENT_LOOP_LAG_WARN_MS);
134648
135078
  }
134649
135079
  function defaultLogFn(level, message) {
134650
- if (level === "warn") LOG2.warn("EventLoop", message);
134651
- else LOG2.debug("EventLoop", message);
135080
+ if (level === "warn") {
135081
+ LOG2.warn("EventLoop", message);
135082
+ AsyncBatchWriter.flushSync();
135083
+ } else {
135084
+ LOG2.debug("EventLoop", message);
135085
+ }
134652
135086
  }
134653
135087
  function startEventLoopMonitor(opts) {
134654
135088
  const intervalMs = opts?.intervalMs ?? resolveEventLoopMonitorIntervalMs();
@@ -134665,6 +135099,8 @@ data: ${JSON.stringify(msg.data)}
134665
135099
  } };
134666
135100
  }
134667
135101
  let expectedTickAt = null;
135102
+ let lastCpu = null;
135103
+ let lastCpuAt = null;
134668
135104
  const timer = setInterval(() => {
134669
135105
  try {
134670
135106
  const now = Date.now();
@@ -134675,9 +135111,21 @@ data: ${JSON.stringify(msg.data)}
134675
135111
  const meanMs = histogram.mean / 1e6;
134676
135112
  histogram.reset();
134677
135113
  const worstMs = Math.max(driftMs, maxMs);
134678
- const message = `event-loop lag: drift=${driftMs.toFixed(0)}ms max=${maxMs.toFixed(0)}ms p99=${p99Ms.toFixed(0)}ms mean=${meanMs.toFixed(1)}ms over ${intervalMs}ms window`;
135114
+ const cpuNow = process.cpuUsage();
135115
+ let cpuPct = null;
135116
+ if (lastCpu !== null && lastCpuAt !== null) {
135117
+ const elapsedMs = now - lastCpuAt;
135118
+ if (elapsedMs > 0) {
135119
+ const usedMs = (cpuNow.user - lastCpu.user + (cpuNow.system - lastCpu.system)) / 1e3;
135120
+ cpuPct = usedMs / elapsedMs * 100;
135121
+ }
135122
+ }
135123
+ lastCpu = cpuNow;
135124
+ lastCpuAt = now;
135125
+ const cpuPart = cpuPct === null ? "" : ` selfCpu=${cpuPct.toFixed(0)}%`;
135126
+ const message = `event-loop lag: drift=${driftMs.toFixed(0)}ms max=${maxMs.toFixed(0)}ms p99=${p99Ms.toFixed(0)}ms mean=${meanMs.toFixed(1)}ms${cpuPart} over ${intervalMs}ms window`;
134679
135127
  if (worstMs >= warnMs) {
134680
- logFn("warn", `${message} \u2014 EXCEEDS ${warnMs}ms: the whole daemon process was frozen/unscheduled (machine saturation), not one slow handler. Expect IPC probe timeouts and reconcile-tick gaps in this window.`);
135128
+ logFn("warn", `${message} \u2014 EXCEEDS ${warnMs}ms. Cause is one of two shapes: high selfCpu \u21D2 this process blocked its own loop (one slow synchronous handler); low selfCpu with high drift \u21D2 the process was unscheduled (machine saturation). Expect IPC probe timeouts and reconcile-tick gaps in this window.`);
134681
135129
  } else {
134682
135130
  logFn("debug", message);
134683
135131
  }