wildcrane-runner 0.6.125 → 0.6.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/akb/dist/kanban.mjs +224 -206
- package/dist/akb/package.json +1 -1
- package/dist/akb-proxy.mjs +1 -1
- package/dist/codex-proxy.mjs +1 -1
- package/dist/codex-retained.mjs +1 -1
- package/dist/flow-worker-main.mjs +156 -119
- package/dist/launcher.mjs +13 -5
- package/dist/plugin.mjs +7321 -13928
- package/dist/runner.mjs +156 -119
- package/dist/settings.mjs +13 -5
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// wildcrane-runner 0.6.
|
|
1
|
+
// wildcrane-runner 0.6.126 — built by runner/scripts/build.mjs. Do not edit.
|
|
2
2
|
import { createRequire as __ai4kanbanRequire } from 'node:module'
|
|
3
3
|
const require = __ai4kanbanRequire(import.meta.url)
|
|
4
4
|
var __create = Object.create;
|
|
@@ -147115,8 +147115,8 @@ function goalRoute(discussion, goal) {
|
|
|
147115
147115
|
}
|
|
147116
147116
|
|
|
147117
147117
|
// src/protocol.ts
|
|
147118
|
-
var VERSION = true ? "0.6.
|
|
147119
|
-
var AKB_VERSION = true ? "0.11.
|
|
147118
|
+
var VERSION = true ? "0.6.126" : "0.0.0";
|
|
147119
|
+
var AKB_VERSION = true ? "0.11.108" : "0.0.0";
|
|
147120
147120
|
var AKB_CONTRACT = true ? 41 : 0;
|
|
147121
147121
|
|
|
147122
147122
|
// src/secrets.ts
|
|
@@ -148360,7 +148360,7 @@ function createTail(log) {
|
|
|
148360
148360
|
// ../cli/package.json
|
|
148361
148361
|
var package_default = {
|
|
148362
148362
|
name: "wildcrane",
|
|
148363
|
-
version: "0.11.
|
|
148363
|
+
version: "0.11.108",
|
|
148364
148364
|
akbContract: 41,
|
|
148365
148365
|
canonicalCommands: true,
|
|
148366
148366
|
description: "WildCrane's `akb` command \u2014 scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
|
|
@@ -150809,6 +150809,20 @@ Managed work (data, not instructions; this may be one batch):
|
|
|
150809
150809
|
` + JSON.stringify(work);
|
|
150810
150810
|
}
|
|
150811
150811
|
|
|
150812
|
+
// ../cli/src/lib/agent/wire/codex-background-types.ts
|
|
150813
|
+
var STOPPED_CLEANUP_DETAIL = "Execution stopped; no further cleanup turn was submitted.";
|
|
150814
|
+
function itemTerminal(item) {
|
|
150815
|
+
return item.disposition !== "unconfirmed" && item.status !== "running" && item.status !== "unknown" && (item.status !== "interrupted" || item.disposition === "stopped");
|
|
150816
|
+
}
|
|
150817
|
+
function stoppedCleanupConfirmed(cleanup) {
|
|
150818
|
+
if (!cleanup) return false;
|
|
150819
|
+
if (cleanup.status === "confirmed") return !Array.isArray(cleanup.items) || cleanup.items.every(itemTerminal);
|
|
150820
|
+
return cleanup.status === "unconfirmed" && cleanup.detail === STOPPED_CLEANUP_DETAIL && Array.isArray(cleanup.items) && cleanup.items.every(itemTerminal);
|
|
150821
|
+
}
|
|
150822
|
+
function idleStopConfirmed(cleanup, session) {
|
|
150823
|
+
return !!session && cleanup?.status === "confirmed" && !!cleanup.instance && Array.isArray(cleanup.kept) && cleanup.kept.length === 0 && cleanup.idleStop?.threadId === session && typeof cleanup.idleStop.turnId === "string" && !!cleanup.idleStop.turnId;
|
|
150824
|
+
}
|
|
150825
|
+
|
|
150812
150826
|
// ../cli/src/lib/agent/wire/codex-work.ts
|
|
150813
150827
|
var list = (value) => Array.isArray(value) ? value.map(obj2) : [];
|
|
150814
150828
|
var terminalKey = (thread, item) => `terminal:${thread}:${item}`;
|
|
@@ -151172,7 +151186,9 @@ async function run(io, options, count3) {
|
|
|
151172
151186
|
};
|
|
151173
151187
|
const cancelled = () => {
|
|
151174
151188
|
work.freeze();
|
|
151175
|
-
if (submitted ||
|
|
151189
|
+
if (submitted && !started || [...work.entries.values()].some((w2) => !itemTerminal(w2))) {
|
|
151190
|
+
note(STOPPED_CLEANUP_DETAIL);
|
|
151191
|
+
}
|
|
151176
151192
|
end2("Codex execution stopped.");
|
|
151177
151193
|
};
|
|
151178
151194
|
io.signal?.addEventListener("abort", cancelled, { once: true });
|
|
@@ -156162,6 +156178,9 @@ var CSS = {
|
|
|
156162
156178
|
references: [{ web: "css" }]
|
|
156163
156179
|
};
|
|
156164
156180
|
var fileManifest = (type, name) => type === "asset" && /\.css$/i.test(name) ? CSS : manifestOf(type);
|
|
156181
|
+
function encodeFileReferencePath(parts) {
|
|
156182
|
+
return parts.map((part) => encodeURIComponent(part).replace(/[!'()*]/g, (char) => "%" + char.charCodeAt(0).toString(16))).join("/");
|
|
156183
|
+
}
|
|
156165
156184
|
function splitFileReference(src) {
|
|
156166
156185
|
const end2 = src.search(/[?#]/);
|
|
156167
156186
|
return end2 < 0 ? [src, ""] : [src.slice(0, end2), src.slice(end2)];
|
|
@@ -156503,7 +156522,7 @@ import path36 from "node:path";
|
|
|
156503
156522
|
// ../cli/src/lib/agent/runtime-context.ts
|
|
156504
156523
|
import { createHash as createHash8 } from "node:crypto";
|
|
156505
156524
|
|
|
156506
|
-
//
|
|
156525
|
+
// node_modules/zod/v4/classic/external.js
|
|
156507
156526
|
var external_exports = {};
|
|
156508
156527
|
__export(external_exports, {
|
|
156509
156528
|
$brand: () => $brand,
|
|
@@ -156766,7 +156785,7 @@ __export(external_exports, {
|
|
|
156766
156785
|
xor: () => xor
|
|
156767
156786
|
});
|
|
156768
156787
|
|
|
156769
|
-
//
|
|
156788
|
+
// node_modules/zod/v4/core/index.js
|
|
156770
156789
|
var core_exports2 = {};
|
|
156771
156790
|
__export(core_exports2, {
|
|
156772
156791
|
$ZodAny: () => $ZodAny,
|
|
@@ -157083,7 +157102,7 @@ __export(core_exports2, {
|
|
|
157083
157102
|
withParser: () => withParser
|
|
157084
157103
|
});
|
|
157085
157104
|
|
|
157086
|
-
//
|
|
157105
|
+
// node_modules/zod/v4/core/util.js
|
|
157087
157106
|
var util_exports = {};
|
|
157088
157107
|
__export(util_exports, {
|
|
157089
157108
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -157939,7 +157958,7 @@ function constantCatch(value) {
|
|
|
157939
157958
|
return fn2;
|
|
157940
157959
|
}
|
|
157941
157960
|
|
|
157942
|
-
//
|
|
157961
|
+
// node_modules/zod/v4/core/core.js
|
|
157943
157962
|
var _a;
|
|
157944
157963
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
157945
157964
|
status: "aborted"
|
|
@@ -158061,7 +158080,7 @@ function config(newConfig) {
|
|
|
158061
158080
|
return globalConfig;
|
|
158062
158081
|
}
|
|
158063
158082
|
|
|
158064
|
-
//
|
|
158083
|
+
// node_modules/zod/v4/core/errors.js
|
|
158065
158084
|
function _getMessage() {
|
|
158066
158085
|
const internals = this._zod;
|
|
158067
158086
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -158253,7 +158272,7 @@ function prettifyError(error62) {
|
|
|
158253
158272
|
return lines.join("\n");
|
|
158254
158273
|
}
|
|
158255
158274
|
|
|
158256
|
-
//
|
|
158275
|
+
// node_modules/zod/v4/core/parse.js
|
|
158257
158276
|
function finalizeParams(callee, params) {
|
|
158258
158277
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
158259
158278
|
}
|
|
@@ -158413,7 +158432,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
158413
158432
|
};
|
|
158414
158433
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
158415
158434
|
|
|
158416
|
-
//
|
|
158435
|
+
// node_modules/zod/v4/core/regexes.js
|
|
158417
158436
|
var regexes_exports = {};
|
|
158418
158437
|
__export(regexes_exports, {
|
|
158419
158438
|
anyString: () => anyString,
|
|
@@ -158585,7 +158604,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
158585
158604
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
158586
158605
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
158587
158606
|
|
|
158588
|
-
//
|
|
158607
|
+
// node_modules/zod/v4/core/checks.js
|
|
158589
158608
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
158590
158609
|
var _a4;
|
|
158591
158610
|
inst._zod ?? (inst._zod = {});
|
|
@@ -159061,7 +159080,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
159061
159080
|
};
|
|
159062
159081
|
});
|
|
159063
159082
|
|
|
159064
|
-
//
|
|
159083
|
+
// node_modules/zod/v4/core/doc.js
|
|
159065
159084
|
var Doc = class {
|
|
159066
159085
|
constructor(args2 = [], closed = {}) {
|
|
159067
159086
|
this.content = [];
|
|
@@ -159102,14 +159121,14 @@ ${content.join("\n")}
|
|
|
159102
159121
|
}
|
|
159103
159122
|
};
|
|
159104
159123
|
|
|
159105
|
-
//
|
|
159124
|
+
// node_modules/zod/v4/core/versions.js
|
|
159106
159125
|
var version = {
|
|
159107
159126
|
major: 4,
|
|
159108
159127
|
minor: 6,
|
|
159109
159128
|
patch: 7
|
|
159110
159129
|
};
|
|
159111
159130
|
|
|
159112
|
-
//
|
|
159131
|
+
// node_modules/zod/v4/core/schemas.js
|
|
159113
159132
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
159114
159133
|
var _a4;
|
|
159115
159134
|
inst ?? (inst = {});
|
|
@@ -161551,7 +161570,7 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
161551
161570
|
}
|
|
161552
161571
|
}
|
|
161553
161572
|
|
|
161554
|
-
//
|
|
161573
|
+
// node_modules/zod/v4/core/memoizer.js
|
|
161555
161574
|
var $ZodCyclicError = class extends Error {
|
|
161556
161575
|
constructor() {
|
|
161557
161576
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -161828,7 +161847,7 @@ function isBackEdge(ctx, value) {
|
|
|
161828
161847
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
161829
161848
|
}
|
|
161830
161849
|
|
|
161831
|
-
//
|
|
161850
|
+
// node_modules/zod/v4/locales/index.js
|
|
161832
161851
|
var locales_exports = {};
|
|
161833
161852
|
__export(locales_exports, {
|
|
161834
161853
|
ar: () => ar_default,
|
|
@@ -161896,7 +161915,7 @@ __export(locales_exports, {
|
|
|
161896
161915
|
zhTW: () => zh_TW_default
|
|
161897
161916
|
});
|
|
161898
161917
|
|
|
161899
|
-
//
|
|
161918
|
+
// node_modules/zod/v4/locales/ar.js
|
|
161900
161919
|
var error = () => {
|
|
161901
161920
|
const Sizable = {
|
|
161902
161921
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -162008,7 +162027,7 @@ function ar_default() {
|
|
|
162008
162027
|
};
|
|
162009
162028
|
}
|
|
162010
162029
|
|
|
162011
|
-
//
|
|
162030
|
+
// node_modules/zod/v4/locales/az.js
|
|
162012
162031
|
var error2 = () => {
|
|
162013
162032
|
const Sizable = {
|
|
162014
162033
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -162119,7 +162138,7 @@ function az_default() {
|
|
|
162119
162138
|
};
|
|
162120
162139
|
}
|
|
162121
162140
|
|
|
162122
|
-
//
|
|
162141
|
+
// node_modules/zod/v4/locales/be.js
|
|
162123
162142
|
function getBelarusianPlural(count3, one, few, many) {
|
|
162124
162143
|
const absCount = Math.abs(count3);
|
|
162125
162144
|
const lastDigit = absCount % 10;
|
|
@@ -162288,7 +162307,7 @@ function be_default() {
|
|
|
162288
162307
|
};
|
|
162289
162308
|
}
|
|
162290
162309
|
|
|
162291
|
-
//
|
|
162310
|
+
// node_modules/zod/v4/locales/bg.js
|
|
162292
162311
|
var error4 = () => {
|
|
162293
162312
|
const Sizable = {
|
|
162294
162313
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -162414,7 +162433,7 @@ function bg_default() {
|
|
|
162414
162433
|
};
|
|
162415
162434
|
}
|
|
162416
162435
|
|
|
162417
|
-
//
|
|
162436
|
+
// node_modules/zod/v4/locales/bn.js
|
|
162418
162437
|
var error5 = () => {
|
|
162419
162438
|
const Sizable = {
|
|
162420
162439
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -162528,7 +162547,7 @@ function bn_default() {
|
|
|
162528
162547
|
};
|
|
162529
162548
|
}
|
|
162530
162549
|
|
|
162531
|
-
//
|
|
162550
|
+
// node_modules/zod/v4/locales/ca.js
|
|
162532
162551
|
var error6 = () => {
|
|
162533
162552
|
const Sizable = {
|
|
162534
162553
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -162642,7 +162661,7 @@ function ca_default() {
|
|
|
162642
162661
|
};
|
|
162643
162662
|
}
|
|
162644
162663
|
|
|
162645
|
-
//
|
|
162664
|
+
// node_modules/zod/v4/locales/ckb.js
|
|
162646
162665
|
var error7 = () => {
|
|
162647
162666
|
const Sizable = {
|
|
162648
162667
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -162775,7 +162794,7 @@ function ckb_default() {
|
|
|
162775
162794
|
};
|
|
162776
162795
|
}
|
|
162777
162796
|
|
|
162778
|
-
//
|
|
162797
|
+
// node_modules/zod/v4/locales/cs.js
|
|
162779
162798
|
var error8 = () => {
|
|
162780
162799
|
const Sizable = {
|
|
162781
162800
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -162892,7 +162911,7 @@ function cs_default() {
|
|
|
162892
162911
|
};
|
|
162893
162912
|
}
|
|
162894
162913
|
|
|
162895
|
-
//
|
|
162914
|
+
// node_modules/zod/v4/locales/da.js
|
|
162896
162915
|
var error9 = () => {
|
|
162897
162916
|
const Sizable = {
|
|
162898
162917
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -163013,7 +163032,7 @@ function da_default() {
|
|
|
163013
163032
|
};
|
|
163014
163033
|
}
|
|
163015
163034
|
|
|
163016
|
-
//
|
|
163035
|
+
// node_modules/zod/v4/locales/de.js
|
|
163017
163036
|
var error10 = () => {
|
|
163018
163037
|
const Sizable = {
|
|
163019
163038
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -163127,7 +163146,7 @@ function de_default() {
|
|
|
163127
163146
|
};
|
|
163128
163147
|
}
|
|
163129
163148
|
|
|
163130
|
-
//
|
|
163149
|
+
// node_modules/zod/v4/locales/el.js
|
|
163131
163150
|
var error11 = () => {
|
|
163132
163151
|
const Sizable = {
|
|
163133
163152
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -163240,7 +163259,7 @@ function el_default() {
|
|
|
163240
163259
|
};
|
|
163241
163260
|
}
|
|
163242
163261
|
|
|
163243
|
-
//
|
|
163262
|
+
// node_modules/zod/v4/locales/en.js
|
|
163244
163263
|
var error12 = () => {
|
|
163245
163264
|
const Sizable = {
|
|
163246
163265
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -163365,7 +163384,7 @@ function en_default() {
|
|
|
163365
163384
|
};
|
|
163366
163385
|
}
|
|
163367
163386
|
|
|
163368
|
-
//
|
|
163387
|
+
// node_modules/zod/v4/locales/eo.js
|
|
163369
163388
|
var error13 = () => {
|
|
163370
163389
|
const Sizable = {
|
|
163371
163390
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -163480,7 +163499,7 @@ function eo_default() {
|
|
|
163480
163499
|
};
|
|
163481
163500
|
}
|
|
163482
163501
|
|
|
163483
|
-
//
|
|
163502
|
+
// node_modules/zod/v4/locales/es.js
|
|
163484
163503
|
var error14 = () => {
|
|
163485
163504
|
const Sizable = {
|
|
163486
163505
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -163617,7 +163636,7 @@ function es_default() {
|
|
|
163617
163636
|
};
|
|
163618
163637
|
}
|
|
163619
163638
|
|
|
163620
|
-
//
|
|
163639
|
+
// node_modules/zod/v4/locales/fa.js
|
|
163621
163640
|
var error15 = () => {
|
|
163622
163641
|
const Sizable = {
|
|
163623
163642
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -163737,7 +163756,7 @@ function fa_default() {
|
|
|
163737
163756
|
};
|
|
163738
163757
|
}
|
|
163739
163758
|
|
|
163740
|
-
//
|
|
163759
|
+
// node_modules/zod/v4/locales/fi.js
|
|
163741
163760
|
var error16 = () => {
|
|
163742
163761
|
const Sizable = {
|
|
163743
163762
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -163855,7 +163874,7 @@ function fi_default() {
|
|
|
163855
163874
|
};
|
|
163856
163875
|
}
|
|
163857
163876
|
|
|
163858
|
-
//
|
|
163877
|
+
// node_modules/zod/v4/locales/fr.js
|
|
163859
163878
|
var error17 = () => {
|
|
163860
163879
|
const Sizable = {
|
|
163861
163880
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -163985,7 +164004,7 @@ function fr_default() {
|
|
|
163985
164004
|
};
|
|
163986
164005
|
}
|
|
163987
164006
|
|
|
163988
|
-
//
|
|
164007
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
163989
164008
|
var error18 = () => {
|
|
163990
164009
|
const Sizable = {
|
|
163991
164010
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -164098,7 +164117,7 @@ function fr_CA_default() {
|
|
|
164098
164117
|
};
|
|
164099
164118
|
}
|
|
164100
164119
|
|
|
164101
|
-
//
|
|
164120
|
+
// node_modules/zod/v4/locales/gu.js
|
|
164102
164121
|
var error19 = () => {
|
|
164103
164122
|
const Sizable = {
|
|
164104
164123
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -164212,7 +164231,7 @@ function gu_default() {
|
|
|
164212
164231
|
};
|
|
164213
164232
|
}
|
|
164214
164233
|
|
|
164215
|
-
//
|
|
164234
|
+
// node_modules/zod/v4/locales/he.js
|
|
164216
164235
|
var error20 = () => {
|
|
164217
164236
|
const TypeNames = {
|
|
164218
164237
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -164414,7 +164433,7 @@ function he_default() {
|
|
|
164414
164433
|
};
|
|
164415
164434
|
}
|
|
164416
164435
|
|
|
164417
|
-
//
|
|
164436
|
+
// node_modules/zod/v4/locales/hi.js
|
|
164418
164437
|
var error21 = () => {
|
|
164419
164438
|
const Sizable = {
|
|
164420
164439
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -164526,7 +164545,7 @@ function hi_default() {
|
|
|
164526
164545
|
};
|
|
164527
164546
|
}
|
|
164528
164547
|
|
|
164529
|
-
//
|
|
164548
|
+
// node_modules/zod/v4/locales/hr.js
|
|
164530
164549
|
var error22 = () => {
|
|
164531
164550
|
const Sizable = {
|
|
164532
164551
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -164653,7 +164672,7 @@ function hr_default() {
|
|
|
164653
164672
|
};
|
|
164654
164673
|
}
|
|
164655
164674
|
|
|
164656
|
-
//
|
|
164675
|
+
// node_modules/zod/v4/locales/hu.js
|
|
164657
164676
|
var error23 = () => {
|
|
164658
164677
|
const Sizable = {
|
|
164659
164678
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -164767,7 +164786,7 @@ function hu_default() {
|
|
|
164767
164786
|
};
|
|
164768
164787
|
}
|
|
164769
164788
|
|
|
164770
|
-
//
|
|
164789
|
+
// node_modules/zod/v4/locales/hy.js
|
|
164771
164790
|
function getArmenianPlural(count3, one, many) {
|
|
164772
164791
|
return Math.abs(count3) === 1 ? one : many;
|
|
164773
164792
|
}
|
|
@@ -164926,7 +164945,7 @@ function hy_default() {
|
|
|
164926
164945
|
};
|
|
164927
164946
|
}
|
|
164928
164947
|
|
|
164929
|
-
//
|
|
164948
|
+
// node_modules/zod/v4/locales/id.js
|
|
164930
164949
|
var error25 = () => {
|
|
164931
164950
|
const Sizable = {
|
|
164932
164951
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -165038,7 +165057,7 @@ function id_default() {
|
|
|
165038
165057
|
};
|
|
165039
165058
|
}
|
|
165040
165059
|
|
|
165041
|
-
//
|
|
165060
|
+
// node_modules/zod/v4/locales/is.js
|
|
165042
165061
|
var error26 = () => {
|
|
165043
165062
|
const Sizable = {
|
|
165044
165063
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -165153,7 +165172,7 @@ function is_default() {
|
|
|
165153
165172
|
};
|
|
165154
165173
|
}
|
|
165155
165174
|
|
|
165156
|
-
//
|
|
165175
|
+
// node_modules/zod/v4/locales/it.js
|
|
165157
165176
|
var error27 = () => {
|
|
165158
165177
|
const Sizable = {
|
|
165159
165178
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -165267,7 +165286,7 @@ function it_default() {
|
|
|
165267
165286
|
};
|
|
165268
165287
|
}
|
|
165269
165288
|
|
|
165270
|
-
//
|
|
165289
|
+
// node_modules/zod/v4/locales/ja.js
|
|
165271
165290
|
var error28 = () => {
|
|
165272
165291
|
const Sizable = {
|
|
165273
165292
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -165380,7 +165399,7 @@ function ja_default() {
|
|
|
165380
165399
|
};
|
|
165381
165400
|
}
|
|
165382
165401
|
|
|
165383
|
-
//
|
|
165402
|
+
// node_modules/zod/v4/locales/ka.js
|
|
165384
165403
|
var error29 = () => {
|
|
165385
165404
|
const Sizable = {
|
|
165386
165405
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -165498,7 +165517,7 @@ function ka_default() {
|
|
|
165498
165517
|
};
|
|
165499
165518
|
}
|
|
165500
165519
|
|
|
165501
|
-
//
|
|
165520
|
+
// node_modules/zod/v4/locales/km.js
|
|
165502
165521
|
var error30 = () => {
|
|
165503
165522
|
const Sizable = {
|
|
165504
165523
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -165614,12 +165633,12 @@ function km_default() {
|
|
|
165614
165633
|
};
|
|
165615
165634
|
}
|
|
165616
165635
|
|
|
165617
|
-
//
|
|
165636
|
+
// node_modules/zod/v4/locales/kh.js
|
|
165618
165637
|
function kh_default() {
|
|
165619
165638
|
return km_default();
|
|
165620
165639
|
}
|
|
165621
165640
|
|
|
165622
|
-
//
|
|
165641
|
+
// node_modules/zod/v4/locales/kn.js
|
|
165623
165642
|
var error31 = () => {
|
|
165624
165643
|
const Sizable = {
|
|
165625
165644
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -165735,7 +165754,7 @@ function kn_default() {
|
|
|
165735
165754
|
};
|
|
165736
165755
|
}
|
|
165737
165756
|
|
|
165738
|
-
//
|
|
165757
|
+
// node_modules/zod/v4/locales/ko.js
|
|
165739
165758
|
var error32 = () => {
|
|
165740
165759
|
const Sizable = {
|
|
165741
165760
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -165852,7 +165871,7 @@ function ko_default() {
|
|
|
165852
165871
|
};
|
|
165853
165872
|
}
|
|
165854
165873
|
|
|
165855
|
-
//
|
|
165874
|
+
// node_modules/zod/v4/locales/lt.js
|
|
165856
165875
|
var capitalizeFirstCharacter = (text4) => {
|
|
165857
165876
|
return text4.charAt(0).toUpperCase() + text4.slice(1);
|
|
165858
165877
|
};
|
|
@@ -166060,7 +166079,7 @@ function lt_default() {
|
|
|
166060
166079
|
};
|
|
166061
166080
|
}
|
|
166062
166081
|
|
|
166063
|
-
//
|
|
166082
|
+
// node_modules/zod/v4/locales/mk.js
|
|
166064
166083
|
var error34 = () => {
|
|
166065
166084
|
const Sizable = {
|
|
166066
166085
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -166175,7 +166194,7 @@ function mk_default() {
|
|
|
166175
166194
|
};
|
|
166176
166195
|
}
|
|
166177
166196
|
|
|
166178
|
-
//
|
|
166197
|
+
// node_modules/zod/v4/locales/ms.js
|
|
166179
166198
|
var error35 = () => {
|
|
166180
166199
|
const Sizable = {
|
|
166181
166200
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -166288,7 +166307,7 @@ function ms_default() {
|
|
|
166288
166307
|
};
|
|
166289
166308
|
}
|
|
166290
166309
|
|
|
166291
|
-
//
|
|
166310
|
+
// node_modules/zod/v4/locales/ne.js
|
|
166292
166311
|
var error36 = () => {
|
|
166293
166312
|
const Sizable = {
|
|
166294
166313
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -166400,7 +166419,7 @@ function ne_default() {
|
|
|
166400
166419
|
};
|
|
166401
166420
|
}
|
|
166402
166421
|
|
|
166403
|
-
//
|
|
166422
|
+
// node_modules/zod/v4/locales/nl.js
|
|
166404
166423
|
var error37 = () => {
|
|
166405
166424
|
const Sizable = {
|
|
166406
166425
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -166516,7 +166535,7 @@ function nl_default() {
|
|
|
166516
166535
|
};
|
|
166517
166536
|
}
|
|
166518
166537
|
|
|
166519
|
-
//
|
|
166538
|
+
// node_modules/zod/v4/locales/nn.js
|
|
166520
166539
|
var error38 = () => {
|
|
166521
166540
|
const Sizable = {
|
|
166522
166541
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -166630,7 +166649,7 @@ function nn_default() {
|
|
|
166630
166649
|
};
|
|
166631
166650
|
}
|
|
166632
166651
|
|
|
166633
|
-
//
|
|
166652
|
+
// node_modules/zod/v4/locales/no.js
|
|
166634
166653
|
var error39 = () => {
|
|
166635
166654
|
const Sizable = {
|
|
166636
166655
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -166744,7 +166763,7 @@ function no_default() {
|
|
|
166744
166763
|
};
|
|
166745
166764
|
}
|
|
166746
166765
|
|
|
166747
|
-
//
|
|
166766
|
+
// node_modules/zod/v4/locales/ota.js
|
|
166748
166767
|
var error40 = () => {
|
|
166749
166768
|
const Sizable = {
|
|
166750
166769
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -166859,7 +166878,7 @@ function ota_default() {
|
|
|
166859
166878
|
};
|
|
166860
166879
|
}
|
|
166861
166880
|
|
|
166862
|
-
//
|
|
166881
|
+
// node_modules/zod/v4/locales/ps.js
|
|
166863
166882
|
var error41 = () => {
|
|
166864
166883
|
const Sizable = {
|
|
166865
166884
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -166979,7 +166998,7 @@ function ps_default() {
|
|
|
166979
166998
|
};
|
|
166980
166999
|
}
|
|
166981
167000
|
|
|
166982
|
-
//
|
|
167001
|
+
// node_modules/zod/v4/locales/pl.js
|
|
166983
167002
|
var error42 = () => {
|
|
166984
167003
|
const Sizable = {
|
|
166985
167004
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -167094,7 +167113,7 @@ function pl_default() {
|
|
|
167094
167113
|
};
|
|
167095
167114
|
}
|
|
167096
167115
|
|
|
167097
|
-
//
|
|
167116
|
+
// node_modules/zod/v4/locales/pt.js
|
|
167098
167117
|
var error43 = () => {
|
|
167099
167118
|
const Sizable = {
|
|
167100
167119
|
string: { unit: "caracteres" },
|
|
@@ -167238,7 +167257,7 @@ function pt_default() {
|
|
|
167238
167257
|
};
|
|
167239
167258
|
}
|
|
167240
167259
|
|
|
167241
|
-
//
|
|
167260
|
+
// node_modules/zod/v4/locales/pt-BR.js
|
|
167242
167261
|
var error44 = () => {
|
|
167243
167262
|
const Sizable = {
|
|
167244
167263
|
string: { unit: "caracteres" },
|
|
@@ -167383,7 +167402,7 @@ function pt_BR_default() {
|
|
|
167383
167402
|
};
|
|
167384
167403
|
}
|
|
167385
167404
|
|
|
167386
|
-
//
|
|
167405
|
+
// node_modules/zod/v4/locales/ro.js
|
|
167387
167406
|
var error45 = () => {
|
|
167388
167407
|
const Sizable = {
|
|
167389
167408
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -167506,7 +167525,7 @@ function ro_default() {
|
|
|
167506
167525
|
};
|
|
167507
167526
|
}
|
|
167508
167527
|
|
|
167509
|
-
//
|
|
167528
|
+
// node_modules/zod/v4/locales/ru.js
|
|
167510
167529
|
function getRussianPlural(count3, one, few, many) {
|
|
167511
167530
|
const absCount = Math.abs(count3);
|
|
167512
167531
|
const lastDigit = absCount % 10;
|
|
@@ -167675,7 +167694,7 @@ function ru_default() {
|
|
|
167675
167694
|
};
|
|
167676
167695
|
}
|
|
167677
167696
|
|
|
167678
|
-
//
|
|
167697
|
+
// node_modules/zod/v4/locales/sk.js
|
|
167679
167698
|
var error47 = () => {
|
|
167680
167699
|
const Sizable = {
|
|
167681
167700
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -167792,7 +167811,7 @@ function sk_default() {
|
|
|
167792
167811
|
};
|
|
167793
167812
|
}
|
|
167794
167813
|
|
|
167795
|
-
//
|
|
167814
|
+
// node_modules/zod/v4/locales/sl.js
|
|
167796
167815
|
var error48 = () => {
|
|
167797
167816
|
const Sizable = {
|
|
167798
167817
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -167907,7 +167926,7 @@ function sl_default() {
|
|
|
167907
167926
|
};
|
|
167908
167927
|
}
|
|
167909
167928
|
|
|
167910
|
-
//
|
|
167929
|
+
// node_modules/zod/v4/locales/sv.js
|
|
167911
167930
|
var error49 = () => {
|
|
167912
167931
|
const Sizable = {
|
|
167913
167932
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -168023,7 +168042,7 @@ function sv_default() {
|
|
|
168023
168042
|
};
|
|
168024
168043
|
}
|
|
168025
168044
|
|
|
168026
|
-
//
|
|
168045
|
+
// node_modules/zod/v4/locales/ta.js
|
|
168027
168046
|
var error50 = () => {
|
|
168028
168047
|
const Sizable = {
|
|
168029
168048
|
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" },
|
|
@@ -168139,7 +168158,7 @@ function ta_default() {
|
|
|
168139
168158
|
};
|
|
168140
168159
|
}
|
|
168141
168160
|
|
|
168142
|
-
//
|
|
168161
|
+
// node_modules/zod/v4/locales/tg.js
|
|
168143
168162
|
var error51 = () => {
|
|
168144
168163
|
const Sizable = {
|
|
168145
168164
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -168256,7 +168275,7 @@ function tg_default() {
|
|
|
168256
168275
|
};
|
|
168257
168276
|
}
|
|
168258
168277
|
|
|
168259
|
-
//
|
|
168278
|
+
// node_modules/zod/v4/locales/th.js
|
|
168260
168279
|
var error52 = () => {
|
|
168261
168280
|
const Sizable = {
|
|
168262
168281
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -168372,7 +168391,7 @@ function th_default() {
|
|
|
168372
168391
|
};
|
|
168373
168392
|
}
|
|
168374
168393
|
|
|
168375
|
-
//
|
|
168394
|
+
// node_modules/zod/v4/locales/tk.js
|
|
168376
168395
|
var error53 = () => {
|
|
168377
168396
|
const Sizable = {
|
|
168378
168397
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -168480,7 +168499,7 @@ function tk_default() {
|
|
|
168480
168499
|
};
|
|
168481
168500
|
}
|
|
168482
168501
|
|
|
168483
|
-
//
|
|
168502
|
+
// node_modules/zod/v4/locales/tr.js
|
|
168484
168503
|
var error54 = () => {
|
|
168485
168504
|
const Sizable = {
|
|
168486
168505
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -168591,7 +168610,7 @@ function tr_default() {
|
|
|
168591
168610
|
};
|
|
168592
168611
|
}
|
|
168593
168612
|
|
|
168594
|
-
//
|
|
168613
|
+
// node_modules/zod/v4/locales/uk.js
|
|
168595
168614
|
var error55 = () => {
|
|
168596
168615
|
const Sizable = {
|
|
168597
168616
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -168705,12 +168724,12 @@ function uk_default() {
|
|
|
168705
168724
|
};
|
|
168706
168725
|
}
|
|
168707
168726
|
|
|
168708
|
-
//
|
|
168727
|
+
// node_modules/zod/v4/locales/ua.js
|
|
168709
168728
|
function ua_default() {
|
|
168710
168729
|
return uk_default();
|
|
168711
168730
|
}
|
|
168712
168731
|
|
|
168713
|
-
//
|
|
168732
|
+
// node_modules/zod/v4/locales/ur.js
|
|
168714
168733
|
var error56 = () => {
|
|
168715
168734
|
const Sizable = {
|
|
168716
168735
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -168826,7 +168845,7 @@ function ur_default() {
|
|
|
168826
168845
|
};
|
|
168827
168846
|
}
|
|
168828
168847
|
|
|
168829
|
-
//
|
|
168848
|
+
// node_modules/zod/v4/locales/uz.js
|
|
168830
168849
|
var error57 = () => {
|
|
168831
168850
|
const Sizable = {
|
|
168832
168851
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -168940,7 +168959,7 @@ function uz_default() {
|
|
|
168940
168959
|
};
|
|
168941
168960
|
}
|
|
168942
168961
|
|
|
168943
|
-
//
|
|
168962
|
+
// node_modules/zod/v4/locales/vi.js
|
|
168944
168963
|
var error58 = () => {
|
|
168945
168964
|
const Sizable = {
|
|
168946
168965
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -169054,7 +169073,7 @@ function vi_default() {
|
|
|
169054
169073
|
};
|
|
169055
169074
|
}
|
|
169056
169075
|
|
|
169057
|
-
//
|
|
169076
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
169058
169077
|
var error59 = () => {
|
|
169059
169078
|
const Sizable = {
|
|
169060
169079
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -169169,7 +169188,7 @@ function zh_CN_default() {
|
|
|
169169
169188
|
};
|
|
169170
169189
|
}
|
|
169171
169190
|
|
|
169172
|
-
//
|
|
169191
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
169173
169192
|
var error60 = () => {
|
|
169174
169193
|
const Sizable = {
|
|
169175
169194
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -169282,7 +169301,7 @@ function zh_TW_default() {
|
|
|
169282
169301
|
};
|
|
169283
169302
|
}
|
|
169284
169303
|
|
|
169285
|
-
//
|
|
169304
|
+
// node_modules/zod/v4/locales/yo.js
|
|
169286
169305
|
var error61 = () => {
|
|
169287
169306
|
const Sizable = {
|
|
169288
169307
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -169395,7 +169414,7 @@ function yo_default() {
|
|
|
169395
169414
|
};
|
|
169396
169415
|
}
|
|
169397
169416
|
|
|
169398
|
-
//
|
|
169417
|
+
// node_modules/zod/v4/core/registries.js
|
|
169399
169418
|
var _a2;
|
|
169400
169419
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
169401
169420
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -169445,7 +169464,7 @@ function registry() {
|
|
|
169445
169464
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
169446
169465
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
169447
169466
|
|
|
169448
|
-
//
|
|
169467
|
+
// node_modules/zod/v4/core/compile.js
|
|
169449
169468
|
var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
169450
169469
|
var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
169451
169470
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -171055,7 +171074,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
171055
171074
|
return accessor;
|
|
171056
171075
|
}
|
|
171057
171076
|
|
|
171058
|
-
//
|
|
171077
|
+
// node_modules/zod/v4/core/api.js
|
|
171059
171078
|
function snapshotChecks(def) {
|
|
171060
171079
|
if (def.checks)
|
|
171061
171080
|
def.checks = [...def.checks];
|
|
@@ -172114,7 +172133,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
172114
172133
|
return inst;
|
|
172115
172134
|
}
|
|
172116
172135
|
|
|
172117
|
-
//
|
|
172136
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
172118
172137
|
function assignProps(target, ...sources3) {
|
|
172119
172138
|
for (const source2 of sources3) {
|
|
172120
172139
|
for (const key of Reflect.ownKeys(source2)) {
|
|
@@ -172644,7 +172663,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
172644
172663
|
return finalize(ctx, schema);
|
|
172645
172664
|
};
|
|
172646
172665
|
|
|
172647
|
-
//
|
|
172666
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
172648
172667
|
var narrowMin = (agg, key, value) => {
|
|
172649
172668
|
if (agg[key] === void 0 || value > agg[key])
|
|
172650
172669
|
agg[key] = value;
|
|
@@ -173392,7 +173411,7 @@ function toJSONSchema(input2, params) {
|
|
|
173392
173411
|
return finalize(ctx, input2);
|
|
173393
173412
|
}
|
|
173394
173413
|
|
|
173395
|
-
//
|
|
173414
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
173396
173415
|
var JSONSchemaGenerator = class {
|
|
173397
173416
|
/** @deprecated Access via ctx instead */
|
|
173398
173417
|
get metadataRegistry() {
|
|
@@ -173470,10 +173489,10 @@ var JSONSchemaGenerator = class {
|
|
|
173470
173489
|
}
|
|
173471
173490
|
};
|
|
173472
173491
|
|
|
173473
|
-
//
|
|
173492
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
173474
173493
|
var json_schema_exports = {};
|
|
173475
173494
|
|
|
173476
|
-
//
|
|
173495
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
173477
173496
|
var schemas_exports2 = {};
|
|
173478
173497
|
__export(schemas_exports2, {
|
|
173479
173498
|
ZodAny: () => ZodAny,
|
|
@@ -173654,7 +173673,7 @@ __export(schemas_exports2, {
|
|
|
173654
173673
|
xor: () => xor
|
|
173655
173674
|
});
|
|
173656
173675
|
|
|
173657
|
-
//
|
|
173676
|
+
// node_modules/zod/v4/classic/checks.js
|
|
173658
173677
|
var checks_exports2 = {};
|
|
173659
173678
|
__export(checks_exports2, {
|
|
173660
173679
|
endsWith: () => _endsWith,
|
|
@@ -173689,7 +173708,7 @@ __export(checks_exports2, {
|
|
|
173689
173708
|
uppercase: () => _uppercase
|
|
173690
173709
|
});
|
|
173691
173710
|
|
|
173692
|
-
//
|
|
173711
|
+
// node_modules/zod/v4/classic/errors.js
|
|
173693
173712
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
173694
173713
|
function _lazyMethod(proto, key, make) {
|
|
173695
173714
|
Object.defineProperty(proto, key, {
|
|
@@ -173735,7 +173754,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
173735
173754
|
Parent: Error
|
|
173736
173755
|
});
|
|
173737
173756
|
|
|
173738
|
-
//
|
|
173757
|
+
// node_modules/zod/v4/classic/parse.js
|
|
173739
173758
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
173740
173759
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
173741
173760
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -173749,7 +173768,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
173749
173768
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
173750
173769
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
173751
173770
|
|
|
173752
|
-
//
|
|
173771
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
173753
173772
|
function _ensureDefaultLocale() {
|
|
173754
173773
|
if (!globalConfig.localeError)
|
|
173755
173774
|
config(en_default());
|
|
@@ -175214,7 +175233,7 @@ function preprocess(fn2, schema) {
|
|
|
175214
175233
|
});
|
|
175215
175234
|
}
|
|
175216
175235
|
|
|
175217
|
-
//
|
|
175236
|
+
// node_modules/zod/v4/classic/compat.js
|
|
175218
175237
|
var ZodIssueCode = {
|
|
175219
175238
|
invalid_type: "invalid_type",
|
|
175220
175239
|
too_big: "too_big",
|
|
@@ -175240,7 +175259,7 @@ var ZodFirstPartyTypeKind;
|
|
|
175240
175259
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
175241
175260
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
175242
175261
|
|
|
175243
|
-
//
|
|
175262
|
+
// node_modules/zod/v4/classic/iso.js
|
|
175244
175263
|
var iso_exports = {};
|
|
175245
175264
|
__export(iso_exports, {
|
|
175246
175265
|
ZodISODate: () => ZodISODate,
|
|
@@ -175265,7 +175284,7 @@ function duration2(params) {
|
|
|
175265
175284
|
return _isoDuration(ZodISODuration, params);
|
|
175266
175285
|
}
|
|
175267
175286
|
|
|
175268
|
-
//
|
|
175287
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
175269
175288
|
var z = {
|
|
175270
175289
|
...schemas_exports2,
|
|
175271
175290
|
...checks_exports2,
|
|
@@ -175998,7 +176017,7 @@ function fromJSONSchema(schema, params) {
|
|
|
175998
176017
|
return convertSchema(normalized, ctx);
|
|
175999
176018
|
}
|
|
176000
176019
|
|
|
176001
|
-
//
|
|
176020
|
+
// node_modules/zod/v4/core/visit.js
|
|
176002
176021
|
var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
|
|
176003
176022
|
function visit(schema, fnOrHandlers) {
|
|
176004
176023
|
const fn2 = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
|
|
@@ -176153,7 +176172,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
176153
176172
|
return run3(schema);
|
|
176154
176173
|
}
|
|
176155
176174
|
|
|
176156
|
-
//
|
|
176175
|
+
// node_modules/zod/v4/classic/deep-partial.js
|
|
176157
176176
|
function deepPartial(schema) {
|
|
176158
176177
|
return visit(schema, {
|
|
176159
176178
|
object: (s) => s.partial(),
|
|
@@ -176165,7 +176184,7 @@ function deepPartial(schema) {
|
|
|
176165
176184
|
});
|
|
176166
176185
|
}
|
|
176167
176186
|
|
|
176168
|
-
//
|
|
176187
|
+
// node_modules/zod/v4/classic/in-out.js
|
|
176169
176188
|
function withChecks(side, checks) {
|
|
176170
176189
|
if (!checks?.length)
|
|
176171
176190
|
return side;
|
|
@@ -176195,7 +176214,7 @@ function output(schema) {
|
|
|
176195
176214
|
});
|
|
176196
176215
|
}
|
|
176197
176216
|
|
|
176198
|
-
//
|
|
176217
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
176199
176218
|
var coerce_exports = {};
|
|
176200
176219
|
__export(coerce_exports, {
|
|
176201
176220
|
bigint: () => bigint3,
|
|
@@ -182732,7 +182751,6 @@ function run2(script, context, name, deadline, lineOffset = 0) {
|
|
|
182732
182751
|
if (left <= 0) throw new Error(`took longer than ${DRAW_MS / 1e3}s to draw`);
|
|
182733
182752
|
return vm.runInContext(script, context, { timeout: left, filename: name, lineOffset });
|
|
182734
182753
|
}
|
|
182735
|
-
var cssPath = (file2) => file2.split(path38.sep).map((part) => encodeURIComponent(part).replace(/[!'()*]/g, (char) => "%" + char.charCodeAt(0).toString(16))).join("/");
|
|
182736
182754
|
function rebaseCss(css, owner2, folder2) {
|
|
182737
182755
|
let result = "";
|
|
182738
182756
|
let last = 0;
|
|
@@ -182741,15 +182759,16 @@ function rebaseCss(css, owner2, folder2) {
|
|
|
182741
182759
|
const [file2, suffix] = splitFileReference(ref.src);
|
|
182742
182760
|
const decoded = decodeFilePath(file2);
|
|
182743
182761
|
if (path38.posix.isAbsolute(decoded) || path38.win32.isAbsolute(decoded)) continue;
|
|
182744
|
-
const relative =
|
|
182762
|
+
const relative = ref.importToken ? decoded : path38.relative(folder2, path38.resolve(path38.dirname(owner2), decoded));
|
|
182763
|
+
const url2 = encodeFileReferencePath(relative.split(path38.sep)) + suffix;
|
|
182745
182764
|
const [start, end2] = ref.importToken ?? [ref.start, ref.end];
|
|
182746
|
-
result += css.slice(last, start) + (ref.importToken ? JSON.stringify(
|
|
182765
|
+
result += css.slice(last, start) + (ref.importToken ? JSON.stringify(url2) : url2);
|
|
182747
182766
|
last = end2;
|
|
182748
182767
|
}
|
|
182749
182768
|
return result + css.slice(last);
|
|
182750
182769
|
}
|
|
182751
182770
|
async function tailwindFor(markup, sheets, folder2) {
|
|
182752
|
-
const source2 = sheets.length ? sheets.map((file2) => `@import "./${
|
|
182771
|
+
const source2 = sheets.length ? sheets.map((file2) => `@import "./${encodeFileReferencePath(path38.relative(folder2, file2).split(path38.sep))}";`).join("\n") : '@import "tailwindcss";';
|
|
182753
182772
|
const root2 = fs36.realpathSync(folder2) + path38.sep;
|
|
182754
182773
|
const compiler = await rc(source2, {
|
|
182755
182774
|
base: folder2,
|
|
@@ -183837,6 +183856,7 @@ async function pullAssets(ws, record2, assets, preserve = false, stopped2) {
|
|
|
183837
183856
|
if (data !== void 0) {
|
|
183838
183857
|
let changed = false;
|
|
183839
183858
|
const ownerName = name;
|
|
183859
|
+
const web = manifest?.references?.some((rule) => "web" in rule);
|
|
183840
183860
|
const restored = mapReferences(manifest, data, (src, found) => {
|
|
183841
183861
|
const [ref2, suffix] = found.text ? splitFileReference(src) : [src, ""];
|
|
183842
183862
|
const name2 = Object.entries(assets).find(([, r2]) => r2.artifact === ref2)?.[0];
|
|
@@ -183849,7 +183869,7 @@ async function pullAssets(ws, record2, assets, preserve = false, stopped2) {
|
|
|
183849
183869
|
if (!child) return src;
|
|
183850
183870
|
dependencies.push(name2);
|
|
183851
183871
|
const relative = path42.relative(path42.dirname(target), child).split(path42.sep);
|
|
183852
|
-
const back =
|
|
183872
|
+
const back = found.text ? (web ? encodeFileReferencePath(relative) : relative.map(encodeURIComponent).join("/")) + suffix : isLegacyAssetRef(name2) && !isAssetRef(ownerName) ? name2 : relative.join("/");
|
|
183853
183873
|
if (back !== src) changed = true;
|
|
183854
183874
|
return back;
|
|
183855
183875
|
});
|
|
@@ -185123,11 +185143,6 @@ import os8 from "node:os";
|
|
|
185123
185143
|
import path66 from "node:path";
|
|
185124
185144
|
import { isDeepStrictEqual as isDeepStrictEqual2 } from "node:util";
|
|
185125
185145
|
|
|
185126
|
-
// ../cli/src/lib/agent/wire/codex-background-types.ts
|
|
185127
|
-
function idleStopConfirmed(cleanup, session) {
|
|
185128
|
-
return !!session && cleanup?.status === "confirmed" && !!cleanup.instance && Array.isArray(cleanup.kept) && cleanup.kept.length === 0 && cleanup.idleStop?.threadId === session && typeof cleanup.idleStop.turnId === "string" && !!cleanup.idleStop.turnId;
|
|
185129
|
-
}
|
|
185130
|
-
|
|
185131
185146
|
// ../cli/src/lib/cloud/execution.ts
|
|
185132
185147
|
var UUID2 = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
185133
185148
|
function executionOf(value = process.env.AI4KANBAN_EXECUTION) {
|
|
@@ -189393,12 +189408,15 @@ function runStopped(run3) {
|
|
|
189393
189408
|
const root2 = run3.agentPid ? { pid: run3.agentPid, since: run3.agentStartedAt ?? run3.startedAt ?? 0, identity: run3.agentIdentity } : void 0;
|
|
189394
189409
|
return run3.managedProcess ? connectionStopped(root2) : processesStopped(runMark(run3.sessionId, run3.agentStartedAt ?? run3.startedAt), root2);
|
|
189395
189410
|
}
|
|
189396
|
-
function failedRunResumeDiagnostic(run3, stopped2, zh) {
|
|
189411
|
+
function failedRunResumeDiagnostic(run3, stopped2, zh, manual = false) {
|
|
189397
189412
|
const session = run3 && !isSessionMissingFailure(run3.failure) ? run3.resumeId ?? (run3.canResume ? run3.sessionId : void 0) : void 0;
|
|
189413
|
+
const exited = stopped2 && !!run3?.endedAt && (run3.status === "error" || run3.status === "stopped");
|
|
189414
|
+
const cleanupUnconfirmed = run3?.cleanup ? run3.status === "stopped" ? !stoppedCleanupConfirmed(run3.cleanup) : run3.cleanup.status === "unconfirmed" : false;
|
|
189415
|
+
const unconfirmedCleanup = run3?.managedProcess ? !!run3.pendingWrites || cleanupUnconfirmed || run3.failure?.code === "idle_timeout" && !idleStopConfirmed(run3.cleanup, session) : manual && run3?.failure?.code === "idle_timeout" && !run3.cleanup?.kept?.length ? false : !!run3?.pendingWrites || cleanupUnconfirmed;
|
|
189398
189416
|
return resumeBlocked({
|
|
189399
|
-
stopped:
|
|
189417
|
+
stopped: exited,
|
|
189400
189418
|
session,
|
|
189401
|
-
unconfirmedCleanup
|
|
189419
|
+
unconfirmedCleanup
|
|
189402
189420
|
}, zh);
|
|
189403
189421
|
}
|
|
189404
189422
|
function recoveryArgs(run3) {
|
|
@@ -189801,8 +189819,8 @@ ${pictures(job, ws, ws.number)}`);
|
|
|
189801
189819
|
if (flow.resume_execution && !io.flowRun) {
|
|
189802
189820
|
const saved = await flowRunEvidence(ws, job, deps, flow.resume_execution);
|
|
189803
189821
|
if (stopping(io)) return fail("");
|
|
189804
|
-
if (!saved.
|
|
189805
|
-
return await workOn(card, void 0, saved.run);
|
|
189822
|
+
if (!saved.stopped || saved.mismatched || saved.diagnostic) return unverifiedResume(saved.diagnostic);
|
|
189823
|
+
if (saved.run) return await workOn(card, void 0, saved.run);
|
|
189806
189824
|
}
|
|
189807
189825
|
const verification = flow.verify_delivery;
|
|
189808
189826
|
if (verification) {
|
|
@@ -189958,7 +189976,8 @@ ${pictures(job, ws, ws.number)}`);
|
|
|
189958
189976
|
} else if (deliveryId2) {
|
|
189959
189977
|
const previous = answerOf2(await akb(["run", "list", "--card", String(id3), "--all", "--json"]))?.runs?.filter((r2) => ["implement", "conflict", "hook"].includes(r2.action ?? "") && r2.deliveryId === deliveryId2).sort((a2, b2) => (b2.startedAt ?? 0) - (a2.startedAt ?? 0))[0];
|
|
189960
189978
|
if (previous) {
|
|
189961
|
-
|
|
189979
|
+
const hasSession = !isSessionMissingFailure(previous.failure) && !!(previous.resumeId || previous.canResume);
|
|
189980
|
+
continuation = ["run", "resume", previous.sessionId, hasSession ? "--require-session" : "--new-session"];
|
|
189962
189981
|
}
|
|
189963
189982
|
}
|
|
189964
189983
|
return void 0;
|
|
@@ -190033,6 +190052,13 @@ ${pictures(job, ws, ws.number)}`);
|
|
|
190033
190052
|
const logged = continuation?.[1] === "log" ? continuation[2] : void 0;
|
|
190034
190053
|
let answer = answerOf2(ran);
|
|
190035
190054
|
let runs = await readRuns2();
|
|
190055
|
+
if (ran.code !== 0 && continuation?.[1] === "resume" && continuation.includes("--require-session") && !stopping(io) && runs.some((run3) => run3.sessionId === lastRun(answer) && isSessionMissingFailure(run3.failure))) {
|
|
190056
|
+
ran = await launch2(["run", "resume", continuation[2], "--new-session", "--follow", "--events", "--json"], true, void 0, effectiveVerb);
|
|
190057
|
+
if (ran.reviewRefused) return fail(ran.reviewRefused);
|
|
190058
|
+
if (io.lost()) return fail("");
|
|
190059
|
+
answer = answerOf2(ran);
|
|
190060
|
+
runs = await readRuns2();
|
|
190061
|
+
}
|
|
190036
190062
|
if (ran.code !== 0 && !continuation && job.fork && job.transcript && !stopping(io) && runs.some((run3) => run3.sessionId === lastRun(answer) && run3.failure?.code === "codex_fork_source_missing")) {
|
|
190037
190063
|
const failure2 = runs.find((run3) => run3.sessionId === lastRun(answer)).failure;
|
|
190038
190064
|
if (io.recover) {
|
|
@@ -190235,18 +190261,29 @@ async function flowRunEvidence(ws, job, deps, execution = job.id, prior) {
|
|
|
190235
190261
|
const candidates = owned.filter((run3) => !run3.parentId).sort((a2, b2) => (b2.startedAt ?? 0) - (a2.startedAt ?? 0));
|
|
190236
190262
|
const previous = candidates.find((run3) => run3.cloudExecution?.job === execution) ?? candidates.find((run3) => run3.sessionId === prior?.id) ?? candidates[0];
|
|
190237
190263
|
if (!previous || manual && previous.cloudExecution?.job !== execution) return { stopped: true, mismatched };
|
|
190238
|
-
|
|
190264
|
+
if (manual && id2 && isArchived(ws, id2) && !asks(cardFile(ws)) && isSuccessfulArchive(cardFile(ws))) {
|
|
190265
|
+
return { stopped: true, mismatched };
|
|
190266
|
+
}
|
|
190267
|
+
const session = !isSessionMissingFailure(previous.failure) ? previous.resumeId ?? (previous.canResume ? previous.sessionId : void 0) : void 0;
|
|
190268
|
+
if (session && id2 && !await taskSessionMatches(ws, deps, session)) {
|
|
190269
|
+
return { stopped: true, mismatched: true, diagnostic: zh ? "\u539F\u4F1A\u8BDD\u5F52\u5C5E\u65E0\u6CD5\u6838\u5B9E\u3002" : "Could not verify that the session belongs to this task." };
|
|
190270
|
+
}
|
|
190271
|
+
const resumeDiagnostic = failedRunResumeDiagnostic(previous, true, zh, manual);
|
|
190239
190272
|
if (manual) {
|
|
190273
|
+
if (!session && (!previous.managedProcess || stoppedCleanupConfirmed(previous.cleanup) || !previous.cleanup)) {
|
|
190274
|
+
return { stopped: true, mismatched };
|
|
190275
|
+
}
|
|
190240
190276
|
if (resumeDiagnostic) return { stopped: true, diagnostic: resumeDiagnostic };
|
|
190241
190277
|
return { stopped: true, mismatched, run: { id: previous.sessionId, finished: false, card: id2 || void 0, deliveryId: previous.deliveryId } };
|
|
190242
190278
|
}
|
|
190243
190279
|
const terminal = job.flow && previous.status === "error" && previous.retryPause ? previous.failure : void 0;
|
|
190244
190280
|
const failure2 = terminal && previous.retryPause === "limit" ? { ...terminal, code: terminal.code ?? "retry_exhausted" } : terminal;
|
|
190281
|
+
const cleanupUnconfirmed = previous.cleanup ? previous.status === "stopped" ? !stoppedCleanupConfirmed(previous.cleanup) : previous.cleanup.status === "unconfirmed" : false;
|
|
190245
190282
|
const recovery = agentRecovery({
|
|
190246
190283
|
stopped: true,
|
|
190247
190284
|
completed: previous.status === "done" || !!failure2,
|
|
190248
|
-
session
|
|
190249
|
-
unconfirmedCleanup: !!previous.retryPause || previous.pendingWrites ||
|
|
190285
|
+
session,
|
|
190286
|
+
unconfirmedCleanup: !!previous.retryPause || !!previous.pendingWrites || cleanupUnconfirmed
|
|
190250
190287
|
});
|
|
190251
190288
|
if (recovery === "unsafe") return { stopped: true, mismatched };
|
|
190252
190289
|
const { sessionId, runtime, startedAt, usage, costUsd, costIncomplete, context } = previous;
|