local-commander-agent 0.3.52 → 0.3.54
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/CHANGELOG.md +11 -0
- package/README.md +4 -1
- package/package.json +4 -4
- package/runtime/JobHost.exe +0 -0
- package/runtime/LocalCommanderAgent.exe +0 -0
- package/runtime/OwnerBridge.exe +0 -0
- package/runtime/agent.mjs +187 -154
package/runtime/agent.mjs
CHANGED
|
@@ -39,9 +39,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
39
39
|
mod
|
|
40
40
|
));
|
|
41
41
|
|
|
42
|
-
//
|
|
42
|
+
// node_modules/ws/lib/constants.js
|
|
43
43
|
var require_constants = __commonJS({
|
|
44
|
-
"
|
|
44
|
+
"node_modules/ws/lib/constants.js"(exports, module) {
|
|
45
45
|
"use strict";
|
|
46
46
|
var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
|
|
47
47
|
var hasBlob = typeof Blob !== "undefined";
|
|
@@ -62,9 +62,9 @@ var require_constants = __commonJS({
|
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
//
|
|
65
|
+
// node_modules/ws/lib/buffer-util.js
|
|
66
66
|
var require_buffer_util = __commonJS({
|
|
67
|
-
"
|
|
67
|
+
"node_modules/ws/lib/buffer-util.js"(exports, module) {
|
|
68
68
|
"use strict";
|
|
69
69
|
var { EMPTY_BUFFER } = require_constants();
|
|
70
70
|
var FastBuffer = Buffer[Symbol.species];
|
|
@@ -137,9 +137,9 @@ var require_buffer_util = __commonJS({
|
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
139
|
|
|
140
|
-
//
|
|
140
|
+
// node_modules/ws/lib/limiter.js
|
|
141
141
|
var require_limiter = __commonJS({
|
|
142
|
-
"
|
|
142
|
+
"node_modules/ws/lib/limiter.js"(exports, module) {
|
|
143
143
|
"use strict";
|
|
144
144
|
var kDone = /* @__PURE__ */ Symbol("kDone");
|
|
145
145
|
var kRun = /* @__PURE__ */ Symbol("kRun");
|
|
@@ -187,9 +187,9 @@ var require_limiter = __commonJS({
|
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
|
|
190
|
-
//
|
|
190
|
+
// node_modules/ws/lib/permessage-deflate.js
|
|
191
191
|
var require_permessage_deflate = __commonJS({
|
|
192
|
-
"
|
|
192
|
+
"node_modules/ws/lib/permessage-deflate.js"(exports, module) {
|
|
193
193
|
"use strict";
|
|
194
194
|
var zlib = __require("zlib");
|
|
195
195
|
var bufferUtil = require_buffer_util();
|
|
@@ -570,9 +570,9 @@ var require_permessage_deflate = __commonJS({
|
|
|
570
570
|
}
|
|
571
571
|
});
|
|
572
572
|
|
|
573
|
-
//
|
|
573
|
+
// node_modules/ws/lib/validation.js
|
|
574
574
|
var require_validation = __commonJS({
|
|
575
|
-
"
|
|
575
|
+
"node_modules/ws/lib/validation.js"(exports, module) {
|
|
576
576
|
"use strict";
|
|
577
577
|
var { isUtf8 } = __require("buffer");
|
|
578
578
|
var { hasBlob } = require_constants();
|
|
@@ -771,9 +771,9 @@ var require_validation = __commonJS({
|
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
773
|
|
|
774
|
-
//
|
|
774
|
+
// node_modules/ws/lib/receiver.js
|
|
775
775
|
var require_receiver = __commonJS({
|
|
776
|
-
"
|
|
776
|
+
"node_modules/ws/lib/receiver.js"(exports, module) {
|
|
777
777
|
"use strict";
|
|
778
778
|
var { Writable } = __require("stream");
|
|
779
779
|
var PerMessageDeflate2 = require_permessage_deflate();
|
|
@@ -1394,9 +1394,9 @@ var require_receiver = __commonJS({
|
|
|
1394
1394
|
}
|
|
1395
1395
|
});
|
|
1396
1396
|
|
|
1397
|
-
//
|
|
1397
|
+
// node_modules/ws/lib/sender.js
|
|
1398
1398
|
var require_sender = __commonJS({
|
|
1399
|
-
"
|
|
1399
|
+
"node_modules/ws/lib/sender.js"(exports, module) {
|
|
1400
1400
|
"use strict";
|
|
1401
1401
|
var { Duplex } = __require("stream");
|
|
1402
1402
|
var { randomFillSync } = __require("crypto");
|
|
@@ -1887,9 +1887,9 @@ var require_sender = __commonJS({
|
|
|
1887
1887
|
}
|
|
1888
1888
|
});
|
|
1889
1889
|
|
|
1890
|
-
//
|
|
1890
|
+
// node_modules/ws/lib/event-target.js
|
|
1891
1891
|
var require_event_target = __commonJS({
|
|
1892
|
-
"
|
|
1892
|
+
"node_modules/ws/lib/event-target.js"(exports, module) {
|
|
1893
1893
|
"use strict";
|
|
1894
1894
|
var { kForOnEventAttribute, kListener } = require_constants();
|
|
1895
1895
|
var kCode = /* @__PURE__ */ Symbol("kCode");
|
|
@@ -2116,9 +2116,9 @@ var require_event_target = __commonJS({
|
|
|
2116
2116
|
}
|
|
2117
2117
|
});
|
|
2118
2118
|
|
|
2119
|
-
//
|
|
2119
|
+
// node_modules/ws/lib/extension.js
|
|
2120
2120
|
var require_extension = __commonJS({
|
|
2121
|
-
"
|
|
2121
|
+
"node_modules/ws/lib/extension.js"(exports, module) {
|
|
2122
2122
|
"use strict";
|
|
2123
2123
|
var { tokenChars } = require_validation();
|
|
2124
2124
|
function push(dest, name2, elem) {
|
|
@@ -2269,9 +2269,9 @@ var require_extension = __commonJS({
|
|
|
2269
2269
|
}
|
|
2270
2270
|
});
|
|
2271
2271
|
|
|
2272
|
-
//
|
|
2272
|
+
// node_modules/ws/lib/websocket.js
|
|
2273
2273
|
var require_websocket = __commonJS({
|
|
2274
|
-
"
|
|
2274
|
+
"node_modules/ws/lib/websocket.js"(exports, module) {
|
|
2275
2275
|
"use strict";
|
|
2276
2276
|
var EventEmitter = __require("events");
|
|
2277
2277
|
var https2 = __require("https");
|
|
@@ -3178,9 +3178,9 @@ var require_websocket = __commonJS({
|
|
|
3178
3178
|
}
|
|
3179
3179
|
});
|
|
3180
3180
|
|
|
3181
|
-
//
|
|
3181
|
+
// node_modules/ws/lib/stream.js
|
|
3182
3182
|
var require_stream = __commonJS({
|
|
3183
|
-
"
|
|
3183
|
+
"node_modules/ws/lib/stream.js"(exports, module) {
|
|
3184
3184
|
"use strict";
|
|
3185
3185
|
var WebSocket2 = require_websocket();
|
|
3186
3186
|
var { Duplex } = __require("stream");
|
|
@@ -3276,9 +3276,9 @@ var require_stream = __commonJS({
|
|
|
3276
3276
|
}
|
|
3277
3277
|
});
|
|
3278
3278
|
|
|
3279
|
-
//
|
|
3279
|
+
// node_modules/ws/lib/subprotocol.js
|
|
3280
3280
|
var require_subprotocol = __commonJS({
|
|
3281
|
-
"
|
|
3281
|
+
"node_modules/ws/lib/subprotocol.js"(exports, module) {
|
|
3282
3282
|
"use strict";
|
|
3283
3283
|
var { tokenChars } = require_validation();
|
|
3284
3284
|
function parse4(header) {
|
|
@@ -3321,9 +3321,9 @@ var require_subprotocol = __commonJS({
|
|
|
3321
3321
|
}
|
|
3322
3322
|
});
|
|
3323
3323
|
|
|
3324
|
-
//
|
|
3324
|
+
// node_modules/ws/lib/websocket-server.js
|
|
3325
3325
|
var require_websocket_server = __commonJS({
|
|
3326
|
-
"
|
|
3326
|
+
"node_modules/ws/lib/websocket-server.js"(exports, module) {
|
|
3327
3327
|
"use strict";
|
|
3328
3328
|
var EventEmitter = __require("events");
|
|
3329
3329
|
var http2 = __require("http");
|
|
@@ -3725,7 +3725,7 @@ var require_websocket_server = __commonJS({
|
|
|
3725
3725
|
// agent/src/ai-connectivity/manager.ts
|
|
3726
3726
|
import { performance } from "node:perf_hooks";
|
|
3727
3727
|
|
|
3728
|
-
//
|
|
3728
|
+
// node_modules/zod/v4/classic/external.js
|
|
3729
3729
|
var external_exports = {};
|
|
3730
3730
|
__export(external_exports, {
|
|
3731
3731
|
$brand: () => $brand,
|
|
@@ -3988,7 +3988,7 @@ __export(external_exports, {
|
|
|
3988
3988
|
xor: () => xor
|
|
3989
3989
|
});
|
|
3990
3990
|
|
|
3991
|
-
//
|
|
3991
|
+
// node_modules/zod/v4/core/index.js
|
|
3992
3992
|
var core_exports2 = {};
|
|
3993
3993
|
__export(core_exports2, {
|
|
3994
3994
|
$ZodAny: () => $ZodAny,
|
|
@@ -4305,7 +4305,7 @@ __export(core_exports2, {
|
|
|
4305
4305
|
withParser: () => withParser
|
|
4306
4306
|
});
|
|
4307
4307
|
|
|
4308
|
-
//
|
|
4308
|
+
// node_modules/zod/v4/core/util.js
|
|
4309
4309
|
var util_exports = {};
|
|
4310
4310
|
__export(util_exports, {
|
|
4311
4311
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -5148,7 +5148,7 @@ function constantCatch(value) {
|
|
|
5148
5148
|
return fn;
|
|
5149
5149
|
}
|
|
5150
5150
|
|
|
5151
|
-
//
|
|
5151
|
+
// node_modules/zod/v4/core/core.js
|
|
5152
5152
|
var _a;
|
|
5153
5153
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
5154
5154
|
status: "aborted"
|
|
@@ -5270,7 +5270,7 @@ function config(newConfig) {
|
|
|
5270
5270
|
return globalConfig;
|
|
5271
5271
|
}
|
|
5272
5272
|
|
|
5273
|
-
//
|
|
5273
|
+
// node_modules/zod/v4/core/errors.js
|
|
5274
5274
|
function _getMessage() {
|
|
5275
5275
|
const internals = this._zod;
|
|
5276
5276
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -5462,7 +5462,7 @@ function prettifyError(error62) {
|
|
|
5462
5462
|
return lines.join("\n");
|
|
5463
5463
|
}
|
|
5464
5464
|
|
|
5465
|
-
//
|
|
5465
|
+
// node_modules/zod/v4/core/parse.js
|
|
5466
5466
|
function finalizeParams(callee, params) {
|
|
5467
5467
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
5468
5468
|
}
|
|
@@ -5622,7 +5622,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
5622
5622
|
};
|
|
5623
5623
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
5624
5624
|
|
|
5625
|
-
//
|
|
5625
|
+
// node_modules/zod/v4/core/regexes.js
|
|
5626
5626
|
var regexes_exports = {};
|
|
5627
5627
|
__export(regexes_exports, {
|
|
5628
5628
|
anyString: () => anyString,
|
|
@@ -5794,7 +5794,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
5794
5794
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
5795
5795
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
5796
5796
|
|
|
5797
|
-
//
|
|
5797
|
+
// node_modules/zod/v4/core/checks.js
|
|
5798
5798
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
5799
5799
|
var _a3;
|
|
5800
5800
|
inst._zod ?? (inst._zod = {});
|
|
@@ -6270,7 +6270,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
6270
6270
|
};
|
|
6271
6271
|
});
|
|
6272
6272
|
|
|
6273
|
-
//
|
|
6273
|
+
// node_modules/zod/v4/core/doc.js
|
|
6274
6274
|
var Doc = class {
|
|
6275
6275
|
constructor(args = [], closed = {}) {
|
|
6276
6276
|
this.content = [];
|
|
@@ -6311,14 +6311,14 @@ ${content.join("\n")}
|
|
|
6311
6311
|
}
|
|
6312
6312
|
};
|
|
6313
6313
|
|
|
6314
|
-
//
|
|
6314
|
+
// node_modules/zod/v4/core/versions.js
|
|
6315
6315
|
var version = {
|
|
6316
6316
|
major: 4,
|
|
6317
6317
|
minor: 6,
|
|
6318
6318
|
patch: 5
|
|
6319
6319
|
};
|
|
6320
6320
|
|
|
6321
|
-
//
|
|
6321
|
+
// node_modules/zod/v4/core/schemas.js
|
|
6322
6322
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
6323
6323
|
var _a3;
|
|
6324
6324
|
inst ?? (inst = {});
|
|
@@ -8732,7 +8732,7 @@ function handleRefineResult(result2, payload2, input2, inst) {
|
|
|
8732
8732
|
}
|
|
8733
8733
|
}
|
|
8734
8734
|
|
|
8735
|
-
//
|
|
8735
|
+
// node_modules/zod/v4/core/memoizer.js
|
|
8736
8736
|
var $ZodCyclicError = class extends Error {
|
|
8737
8737
|
constructor() {
|
|
8738
8738
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -9009,7 +9009,7 @@ function isBackEdge(ctx, value) {
|
|
|
9009
9009
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
9010
9010
|
}
|
|
9011
9011
|
|
|
9012
|
-
//
|
|
9012
|
+
// node_modules/zod/v4/locales/index.js
|
|
9013
9013
|
var locales_exports = {};
|
|
9014
9014
|
__export(locales_exports, {
|
|
9015
9015
|
ar: () => ar_default,
|
|
@@ -9077,7 +9077,7 @@ __export(locales_exports, {
|
|
|
9077
9077
|
zhTW: () => zh_TW_default
|
|
9078
9078
|
});
|
|
9079
9079
|
|
|
9080
|
-
//
|
|
9080
|
+
// node_modules/zod/v4/locales/ar.js
|
|
9081
9081
|
var error = () => {
|
|
9082
9082
|
const Sizable = {
|
|
9083
9083
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -9189,7 +9189,7 @@ function ar_default() {
|
|
|
9189
9189
|
};
|
|
9190
9190
|
}
|
|
9191
9191
|
|
|
9192
|
-
//
|
|
9192
|
+
// node_modules/zod/v4/locales/az.js
|
|
9193
9193
|
var error2 = () => {
|
|
9194
9194
|
const Sizable = {
|
|
9195
9195
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -9300,7 +9300,7 @@ function az_default() {
|
|
|
9300
9300
|
};
|
|
9301
9301
|
}
|
|
9302
9302
|
|
|
9303
|
-
//
|
|
9303
|
+
// node_modules/zod/v4/locales/be.js
|
|
9304
9304
|
function getBelarusianPlural(count4, one, few, many) {
|
|
9305
9305
|
const absCount = Math.abs(count4);
|
|
9306
9306
|
const lastDigit = absCount % 10;
|
|
@@ -9469,7 +9469,7 @@ function be_default() {
|
|
|
9469
9469
|
};
|
|
9470
9470
|
}
|
|
9471
9471
|
|
|
9472
|
-
//
|
|
9472
|
+
// node_modules/zod/v4/locales/bg.js
|
|
9473
9473
|
var error4 = () => {
|
|
9474
9474
|
const Sizable = {
|
|
9475
9475
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -9595,7 +9595,7 @@ function bg_default() {
|
|
|
9595
9595
|
};
|
|
9596
9596
|
}
|
|
9597
9597
|
|
|
9598
|
-
//
|
|
9598
|
+
// node_modules/zod/v4/locales/bn.js
|
|
9599
9599
|
var error5 = () => {
|
|
9600
9600
|
const Sizable = {
|
|
9601
9601
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -9709,7 +9709,7 @@ function bn_default() {
|
|
|
9709
9709
|
};
|
|
9710
9710
|
}
|
|
9711
9711
|
|
|
9712
|
-
//
|
|
9712
|
+
// node_modules/zod/v4/locales/ca.js
|
|
9713
9713
|
var error6 = () => {
|
|
9714
9714
|
const Sizable = {
|
|
9715
9715
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -9823,7 +9823,7 @@ function ca_default() {
|
|
|
9823
9823
|
};
|
|
9824
9824
|
}
|
|
9825
9825
|
|
|
9826
|
-
//
|
|
9826
|
+
// node_modules/zod/v4/locales/ckb.js
|
|
9827
9827
|
var error7 = () => {
|
|
9828
9828
|
const Sizable = {
|
|
9829
9829
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -9956,7 +9956,7 @@ function ckb_default() {
|
|
|
9956
9956
|
};
|
|
9957
9957
|
}
|
|
9958
9958
|
|
|
9959
|
-
//
|
|
9959
|
+
// node_modules/zod/v4/locales/cs.js
|
|
9960
9960
|
var error8 = () => {
|
|
9961
9961
|
const Sizable = {
|
|
9962
9962
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -10073,7 +10073,7 @@ function cs_default() {
|
|
|
10073
10073
|
};
|
|
10074
10074
|
}
|
|
10075
10075
|
|
|
10076
|
-
//
|
|
10076
|
+
// node_modules/zod/v4/locales/da.js
|
|
10077
10077
|
var error9 = () => {
|
|
10078
10078
|
const Sizable = {
|
|
10079
10079
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -10194,7 +10194,7 @@ function da_default() {
|
|
|
10194
10194
|
};
|
|
10195
10195
|
}
|
|
10196
10196
|
|
|
10197
|
-
//
|
|
10197
|
+
// node_modules/zod/v4/locales/de.js
|
|
10198
10198
|
var error10 = () => {
|
|
10199
10199
|
const Sizable = {
|
|
10200
10200
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -10308,7 +10308,7 @@ function de_default() {
|
|
|
10308
10308
|
};
|
|
10309
10309
|
}
|
|
10310
10310
|
|
|
10311
|
-
//
|
|
10311
|
+
// node_modules/zod/v4/locales/el.js
|
|
10312
10312
|
var error11 = () => {
|
|
10313
10313
|
const Sizable = {
|
|
10314
10314
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -10421,7 +10421,7 @@ function el_default() {
|
|
|
10421
10421
|
};
|
|
10422
10422
|
}
|
|
10423
10423
|
|
|
10424
|
-
//
|
|
10424
|
+
// node_modules/zod/v4/locales/en.js
|
|
10425
10425
|
var error12 = () => {
|
|
10426
10426
|
const Sizable = {
|
|
10427
10427
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -10546,7 +10546,7 @@ function en_default() {
|
|
|
10546
10546
|
};
|
|
10547
10547
|
}
|
|
10548
10548
|
|
|
10549
|
-
//
|
|
10549
|
+
// node_modules/zod/v4/locales/eo.js
|
|
10550
10550
|
var error13 = () => {
|
|
10551
10551
|
const Sizable = {
|
|
10552
10552
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -10661,7 +10661,7 @@ function eo_default() {
|
|
|
10661
10661
|
};
|
|
10662
10662
|
}
|
|
10663
10663
|
|
|
10664
|
-
//
|
|
10664
|
+
// node_modules/zod/v4/locales/es.js
|
|
10665
10665
|
var error14 = () => {
|
|
10666
10666
|
const Sizable = {
|
|
10667
10667
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -10798,7 +10798,7 @@ function es_default() {
|
|
|
10798
10798
|
};
|
|
10799
10799
|
}
|
|
10800
10800
|
|
|
10801
|
-
//
|
|
10801
|
+
// node_modules/zod/v4/locales/fa.js
|
|
10802
10802
|
var error15 = () => {
|
|
10803
10803
|
const Sizable = {
|
|
10804
10804
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -10918,7 +10918,7 @@ function fa_default() {
|
|
|
10918
10918
|
};
|
|
10919
10919
|
}
|
|
10920
10920
|
|
|
10921
|
-
//
|
|
10921
|
+
// node_modules/zod/v4/locales/fi.js
|
|
10922
10922
|
var error16 = () => {
|
|
10923
10923
|
const Sizable = {
|
|
10924
10924
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -11036,7 +11036,7 @@ function fi_default() {
|
|
|
11036
11036
|
};
|
|
11037
11037
|
}
|
|
11038
11038
|
|
|
11039
|
-
//
|
|
11039
|
+
// node_modules/zod/v4/locales/fr.js
|
|
11040
11040
|
var error17 = () => {
|
|
11041
11041
|
const Sizable = {
|
|
11042
11042
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -11166,7 +11166,7 @@ function fr_default() {
|
|
|
11166
11166
|
};
|
|
11167
11167
|
}
|
|
11168
11168
|
|
|
11169
|
-
//
|
|
11169
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
11170
11170
|
var error18 = () => {
|
|
11171
11171
|
const Sizable = {
|
|
11172
11172
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -11279,7 +11279,7 @@ function fr_CA_default() {
|
|
|
11279
11279
|
};
|
|
11280
11280
|
}
|
|
11281
11281
|
|
|
11282
|
-
//
|
|
11282
|
+
// node_modules/zod/v4/locales/gu.js
|
|
11283
11283
|
var error19 = () => {
|
|
11284
11284
|
const Sizable = {
|
|
11285
11285
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -11393,7 +11393,7 @@ function gu_default() {
|
|
|
11393
11393
|
};
|
|
11394
11394
|
}
|
|
11395
11395
|
|
|
11396
|
-
//
|
|
11396
|
+
// node_modules/zod/v4/locales/he.js
|
|
11397
11397
|
var error20 = () => {
|
|
11398
11398
|
const TypeNames = {
|
|
11399
11399
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -11595,7 +11595,7 @@ function he_default() {
|
|
|
11595
11595
|
};
|
|
11596
11596
|
}
|
|
11597
11597
|
|
|
11598
|
-
//
|
|
11598
|
+
// node_modules/zod/v4/locales/hi.js
|
|
11599
11599
|
var error21 = () => {
|
|
11600
11600
|
const Sizable = {
|
|
11601
11601
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -11707,7 +11707,7 @@ function hi_default() {
|
|
|
11707
11707
|
};
|
|
11708
11708
|
}
|
|
11709
11709
|
|
|
11710
|
-
//
|
|
11710
|
+
// node_modules/zod/v4/locales/hr.js
|
|
11711
11711
|
var error22 = () => {
|
|
11712
11712
|
const Sizable = {
|
|
11713
11713
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -11834,7 +11834,7 @@ function hr_default() {
|
|
|
11834
11834
|
};
|
|
11835
11835
|
}
|
|
11836
11836
|
|
|
11837
|
-
//
|
|
11837
|
+
// node_modules/zod/v4/locales/hu.js
|
|
11838
11838
|
var error23 = () => {
|
|
11839
11839
|
const Sizable = {
|
|
11840
11840
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -11948,7 +11948,7 @@ function hu_default() {
|
|
|
11948
11948
|
};
|
|
11949
11949
|
}
|
|
11950
11950
|
|
|
11951
|
-
//
|
|
11951
|
+
// node_modules/zod/v4/locales/hy.js
|
|
11952
11952
|
function getArmenianPlural(count4, one, many) {
|
|
11953
11953
|
return Math.abs(count4) === 1 ? one : many;
|
|
11954
11954
|
}
|
|
@@ -12107,7 +12107,7 @@ function hy_default() {
|
|
|
12107
12107
|
};
|
|
12108
12108
|
}
|
|
12109
12109
|
|
|
12110
|
-
//
|
|
12110
|
+
// node_modules/zod/v4/locales/id.js
|
|
12111
12111
|
var error25 = () => {
|
|
12112
12112
|
const Sizable = {
|
|
12113
12113
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -12219,7 +12219,7 @@ function id_default() {
|
|
|
12219
12219
|
};
|
|
12220
12220
|
}
|
|
12221
12221
|
|
|
12222
|
-
//
|
|
12222
|
+
// node_modules/zod/v4/locales/is.js
|
|
12223
12223
|
var error26 = () => {
|
|
12224
12224
|
const Sizable = {
|
|
12225
12225
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -12334,7 +12334,7 @@ function is_default() {
|
|
|
12334
12334
|
};
|
|
12335
12335
|
}
|
|
12336
12336
|
|
|
12337
|
-
//
|
|
12337
|
+
// node_modules/zod/v4/locales/it.js
|
|
12338
12338
|
var error27 = () => {
|
|
12339
12339
|
const Sizable = {
|
|
12340
12340
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -12448,7 +12448,7 @@ function it_default() {
|
|
|
12448
12448
|
};
|
|
12449
12449
|
}
|
|
12450
12450
|
|
|
12451
|
-
//
|
|
12451
|
+
// node_modules/zod/v4/locales/ja.js
|
|
12452
12452
|
var error28 = () => {
|
|
12453
12453
|
const Sizable = {
|
|
12454
12454
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -12561,7 +12561,7 @@ function ja_default() {
|
|
|
12561
12561
|
};
|
|
12562
12562
|
}
|
|
12563
12563
|
|
|
12564
|
-
//
|
|
12564
|
+
// node_modules/zod/v4/locales/ka.js
|
|
12565
12565
|
var error29 = () => {
|
|
12566
12566
|
const Sizable = {
|
|
12567
12567
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -12679,7 +12679,7 @@ function ka_default() {
|
|
|
12679
12679
|
};
|
|
12680
12680
|
}
|
|
12681
12681
|
|
|
12682
|
-
//
|
|
12682
|
+
// node_modules/zod/v4/locales/km.js
|
|
12683
12683
|
var error30 = () => {
|
|
12684
12684
|
const Sizable = {
|
|
12685
12685
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -12795,12 +12795,12 @@ function km_default() {
|
|
|
12795
12795
|
};
|
|
12796
12796
|
}
|
|
12797
12797
|
|
|
12798
|
-
//
|
|
12798
|
+
// node_modules/zod/v4/locales/kh.js
|
|
12799
12799
|
function kh_default() {
|
|
12800
12800
|
return km_default();
|
|
12801
12801
|
}
|
|
12802
12802
|
|
|
12803
|
-
//
|
|
12803
|
+
// node_modules/zod/v4/locales/kn.js
|
|
12804
12804
|
var error31 = () => {
|
|
12805
12805
|
const Sizable = {
|
|
12806
12806
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -12916,7 +12916,7 @@ function kn_default() {
|
|
|
12916
12916
|
};
|
|
12917
12917
|
}
|
|
12918
12918
|
|
|
12919
|
-
//
|
|
12919
|
+
// node_modules/zod/v4/locales/ko.js
|
|
12920
12920
|
var error32 = () => {
|
|
12921
12921
|
const Sizable = {
|
|
12922
12922
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -13033,7 +13033,7 @@ function ko_default() {
|
|
|
13033
13033
|
};
|
|
13034
13034
|
}
|
|
13035
13035
|
|
|
13036
|
-
//
|
|
13036
|
+
// node_modules/zod/v4/locales/lt.js
|
|
13037
13037
|
var capitalizeFirstCharacter = (text3) => {
|
|
13038
13038
|
return text3.charAt(0).toUpperCase() + text3.slice(1);
|
|
13039
13039
|
};
|
|
@@ -13241,7 +13241,7 @@ function lt_default() {
|
|
|
13241
13241
|
};
|
|
13242
13242
|
}
|
|
13243
13243
|
|
|
13244
|
-
//
|
|
13244
|
+
// node_modules/zod/v4/locales/mk.js
|
|
13245
13245
|
var error34 = () => {
|
|
13246
13246
|
const Sizable = {
|
|
13247
13247
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -13356,7 +13356,7 @@ function mk_default() {
|
|
|
13356
13356
|
};
|
|
13357
13357
|
}
|
|
13358
13358
|
|
|
13359
|
-
//
|
|
13359
|
+
// node_modules/zod/v4/locales/ms.js
|
|
13360
13360
|
var error35 = () => {
|
|
13361
13361
|
const Sizable = {
|
|
13362
13362
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -13469,7 +13469,7 @@ function ms_default() {
|
|
|
13469
13469
|
};
|
|
13470
13470
|
}
|
|
13471
13471
|
|
|
13472
|
-
//
|
|
13472
|
+
// node_modules/zod/v4/locales/ne.js
|
|
13473
13473
|
var error36 = () => {
|
|
13474
13474
|
const Sizable = {
|
|
13475
13475
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -13581,7 +13581,7 @@ function ne_default() {
|
|
|
13581
13581
|
};
|
|
13582
13582
|
}
|
|
13583
13583
|
|
|
13584
|
-
//
|
|
13584
|
+
// node_modules/zod/v4/locales/nl.js
|
|
13585
13585
|
var error37 = () => {
|
|
13586
13586
|
const Sizable = {
|
|
13587
13587
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -13697,7 +13697,7 @@ function nl_default() {
|
|
|
13697
13697
|
};
|
|
13698
13698
|
}
|
|
13699
13699
|
|
|
13700
|
-
//
|
|
13700
|
+
// node_modules/zod/v4/locales/nn.js
|
|
13701
13701
|
var error38 = () => {
|
|
13702
13702
|
const Sizable = {
|
|
13703
13703
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -13811,7 +13811,7 @@ function nn_default() {
|
|
|
13811
13811
|
};
|
|
13812
13812
|
}
|
|
13813
13813
|
|
|
13814
|
-
//
|
|
13814
|
+
// node_modules/zod/v4/locales/no.js
|
|
13815
13815
|
var error39 = () => {
|
|
13816
13816
|
const Sizable = {
|
|
13817
13817
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -13925,7 +13925,7 @@ function no_default() {
|
|
|
13925
13925
|
};
|
|
13926
13926
|
}
|
|
13927
13927
|
|
|
13928
|
-
//
|
|
13928
|
+
// node_modules/zod/v4/locales/ota.js
|
|
13929
13929
|
var error40 = () => {
|
|
13930
13930
|
const Sizable = {
|
|
13931
13931
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -14040,7 +14040,7 @@ function ota_default() {
|
|
|
14040
14040
|
};
|
|
14041
14041
|
}
|
|
14042
14042
|
|
|
14043
|
-
//
|
|
14043
|
+
// node_modules/zod/v4/locales/ps.js
|
|
14044
14044
|
var error41 = () => {
|
|
14045
14045
|
const Sizable = {
|
|
14046
14046
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -14160,7 +14160,7 @@ function ps_default() {
|
|
|
14160
14160
|
};
|
|
14161
14161
|
}
|
|
14162
14162
|
|
|
14163
|
-
//
|
|
14163
|
+
// node_modules/zod/v4/locales/pl.js
|
|
14164
14164
|
var error42 = () => {
|
|
14165
14165
|
const Sizable = {
|
|
14166
14166
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -14275,7 +14275,7 @@ function pl_default() {
|
|
|
14275
14275
|
};
|
|
14276
14276
|
}
|
|
14277
14277
|
|
|
14278
|
-
//
|
|
14278
|
+
// node_modules/zod/v4/locales/pt.js
|
|
14279
14279
|
var error43 = () => {
|
|
14280
14280
|
const Sizable = {
|
|
14281
14281
|
string: { unit: "caracteres" },
|
|
@@ -14419,7 +14419,7 @@ function pt_default() {
|
|
|
14419
14419
|
};
|
|
14420
14420
|
}
|
|
14421
14421
|
|
|
14422
|
-
//
|
|
14422
|
+
// node_modules/zod/v4/locales/pt-BR.js
|
|
14423
14423
|
var error44 = () => {
|
|
14424
14424
|
const Sizable = {
|
|
14425
14425
|
string: { unit: "caracteres" },
|
|
@@ -14564,7 +14564,7 @@ function pt_BR_default() {
|
|
|
14564
14564
|
};
|
|
14565
14565
|
}
|
|
14566
14566
|
|
|
14567
|
-
//
|
|
14567
|
+
// node_modules/zod/v4/locales/ro.js
|
|
14568
14568
|
var error45 = () => {
|
|
14569
14569
|
const Sizable = {
|
|
14570
14570
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -14687,7 +14687,7 @@ function ro_default() {
|
|
|
14687
14687
|
};
|
|
14688
14688
|
}
|
|
14689
14689
|
|
|
14690
|
-
//
|
|
14690
|
+
// node_modules/zod/v4/locales/ru.js
|
|
14691
14691
|
function getRussianPlural(count4, one, few, many) {
|
|
14692
14692
|
const absCount = Math.abs(count4);
|
|
14693
14693
|
const lastDigit = absCount % 10;
|
|
@@ -14856,7 +14856,7 @@ function ru_default() {
|
|
|
14856
14856
|
};
|
|
14857
14857
|
}
|
|
14858
14858
|
|
|
14859
|
-
//
|
|
14859
|
+
// node_modules/zod/v4/locales/sk.js
|
|
14860
14860
|
var error47 = () => {
|
|
14861
14861
|
const Sizable = {
|
|
14862
14862
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -14973,7 +14973,7 @@ function sk_default() {
|
|
|
14973
14973
|
};
|
|
14974
14974
|
}
|
|
14975
14975
|
|
|
14976
|
-
//
|
|
14976
|
+
// node_modules/zod/v4/locales/sl.js
|
|
14977
14977
|
var error48 = () => {
|
|
14978
14978
|
const Sizable = {
|
|
14979
14979
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -15088,7 +15088,7 @@ function sl_default() {
|
|
|
15088
15088
|
};
|
|
15089
15089
|
}
|
|
15090
15090
|
|
|
15091
|
-
//
|
|
15091
|
+
// node_modules/zod/v4/locales/sv.js
|
|
15092
15092
|
var error49 = () => {
|
|
15093
15093
|
const Sizable = {
|
|
15094
15094
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -15204,7 +15204,7 @@ function sv_default() {
|
|
|
15204
15204
|
};
|
|
15205
15205
|
}
|
|
15206
15206
|
|
|
15207
|
-
//
|
|
15207
|
+
// node_modules/zod/v4/locales/ta.js
|
|
15208
15208
|
var error50 = () => {
|
|
15209
15209
|
const Sizable = {
|
|
15210
15210
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -15320,7 +15320,7 @@ function ta_default() {
|
|
|
15320
15320
|
};
|
|
15321
15321
|
}
|
|
15322
15322
|
|
|
15323
|
-
//
|
|
15323
|
+
// node_modules/zod/v4/locales/tg.js
|
|
15324
15324
|
var error51 = () => {
|
|
15325
15325
|
const Sizable = {
|
|
15326
15326
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -15437,7 +15437,7 @@ function tg_default() {
|
|
|
15437
15437
|
};
|
|
15438
15438
|
}
|
|
15439
15439
|
|
|
15440
|
-
//
|
|
15440
|
+
// node_modules/zod/v4/locales/th.js
|
|
15441
15441
|
var error52 = () => {
|
|
15442
15442
|
const Sizable = {
|
|
15443
15443
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -15553,7 +15553,7 @@ function th_default() {
|
|
|
15553
15553
|
};
|
|
15554
15554
|
}
|
|
15555
15555
|
|
|
15556
|
-
//
|
|
15556
|
+
// node_modules/zod/v4/locales/tk.js
|
|
15557
15557
|
var error53 = () => {
|
|
15558
15558
|
const Sizable = {
|
|
15559
15559
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -15661,7 +15661,7 @@ function tk_default() {
|
|
|
15661
15661
|
};
|
|
15662
15662
|
}
|
|
15663
15663
|
|
|
15664
|
-
//
|
|
15664
|
+
// node_modules/zod/v4/locales/tr.js
|
|
15665
15665
|
var error54 = () => {
|
|
15666
15666
|
const Sizable = {
|
|
15667
15667
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -15772,7 +15772,7 @@ function tr_default() {
|
|
|
15772
15772
|
};
|
|
15773
15773
|
}
|
|
15774
15774
|
|
|
15775
|
-
//
|
|
15775
|
+
// node_modules/zod/v4/locales/uk.js
|
|
15776
15776
|
var error55 = () => {
|
|
15777
15777
|
const Sizable = {
|
|
15778
15778
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -15886,12 +15886,12 @@ function uk_default() {
|
|
|
15886
15886
|
};
|
|
15887
15887
|
}
|
|
15888
15888
|
|
|
15889
|
-
//
|
|
15889
|
+
// node_modules/zod/v4/locales/ua.js
|
|
15890
15890
|
function ua_default() {
|
|
15891
15891
|
return uk_default();
|
|
15892
15892
|
}
|
|
15893
15893
|
|
|
15894
|
-
//
|
|
15894
|
+
// node_modules/zod/v4/locales/ur.js
|
|
15895
15895
|
var error56 = () => {
|
|
15896
15896
|
const Sizable = {
|
|
15897
15897
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -16007,7 +16007,7 @@ function ur_default() {
|
|
|
16007
16007
|
};
|
|
16008
16008
|
}
|
|
16009
16009
|
|
|
16010
|
-
//
|
|
16010
|
+
// node_modules/zod/v4/locales/uz.js
|
|
16011
16011
|
var error57 = () => {
|
|
16012
16012
|
const Sizable = {
|
|
16013
16013
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -16121,7 +16121,7 @@ function uz_default() {
|
|
|
16121
16121
|
};
|
|
16122
16122
|
}
|
|
16123
16123
|
|
|
16124
|
-
//
|
|
16124
|
+
// node_modules/zod/v4/locales/vi.js
|
|
16125
16125
|
var error58 = () => {
|
|
16126
16126
|
const Sizable = {
|
|
16127
16127
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -16235,7 +16235,7 @@ function vi_default() {
|
|
|
16235
16235
|
};
|
|
16236
16236
|
}
|
|
16237
16237
|
|
|
16238
|
-
//
|
|
16238
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
16239
16239
|
var error59 = () => {
|
|
16240
16240
|
const Sizable = {
|
|
16241
16241
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -16350,7 +16350,7 @@ function zh_CN_default() {
|
|
|
16350
16350
|
};
|
|
16351
16351
|
}
|
|
16352
16352
|
|
|
16353
|
-
//
|
|
16353
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
16354
16354
|
var error60 = () => {
|
|
16355
16355
|
const Sizable = {
|
|
16356
16356
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -16463,7 +16463,7 @@ function zh_TW_default() {
|
|
|
16463
16463
|
};
|
|
16464
16464
|
}
|
|
16465
16465
|
|
|
16466
|
-
//
|
|
16466
|
+
// node_modules/zod/v4/locales/yo.js
|
|
16467
16467
|
var error61 = () => {
|
|
16468
16468
|
const Sizable = {
|
|
16469
16469
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -16576,7 +16576,7 @@ function yo_default() {
|
|
|
16576
16576
|
};
|
|
16577
16577
|
}
|
|
16578
16578
|
|
|
16579
|
-
//
|
|
16579
|
+
// node_modules/zod/v4/core/registries.js
|
|
16580
16580
|
var _a2;
|
|
16581
16581
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
16582
16582
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -16626,7 +16626,7 @@ function registry() {
|
|
|
16626
16626
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
16627
16627
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
16628
16628
|
|
|
16629
|
-
//
|
|
16629
|
+
// node_modules/zod/v4/core/compile.js
|
|
16630
16630
|
var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
16631
16631
|
var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
16632
16632
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -18228,7 +18228,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
18228
18228
|
return accessor;
|
|
18229
18229
|
}
|
|
18230
18230
|
|
|
18231
|
-
//
|
|
18231
|
+
// node_modules/zod/v4/core/api.js
|
|
18232
18232
|
function snapshotChecks(def) {
|
|
18233
18233
|
if (def.checks)
|
|
18234
18234
|
def.checks = [...def.checks];
|
|
@@ -19287,7 +19287,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
19287
19287
|
return inst;
|
|
19288
19288
|
}
|
|
19289
19289
|
|
|
19290
|
-
//
|
|
19290
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
19291
19291
|
function assignProps(target, ...sources2) {
|
|
19292
19292
|
for (const source of sources2) {
|
|
19293
19293
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -19817,7 +19817,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
19817
19817
|
return finalize(ctx, schema);
|
|
19818
19818
|
};
|
|
19819
19819
|
|
|
19820
|
-
//
|
|
19820
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
19821
19821
|
var narrowMin = (agg, key, value) => {
|
|
19822
19822
|
if (agg[key] === void 0 || value > agg[key])
|
|
19823
19823
|
agg[key] = value;
|
|
@@ -20565,7 +20565,7 @@ function toJSONSchema(input2, params) {
|
|
|
20565
20565
|
return finalize(ctx, input2);
|
|
20566
20566
|
}
|
|
20567
20567
|
|
|
20568
|
-
//
|
|
20568
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
20569
20569
|
var JSONSchemaGenerator = class {
|
|
20570
20570
|
/** @deprecated Access via ctx instead */
|
|
20571
20571
|
get metadataRegistry() {
|
|
@@ -20643,10 +20643,10 @@ var JSONSchemaGenerator = class {
|
|
|
20643
20643
|
}
|
|
20644
20644
|
};
|
|
20645
20645
|
|
|
20646
|
-
//
|
|
20646
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
20647
20647
|
var json_schema_exports = {};
|
|
20648
20648
|
|
|
20649
|
-
//
|
|
20649
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
20650
20650
|
var schemas_exports2 = {};
|
|
20651
20651
|
__export(schemas_exports2, {
|
|
20652
20652
|
ZodAny: () => ZodAny,
|
|
@@ -20827,7 +20827,7 @@ __export(schemas_exports2, {
|
|
|
20827
20827
|
xor: () => xor
|
|
20828
20828
|
});
|
|
20829
20829
|
|
|
20830
|
-
//
|
|
20830
|
+
// node_modules/zod/v4/classic/checks.js
|
|
20831
20831
|
var checks_exports2 = {};
|
|
20832
20832
|
__export(checks_exports2, {
|
|
20833
20833
|
endsWith: () => _endsWith,
|
|
@@ -20862,7 +20862,7 @@ __export(checks_exports2, {
|
|
|
20862
20862
|
uppercase: () => _uppercase
|
|
20863
20863
|
});
|
|
20864
20864
|
|
|
20865
|
-
//
|
|
20865
|
+
// node_modules/zod/v4/classic/errors.js
|
|
20866
20866
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
20867
20867
|
function _lazyMethod(proto, key, make) {
|
|
20868
20868
|
Object.defineProperty(proto, key, {
|
|
@@ -20908,7 +20908,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
20908
20908
|
Parent: Error
|
|
20909
20909
|
});
|
|
20910
20910
|
|
|
20911
|
-
//
|
|
20911
|
+
// node_modules/zod/v4/classic/parse.js
|
|
20912
20912
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
20913
20913
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
20914
20914
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -20922,7 +20922,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
20922
20922
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
20923
20923
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
20924
20924
|
|
|
20925
|
-
//
|
|
20925
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
20926
20926
|
function _ensureDefaultLocale() {
|
|
20927
20927
|
if (!globalConfig.localeError)
|
|
20928
20928
|
config(en_default());
|
|
@@ -22387,7 +22387,7 @@ function preprocess(fn, schema) {
|
|
|
22387
22387
|
});
|
|
22388
22388
|
}
|
|
22389
22389
|
|
|
22390
|
-
//
|
|
22390
|
+
// node_modules/zod/v4/classic/compat.js
|
|
22391
22391
|
var ZodIssueCode = {
|
|
22392
22392
|
invalid_type: "invalid_type",
|
|
22393
22393
|
too_big: "too_big",
|
|
@@ -22413,7 +22413,7 @@ var ZodFirstPartyTypeKind;
|
|
|
22413
22413
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
22414
22414
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
22415
22415
|
|
|
22416
|
-
//
|
|
22416
|
+
// node_modules/zod/v4/classic/iso.js
|
|
22417
22417
|
var iso_exports = {};
|
|
22418
22418
|
__export(iso_exports, {
|
|
22419
22419
|
ZodISODate: () => ZodISODate,
|
|
@@ -22438,7 +22438,7 @@ function duration2(params) {
|
|
|
22438
22438
|
return _isoDuration(ZodISODuration, params);
|
|
22439
22439
|
}
|
|
22440
22440
|
|
|
22441
|
-
//
|
|
22441
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
22442
22442
|
var z = {
|
|
22443
22443
|
...schemas_exports2,
|
|
22444
22444
|
...checks_exports2,
|
|
@@ -23171,7 +23171,7 @@ function fromJSONSchema(schema, params) {
|
|
|
23171
23171
|
return convertSchema(normalized, ctx);
|
|
23172
23172
|
}
|
|
23173
23173
|
|
|
23174
|
-
//
|
|
23174
|
+
// node_modules/zod/v4/core/visit.js
|
|
23175
23175
|
var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
|
|
23176
23176
|
function visit(schema, fnOrHandlers) {
|
|
23177
23177
|
const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
|
|
@@ -23326,7 +23326,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
23326
23326
|
return run2(schema);
|
|
23327
23327
|
}
|
|
23328
23328
|
|
|
23329
|
-
//
|
|
23329
|
+
// node_modules/zod/v4/classic/deep-partial.js
|
|
23330
23330
|
function deepPartial(schema) {
|
|
23331
23331
|
return visit(schema, {
|
|
23332
23332
|
object: (s) => s.partial(),
|
|
@@ -23338,7 +23338,7 @@ function deepPartial(schema) {
|
|
|
23338
23338
|
});
|
|
23339
23339
|
}
|
|
23340
23340
|
|
|
23341
|
-
//
|
|
23341
|
+
// node_modules/zod/v4/classic/in-out.js
|
|
23342
23342
|
function withChecks(side, checks) {
|
|
23343
23343
|
if (!checks?.length)
|
|
23344
23344
|
return side;
|
|
@@ -23368,7 +23368,7 @@ function output(schema) {
|
|
|
23368
23368
|
});
|
|
23369
23369
|
}
|
|
23370
23370
|
|
|
23371
|
-
//
|
|
23371
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
23372
23372
|
var coerce_exports = {};
|
|
23373
23373
|
__export(coerce_exports, {
|
|
23374
23374
|
bigint: () => bigint3,
|
|
@@ -23806,7 +23806,7 @@ import { createServer } from "node:http";
|
|
|
23806
23806
|
import { connect as netConnect } from "node:net";
|
|
23807
23807
|
import { createHash, randomBytes, timingSafeEqual } from "node:crypto";
|
|
23808
23808
|
|
|
23809
|
-
//
|
|
23809
|
+
// node_modules/ws/wrapper.mjs
|
|
23810
23810
|
var import_stream = __toESM(require_stream(), 1);
|
|
23811
23811
|
var import_extension = __toESM(require_extension(), 1);
|
|
23812
23812
|
var import_permessage_deflate = __toESM(require_permessage_deflate(), 1);
|
|
@@ -23817,7 +23817,7 @@ var import_websocket = __toESM(require_websocket(), 1);
|
|
|
23817
23817
|
var import_websocket_server = __toESM(require_websocket_server(), 1);
|
|
23818
23818
|
var wrapper_default = import_websocket.default;
|
|
23819
23819
|
|
|
23820
|
-
//
|
|
23820
|
+
// node_modules/jose/dist/webapi/lib/buffer_utils.js
|
|
23821
23821
|
var encoder = new TextEncoder();
|
|
23822
23822
|
var decoder = new TextDecoder();
|
|
23823
23823
|
var strictDecoder = new TextDecoder("utf-8", { fatal: true });
|
|
@@ -23868,7 +23868,7 @@ function decodeBase64(encoded, url2 = false) {
|
|
|
23868
23868
|
return bytes3;
|
|
23869
23869
|
}
|
|
23870
23870
|
|
|
23871
|
-
//
|
|
23871
|
+
// node_modules/jose/dist/webapi/util/errors.js
|
|
23872
23872
|
var JOSEError = class extends Error {
|
|
23873
23873
|
static code = "ERR_JOSE_GENERIC";
|
|
23874
23874
|
code = "ERR_JOSE_GENERIC";
|
|
@@ -23920,7 +23920,7 @@ var JWSSignatureVerificationFailed = class extends JOSEError {
|
|
|
23920
23920
|
}
|
|
23921
23921
|
};
|
|
23922
23922
|
|
|
23923
|
-
//
|
|
23923
|
+
// node_modules/jose/dist/webapi/util/base64url.js
|
|
23924
23924
|
var invalid = "The input to be decoded is not correctly encoded.";
|
|
23925
23925
|
function decode3(input2) {
|
|
23926
23926
|
try {
|
|
@@ -23933,7 +23933,7 @@ function encode4(input2) {
|
|
|
23933
23933
|
return encodeBase64(typeof input2 == "string" ? encoder.encode(input2) : input2, true);
|
|
23934
23934
|
}
|
|
23935
23935
|
|
|
23936
|
-
//
|
|
23936
|
+
// node_modules/jose/dist/webapi/lib/validate.js
|
|
23937
23937
|
function assertUint8Array(input2, label2) {
|
|
23938
23938
|
if (!(input2 instanceof Uint8Array))
|
|
23939
23939
|
throw new TypeError(`${label2} must be an instance of Uint8Array`);
|
|
@@ -24034,7 +24034,7 @@ function serializeJoseHeader(Err, header) {
|
|
|
24034
24034
|
return [parsed, serialized];
|
|
24035
24035
|
}
|
|
24036
24036
|
|
|
24037
|
-
//
|
|
24037
|
+
// node_modules/jose/dist/webapi/lib/key.js
|
|
24038
24038
|
var tag = (key) => key[Symbol.toStringTag];
|
|
24039
24039
|
var jwkMatchesOp = (entry, key, usage) => {
|
|
24040
24040
|
const { alg } = entry;
|
|
@@ -24165,7 +24165,7 @@ async function rawKey(key, expected, usage, extractable = false) {
|
|
|
24165
24165
|
return key instanceof Uint8Array && (key = await crypto.subtle.importKey("raw", key, expected, extractable, [usage])), checkCryptoKey(key, expected, usage), key;
|
|
24166
24166
|
}
|
|
24167
24167
|
|
|
24168
|
-
//
|
|
24168
|
+
// node_modules/jose/dist/webapi/lib/key_descriptor.js
|
|
24169
24169
|
function table(entries) {
|
|
24170
24170
|
const out = { __proto__: null };
|
|
24171
24171
|
for (const alg in entries)
|
|
@@ -24173,7 +24173,7 @@ function table(entries) {
|
|
|
24173
24173
|
return out;
|
|
24174
24174
|
}
|
|
24175
24175
|
|
|
24176
|
-
//
|
|
24176
|
+
// node_modules/jose/dist/webapi/lib/jws_algorithms.js
|
|
24177
24177
|
var sig = [["verify"], ["sign"]];
|
|
24178
24178
|
function hmac(bits) {
|
|
24179
24179
|
const subtle = { name: "HMAC", hash: `SHA-${bits}` };
|
|
@@ -24243,7 +24243,7 @@ function jwsAlgorithm(alg) {
|
|
|
24243
24243
|
return entry;
|
|
24244
24244
|
}
|
|
24245
24245
|
|
|
24246
|
-
//
|
|
24246
|
+
// node_modules/jose/dist/webapi/lib/jws_verify.js
|
|
24247
24247
|
function prepareVerify(options) {
|
|
24248
24248
|
return [options && validateAlgorithms("algorithms", options.algorithms), options?.crit];
|
|
24249
24249
|
}
|
|
@@ -24295,13 +24295,13 @@ async function verifyCompact(jws, shared, key) {
|
|
|
24295
24295
|
return verifySignature({ payload: payload2, protected: protectedHeader, signature }, shared, key, encodeCompactUnencodedPayload);
|
|
24296
24296
|
}
|
|
24297
24297
|
|
|
24298
|
-
//
|
|
24298
|
+
// node_modules/jose/dist/webapi/jws/compact/verify.js
|
|
24299
24299
|
async function compactVerify(jws, key, options) {
|
|
24300
24300
|
const [result2] = await verifyCompact(jws, prepareVerify(options), key);
|
|
24301
24301
|
return result2;
|
|
24302
24302
|
}
|
|
24303
24303
|
|
|
24304
|
-
//
|
|
24304
|
+
// node_modules/jose/dist/webapi/lib/jwt_claims_set.js
|
|
24305
24305
|
var epoch = (date6) => Math.floor(date6.getTime() / 1e3);
|
|
24306
24306
|
var multipliers = {
|
|
24307
24307
|
s: 1,
|
|
@@ -24387,7 +24387,7 @@ function validateClaimsSet(protectedHeader, encodedPayload, options = {}) {
|
|
|
24387
24387
|
return payload2;
|
|
24388
24388
|
}
|
|
24389
24389
|
|
|
24390
|
-
//
|
|
24390
|
+
// node_modules/jose/dist/webapi/jwt/verify.js
|
|
24391
24391
|
async function jwtVerify(jwt2, key, options) {
|
|
24392
24392
|
const [verified, b64] = await verifyCompact(jwt2, prepareVerify(options), key);
|
|
24393
24393
|
if (!b64)
|
|
@@ -24396,7 +24396,7 @@ async function jwtVerify(jwt2, key, options) {
|
|
|
24396
24396
|
return { ...verified, payload: payload2 };
|
|
24397
24397
|
}
|
|
24398
24398
|
|
|
24399
|
-
//
|
|
24399
|
+
// node_modules/jose/dist/webapi/lib/jws_sign.js
|
|
24400
24400
|
async function createSignature(input2, key, rejectUnencoded) {
|
|
24401
24401
|
let [payload2, protectedHeader, unprotectedHeader, crit] = input2, protectedHeaderString = "";
|
|
24402
24402
|
if (protectedHeader !== void 0) {
|
|
@@ -24434,7 +24434,7 @@ async function createCompactSignature(payload2, protectedHeader, crit, key, reje
|
|
|
24434
24434
|
return `${jws.protected}.${jws.payload}.${jws.signature}`;
|
|
24435
24435
|
}
|
|
24436
24436
|
|
|
24437
|
-
//
|
|
24437
|
+
// node_modules/jose/dist/webapi/jws/compact/sign.js
|
|
24438
24438
|
var CompactSign = class {
|
|
24439
24439
|
#payload;
|
|
24440
24440
|
#protectedHeader;
|
|
@@ -24451,7 +24451,7 @@ var CompactSign = class {
|
|
|
24451
24451
|
}
|
|
24452
24452
|
};
|
|
24453
24453
|
|
|
24454
|
-
//
|
|
24454
|
+
// node_modules/jose/dist/webapi/util/decode_jwt.js
|
|
24455
24455
|
function decodeJwt(jwt2) {
|
|
24456
24456
|
if (typeof jwt2 != "string")
|
|
24457
24457
|
throw new JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");
|
|
@@ -27137,11 +27137,13 @@ var NativeJournal = class _NativeJournal {
|
|
|
27137
27137
|
}
|
|
27138
27138
|
/** The journal lock is only taken over once the previous agent process has exited, so its in-process work is gone.
|
|
27139
27139
|
* An interrupted entry is AGENT_RESTARTED (stopped, outcome unknown) when it recorded its supervisors and none is
|
|
27140
|
-
* still alive; otherwise, including every entry from an older agent, it stays EXECUTION_UNKNOWN (#194).
|
|
27140
|
+
* still alive; otherwise, including every entry from an older agent, it stays EXECUTION_UNKNOWN (#194).
|
|
27141
|
+
* Previously reported unknown work gets the same proof check on a later startup, never on a mere reconnect. */
|
|
27141
27142
|
recoverAfterRestart(liveness) {
|
|
27142
27143
|
return this.enqueue(async () => {
|
|
27143
27144
|
let count4 = 0;
|
|
27144
|
-
const
|
|
27145
|
+
const retryUnknown = (e) => e.state === "unknown" && e.resultCode === "EXECUTION_UNKNOWN" && !!e.workspaceGrantId && !!e.policyVersion && e.supervisors !== void 0;
|
|
27146
|
+
const interrupted = [...this.entries.values()].filter((e) => ["accepted", "running"].includes(e.state) || retryUnknown(e));
|
|
27145
27147
|
const pids = [...new Set(interrupted.flatMap((e) => e.supervisors ?? []))];
|
|
27146
27148
|
const linuxSupervisors = interrupted.flatMap((e) => e.linuxSupervisors ?? []), darwinSupervisors = interrupted.flatMap((e) => e.darwinSupervisors ?? []);
|
|
27147
27149
|
let live = /* @__PURE__ */ new Set();
|
|
@@ -27154,11 +27156,19 @@ var NativeJournal = class _NativeJournal {
|
|
|
27154
27156
|
}
|
|
27155
27157
|
for (const original of this.entries.values()) {
|
|
27156
27158
|
const stranded = original.state === "prepared";
|
|
27157
|
-
|
|
27159
|
+
const retry = retryUnknown(original);
|
|
27160
|
+
if (!stranded && !["accepted", "running"].includes(original.state) && !retry) continue;
|
|
27158
27161
|
const e = clone2(original);
|
|
27159
27162
|
e.state = stranded ? "rejected" : "unknown";
|
|
27160
27163
|
const stopped2 = !!e.supervisors && (e.supervisors.length === 0 || !!live && e.supervisors.every((pid) => !live.has(pid)));
|
|
27161
|
-
if (
|
|
27164
|
+
if (retry && !stopped2) continue;
|
|
27165
|
+
if (!stranded && e.workspaceGrantId && e.policyVersion) {
|
|
27166
|
+
e.resultCode = stopped2 ? "AGENT_RESTARTED" : "EXECUTION_UNKNOWN";
|
|
27167
|
+
if (stopped2) {
|
|
27168
|
+
delete e.reportedAt;
|
|
27169
|
+
if (e.result) e.result = { ...e.result, treeTerminated: true };
|
|
27170
|
+
}
|
|
27171
|
+
}
|
|
27162
27172
|
e.updatedAt = this.now().toISOString();
|
|
27163
27173
|
const last = e.guardEvents?.at(-1);
|
|
27164
27174
|
if (last && last.event.phase !== "result") {
|
|
@@ -29233,6 +29243,27 @@ async function resolvePosixExecutable(command, searchPath = process.env.PATH ??
|
|
|
29233
29243
|
// agent/src/job-supervisor.ts
|
|
29234
29244
|
import { spawn as spawn4 } from "node:child_process";
|
|
29235
29245
|
import path16 from "node:path";
|
|
29246
|
+
var supervisorFailureCodes = /* @__PURE__ */ new Set([
|
|
29247
|
+
"SUPERVISOR_PLATFORM_UNSUPPORTED",
|
|
29248
|
+
"INVALID_SUPERVISOR_PATH",
|
|
29249
|
+
"INVALID_SUPERVISOR_ARGS",
|
|
29250
|
+
"INVALID_SUPERVISOR_LIMIT",
|
|
29251
|
+
"SUPERVISOR_INPUT_LIMIT",
|
|
29252
|
+
"SUPERVISOR_CONTROL_CLOSED",
|
|
29253
|
+
"SUPERVISOR_START_FAILED",
|
|
29254
|
+
"SUPERVISOR_DIAGNOSTIC_FAILURE",
|
|
29255
|
+
"SUPERVISOR_PROTOCOL_INVALID",
|
|
29256
|
+
"SUPERVISOR_PROTOCOL_LIMIT",
|
|
29257
|
+
"SUPERVISOR_EXECUTION_UNKNOWN",
|
|
29258
|
+
"SUPERVISOR_DEADLINE_EXCEEDED"
|
|
29259
|
+
]);
|
|
29260
|
+
var nativeFailureCode = /^(WIN32_[0-9]{1,10}|EXECUTION_OUTCOME_UNKNOWN|INVALID_OR_FAILED_START)$/;
|
|
29261
|
+
function supervisorFailureDiagnostic(error62) {
|
|
29262
|
+
if (!(error62 instanceof Error) || !supervisorFailureCodes.has(error62.message)) return null;
|
|
29263
|
+
const stage = typeof error62.cause === "string" && /^(REQUEST|BRIDGE|CGROUP|EXECUTION|CLEANUP)$/.test(error62.cause) ? error62.cause : void 0;
|
|
29264
|
+
const nativeCode = typeof error62.cause === "string" && nativeFailureCode.test(error62.cause) ? error62.cause : void 0;
|
|
29265
|
+
return { code: error62.message, ...stage ? { stage } : {}, ...nativeCode ? { nativeCode } : {} };
|
|
29266
|
+
}
|
|
29236
29267
|
function absolute(value) {
|
|
29237
29268
|
return typeof value === "string" && value.length > 0 && value.length < 32767 && !value.includes("\0") && path16.isAbsolute(value) && path16.resolve(value) === value;
|
|
29238
29269
|
}
|
|
@@ -29316,7 +29347,7 @@ async function runSupervised(helper, request, options = {}) {
|
|
|
29316
29347
|
if (pid === null || !Number.isInteger(m.exitCode) || typeof m.timedOut !== "boolean" || typeof m.cancelled !== "boolean" || m.treeTerminated !== true) throw Error();
|
|
29317
29348
|
outcome = { exitCode: m.exitCode, timedOut: m.timedOut, cancelled: m.cancelled, treeTerminated: true };
|
|
29318
29349
|
} else if (m.type === "error") {
|
|
29319
|
-
fail7("SUPERVISOR_EXECUTION_UNKNOWN", typeof m.stage === "string" && /^(REQUEST|BRIDGE|CGROUP|EXECUTION|CLEANUP)$/.test(m.stage) ? m.stage : void 0);
|
|
29350
|
+
fail7("SUPERVISOR_EXECUTION_UNKNOWN", typeof m.stage === "string" && /^(REQUEST|BRIDGE|CGROUP|EXECUTION|CLEANUP)$/.test(m.stage) ? m.stage : typeof m.code === "string" && nativeFailureCode.test(m.code) ? m.code : void 0);
|
|
29320
29351
|
return;
|
|
29321
29352
|
} else throw Error();
|
|
29322
29353
|
} catch {
|
|
@@ -32194,7 +32225,7 @@ var NativeRuntime = class {
|
|
|
32194
32225
|
async disconnected() {
|
|
32195
32226
|
this.transport = null;
|
|
32196
32227
|
this.connection = null;
|
|
32197
|
-
for (const context of this.contexts.values()) context.abort.abort();
|
|
32228
|
+
for (const context of this.contexts.values()) if (!context.accepted) context.abort.abort();
|
|
32198
32229
|
this.options.onActivity?.();
|
|
32199
32230
|
}
|
|
32200
32231
|
send(frame) {
|
|
@@ -32273,7 +32304,7 @@ var NativeRuntime = class {
|
|
|
32273
32304
|
if (!stored.created) {
|
|
32274
32305
|
if (!journalBinding(stored.entry, binding2)) throw Error("IDEMPOTENCY_CONFLICT");
|
|
32275
32306
|
if (stored.entry.result) {
|
|
32276
|
-
this.send({ type: "result", version: 1, binding: binding2, result: await outboundResult(frame.tool, journalResult(stored.entry.result), binding2, this.optionalTelemetry, this.options.efficiencyLedger) });
|
|
32307
|
+
this.send({ type: "result", version: 1, binding: binding2, result: await outboundResult(frame.tool, journalResult(stored.entry.result, stored.entry.resultCode), binding2, this.optionalTelemetry, this.options.efficiencyLedger) });
|
|
32277
32308
|
return;
|
|
32278
32309
|
}
|
|
32279
32310
|
if (stored.entry.state === "prepared") {
|
|
@@ -32372,6 +32403,8 @@ var NativeRuntime = class {
|
|
|
32372
32403
|
} else {
|
|
32373
32404
|
const isCommand = frame.tool.name === "command_run" || frame.tool.name.startsWith("git_") || frame.tool.name === "project_snapshot";
|
|
32374
32405
|
const uncertain = error62 instanceof Error && error62.message === "GUARD_EVIDENCE_FAILED" || isCommand && !(error62 instanceof NativeToolError);
|
|
32406
|
+
const supervisorFailure = supervisorFailureDiagnostic(error62);
|
|
32407
|
+
if (supervisorFailure) context.stderr.append("\n" + JSON.stringify({ supervisorFailure }) + "\n");
|
|
32375
32408
|
const output2 = { exitCode: null, timedOut: false, cancelled: abort.signal.aborted, treeTerminated: !uncertain, stdout: context.stdout.toString(), stderr: context.stderr.toString(), stdoutTruncated: context.stdout.truncated, stderrTruncated: context.stderr.truncated, resultCode: uncertain ? "EXECUTION_UNKNOWN" : abort.signal.aborted ? "CANCELLED" : safeCode(error62) };
|
|
32376
32409
|
try {
|
|
32377
32410
|
const { resultCode, ...raw } = output2;
|
|
@@ -32412,7 +32445,7 @@ var NativeRuntime = class {
|
|
|
32412
32445
|
const fresh = await this.options.journal.get(binding2.executionId);
|
|
32413
32446
|
let result2;
|
|
32414
32447
|
if (fresh?.result) {
|
|
32415
|
-
result2 = this.completedResults.get(binding2.executionId) ?? (context ? await outboundResult(context.tool.call, journalResult(fresh.result), binding2, this.optionalTelemetry, this.options.efficiencyLedger) : journalResult(fresh.result));
|
|
32448
|
+
result2 = this.completedResults.get(binding2.executionId) ?? (context ? await outboundResult(context.tool.call, journalResult(fresh.result, fresh.resultCode), binding2, this.optionalTelemetry, this.options.efficiencyLedger) : journalResult(fresh.result, fresh.resultCode));
|
|
32416
32449
|
if (frame.action === "output" && this.options.efficiencyLedger) {
|
|
32417
32450
|
const notice = await this.optionalTelemetry.run(() => this.options.efficiencyLedger.consumeNoticeForExecution?.(binding2.executionId), null);
|
|
32418
32451
|
if (notice) result2 = { ...result2, efficiencyNotice: notice };
|
|
@@ -32945,7 +32978,7 @@ var LocalDirectClient = class _LocalDirectClient {
|
|
|
32945
32978
|
}
|
|
32946
32979
|
};
|
|
32947
32980
|
|
|
32948
|
-
//
|
|
32981
|
+
// node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs
|
|
32949
32982
|
var __create2 = Object.create;
|
|
32950
32983
|
var __defProp2 = Object.defineProperty;
|
|
32951
32984
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -32985,7 +33018,7 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__
|
|
|
32985
33018
|
enumerable: true
|
|
32986
33019
|
}) : target, mod));
|
|
32987
33020
|
|
|
32988
|
-
//
|
|
33021
|
+
// node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs
|
|
32989
33022
|
var DRAFT_2020_12_URIS = /* @__PURE__ */ new Set(["https://json-schema.org/draft/2020-12/schema", "http://json-schema.org/draft/2020-12/schema"]);
|
|
32990
33023
|
var DRAFT_2019_09_URIS = /* @__PURE__ */ new Set(["https://json-schema.org/draft/2019-09/schema", "http://json-schema.org/draft/2019-09/schema"]);
|
|
32991
33024
|
var DRAFT_07_URIS = /* @__PURE__ */ new Set(["https://json-schema.org/draft-07/schema", "http://json-schema.org/draft-07/schema"]);
|
|
@@ -33002,7 +33035,7 @@ function declaredDialect(schema, remedy) {
|
|
|
33002
33035
|
throw new Error(`JSON Schema declares an unsupported dialect ("$schema": "${schema.$schema.slice(0, 200)}"). The default validator supports JSON Schema 2020-12, 2019-09, draft-07, and draft-06; ${remedy}`);
|
|
33003
33036
|
}
|
|
33004
33037
|
|
|
33005
|
-
//
|
|
33038
|
+
// node_modules/@modelcontextprotocol/core/dist/auth-CGP0BDVq.mjs
|
|
33006
33039
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
33007
33040
|
var SUPPORTED_PROTOCOL_VERSIONS = [
|
|
33008
33041
|
LATEST_PROTOCOL_VERSION,
|
|
@@ -33941,7 +33974,7 @@ var OAuthTokenRevocationRequestSchema = object({
|
|
|
33941
33974
|
token_type_hint: string2().optional()
|
|
33942
33975
|
}).strip();
|
|
33943
33976
|
|
|
33944
|
-
//
|
|
33977
|
+
// node_modules/@modelcontextprotocol/server/dist/src-D-y6h4N7.mjs
|
|
33945
33978
|
var BRANDS = /* @__PURE__ */ Symbol.for("mcp.sdk.errorBrands");
|
|
33946
33979
|
function stampErrorBrands(instance, ctor) {
|
|
33947
33980
|
const brands = /* @__PURE__ */ new Set();
|
|
@@ -38522,7 +38555,7 @@ function normalizeRawShapeSchema(schema) {
|
|
|
38522
38555
|
return schema;
|
|
38523
38556
|
}
|
|
38524
38557
|
|
|
38525
|
-
//
|
|
38558
|
+
// node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs
|
|
38526
38559
|
var require_code$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
38527
38560
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38528
38561
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
@@ -45532,10 +45565,10 @@ var AjvJsonSchemaValidator = class {
|
|
|
45532
45565
|
};
|
|
45533
45566
|
var Ajv = import_ajv.Ajv;
|
|
45534
45567
|
|
|
45535
|
-
//
|
|
45568
|
+
// node_modules/@modelcontextprotocol/server/dist/shimsNode.mjs
|
|
45536
45569
|
import process2 from "node:process";
|
|
45537
45570
|
|
|
45538
|
-
//
|
|
45571
|
+
// node_modules/@modelcontextprotocol/server/dist/mcp-Dw2OlZ1f.mjs
|
|
45539
45572
|
var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
45540
45573
|
function isCompletable(schema) {
|
|
45541
45574
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -46911,10 +46944,10 @@ function unwrapOptionalSchema(schema) {
|
|
|
46911
46944
|
return schema.def?.innerType ?? schema;
|
|
46912
46945
|
}
|
|
46913
46946
|
|
|
46914
|
-
//
|
|
46947
|
+
// node_modules/@modelcontextprotocol/server/dist/index.mjs
|
|
46915
46948
|
var DEFAULT_MAX_REQUEST_BODY_SIZE = 4 * 1024 * 1024;
|
|
46916
46949
|
|
|
46917
|
-
//
|
|
46950
|
+
// node_modules/@modelcontextprotocol/server/dist/stdio.mjs
|
|
46918
46951
|
var swallowsErrorsAfterClose = /* @__PURE__ */ Symbol("swallowsErrorsAfterClose");
|
|
46919
46952
|
var StdioServerTransport = class {
|
|
46920
46953
|
_readBuffer;
|
|
@@ -51358,7 +51391,7 @@ async function restoreContentAudit(input2, output2, key) {
|
|
|
51358
51391
|
}
|
|
51359
51392
|
|
|
51360
51393
|
// agent/src/main.ts
|
|
51361
|
-
var AGENT_VERSION2 = true ? "0.3.
|
|
51394
|
+
var AGENT_VERSION2 = true ? "0.3.54" : "0.3.2";
|
|
51362
51395
|
var NETWORK_PUBLIC_KEY = true ? "-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvmu+81vWtJBQDZNHcAIW\nzCSxpG+R9RBsum2df5mP2cOW+wyUDTpnYquFge1qgI5YYTF96j0xCyXL8B9FeNWs\n939opWNmv53j+CQlS4cEIQhBbZSCu0eC4icsVEzBhvf68MB+E668SOtZBcVTEnyh\n96PTcupxS10rQJBWDinbKBXRC2gvGYeu01rWa/nsrndy4vAYP5t3yQtdOC8e8mr0\n+2Mg2Qhiq+KiTCtDd+L9oXvoLqqJYbzUIveNGha25AWxF1Weblp0gOM87hell5gV\nK7q4ZLUq/wBRGYNmQRdLyV7/WRE1FFPSW21/SBZQ/5aU4UqJU/MjMcrJUrnRKngz\nYKmo0czkxS3N7Q2KVxomgR1AQSuQFKMrboZYKjShADp9RIYUxzs7cYg51Of5PnHh\n6Ax+VevDGfzjMD+yHuyxYZqCtX4OwgolJxz63UQbzKlris+8xb5lLYTbIuz90Pss\nn6HK/F5May25c6oMmS3nh/NsiZopL1OvdtWKTt1L4WlRAgMBAAE=\n-----END PUBLIC KEY-----\n" : "";
|
|
51363
51396
|
var AI_CONNECTION_SHIPPED = false;
|
|
51364
51397
|
var QUARANTINE_RETRY_MS = 6e4;
|