local-commander-agent 0.3.5 → 0.3.6
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/package.json +2 -2
- package/runtime/JobHost.exe +0 -0
- package/runtime/LocalCommanderAgent.exe +0 -0
- package/runtime/OwnerBridge.exe +0 -0
- package/runtime/agent.mjs +181 -151
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "local-commander-agent",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Windows companion for Local Commander: connect AI clients to local files, approved commands and localhost. Requires https://localcmd.app.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
24
|
"prepack": "node ../../scripts/build-npm-agent.mjs",
|
|
25
|
-
"prepublishOnly": "node ../../scripts/verify-npm-agent.mjs"
|
|
25
|
+
"prepublishOnly": "node ../../scripts/check-npm-publish-auth.mjs && node ../../scripts/verify-npm-agent.mjs"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
package/runtime/JobHost.exe
CHANGED
|
Binary file
|
|
Binary file
|
package/runtime/OwnerBridge.exe
CHANGED
|
Binary file
|
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
|
-
// node_modules/ws/lib/constants.js
|
|
42
|
+
// ../../node_modules/ws/lib/constants.js
|
|
43
43
|
var require_constants = __commonJS({
|
|
44
|
-
"node_modules/ws/lib/constants.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/buffer-util.js
|
|
65
|
+
// ../../node_modules/ws/lib/buffer-util.js
|
|
66
66
|
var require_buffer_util = __commonJS({
|
|
67
|
-
"node_modules/ws/lib/buffer-util.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/limiter.js
|
|
140
|
+
// ../../node_modules/ws/lib/limiter.js
|
|
141
141
|
var require_limiter = __commonJS({
|
|
142
|
-
"node_modules/ws/lib/limiter.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/permessage-deflate.js
|
|
190
|
+
// ../../node_modules/ws/lib/permessage-deflate.js
|
|
191
191
|
var require_permessage_deflate = __commonJS({
|
|
192
|
-
"node_modules/ws/lib/permessage-deflate.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/validation.js
|
|
573
|
+
// ../../node_modules/ws/lib/validation.js
|
|
574
574
|
var require_validation = __commonJS({
|
|
575
|
-
"node_modules/ws/lib/validation.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/receiver.js
|
|
774
|
+
// ../../node_modules/ws/lib/receiver.js
|
|
775
775
|
var require_receiver = __commonJS({
|
|
776
|
-
"node_modules/ws/lib/receiver.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/sender.js
|
|
1397
|
+
// ../../node_modules/ws/lib/sender.js
|
|
1398
1398
|
var require_sender = __commonJS({
|
|
1399
|
-
"node_modules/ws/lib/sender.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/event-target.js
|
|
1890
|
+
// ../../node_modules/ws/lib/event-target.js
|
|
1891
1891
|
var require_event_target = __commonJS({
|
|
1892
|
-
"node_modules/ws/lib/event-target.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/extension.js
|
|
2119
|
+
// ../../node_modules/ws/lib/extension.js
|
|
2120
2120
|
var require_extension = __commonJS({
|
|
2121
|
-
"node_modules/ws/lib/extension.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/websocket.js
|
|
2272
|
+
// ../../node_modules/ws/lib/websocket.js
|
|
2273
2273
|
var require_websocket = __commonJS({
|
|
2274
|
-
"node_modules/ws/lib/websocket.js"(exports, module) {
|
|
2274
|
+
"../../node_modules/ws/lib/websocket.js"(exports, module) {
|
|
2275
2275
|
"use strict";
|
|
2276
2276
|
var EventEmitter = __require("events");
|
|
2277
2277
|
var https = __require("https");
|
|
@@ -3178,9 +3178,9 @@ var require_websocket = __commonJS({
|
|
|
3178
3178
|
}
|
|
3179
3179
|
});
|
|
3180
3180
|
|
|
3181
|
-
// node_modules/ws/lib/stream.js
|
|
3181
|
+
// ../../node_modules/ws/lib/stream.js
|
|
3182
3182
|
var require_stream = __commonJS({
|
|
3183
|
-
"node_modules/ws/lib/stream.js"(exports, module) {
|
|
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
|
-
// node_modules/ws/lib/subprotocol.js
|
|
3279
|
+
// ../../node_modules/ws/lib/subprotocol.js
|
|
3280
3280
|
var require_subprotocol = __commonJS({
|
|
3281
|
-
"node_modules/ws/lib/subprotocol.js"(exports, module) {
|
|
3281
|
+
"../../node_modules/ws/lib/subprotocol.js"(exports, module) {
|
|
3282
3282
|
"use strict";
|
|
3283
3283
|
var { tokenChars } = require_validation();
|
|
3284
3284
|
function parse3(header) {
|
|
@@ -3321,9 +3321,9 @@ var require_subprotocol = __commonJS({
|
|
|
3321
3321
|
}
|
|
3322
3322
|
});
|
|
3323
3323
|
|
|
3324
|
-
// node_modules/ws/lib/websocket-server.js
|
|
3324
|
+
// ../../node_modules/ws/lib/websocket-server.js
|
|
3325
3325
|
var require_websocket_server = __commonJS({
|
|
3326
|
-
"node_modules/ws/lib/websocket-server.js"(exports, module) {
|
|
3326
|
+
"../../node_modules/ws/lib/websocket-server.js"(exports, module) {
|
|
3327
3327
|
"use strict";
|
|
3328
3328
|
var EventEmitter = __require("events");
|
|
3329
3329
|
var http = __require("http");
|
|
@@ -3858,7 +3858,7 @@ var Utf8OutputTailBuffer = class {
|
|
|
3858
3858
|
}
|
|
3859
3859
|
};
|
|
3860
3860
|
|
|
3861
|
-
// node_modules/zod/v4/classic/external.js
|
|
3861
|
+
// ../../node_modules/zod/v4/classic/external.js
|
|
3862
3862
|
var external_exports = {};
|
|
3863
3863
|
__export(external_exports, {
|
|
3864
3864
|
$brand: () => $brand,
|
|
@@ -4121,7 +4121,7 @@ __export(external_exports, {
|
|
|
4121
4121
|
xor: () => xor
|
|
4122
4122
|
});
|
|
4123
4123
|
|
|
4124
|
-
// node_modules/zod/v4/core/index.js
|
|
4124
|
+
// ../../node_modules/zod/v4/core/index.js
|
|
4125
4125
|
var core_exports2 = {};
|
|
4126
4126
|
__export(core_exports2, {
|
|
4127
4127
|
$ZodAny: () => $ZodAny,
|
|
@@ -4438,7 +4438,7 @@ __export(core_exports2, {
|
|
|
4438
4438
|
withParser: () => withParser
|
|
4439
4439
|
});
|
|
4440
4440
|
|
|
4441
|
-
// node_modules/zod/v4/core/util.js
|
|
4441
|
+
// ../../node_modules/zod/v4/core/util.js
|
|
4442
4442
|
var util_exports = {};
|
|
4443
4443
|
__export(util_exports, {
|
|
4444
4444
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -5281,7 +5281,7 @@ function constantCatch(value) {
|
|
|
5281
5281
|
return fn;
|
|
5282
5282
|
}
|
|
5283
5283
|
|
|
5284
|
-
// node_modules/zod/v4/core/core.js
|
|
5284
|
+
// ../../node_modules/zod/v4/core/core.js
|
|
5285
5285
|
var _a;
|
|
5286
5286
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
5287
5287
|
status: "aborted"
|
|
@@ -5403,7 +5403,7 @@ function config(newConfig) {
|
|
|
5403
5403
|
return globalConfig;
|
|
5404
5404
|
}
|
|
5405
5405
|
|
|
5406
|
-
// node_modules/zod/v4/core/errors.js
|
|
5406
|
+
// ../../node_modules/zod/v4/core/errors.js
|
|
5407
5407
|
function _getMessage() {
|
|
5408
5408
|
const internals = this._zod;
|
|
5409
5409
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -5595,7 +5595,7 @@ function prettifyError(error62) {
|
|
|
5595
5595
|
return lines.join("\n");
|
|
5596
5596
|
}
|
|
5597
5597
|
|
|
5598
|
-
// node_modules/zod/v4/core/parse.js
|
|
5598
|
+
// ../../node_modules/zod/v4/core/parse.js
|
|
5599
5599
|
function finalizeParams(callee, params) {
|
|
5600
5600
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
5601
5601
|
}
|
|
@@ -5755,7 +5755,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
5755
5755
|
};
|
|
5756
5756
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
5757
5757
|
|
|
5758
|
-
// node_modules/zod/v4/core/regexes.js
|
|
5758
|
+
// ../../node_modules/zod/v4/core/regexes.js
|
|
5759
5759
|
var regexes_exports = {};
|
|
5760
5760
|
__export(regexes_exports, {
|
|
5761
5761
|
anyString: () => anyString,
|
|
@@ -5927,7 +5927,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
5927
5927
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
5928
5928
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
5929
5929
|
|
|
5930
|
-
// node_modules/zod/v4/core/checks.js
|
|
5930
|
+
// ../../node_modules/zod/v4/core/checks.js
|
|
5931
5931
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
5932
5932
|
var _a3;
|
|
5933
5933
|
inst._zod ?? (inst._zod = {});
|
|
@@ -6403,7 +6403,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
6403
6403
|
};
|
|
6404
6404
|
});
|
|
6405
6405
|
|
|
6406
|
-
// node_modules/zod/v4/core/doc.js
|
|
6406
|
+
// ../../node_modules/zod/v4/core/doc.js
|
|
6407
6407
|
var Doc = class {
|
|
6408
6408
|
constructor(args = [], closed = {}) {
|
|
6409
6409
|
this.content = [];
|
|
@@ -6444,14 +6444,14 @@ ${content.join("\n")}
|
|
|
6444
6444
|
}
|
|
6445
6445
|
};
|
|
6446
6446
|
|
|
6447
|
-
// node_modules/zod/v4/core/versions.js
|
|
6447
|
+
// ../../node_modules/zod/v4/core/versions.js
|
|
6448
6448
|
var version = {
|
|
6449
6449
|
major: 4,
|
|
6450
6450
|
minor: 6,
|
|
6451
6451
|
patch: 5
|
|
6452
6452
|
};
|
|
6453
6453
|
|
|
6454
|
-
// node_modules/zod/v4/core/schemas.js
|
|
6454
|
+
// ../../node_modules/zod/v4/core/schemas.js
|
|
6455
6455
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
6456
6456
|
var _a3;
|
|
6457
6457
|
inst ?? (inst = {});
|
|
@@ -8865,7 +8865,7 @@ function handleRefineResult(result2, payload, input2, inst) {
|
|
|
8865
8865
|
}
|
|
8866
8866
|
}
|
|
8867
8867
|
|
|
8868
|
-
// node_modules/zod/v4/core/memoizer.js
|
|
8868
|
+
// ../../node_modules/zod/v4/core/memoizer.js
|
|
8869
8869
|
var $ZodCyclicError = class extends Error {
|
|
8870
8870
|
constructor() {
|
|
8871
8871
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -9142,7 +9142,7 @@ function isBackEdge(ctx, value) {
|
|
|
9142
9142
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
9143
9143
|
}
|
|
9144
9144
|
|
|
9145
|
-
// node_modules/zod/v4/locales/index.js
|
|
9145
|
+
// ../../node_modules/zod/v4/locales/index.js
|
|
9146
9146
|
var locales_exports = {};
|
|
9147
9147
|
__export(locales_exports, {
|
|
9148
9148
|
ar: () => ar_default,
|
|
@@ -9210,7 +9210,7 @@ __export(locales_exports, {
|
|
|
9210
9210
|
zhTW: () => zh_TW_default
|
|
9211
9211
|
});
|
|
9212
9212
|
|
|
9213
|
-
// node_modules/zod/v4/locales/ar.js
|
|
9213
|
+
// ../../node_modules/zod/v4/locales/ar.js
|
|
9214
9214
|
var error = () => {
|
|
9215
9215
|
const Sizable = {
|
|
9216
9216
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -9322,7 +9322,7 @@ function ar_default() {
|
|
|
9322
9322
|
};
|
|
9323
9323
|
}
|
|
9324
9324
|
|
|
9325
|
-
// node_modules/zod/v4/locales/az.js
|
|
9325
|
+
// ../../node_modules/zod/v4/locales/az.js
|
|
9326
9326
|
var error2 = () => {
|
|
9327
9327
|
const Sizable = {
|
|
9328
9328
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -9433,7 +9433,7 @@ function az_default() {
|
|
|
9433
9433
|
};
|
|
9434
9434
|
}
|
|
9435
9435
|
|
|
9436
|
-
// node_modules/zod/v4/locales/be.js
|
|
9436
|
+
// ../../node_modules/zod/v4/locales/be.js
|
|
9437
9437
|
function getBelarusianPlural(count, one, few, many) {
|
|
9438
9438
|
const absCount = Math.abs(count);
|
|
9439
9439
|
const lastDigit = absCount % 10;
|
|
@@ -9602,7 +9602,7 @@ function be_default() {
|
|
|
9602
9602
|
};
|
|
9603
9603
|
}
|
|
9604
9604
|
|
|
9605
|
-
// node_modules/zod/v4/locales/bg.js
|
|
9605
|
+
// ../../node_modules/zod/v4/locales/bg.js
|
|
9606
9606
|
var error4 = () => {
|
|
9607
9607
|
const Sizable = {
|
|
9608
9608
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -9728,7 +9728,7 @@ function bg_default() {
|
|
|
9728
9728
|
};
|
|
9729
9729
|
}
|
|
9730
9730
|
|
|
9731
|
-
// node_modules/zod/v4/locales/bn.js
|
|
9731
|
+
// ../../node_modules/zod/v4/locales/bn.js
|
|
9732
9732
|
var error5 = () => {
|
|
9733
9733
|
const Sizable = {
|
|
9734
9734
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -9842,7 +9842,7 @@ function bn_default() {
|
|
|
9842
9842
|
};
|
|
9843
9843
|
}
|
|
9844
9844
|
|
|
9845
|
-
// node_modules/zod/v4/locales/ca.js
|
|
9845
|
+
// ../../node_modules/zod/v4/locales/ca.js
|
|
9846
9846
|
var error6 = () => {
|
|
9847
9847
|
const Sizable = {
|
|
9848
9848
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -9956,7 +9956,7 @@ function ca_default() {
|
|
|
9956
9956
|
};
|
|
9957
9957
|
}
|
|
9958
9958
|
|
|
9959
|
-
// node_modules/zod/v4/locales/ckb.js
|
|
9959
|
+
// ../../node_modules/zod/v4/locales/ckb.js
|
|
9960
9960
|
var error7 = () => {
|
|
9961
9961
|
const Sizable = {
|
|
9962
9962
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -10089,7 +10089,7 @@ function ckb_default() {
|
|
|
10089
10089
|
};
|
|
10090
10090
|
}
|
|
10091
10091
|
|
|
10092
|
-
// node_modules/zod/v4/locales/cs.js
|
|
10092
|
+
// ../../node_modules/zod/v4/locales/cs.js
|
|
10093
10093
|
var error8 = () => {
|
|
10094
10094
|
const Sizable = {
|
|
10095
10095
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -10206,7 +10206,7 @@ function cs_default() {
|
|
|
10206
10206
|
};
|
|
10207
10207
|
}
|
|
10208
10208
|
|
|
10209
|
-
// node_modules/zod/v4/locales/da.js
|
|
10209
|
+
// ../../node_modules/zod/v4/locales/da.js
|
|
10210
10210
|
var error9 = () => {
|
|
10211
10211
|
const Sizable = {
|
|
10212
10212
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -10327,7 +10327,7 @@ function da_default() {
|
|
|
10327
10327
|
};
|
|
10328
10328
|
}
|
|
10329
10329
|
|
|
10330
|
-
// node_modules/zod/v4/locales/de.js
|
|
10330
|
+
// ../../node_modules/zod/v4/locales/de.js
|
|
10331
10331
|
var error10 = () => {
|
|
10332
10332
|
const Sizable = {
|
|
10333
10333
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -10441,7 +10441,7 @@ function de_default() {
|
|
|
10441
10441
|
};
|
|
10442
10442
|
}
|
|
10443
10443
|
|
|
10444
|
-
// node_modules/zod/v4/locales/el.js
|
|
10444
|
+
// ../../node_modules/zod/v4/locales/el.js
|
|
10445
10445
|
var error11 = () => {
|
|
10446
10446
|
const Sizable = {
|
|
10447
10447
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -10554,7 +10554,7 @@ function el_default() {
|
|
|
10554
10554
|
};
|
|
10555
10555
|
}
|
|
10556
10556
|
|
|
10557
|
-
// node_modules/zod/v4/locales/en.js
|
|
10557
|
+
// ../../node_modules/zod/v4/locales/en.js
|
|
10558
10558
|
var error12 = () => {
|
|
10559
10559
|
const Sizable = {
|
|
10560
10560
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -10679,7 +10679,7 @@ function en_default() {
|
|
|
10679
10679
|
};
|
|
10680
10680
|
}
|
|
10681
10681
|
|
|
10682
|
-
// node_modules/zod/v4/locales/eo.js
|
|
10682
|
+
// ../../node_modules/zod/v4/locales/eo.js
|
|
10683
10683
|
var error13 = () => {
|
|
10684
10684
|
const Sizable = {
|
|
10685
10685
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -10794,7 +10794,7 @@ function eo_default() {
|
|
|
10794
10794
|
};
|
|
10795
10795
|
}
|
|
10796
10796
|
|
|
10797
|
-
// node_modules/zod/v4/locales/es.js
|
|
10797
|
+
// ../../node_modules/zod/v4/locales/es.js
|
|
10798
10798
|
var error14 = () => {
|
|
10799
10799
|
const Sizable = {
|
|
10800
10800
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -10931,7 +10931,7 @@ function es_default() {
|
|
|
10931
10931
|
};
|
|
10932
10932
|
}
|
|
10933
10933
|
|
|
10934
|
-
// node_modules/zod/v4/locales/fa.js
|
|
10934
|
+
// ../../node_modules/zod/v4/locales/fa.js
|
|
10935
10935
|
var error15 = () => {
|
|
10936
10936
|
const Sizable = {
|
|
10937
10937
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -11051,7 +11051,7 @@ function fa_default() {
|
|
|
11051
11051
|
};
|
|
11052
11052
|
}
|
|
11053
11053
|
|
|
11054
|
-
// node_modules/zod/v4/locales/fi.js
|
|
11054
|
+
// ../../node_modules/zod/v4/locales/fi.js
|
|
11055
11055
|
var error16 = () => {
|
|
11056
11056
|
const Sizable = {
|
|
11057
11057
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -11169,7 +11169,7 @@ function fi_default() {
|
|
|
11169
11169
|
};
|
|
11170
11170
|
}
|
|
11171
11171
|
|
|
11172
|
-
// node_modules/zod/v4/locales/fr.js
|
|
11172
|
+
// ../../node_modules/zod/v4/locales/fr.js
|
|
11173
11173
|
var error17 = () => {
|
|
11174
11174
|
const Sizable = {
|
|
11175
11175
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -11299,7 +11299,7 @@ function fr_default() {
|
|
|
11299
11299
|
};
|
|
11300
11300
|
}
|
|
11301
11301
|
|
|
11302
|
-
// node_modules/zod/v4/locales/fr-CA.js
|
|
11302
|
+
// ../../node_modules/zod/v4/locales/fr-CA.js
|
|
11303
11303
|
var error18 = () => {
|
|
11304
11304
|
const Sizable = {
|
|
11305
11305
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -11412,7 +11412,7 @@ function fr_CA_default() {
|
|
|
11412
11412
|
};
|
|
11413
11413
|
}
|
|
11414
11414
|
|
|
11415
|
-
// node_modules/zod/v4/locales/gu.js
|
|
11415
|
+
// ../../node_modules/zod/v4/locales/gu.js
|
|
11416
11416
|
var error19 = () => {
|
|
11417
11417
|
const Sizable = {
|
|
11418
11418
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -11526,7 +11526,7 @@ function gu_default() {
|
|
|
11526
11526
|
};
|
|
11527
11527
|
}
|
|
11528
11528
|
|
|
11529
|
-
// node_modules/zod/v4/locales/he.js
|
|
11529
|
+
// ../../node_modules/zod/v4/locales/he.js
|
|
11530
11530
|
var error20 = () => {
|
|
11531
11531
|
const TypeNames = {
|
|
11532
11532
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -11728,7 +11728,7 @@ function he_default() {
|
|
|
11728
11728
|
};
|
|
11729
11729
|
}
|
|
11730
11730
|
|
|
11731
|
-
// node_modules/zod/v4/locales/hi.js
|
|
11731
|
+
// ../../node_modules/zod/v4/locales/hi.js
|
|
11732
11732
|
var error21 = () => {
|
|
11733
11733
|
const Sizable = {
|
|
11734
11734
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -11840,7 +11840,7 @@ function hi_default() {
|
|
|
11840
11840
|
};
|
|
11841
11841
|
}
|
|
11842
11842
|
|
|
11843
|
-
// node_modules/zod/v4/locales/hr.js
|
|
11843
|
+
// ../../node_modules/zod/v4/locales/hr.js
|
|
11844
11844
|
var error22 = () => {
|
|
11845
11845
|
const Sizable = {
|
|
11846
11846
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -11967,7 +11967,7 @@ function hr_default() {
|
|
|
11967
11967
|
};
|
|
11968
11968
|
}
|
|
11969
11969
|
|
|
11970
|
-
// node_modules/zod/v4/locales/hu.js
|
|
11970
|
+
// ../../node_modules/zod/v4/locales/hu.js
|
|
11971
11971
|
var error23 = () => {
|
|
11972
11972
|
const Sizable = {
|
|
11973
11973
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -12081,7 +12081,7 @@ function hu_default() {
|
|
|
12081
12081
|
};
|
|
12082
12082
|
}
|
|
12083
12083
|
|
|
12084
|
-
// node_modules/zod/v4/locales/hy.js
|
|
12084
|
+
// ../../node_modules/zod/v4/locales/hy.js
|
|
12085
12085
|
function getArmenianPlural(count, one, many) {
|
|
12086
12086
|
return Math.abs(count) === 1 ? one : many;
|
|
12087
12087
|
}
|
|
@@ -12240,7 +12240,7 @@ function hy_default() {
|
|
|
12240
12240
|
};
|
|
12241
12241
|
}
|
|
12242
12242
|
|
|
12243
|
-
// node_modules/zod/v4/locales/id.js
|
|
12243
|
+
// ../../node_modules/zod/v4/locales/id.js
|
|
12244
12244
|
var error25 = () => {
|
|
12245
12245
|
const Sizable = {
|
|
12246
12246
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -12352,7 +12352,7 @@ function id_default() {
|
|
|
12352
12352
|
};
|
|
12353
12353
|
}
|
|
12354
12354
|
|
|
12355
|
-
// node_modules/zod/v4/locales/is.js
|
|
12355
|
+
// ../../node_modules/zod/v4/locales/is.js
|
|
12356
12356
|
var error26 = () => {
|
|
12357
12357
|
const Sizable = {
|
|
12358
12358
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -12467,7 +12467,7 @@ function is_default() {
|
|
|
12467
12467
|
};
|
|
12468
12468
|
}
|
|
12469
12469
|
|
|
12470
|
-
// node_modules/zod/v4/locales/it.js
|
|
12470
|
+
// ../../node_modules/zod/v4/locales/it.js
|
|
12471
12471
|
var error27 = () => {
|
|
12472
12472
|
const Sizable = {
|
|
12473
12473
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -12581,7 +12581,7 @@ function it_default() {
|
|
|
12581
12581
|
};
|
|
12582
12582
|
}
|
|
12583
12583
|
|
|
12584
|
-
// node_modules/zod/v4/locales/ja.js
|
|
12584
|
+
// ../../node_modules/zod/v4/locales/ja.js
|
|
12585
12585
|
var error28 = () => {
|
|
12586
12586
|
const Sizable = {
|
|
12587
12587
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -12694,7 +12694,7 @@ function ja_default() {
|
|
|
12694
12694
|
};
|
|
12695
12695
|
}
|
|
12696
12696
|
|
|
12697
|
-
// node_modules/zod/v4/locales/ka.js
|
|
12697
|
+
// ../../node_modules/zod/v4/locales/ka.js
|
|
12698
12698
|
var error29 = () => {
|
|
12699
12699
|
const Sizable = {
|
|
12700
12700
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -12812,7 +12812,7 @@ function ka_default() {
|
|
|
12812
12812
|
};
|
|
12813
12813
|
}
|
|
12814
12814
|
|
|
12815
|
-
// node_modules/zod/v4/locales/km.js
|
|
12815
|
+
// ../../node_modules/zod/v4/locales/km.js
|
|
12816
12816
|
var error30 = () => {
|
|
12817
12817
|
const Sizable = {
|
|
12818
12818
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -12928,12 +12928,12 @@ function km_default() {
|
|
|
12928
12928
|
};
|
|
12929
12929
|
}
|
|
12930
12930
|
|
|
12931
|
-
// node_modules/zod/v4/locales/kh.js
|
|
12931
|
+
// ../../node_modules/zod/v4/locales/kh.js
|
|
12932
12932
|
function kh_default() {
|
|
12933
12933
|
return km_default();
|
|
12934
12934
|
}
|
|
12935
12935
|
|
|
12936
|
-
// node_modules/zod/v4/locales/kn.js
|
|
12936
|
+
// ../../node_modules/zod/v4/locales/kn.js
|
|
12937
12937
|
var error31 = () => {
|
|
12938
12938
|
const Sizable = {
|
|
12939
12939
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -13049,7 +13049,7 @@ function kn_default() {
|
|
|
13049
13049
|
};
|
|
13050
13050
|
}
|
|
13051
13051
|
|
|
13052
|
-
// node_modules/zod/v4/locales/ko.js
|
|
13052
|
+
// ../../node_modules/zod/v4/locales/ko.js
|
|
13053
13053
|
var error32 = () => {
|
|
13054
13054
|
const Sizable = {
|
|
13055
13055
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -13166,7 +13166,7 @@ function ko_default() {
|
|
|
13166
13166
|
};
|
|
13167
13167
|
}
|
|
13168
13168
|
|
|
13169
|
-
// node_modules/zod/v4/locales/lt.js
|
|
13169
|
+
// ../../node_modules/zod/v4/locales/lt.js
|
|
13170
13170
|
var capitalizeFirstCharacter = (text2) => {
|
|
13171
13171
|
return text2.charAt(0).toUpperCase() + text2.slice(1);
|
|
13172
13172
|
};
|
|
@@ -13374,7 +13374,7 @@ function lt_default() {
|
|
|
13374
13374
|
};
|
|
13375
13375
|
}
|
|
13376
13376
|
|
|
13377
|
-
// node_modules/zod/v4/locales/mk.js
|
|
13377
|
+
// ../../node_modules/zod/v4/locales/mk.js
|
|
13378
13378
|
var error34 = () => {
|
|
13379
13379
|
const Sizable = {
|
|
13380
13380
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -13489,7 +13489,7 @@ function mk_default() {
|
|
|
13489
13489
|
};
|
|
13490
13490
|
}
|
|
13491
13491
|
|
|
13492
|
-
// node_modules/zod/v4/locales/ms.js
|
|
13492
|
+
// ../../node_modules/zod/v4/locales/ms.js
|
|
13493
13493
|
var error35 = () => {
|
|
13494
13494
|
const Sizable = {
|
|
13495
13495
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -13602,7 +13602,7 @@ function ms_default() {
|
|
|
13602
13602
|
};
|
|
13603
13603
|
}
|
|
13604
13604
|
|
|
13605
|
-
// node_modules/zod/v4/locales/ne.js
|
|
13605
|
+
// ../../node_modules/zod/v4/locales/ne.js
|
|
13606
13606
|
var error36 = () => {
|
|
13607
13607
|
const Sizable = {
|
|
13608
13608
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -13714,7 +13714,7 @@ function ne_default() {
|
|
|
13714
13714
|
};
|
|
13715
13715
|
}
|
|
13716
13716
|
|
|
13717
|
-
// node_modules/zod/v4/locales/nl.js
|
|
13717
|
+
// ../../node_modules/zod/v4/locales/nl.js
|
|
13718
13718
|
var error37 = () => {
|
|
13719
13719
|
const Sizable = {
|
|
13720
13720
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -13830,7 +13830,7 @@ function nl_default() {
|
|
|
13830
13830
|
};
|
|
13831
13831
|
}
|
|
13832
13832
|
|
|
13833
|
-
// node_modules/zod/v4/locales/nn.js
|
|
13833
|
+
// ../../node_modules/zod/v4/locales/nn.js
|
|
13834
13834
|
var error38 = () => {
|
|
13835
13835
|
const Sizable = {
|
|
13836
13836
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -13944,7 +13944,7 @@ function nn_default() {
|
|
|
13944
13944
|
};
|
|
13945
13945
|
}
|
|
13946
13946
|
|
|
13947
|
-
// node_modules/zod/v4/locales/no.js
|
|
13947
|
+
// ../../node_modules/zod/v4/locales/no.js
|
|
13948
13948
|
var error39 = () => {
|
|
13949
13949
|
const Sizable = {
|
|
13950
13950
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -14058,7 +14058,7 @@ function no_default() {
|
|
|
14058
14058
|
};
|
|
14059
14059
|
}
|
|
14060
14060
|
|
|
14061
|
-
// node_modules/zod/v4/locales/ota.js
|
|
14061
|
+
// ../../node_modules/zod/v4/locales/ota.js
|
|
14062
14062
|
var error40 = () => {
|
|
14063
14063
|
const Sizable = {
|
|
14064
14064
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -14173,7 +14173,7 @@ function ota_default() {
|
|
|
14173
14173
|
};
|
|
14174
14174
|
}
|
|
14175
14175
|
|
|
14176
|
-
// node_modules/zod/v4/locales/ps.js
|
|
14176
|
+
// ../../node_modules/zod/v4/locales/ps.js
|
|
14177
14177
|
var error41 = () => {
|
|
14178
14178
|
const Sizable = {
|
|
14179
14179
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -14293,7 +14293,7 @@ function ps_default() {
|
|
|
14293
14293
|
};
|
|
14294
14294
|
}
|
|
14295
14295
|
|
|
14296
|
-
// node_modules/zod/v4/locales/pl.js
|
|
14296
|
+
// ../../node_modules/zod/v4/locales/pl.js
|
|
14297
14297
|
var error42 = () => {
|
|
14298
14298
|
const Sizable = {
|
|
14299
14299
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -14408,7 +14408,7 @@ function pl_default() {
|
|
|
14408
14408
|
};
|
|
14409
14409
|
}
|
|
14410
14410
|
|
|
14411
|
-
// node_modules/zod/v4/locales/pt.js
|
|
14411
|
+
// ../../node_modules/zod/v4/locales/pt.js
|
|
14412
14412
|
var error43 = () => {
|
|
14413
14413
|
const Sizable = {
|
|
14414
14414
|
string: { unit: "caracteres" },
|
|
@@ -14552,7 +14552,7 @@ function pt_default() {
|
|
|
14552
14552
|
};
|
|
14553
14553
|
}
|
|
14554
14554
|
|
|
14555
|
-
// node_modules/zod/v4/locales/pt-BR.js
|
|
14555
|
+
// ../../node_modules/zod/v4/locales/pt-BR.js
|
|
14556
14556
|
var error44 = () => {
|
|
14557
14557
|
const Sizable = {
|
|
14558
14558
|
string: { unit: "caracteres" },
|
|
@@ -14697,7 +14697,7 @@ function pt_BR_default() {
|
|
|
14697
14697
|
};
|
|
14698
14698
|
}
|
|
14699
14699
|
|
|
14700
|
-
// node_modules/zod/v4/locales/ro.js
|
|
14700
|
+
// ../../node_modules/zod/v4/locales/ro.js
|
|
14701
14701
|
var error45 = () => {
|
|
14702
14702
|
const Sizable = {
|
|
14703
14703
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -14820,7 +14820,7 @@ function ro_default() {
|
|
|
14820
14820
|
};
|
|
14821
14821
|
}
|
|
14822
14822
|
|
|
14823
|
-
// node_modules/zod/v4/locales/ru.js
|
|
14823
|
+
// ../../node_modules/zod/v4/locales/ru.js
|
|
14824
14824
|
function getRussianPlural(count, one, few, many) {
|
|
14825
14825
|
const absCount = Math.abs(count);
|
|
14826
14826
|
const lastDigit = absCount % 10;
|
|
@@ -14989,7 +14989,7 @@ function ru_default() {
|
|
|
14989
14989
|
};
|
|
14990
14990
|
}
|
|
14991
14991
|
|
|
14992
|
-
// node_modules/zod/v4/locales/sk.js
|
|
14992
|
+
// ../../node_modules/zod/v4/locales/sk.js
|
|
14993
14993
|
var error47 = () => {
|
|
14994
14994
|
const Sizable = {
|
|
14995
14995
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -15106,7 +15106,7 @@ function sk_default() {
|
|
|
15106
15106
|
};
|
|
15107
15107
|
}
|
|
15108
15108
|
|
|
15109
|
-
// node_modules/zod/v4/locales/sl.js
|
|
15109
|
+
// ../../node_modules/zod/v4/locales/sl.js
|
|
15110
15110
|
var error48 = () => {
|
|
15111
15111
|
const Sizable = {
|
|
15112
15112
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -15221,7 +15221,7 @@ function sl_default() {
|
|
|
15221
15221
|
};
|
|
15222
15222
|
}
|
|
15223
15223
|
|
|
15224
|
-
// node_modules/zod/v4/locales/sv.js
|
|
15224
|
+
// ../../node_modules/zod/v4/locales/sv.js
|
|
15225
15225
|
var error49 = () => {
|
|
15226
15226
|
const Sizable = {
|
|
15227
15227
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -15337,7 +15337,7 @@ function sv_default() {
|
|
|
15337
15337
|
};
|
|
15338
15338
|
}
|
|
15339
15339
|
|
|
15340
|
-
// node_modules/zod/v4/locales/ta.js
|
|
15340
|
+
// ../../node_modules/zod/v4/locales/ta.js
|
|
15341
15341
|
var error50 = () => {
|
|
15342
15342
|
const Sizable = {
|
|
15343
15343
|
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" },
|
|
@@ -15453,7 +15453,7 @@ function ta_default() {
|
|
|
15453
15453
|
};
|
|
15454
15454
|
}
|
|
15455
15455
|
|
|
15456
|
-
// node_modules/zod/v4/locales/tg.js
|
|
15456
|
+
// ../../node_modules/zod/v4/locales/tg.js
|
|
15457
15457
|
var error51 = () => {
|
|
15458
15458
|
const Sizable = {
|
|
15459
15459
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -15570,7 +15570,7 @@ function tg_default() {
|
|
|
15570
15570
|
};
|
|
15571
15571
|
}
|
|
15572
15572
|
|
|
15573
|
-
// node_modules/zod/v4/locales/th.js
|
|
15573
|
+
// ../../node_modules/zod/v4/locales/th.js
|
|
15574
15574
|
var error52 = () => {
|
|
15575
15575
|
const Sizable = {
|
|
15576
15576
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -15686,7 +15686,7 @@ function th_default() {
|
|
|
15686
15686
|
};
|
|
15687
15687
|
}
|
|
15688
15688
|
|
|
15689
|
-
// node_modules/zod/v4/locales/tk.js
|
|
15689
|
+
// ../../node_modules/zod/v4/locales/tk.js
|
|
15690
15690
|
var error53 = () => {
|
|
15691
15691
|
const Sizable = {
|
|
15692
15692
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -15794,7 +15794,7 @@ function tk_default() {
|
|
|
15794
15794
|
};
|
|
15795
15795
|
}
|
|
15796
15796
|
|
|
15797
|
-
// node_modules/zod/v4/locales/tr.js
|
|
15797
|
+
// ../../node_modules/zod/v4/locales/tr.js
|
|
15798
15798
|
var error54 = () => {
|
|
15799
15799
|
const Sizable = {
|
|
15800
15800
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -15905,7 +15905,7 @@ function tr_default() {
|
|
|
15905
15905
|
};
|
|
15906
15906
|
}
|
|
15907
15907
|
|
|
15908
|
-
// node_modules/zod/v4/locales/uk.js
|
|
15908
|
+
// ../../node_modules/zod/v4/locales/uk.js
|
|
15909
15909
|
var error55 = () => {
|
|
15910
15910
|
const Sizable = {
|
|
15911
15911
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -16019,12 +16019,12 @@ function uk_default() {
|
|
|
16019
16019
|
};
|
|
16020
16020
|
}
|
|
16021
16021
|
|
|
16022
|
-
// node_modules/zod/v4/locales/ua.js
|
|
16022
|
+
// ../../node_modules/zod/v4/locales/ua.js
|
|
16023
16023
|
function ua_default() {
|
|
16024
16024
|
return uk_default();
|
|
16025
16025
|
}
|
|
16026
16026
|
|
|
16027
|
-
// node_modules/zod/v4/locales/ur.js
|
|
16027
|
+
// ../../node_modules/zod/v4/locales/ur.js
|
|
16028
16028
|
var error56 = () => {
|
|
16029
16029
|
const Sizable = {
|
|
16030
16030
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -16140,7 +16140,7 @@ function ur_default() {
|
|
|
16140
16140
|
};
|
|
16141
16141
|
}
|
|
16142
16142
|
|
|
16143
|
-
// node_modules/zod/v4/locales/uz.js
|
|
16143
|
+
// ../../node_modules/zod/v4/locales/uz.js
|
|
16144
16144
|
var error57 = () => {
|
|
16145
16145
|
const Sizable = {
|
|
16146
16146
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -16254,7 +16254,7 @@ function uz_default() {
|
|
|
16254
16254
|
};
|
|
16255
16255
|
}
|
|
16256
16256
|
|
|
16257
|
-
// node_modules/zod/v4/locales/vi.js
|
|
16257
|
+
// ../../node_modules/zod/v4/locales/vi.js
|
|
16258
16258
|
var error58 = () => {
|
|
16259
16259
|
const Sizable = {
|
|
16260
16260
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -16368,7 +16368,7 @@ function vi_default() {
|
|
|
16368
16368
|
};
|
|
16369
16369
|
}
|
|
16370
16370
|
|
|
16371
|
-
// node_modules/zod/v4/locales/zh-CN.js
|
|
16371
|
+
// ../../node_modules/zod/v4/locales/zh-CN.js
|
|
16372
16372
|
var error59 = () => {
|
|
16373
16373
|
const Sizable = {
|
|
16374
16374
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -16483,7 +16483,7 @@ function zh_CN_default() {
|
|
|
16483
16483
|
};
|
|
16484
16484
|
}
|
|
16485
16485
|
|
|
16486
|
-
// node_modules/zod/v4/locales/zh-TW.js
|
|
16486
|
+
// ../../node_modules/zod/v4/locales/zh-TW.js
|
|
16487
16487
|
var error60 = () => {
|
|
16488
16488
|
const Sizable = {
|
|
16489
16489
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -16596,7 +16596,7 @@ function zh_TW_default() {
|
|
|
16596
16596
|
};
|
|
16597
16597
|
}
|
|
16598
16598
|
|
|
16599
|
-
// node_modules/zod/v4/locales/yo.js
|
|
16599
|
+
// ../../node_modules/zod/v4/locales/yo.js
|
|
16600
16600
|
var error61 = () => {
|
|
16601
16601
|
const Sizable = {
|
|
16602
16602
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -16709,7 +16709,7 @@ function yo_default() {
|
|
|
16709
16709
|
};
|
|
16710
16710
|
}
|
|
16711
16711
|
|
|
16712
|
-
// node_modules/zod/v4/core/registries.js
|
|
16712
|
+
// ../../node_modules/zod/v4/core/registries.js
|
|
16713
16713
|
var _a2;
|
|
16714
16714
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
16715
16715
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -16759,7 +16759,7 @@ function registry() {
|
|
|
16759
16759
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
16760
16760
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
16761
16761
|
|
|
16762
|
-
// node_modules/zod/v4/core/compile.js
|
|
16762
|
+
// ../../node_modules/zod/v4/core/compile.js
|
|
16763
16763
|
var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
16764
16764
|
var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
16765
16765
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -18361,7 +18361,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
18361
18361
|
return accessor;
|
|
18362
18362
|
}
|
|
18363
18363
|
|
|
18364
|
-
// node_modules/zod/v4/core/api.js
|
|
18364
|
+
// ../../node_modules/zod/v4/core/api.js
|
|
18365
18365
|
function snapshotChecks(def) {
|
|
18366
18366
|
if (def.checks)
|
|
18367
18367
|
def.checks = [...def.checks];
|
|
@@ -19420,7 +19420,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
19420
19420
|
return inst;
|
|
19421
19421
|
}
|
|
19422
19422
|
|
|
19423
|
-
// node_modules/zod/v4/core/to-json-schema.js
|
|
19423
|
+
// ../../node_modules/zod/v4/core/to-json-schema.js
|
|
19424
19424
|
function assignProps(target, ...sources) {
|
|
19425
19425
|
for (const source of sources) {
|
|
19426
19426
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -19950,7 +19950,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
19950
19950
|
return finalize(ctx, schema);
|
|
19951
19951
|
};
|
|
19952
19952
|
|
|
19953
|
-
// node_modules/zod/v4/core/json-schema-processors.js
|
|
19953
|
+
// ../../node_modules/zod/v4/core/json-schema-processors.js
|
|
19954
19954
|
var narrowMin = (agg, key, value) => {
|
|
19955
19955
|
if (agg[key] === void 0 || value > agg[key])
|
|
19956
19956
|
agg[key] = value;
|
|
@@ -20698,7 +20698,7 @@ function toJSONSchema(input2, params) {
|
|
|
20698
20698
|
return finalize(ctx, input2);
|
|
20699
20699
|
}
|
|
20700
20700
|
|
|
20701
|
-
// node_modules/zod/v4/core/json-schema-generator.js
|
|
20701
|
+
// ../../node_modules/zod/v4/core/json-schema-generator.js
|
|
20702
20702
|
var JSONSchemaGenerator = class {
|
|
20703
20703
|
/** @deprecated Access via ctx instead */
|
|
20704
20704
|
get metadataRegistry() {
|
|
@@ -20776,10 +20776,10 @@ var JSONSchemaGenerator = class {
|
|
|
20776
20776
|
}
|
|
20777
20777
|
};
|
|
20778
20778
|
|
|
20779
|
-
// node_modules/zod/v4/core/json-schema.js
|
|
20779
|
+
// ../../node_modules/zod/v4/core/json-schema.js
|
|
20780
20780
|
var json_schema_exports = {};
|
|
20781
20781
|
|
|
20782
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
20782
|
+
// ../../node_modules/zod/v4/classic/schemas.js
|
|
20783
20783
|
var schemas_exports2 = {};
|
|
20784
20784
|
__export(schemas_exports2, {
|
|
20785
20785
|
ZodAny: () => ZodAny,
|
|
@@ -20960,7 +20960,7 @@ __export(schemas_exports2, {
|
|
|
20960
20960
|
xor: () => xor
|
|
20961
20961
|
});
|
|
20962
20962
|
|
|
20963
|
-
// node_modules/zod/v4/classic/checks.js
|
|
20963
|
+
// ../../node_modules/zod/v4/classic/checks.js
|
|
20964
20964
|
var checks_exports2 = {};
|
|
20965
20965
|
__export(checks_exports2, {
|
|
20966
20966
|
endsWith: () => _endsWith,
|
|
@@ -20995,7 +20995,7 @@ __export(checks_exports2, {
|
|
|
20995
20995
|
uppercase: () => _uppercase
|
|
20996
20996
|
});
|
|
20997
20997
|
|
|
20998
|
-
// node_modules/zod/v4/classic/errors.js
|
|
20998
|
+
// ../../node_modules/zod/v4/classic/errors.js
|
|
20999
20999
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
21000
21000
|
function _lazyMethod(proto, key, make) {
|
|
21001
21001
|
Object.defineProperty(proto, key, {
|
|
@@ -21041,7 +21041,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
21041
21041
|
Parent: Error
|
|
21042
21042
|
});
|
|
21043
21043
|
|
|
21044
|
-
// node_modules/zod/v4/classic/parse.js
|
|
21044
|
+
// ../../node_modules/zod/v4/classic/parse.js
|
|
21045
21045
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
21046
21046
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
21047
21047
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -21055,7 +21055,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
21055
21055
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
21056
21056
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
21057
21057
|
|
|
21058
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
21058
|
+
// ../../node_modules/zod/v4/classic/schemas.js
|
|
21059
21059
|
function _ensureDefaultLocale() {
|
|
21060
21060
|
if (!globalConfig.localeError)
|
|
21061
21061
|
config(en_default());
|
|
@@ -22520,7 +22520,7 @@ function preprocess(fn, schema) {
|
|
|
22520
22520
|
});
|
|
22521
22521
|
}
|
|
22522
22522
|
|
|
22523
|
-
// node_modules/zod/v4/classic/compat.js
|
|
22523
|
+
// ../../node_modules/zod/v4/classic/compat.js
|
|
22524
22524
|
var ZodIssueCode = {
|
|
22525
22525
|
invalid_type: "invalid_type",
|
|
22526
22526
|
too_big: "too_big",
|
|
@@ -22546,7 +22546,7 @@ var ZodFirstPartyTypeKind;
|
|
|
22546
22546
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
22547
22547
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
22548
22548
|
|
|
22549
|
-
// node_modules/zod/v4/classic/iso.js
|
|
22549
|
+
// ../../node_modules/zod/v4/classic/iso.js
|
|
22550
22550
|
var iso_exports = {};
|
|
22551
22551
|
__export(iso_exports, {
|
|
22552
22552
|
ZodISODate: () => ZodISODate,
|
|
@@ -22571,7 +22571,7 @@ function duration2(params) {
|
|
|
22571
22571
|
return _isoDuration(ZodISODuration, params);
|
|
22572
22572
|
}
|
|
22573
22573
|
|
|
22574
|
-
// node_modules/zod/v4/classic/from-json-schema.js
|
|
22574
|
+
// ../../node_modules/zod/v4/classic/from-json-schema.js
|
|
22575
22575
|
var z = {
|
|
22576
22576
|
...schemas_exports2,
|
|
22577
22577
|
...checks_exports2,
|
|
@@ -23304,7 +23304,7 @@ function fromJSONSchema(schema, params) {
|
|
|
23304
23304
|
return convertSchema(normalized, ctx);
|
|
23305
23305
|
}
|
|
23306
23306
|
|
|
23307
|
-
// node_modules/zod/v4/core/visit.js
|
|
23307
|
+
// ../../node_modules/zod/v4/core/visit.js
|
|
23308
23308
|
var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
|
|
23309
23309
|
function visit(schema, fnOrHandlers) {
|
|
23310
23310
|
const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
|
|
@@ -23459,7 +23459,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
23459
23459
|
return run(schema);
|
|
23460
23460
|
}
|
|
23461
23461
|
|
|
23462
|
-
// node_modules/zod/v4/classic/deep-partial.js
|
|
23462
|
+
// ../../node_modules/zod/v4/classic/deep-partial.js
|
|
23463
23463
|
function deepPartial(schema) {
|
|
23464
23464
|
return visit(schema, {
|
|
23465
23465
|
object: (s) => s.partial(),
|
|
@@ -23471,7 +23471,7 @@ function deepPartial(schema) {
|
|
|
23471
23471
|
});
|
|
23472
23472
|
}
|
|
23473
23473
|
|
|
23474
|
-
// node_modules/zod/v4/classic/in-out.js
|
|
23474
|
+
// ../../node_modules/zod/v4/classic/in-out.js
|
|
23475
23475
|
function withChecks(side, checks) {
|
|
23476
23476
|
if (!checks?.length)
|
|
23477
23477
|
return side;
|
|
@@ -23501,7 +23501,7 @@ function output(schema) {
|
|
|
23501
23501
|
});
|
|
23502
23502
|
}
|
|
23503
23503
|
|
|
23504
|
-
// node_modules/zod/v4/classic/coerce.js
|
|
23504
|
+
// ../../node_modules/zod/v4/classic/coerce.js
|
|
23505
23505
|
var coerce_exports = {};
|
|
23506
23506
|
__export(coerce_exports, {
|
|
23507
23507
|
bigint: () => bigint3,
|
|
@@ -23529,7 +23529,7 @@ function date4(params) {
|
|
|
23529
23529
|
// agent/src/guard-evidence.ts
|
|
23530
23530
|
import { createHash as createHash2, createPublicKey as createPublicKey2, KeyObject } from "node:crypto";
|
|
23531
23531
|
|
|
23532
|
-
// node_modules/jose/dist/webapi/lib/buffer_utils.js
|
|
23532
|
+
// ../../node_modules/jose/dist/webapi/lib/buffer_utils.js
|
|
23533
23533
|
var encoder = new TextEncoder();
|
|
23534
23534
|
var decoder = new TextDecoder();
|
|
23535
23535
|
var strictDecoder = new TextDecoder("utf-8", { fatal: true });
|
|
@@ -23580,7 +23580,7 @@ function decodeBase64(encoded, url2 = false) {
|
|
|
23580
23580
|
return bytes3;
|
|
23581
23581
|
}
|
|
23582
23582
|
|
|
23583
|
-
// node_modules/jose/dist/webapi/util/errors.js
|
|
23583
|
+
// ../../node_modules/jose/dist/webapi/util/errors.js
|
|
23584
23584
|
var JOSEError = class extends Error {
|
|
23585
23585
|
static code = "ERR_JOSE_GENERIC";
|
|
23586
23586
|
code = "ERR_JOSE_GENERIC";
|
|
@@ -23608,7 +23608,7 @@ var JWSSignatureVerificationFailed = class extends JOSEError {
|
|
|
23608
23608
|
}
|
|
23609
23609
|
};
|
|
23610
23610
|
|
|
23611
|
-
// node_modules/jose/dist/webapi/util/base64url.js
|
|
23611
|
+
// ../../node_modules/jose/dist/webapi/util/base64url.js
|
|
23612
23612
|
var invalid = "The input to be decoded is not correctly encoded.";
|
|
23613
23613
|
function decode3(input2) {
|
|
23614
23614
|
try {
|
|
@@ -23621,7 +23621,7 @@ function encode4(input2) {
|
|
|
23621
23621
|
return encodeBase64(typeof input2 == "string" ? encoder.encode(input2) : input2, true);
|
|
23622
23622
|
}
|
|
23623
23623
|
|
|
23624
|
-
// node_modules/jose/dist/webapi/lib/validate.js
|
|
23624
|
+
// ../../node_modules/jose/dist/webapi/lib/validate.js
|
|
23625
23625
|
function assertUint8Array(input2, label) {
|
|
23626
23626
|
if (!(input2 instanceof Uint8Array))
|
|
23627
23627
|
throw new TypeError(`${label} must be an instance of Uint8Array`);
|
|
@@ -23722,7 +23722,7 @@ function serializeJoseHeader(Err, header) {
|
|
|
23722
23722
|
return [parsed, serialized];
|
|
23723
23723
|
}
|
|
23724
23724
|
|
|
23725
|
-
// node_modules/jose/dist/webapi/lib/key.js
|
|
23725
|
+
// ../../node_modules/jose/dist/webapi/lib/key.js
|
|
23726
23726
|
var tag = (key) => key[Symbol.toStringTag];
|
|
23727
23727
|
var jwkMatchesOp = (entry, key, usage) => {
|
|
23728
23728
|
const { alg } = entry;
|
|
@@ -23853,7 +23853,7 @@ async function rawKey(key, expected, usage, extractable = false) {
|
|
|
23853
23853
|
return key instanceof Uint8Array && (key = await crypto.subtle.importKey("raw", key, expected, extractable, [usage])), checkCryptoKey(key, expected, usage), key;
|
|
23854
23854
|
}
|
|
23855
23855
|
|
|
23856
|
-
// node_modules/jose/dist/webapi/lib/key_descriptor.js
|
|
23856
|
+
// ../../node_modules/jose/dist/webapi/lib/key_descriptor.js
|
|
23857
23857
|
function table(entries) {
|
|
23858
23858
|
const out = { __proto__: null };
|
|
23859
23859
|
for (const alg in entries)
|
|
@@ -23861,7 +23861,7 @@ function table(entries) {
|
|
|
23861
23861
|
return out;
|
|
23862
23862
|
}
|
|
23863
23863
|
|
|
23864
|
-
// node_modules/jose/dist/webapi/lib/jws_algorithms.js
|
|
23864
|
+
// ../../node_modules/jose/dist/webapi/lib/jws_algorithms.js
|
|
23865
23865
|
var sig = [["verify"], ["sign"]];
|
|
23866
23866
|
function hmac(bits) {
|
|
23867
23867
|
const subtle = { name: "HMAC", hash: `SHA-${bits}` };
|
|
@@ -23931,7 +23931,7 @@ function jwsAlgorithm(alg) {
|
|
|
23931
23931
|
return entry;
|
|
23932
23932
|
}
|
|
23933
23933
|
|
|
23934
|
-
// node_modules/jose/dist/webapi/lib/jws_verify.js
|
|
23934
|
+
// ../../node_modules/jose/dist/webapi/lib/jws_verify.js
|
|
23935
23935
|
function prepareVerify(options) {
|
|
23936
23936
|
return [options && validateAlgorithms("algorithms", options.algorithms), options?.crit];
|
|
23937
23937
|
}
|
|
@@ -23983,13 +23983,13 @@ async function verifyCompact(jws, shared, key) {
|
|
|
23983
23983
|
return verifySignature({ payload, protected: protectedHeader, signature }, shared, key, encodeCompactUnencodedPayload);
|
|
23984
23984
|
}
|
|
23985
23985
|
|
|
23986
|
-
// node_modules/jose/dist/webapi/jws/compact/verify.js
|
|
23986
|
+
// ../../node_modules/jose/dist/webapi/jws/compact/verify.js
|
|
23987
23987
|
async function compactVerify(jws, key, options) {
|
|
23988
23988
|
const [result2] = await verifyCompact(jws, prepareVerify(options), key);
|
|
23989
23989
|
return result2;
|
|
23990
23990
|
}
|
|
23991
23991
|
|
|
23992
|
-
// node_modules/jose/dist/webapi/lib/jws_sign.js
|
|
23992
|
+
// ../../node_modules/jose/dist/webapi/lib/jws_sign.js
|
|
23993
23993
|
async function createSignature(input2, key, rejectUnencoded) {
|
|
23994
23994
|
let [payload, protectedHeader, unprotectedHeader, crit] = input2, protectedHeaderString = "";
|
|
23995
23995
|
if (protectedHeader !== void 0) {
|
|
@@ -24027,7 +24027,7 @@ async function createCompactSignature(payload, protectedHeader, crit, key, rejec
|
|
|
24027
24027
|
return `${jws.protected}.${jws.payload}.${jws.signature}`;
|
|
24028
24028
|
}
|
|
24029
24029
|
|
|
24030
|
-
// node_modules/jose/dist/webapi/jws/compact/sign.js
|
|
24030
|
+
// ../../node_modules/jose/dist/webapi/jws/compact/sign.js
|
|
24031
24031
|
var CompactSign = class {
|
|
24032
24032
|
#payload;
|
|
24033
24033
|
#protectedHeader;
|
|
@@ -25752,9 +25752,23 @@ var WindowsPrivateStore = class _WindowsPrivateStore {
|
|
|
25752
25752
|
} catch (error62) {
|
|
25753
25753
|
if (error62.code !== "ENOENT") throw error62;
|
|
25754
25754
|
}
|
|
25755
|
-
const approved = /* @__PURE__ */ new Set([MARKER, "owner-state.dat", "owner-state.lock", "journal"]);
|
|
25755
|
+
const approved = /* @__PURE__ */ new Set([MARKER, "owner-state.dat", "owner-state.lock", "journal", "agent-process.json", "optimization"]);
|
|
25756
25756
|
if (names.length && !names.includes(MARKER)) throw fail("STORE_DIRECTORY_UNKNOWN");
|
|
25757
25757
|
if (names.some((name2) => !approved.has(name2))) throw fail("STORE_DIRECTORY_UNKNOWN");
|
|
25758
|
+
for (const name2 of ["agent-process.json", "optimization"]) {
|
|
25759
|
+
if (!names.includes(name2)) continue;
|
|
25760
|
+
const filename = path5.join(absolute2, name2), stat = await lstat3(filename);
|
|
25761
|
+
if (stat.isSymbolicLink() || (name2 === "optimization" ? !stat.isDirectory() : !stat.isFile() || stat.size < 1 || stat.size > 8192)) throw fail("STORE_DIRECTORY_INVALID");
|
|
25762
|
+
if (name2 === "agent-process.json") {
|
|
25763
|
+
let value;
|
|
25764
|
+
try {
|
|
25765
|
+
value = JSON.parse(await readFile2(filename, "utf8"));
|
|
25766
|
+
} catch {
|
|
25767
|
+
throw fail("STORE_DIRECTORY_INVALID");
|
|
25768
|
+
}
|
|
25769
|
+
if (!value || !Number.isSafeInteger(value.pid) || value.pid <= 0 || typeof value.runtimeDir !== "string" || !path5.isAbsolute(value.runtimeDir) || value.runtimeDir.length > 4096 || /[\u0000-\u001f]/.test(value.runtimeDir) || typeof value.version !== "string" || !/^[0-9]+\.[0-9]+\.[0-9]+(?:[-+][A-Za-z0-9.-]+)?$/.test(value.version) || typeof value.startedAt !== "string" || !Number.isFinite(Date.parse(value.startedAt))) throw fail("STORE_DIRECTORY_INVALID");
|
|
25770
|
+
}
|
|
25771
|
+
}
|
|
25758
25772
|
await _WindowsPrivateStore.invoke(bridge, "init-directory", { path: absolute2 }, 5e3, false);
|
|
25759
25773
|
const canonical2 = await realpath3(absolute2);
|
|
25760
25774
|
if (!equalPath2(absolute2, canonical2) || (await lstat3(canonical2)).isSymbolicLink()) throw fail("STORE_DIRECTORY_INVALID");
|
|
@@ -26944,7 +26958,7 @@ var NativeTools = class {
|
|
|
26944
26958
|
argv.push("--", relative);
|
|
26945
26959
|
} else argv.push("--stat");
|
|
26946
26960
|
} else fail2("TOOL_MISSING");
|
|
26947
|
-
const execution = common ? this.gitExecution(cwd, argv) : void 0;
|
|
26961
|
+
const execution = common ? await this.gitExecution(cwd, argv) : void 0;
|
|
26948
26962
|
const runGit = (signal, onStarted, onOutput) => runSupervised(this.options.helperPath, { ...execution, timeoutMs: 1e4, maxProcesses: 8 }, { signal, maxOutputBytes: 9e4, onStarted, onOutput });
|
|
26949
26963
|
return { call, claims, ...execution ? { execution } : {}, run: async (signal, onStarted, onOutput) => {
|
|
26950
26964
|
if (call.name === "project_snapshot") {
|
|
@@ -26972,10 +26986,20 @@ var NativeTools = class {
|
|
|
26972
26986
|
if (!entry || !workspace.allowedCommands.some((v) => v.toLowerCase() === entry[0].toLowerCase()) || !path9.isAbsolute(entry[1].executable)) fail2("COMMAND_NOT_ALLOWED");
|
|
26973
26987
|
return { executable: entry[1].executable, prefixArgs: [...entry[1].prefixArgs ?? []] };
|
|
26974
26988
|
}
|
|
26975
|
-
gitExecution(cwd, args) {
|
|
26976
|
-
const
|
|
26977
|
-
|
|
26978
|
-
|
|
26989
|
+
async gitExecution(cwd, args) {
|
|
26990
|
+
const configured = this.options.programs.git;
|
|
26991
|
+
const candidates = configured ? [configured.executable] : process.platform === "win32" ? [[process.env.ProgramFiles, "Git"], [process.env["ProgramFiles(x86)"], "Git"], [process.env.LOCALAPPDATA, "Programs/Git"]].filter(([root]) => root && path9.isAbsolute(root)).map(([root, suffix]) => path9.join(root, suffix, "cmd", "git.exe")) : [];
|
|
26992
|
+
for (const candidate of candidates) {
|
|
26993
|
+
if (!path9.isAbsolute(candidate)) continue;
|
|
26994
|
+
try {
|
|
26995
|
+
const stat = await lstat5(candidate);
|
|
26996
|
+
if (!stat.isFile() || stat.isSymbolicLink() || !equalPath3(candidate, await realpath5(candidate))) continue;
|
|
26997
|
+
} catch {
|
|
26998
|
+
continue;
|
|
26999
|
+
}
|
|
27000
|
+
return { executable: candidate, args: ["--no-pager", "--no-optional-locks", "-c", "core.fsmonitor=false", "-c", "core.hooksPath=" + (process.platform === "win32" ? "NUL" : "/dev/null"), "-c", "diff.external=", ...args], cwd };
|
|
27001
|
+
}
|
|
27002
|
+
fail2("GIT_NOT_INSTALLED");
|
|
26979
27003
|
}
|
|
26980
27004
|
async list(guard, root, depth, maxEntries, signal) {
|
|
26981
27005
|
const entries = [], queue = [{ path: root, level: 0 }];
|
|
@@ -27761,10 +27785,6 @@ var NativeRuntime = class {
|
|
|
27761
27785
|
}
|
|
27762
27786
|
async prepare(frame) {
|
|
27763
27787
|
const binding2 = frame.binding;
|
|
27764
|
-
if (this.paused || this.closing) {
|
|
27765
|
-
this.send({ type: "not_accepted", version: 1, binding: binding2, code: "AGENT_PAUSED", provedNotStarted: true });
|
|
27766
|
-
return;
|
|
27767
|
-
}
|
|
27768
27788
|
const existing = this.contexts.get(binding2.executionId);
|
|
27769
27789
|
if (existing) {
|
|
27770
27790
|
if (!sameBinding(existing.binding, binding2)) throw Error("IDEMPOTENCY_CONFLICT");
|
|
@@ -27772,15 +27792,15 @@ var NativeRuntime = class {
|
|
|
27772
27792
|
if (entry?.state === "prepared" && !existing.launched) this.send({ type: "prepared", version: 1, binding: binding2 });
|
|
27773
27793
|
return;
|
|
27774
27794
|
}
|
|
27775
|
-
|
|
27776
|
-
this.send({ type: "not_accepted", version: 1, binding: binding2, code: "RESOURCE_BUSY", provedNotStarted: true });
|
|
27777
|
-
return;
|
|
27778
|
-
}
|
|
27795
|
+
let preparedHere = false;
|
|
27779
27796
|
try {
|
|
27797
|
+
const stored = await this.options.journal.prepare({ executionId: binding2.executionId, operationId: binding2.operationId, sessionId: binding2.sessionId, tenantId: binding2.tenantId, grantId: binding2.grantId, deviceId: binding2.deviceId, connectionEpoch: binding2.connectionEpoch, workspaceGrantId: binding2.workspaceGrantId, policyVersion: binding2.policyVersion, payloadHash: binding2.payloadHash, deadlineAt: binding2.deadlineAt, ...binding2.accountId ? { accountId: binding2.accountId } : {} });
|
|
27798
|
+
preparedHere = stored.created;
|
|
27799
|
+
if (this.paused || this.closing) throw new NativeToolError("AGENT_PAUSED");
|
|
27800
|
+
if (this.contexts.size >= 256) throw new NativeToolError("RESOURCE_BUSY");
|
|
27780
27801
|
const workspace = (await this.options.workspaces()).find((w) => w.workspaceGrantId === binding2.workspaceGrantId && w.policyVersion === binding2.policyVersion);
|
|
27781
27802
|
if (!workspace) throw new NativeToolError("LOCAL_PERMISSION_REQUIRED");
|
|
27782
27803
|
const tool = await this.options.tools.prepare(workspace, frame.tool);
|
|
27783
|
-
const stored = await this.options.journal.prepare({ executionId: binding2.executionId, operationId: binding2.operationId, sessionId: binding2.sessionId, tenantId: binding2.tenantId, grantId: binding2.grantId, deviceId: binding2.deviceId, connectionEpoch: binding2.connectionEpoch, workspaceGrantId: binding2.workspaceGrantId, policyVersion: binding2.policyVersion, payloadHash: binding2.payloadHash, deadlineAt: binding2.deadlineAt, ...binding2.accountId ? { accountId: binding2.accountId } : {} });
|
|
27784
27804
|
if (!stored.created) {
|
|
27785
27805
|
if (!journalBinding(stored.entry, binding2)) throw Error("IDEMPOTENCY_CONFLICT");
|
|
27786
27806
|
if (stored.entry.result) {
|
|
@@ -27870,12 +27890,14 @@ var NativeRuntime = class {
|
|
|
27870
27890
|
if (!context.accepted) {
|
|
27871
27891
|
if (context.guardPermit) await this.options.guard.rejected(context.guardPermit, safeCode(error62)).catch(() => {
|
|
27872
27892
|
});
|
|
27893
|
+
let provedNotStarted = false;
|
|
27873
27894
|
try {
|
|
27874
27895
|
if (abort.signal.aborted) await this.options.journal.cancelPrepared(binding2.executionId);
|
|
27875
27896
|
else await this.options.journal.reject(binding2.executionId);
|
|
27897
|
+
provedNotStarted = true;
|
|
27876
27898
|
} catch {
|
|
27877
27899
|
}
|
|
27878
|
-
this.send({ type: "not_accepted", version: 1, binding: binding2, code: safeCode(error62), provedNotStarted
|
|
27900
|
+
this.send({ type: "not_accepted", version: 1, binding: binding2, code: safeCode(error62), provedNotStarted });
|
|
27879
27901
|
} else {
|
|
27880
27902
|
const isCommand = frame.tool.name === "command_run" || frame.tool.name.startsWith("git_") || frame.tool.name === "project_snapshot";
|
|
27881
27903
|
const uncertain = error62 instanceof Error && error62.message === "GUARD_EVIDENCE_FAILED" || isCommand && !(error62 instanceof NativeToolError);
|
|
@@ -27895,7 +27917,15 @@ var NativeRuntime = class {
|
|
|
27895
27917
|
});
|
|
27896
27918
|
this.options.onActivity?.();
|
|
27897
27919
|
} catch (error62) {
|
|
27898
|
-
|
|
27920
|
+
let provedNotStarted = false;
|
|
27921
|
+
if (preparedHere) {
|
|
27922
|
+
try {
|
|
27923
|
+
await this.options.journal.reject(binding2.executionId);
|
|
27924
|
+
provedNotStarted = true;
|
|
27925
|
+
} catch {
|
|
27926
|
+
}
|
|
27927
|
+
}
|
|
27928
|
+
this.send({ type: "not_accepted", version: 1, binding: binding2, code: error62 instanceof Error && error62.message === "IDEMPOTENCY_CONFLICT" ? "IDEMPOTENCY_CONFLICT" : safeCode(error62), provedNotStarted });
|
|
27899
27929
|
}
|
|
27900
27930
|
}
|
|
27901
27931
|
async control(frame) {
|
|
@@ -28055,7 +28085,7 @@ var NativeRelayBridge = class {
|
|
|
28055
28085
|
// agent/src/relay-client.ts
|
|
28056
28086
|
import { createPrivateKey as createPrivateKey2, randomUUID as randomUUID5, sign } from "node:crypto";
|
|
28057
28087
|
|
|
28058
|
-
// node_modules/ws/wrapper.mjs
|
|
28088
|
+
// ../../node_modules/ws/wrapper.mjs
|
|
28059
28089
|
var import_stream = __toESM(require_stream(), 1);
|
|
28060
28090
|
var import_extension = __toESM(require_extension(), 1);
|
|
28061
28091
|
var import_permessage_deflate = __toESM(require_permessage_deflate(), 1);
|
|
@@ -29201,7 +29231,7 @@ var OptimizationLedger = class _OptimizationLedger {
|
|
|
29201
29231
|
};
|
|
29202
29232
|
|
|
29203
29233
|
// agent/src/main.ts
|
|
29204
|
-
var AGENT_VERSION2 = true ? "0.3.
|
|
29234
|
+
var AGENT_VERSION2 = true ? "0.3.6" : "0.3.2";
|
|
29205
29235
|
function processAlive(pid) {
|
|
29206
29236
|
if (!Number.isInteger(pid) || pid <= 0) return false;
|
|
29207
29237
|
try {
|