@xemahq/opencode-xema-plugin 0.1.5 → 0.1.8
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/logger.d.ts.map +1 -1
- package/dist/logger.js.map +1 -1
- package/package.json +6 -7
- package/plugin.mjs +83 -87
- package/dist/tools/xema-studio.d.ts +0 -28
- package/dist/tools/xema-studio.d.ts.map +0 -1
- package/dist/tools/xema-studio.js +0 -220
- package/dist/tools/xema-studio.js.map +0 -1
- package/src/context.ts +0 -154
- package/src/errors.ts +0 -24
- package/src/hooks/session-idle-autocommit.ts +0 -411
- package/src/hooks/system-prompt-overlay.ts +0 -99
- package/src/hooks/workspace-listing.ts +0 -175
- package/src/index.ts +0 -163
- package/src/logger.ts +0 -40
- package/src/opencode-types.ts +0 -107
- package/src/plugin-entry.ts +0 -22
- package/src/session-state.ts +0 -92
- package/src/tools/runtime.ts +0 -7
- package/src/tools/service-token.ts +0 -68
- package/src/tools/shared.ts +0 -16
- package/src/tools/xema-memory.ts +0 -232
package/plugin.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import { promisify } from "node:util";
|
|
|
18
18
|
import { existsSync, readFileSync } from "node:fs";
|
|
19
19
|
import { join } from "node:path";
|
|
20
20
|
|
|
21
|
-
//
|
|
21
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
22
22
|
var external_exports = {};
|
|
23
23
|
__export(external_exports, {
|
|
24
24
|
$brand: () => $brand,
|
|
@@ -261,7 +261,7 @@ __export(external_exports, {
|
|
|
261
261
|
xor: () => xor
|
|
262
262
|
});
|
|
263
263
|
|
|
264
|
-
//
|
|
264
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/index.js
|
|
265
265
|
var core_exports2 = {};
|
|
266
266
|
__export(core_exports2, {
|
|
267
267
|
$ZodAny: () => $ZodAny,
|
|
@@ -540,7 +540,7 @@ __export(core_exports2, {
|
|
|
540
540
|
version: () => version
|
|
541
541
|
});
|
|
542
542
|
|
|
543
|
-
//
|
|
543
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
544
544
|
var _a;
|
|
545
545
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
546
546
|
status: "aborted"
|
|
@@ -597,7 +597,7 @@ function $constructor(name, initializer3, params) {
|
|
|
597
597
|
Object.defineProperty(_, "name", { value: name });
|
|
598
598
|
return _;
|
|
599
599
|
}
|
|
600
|
-
var $brand =
|
|
600
|
+
var $brand = Symbol("zod_brand");
|
|
601
601
|
var $ZodAsyncError = class extends Error {
|
|
602
602
|
constructor() {
|
|
603
603
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
@@ -617,7 +617,7 @@ function config(newConfig) {
|
|
|
617
617
|
return globalConfig;
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
//
|
|
620
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
621
621
|
var util_exports = {};
|
|
622
622
|
__export(util_exports, {
|
|
623
623
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -1313,7 +1313,7 @@ var Class = class {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
};
|
|
1315
1315
|
|
|
1316
|
-
//
|
|
1316
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
|
|
1317
1317
|
var initializer = (inst, def) => {
|
|
1318
1318
|
inst.name = "$ZodError";
|
|
1319
1319
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1452,7 +1452,7 @@ function prettifyError(error51) {
|
|
|
1452
1452
|
return lines.join("\n");
|
|
1453
1453
|
}
|
|
1454
1454
|
|
|
1455
|
-
//
|
|
1455
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
|
|
1456
1456
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
1457
1457
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
1458
1458
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -1540,7 +1540,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1540
1540
|
};
|
|
1541
1541
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1542
1542
|
|
|
1543
|
-
//
|
|
1543
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
1544
1544
|
var regexes_exports = {};
|
|
1545
1545
|
__export(regexes_exports, {
|
|
1546
1546
|
base64: () => base64,
|
|
@@ -1699,7 +1699,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
1699
1699
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
1700
1700
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
1701
1701
|
|
|
1702
|
-
//
|
|
1702
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
|
|
1703
1703
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1704
1704
|
var _a3;
|
|
1705
1705
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2247,7 +2247,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2247
2247
|
};
|
|
2248
2248
|
});
|
|
2249
2249
|
|
|
2250
|
-
//
|
|
2250
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
|
|
2251
2251
|
var Doc = class {
|
|
2252
2252
|
constructor(args = []) {
|
|
2253
2253
|
this.content = [];
|
|
@@ -2283,14 +2283,14 @@ var Doc = class {
|
|
|
2283
2283
|
}
|
|
2284
2284
|
};
|
|
2285
2285
|
|
|
2286
|
-
//
|
|
2286
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
|
|
2287
2287
|
var version = {
|
|
2288
2288
|
major: 4,
|
|
2289
2289
|
minor: 4,
|
|
2290
2290
|
patch: 3
|
|
2291
2291
|
};
|
|
2292
2292
|
|
|
2293
|
-
//
|
|
2293
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
2294
2294
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2295
2295
|
var _a3;
|
|
2296
2296
|
inst ?? (inst = {});
|
|
@@ -4383,7 +4383,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4383
4383
|
}
|
|
4384
4384
|
}
|
|
4385
4385
|
|
|
4386
|
-
//
|
|
4386
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/index.js
|
|
4387
4387
|
var locales_exports = {};
|
|
4388
4388
|
__export(locales_exports, {
|
|
4389
4389
|
ar: () => ar_default,
|
|
@@ -4440,7 +4440,7 @@ __export(locales_exports, {
|
|
|
4440
4440
|
zhTW: () => zh_TW_default
|
|
4441
4441
|
});
|
|
4442
4442
|
|
|
4443
|
-
//
|
|
4443
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ar.js
|
|
4444
4444
|
var error = () => {
|
|
4445
4445
|
const Sizable = {
|
|
4446
4446
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -4547,7 +4547,7 @@ function ar_default() {
|
|
|
4547
4547
|
};
|
|
4548
4548
|
}
|
|
4549
4549
|
|
|
4550
|
-
//
|
|
4550
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/az.js
|
|
4551
4551
|
var error2 = () => {
|
|
4552
4552
|
const Sizable = {
|
|
4553
4553
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -4653,7 +4653,7 @@ function az_default() {
|
|
|
4653
4653
|
};
|
|
4654
4654
|
}
|
|
4655
4655
|
|
|
4656
|
-
//
|
|
4656
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/be.js
|
|
4657
4657
|
function getBelarusianPlural(count, one, few, many) {
|
|
4658
4658
|
const absCount = Math.abs(count);
|
|
4659
4659
|
const lastDigit = absCount % 10;
|
|
@@ -4810,7 +4810,7 @@ function be_default() {
|
|
|
4810
4810
|
};
|
|
4811
4811
|
}
|
|
4812
4812
|
|
|
4813
|
-
//
|
|
4813
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/bg.js
|
|
4814
4814
|
var error4 = () => {
|
|
4815
4815
|
const Sizable = {
|
|
4816
4816
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -4931,7 +4931,7 @@ function bg_default() {
|
|
|
4931
4931
|
};
|
|
4932
4932
|
}
|
|
4933
4933
|
|
|
4934
|
-
//
|
|
4934
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ca.js
|
|
4935
4935
|
var error5 = () => {
|
|
4936
4936
|
const Sizable = {
|
|
4937
4937
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -5040,7 +5040,7 @@ function ca_default() {
|
|
|
5040
5040
|
};
|
|
5041
5041
|
}
|
|
5042
5042
|
|
|
5043
|
-
//
|
|
5043
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/cs.js
|
|
5044
5044
|
var error6 = () => {
|
|
5045
5045
|
const Sizable = {
|
|
5046
5046
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -5152,7 +5152,7 @@ function cs_default() {
|
|
|
5152
5152
|
};
|
|
5153
5153
|
}
|
|
5154
5154
|
|
|
5155
|
-
//
|
|
5155
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/da.js
|
|
5156
5156
|
var error7 = () => {
|
|
5157
5157
|
const Sizable = {
|
|
5158
5158
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -5268,7 +5268,7 @@ function da_default() {
|
|
|
5268
5268
|
};
|
|
5269
5269
|
}
|
|
5270
5270
|
|
|
5271
|
-
//
|
|
5271
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/de.js
|
|
5272
5272
|
var error8 = () => {
|
|
5273
5273
|
const Sizable = {
|
|
5274
5274
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -5377,7 +5377,7 @@ function de_default() {
|
|
|
5377
5377
|
};
|
|
5378
5378
|
}
|
|
5379
5379
|
|
|
5380
|
-
//
|
|
5380
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/el.js
|
|
5381
5381
|
var error9 = () => {
|
|
5382
5382
|
const Sizable = {
|
|
5383
5383
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -5487,7 +5487,7 @@ function el_default() {
|
|
|
5487
5487
|
};
|
|
5488
5488
|
}
|
|
5489
5489
|
|
|
5490
|
-
//
|
|
5490
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.js
|
|
5491
5491
|
var error10 = () => {
|
|
5492
5492
|
const Sizable = {
|
|
5493
5493
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -5600,7 +5600,7 @@ function en_default() {
|
|
|
5600
5600
|
};
|
|
5601
5601
|
}
|
|
5602
5602
|
|
|
5603
|
-
//
|
|
5603
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/eo.js
|
|
5604
5604
|
var error11 = () => {
|
|
5605
5605
|
const Sizable = {
|
|
5606
5606
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -5710,7 +5710,7 @@ function eo_default() {
|
|
|
5710
5710
|
};
|
|
5711
5711
|
}
|
|
5712
5712
|
|
|
5713
|
-
//
|
|
5713
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/es.js
|
|
5714
5714
|
var error12 = () => {
|
|
5715
5715
|
const Sizable = {
|
|
5716
5716
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -5843,7 +5843,7 @@ function es_default() {
|
|
|
5843
5843
|
};
|
|
5844
5844
|
}
|
|
5845
5845
|
|
|
5846
|
-
//
|
|
5846
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fa.js
|
|
5847
5847
|
var error13 = () => {
|
|
5848
5848
|
const Sizable = {
|
|
5849
5849
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -5958,7 +5958,7 @@ function fa_default() {
|
|
|
5958
5958
|
};
|
|
5959
5959
|
}
|
|
5960
5960
|
|
|
5961
|
-
//
|
|
5961
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fi.js
|
|
5962
5962
|
var error14 = () => {
|
|
5963
5963
|
const Sizable = {
|
|
5964
5964
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -6071,7 +6071,7 @@ function fi_default() {
|
|
|
6071
6071
|
};
|
|
6072
6072
|
}
|
|
6073
6073
|
|
|
6074
|
-
//
|
|
6074
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr.js
|
|
6075
6075
|
var error15 = () => {
|
|
6076
6076
|
const Sizable = {
|
|
6077
6077
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -6197,7 +6197,7 @@ function fr_default() {
|
|
|
6197
6197
|
};
|
|
6198
6198
|
}
|
|
6199
6199
|
|
|
6200
|
-
//
|
|
6200
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr-CA.js
|
|
6201
6201
|
var error16 = () => {
|
|
6202
6202
|
const Sizable = {
|
|
6203
6203
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -6305,7 +6305,7 @@ function fr_CA_default() {
|
|
|
6305
6305
|
};
|
|
6306
6306
|
}
|
|
6307
6307
|
|
|
6308
|
-
//
|
|
6308
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/he.js
|
|
6309
6309
|
var error17 = () => {
|
|
6310
6310
|
const TypeNames = {
|
|
6311
6311
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -6500,7 +6500,7 @@ function he_default() {
|
|
|
6500
6500
|
};
|
|
6501
6501
|
}
|
|
6502
6502
|
|
|
6503
|
-
//
|
|
6503
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hr.js
|
|
6504
6504
|
var error18 = () => {
|
|
6505
6505
|
const Sizable = {
|
|
6506
6506
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -6623,7 +6623,7 @@ function hr_default() {
|
|
|
6623
6623
|
};
|
|
6624
6624
|
}
|
|
6625
6625
|
|
|
6626
|
-
//
|
|
6626
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hu.js
|
|
6627
6627
|
var error19 = () => {
|
|
6628
6628
|
const Sizable = {
|
|
6629
6629
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -6732,7 +6732,7 @@ function hu_default() {
|
|
|
6732
6732
|
};
|
|
6733
6733
|
}
|
|
6734
6734
|
|
|
6735
|
-
//
|
|
6735
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hy.js
|
|
6736
6736
|
function getArmenianPlural(count, one, many) {
|
|
6737
6737
|
return Math.abs(count) === 1 ? one : many;
|
|
6738
6738
|
}
|
|
@@ -6880,7 +6880,7 @@ function hy_default() {
|
|
|
6880
6880
|
};
|
|
6881
6881
|
}
|
|
6882
6882
|
|
|
6883
|
-
//
|
|
6883
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/id.js
|
|
6884
6884
|
var error21 = () => {
|
|
6885
6885
|
const Sizable = {
|
|
6886
6886
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -6987,7 +6987,7 @@ function id_default() {
|
|
|
6987
6987
|
};
|
|
6988
6988
|
}
|
|
6989
6989
|
|
|
6990
|
-
//
|
|
6990
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/is.js
|
|
6991
6991
|
var error22 = () => {
|
|
6992
6992
|
const Sizable = {
|
|
6993
6993
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -7097,7 +7097,7 @@ function is_default() {
|
|
|
7097
7097
|
};
|
|
7098
7098
|
}
|
|
7099
7099
|
|
|
7100
|
-
//
|
|
7100
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/it.js
|
|
7101
7101
|
var error23 = () => {
|
|
7102
7102
|
const Sizable = {
|
|
7103
7103
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -7206,7 +7206,7 @@ function it_default() {
|
|
|
7206
7206
|
};
|
|
7207
7207
|
}
|
|
7208
7208
|
|
|
7209
|
-
//
|
|
7209
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ja.js
|
|
7210
7210
|
var error24 = () => {
|
|
7211
7211
|
const Sizable = {
|
|
7212
7212
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -7314,7 +7314,7 @@ function ja_default() {
|
|
|
7314
7314
|
};
|
|
7315
7315
|
}
|
|
7316
7316
|
|
|
7317
|
-
//
|
|
7317
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ka.js
|
|
7318
7318
|
var error25 = () => {
|
|
7319
7319
|
const Sizable = {
|
|
7320
7320
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -7427,7 +7427,7 @@ function ka_default() {
|
|
|
7427
7427
|
};
|
|
7428
7428
|
}
|
|
7429
7429
|
|
|
7430
|
-
//
|
|
7430
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/km.js
|
|
7431
7431
|
var error26 = () => {
|
|
7432
7432
|
const Sizable = {
|
|
7433
7433
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -7538,12 +7538,12 @@ function km_default() {
|
|
|
7538
7538
|
};
|
|
7539
7539
|
}
|
|
7540
7540
|
|
|
7541
|
-
//
|
|
7541
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/kh.js
|
|
7542
7542
|
function kh_default() {
|
|
7543
7543
|
return km_default();
|
|
7544
7544
|
}
|
|
7545
7545
|
|
|
7546
|
-
//
|
|
7546
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ko.js
|
|
7547
7547
|
var error27 = () => {
|
|
7548
7548
|
const Sizable = {
|
|
7549
7549
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -7655,7 +7655,7 @@ function ko_default() {
|
|
|
7655
7655
|
};
|
|
7656
7656
|
}
|
|
7657
7657
|
|
|
7658
|
-
//
|
|
7658
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/lt.js
|
|
7659
7659
|
var capitalizeFirstCharacter = (text) => {
|
|
7660
7660
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
7661
7661
|
};
|
|
@@ -7859,7 +7859,7 @@ function lt_default() {
|
|
|
7859
7859
|
};
|
|
7860
7860
|
}
|
|
7861
7861
|
|
|
7862
|
-
//
|
|
7862
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/mk.js
|
|
7863
7863
|
var error29 = () => {
|
|
7864
7864
|
const Sizable = {
|
|
7865
7865
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -7969,7 +7969,7 @@ function mk_default() {
|
|
|
7969
7969
|
};
|
|
7970
7970
|
}
|
|
7971
7971
|
|
|
7972
|
-
//
|
|
7972
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ms.js
|
|
7973
7973
|
var error30 = () => {
|
|
7974
7974
|
const Sizable = {
|
|
7975
7975
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -8077,7 +8077,7 @@ function ms_default() {
|
|
|
8077
8077
|
};
|
|
8078
8078
|
}
|
|
8079
8079
|
|
|
8080
|
-
//
|
|
8080
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/nl.js
|
|
8081
8081
|
var error31 = () => {
|
|
8082
8082
|
const Sizable = {
|
|
8083
8083
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -8188,7 +8188,7 @@ function nl_default() {
|
|
|
8188
8188
|
};
|
|
8189
8189
|
}
|
|
8190
8190
|
|
|
8191
|
-
//
|
|
8191
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/no.js
|
|
8192
8192
|
var error32 = () => {
|
|
8193
8193
|
const Sizable = {
|
|
8194
8194
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -8297,7 +8297,7 @@ function no_default() {
|
|
|
8297
8297
|
};
|
|
8298
8298
|
}
|
|
8299
8299
|
|
|
8300
|
-
//
|
|
8300
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ota.js
|
|
8301
8301
|
var error33 = () => {
|
|
8302
8302
|
const Sizable = {
|
|
8303
8303
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -8407,7 +8407,7 @@ function ota_default() {
|
|
|
8407
8407
|
};
|
|
8408
8408
|
}
|
|
8409
8409
|
|
|
8410
|
-
//
|
|
8410
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ps.js
|
|
8411
8411
|
var error34 = () => {
|
|
8412
8412
|
const Sizable = {
|
|
8413
8413
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -8522,7 +8522,7 @@ function ps_default() {
|
|
|
8522
8522
|
};
|
|
8523
8523
|
}
|
|
8524
8524
|
|
|
8525
|
-
//
|
|
8525
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pl.js
|
|
8526
8526
|
var error35 = () => {
|
|
8527
8527
|
const Sizable = {
|
|
8528
8528
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -8632,7 +8632,7 @@ function pl_default() {
|
|
|
8632
8632
|
};
|
|
8633
8633
|
}
|
|
8634
8634
|
|
|
8635
|
-
//
|
|
8635
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pt.js
|
|
8636
8636
|
var error36 = () => {
|
|
8637
8637
|
const Sizable = {
|
|
8638
8638
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -8741,7 +8741,7 @@ function pt_default() {
|
|
|
8741
8741
|
};
|
|
8742
8742
|
}
|
|
8743
8743
|
|
|
8744
|
-
//
|
|
8744
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ro.js
|
|
8745
8745
|
var error37 = () => {
|
|
8746
8746
|
const Sizable = {
|
|
8747
8747
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -8861,7 +8861,7 @@ function ro_default() {
|
|
|
8861
8861
|
};
|
|
8862
8862
|
}
|
|
8863
8863
|
|
|
8864
|
-
//
|
|
8864
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ru.js
|
|
8865
8865
|
function getRussianPlural(count, one, few, many) {
|
|
8866
8866
|
const absCount = Math.abs(count);
|
|
8867
8867
|
const lastDigit = absCount % 10;
|
|
@@ -9018,7 +9018,7 @@ function ru_default() {
|
|
|
9018
9018
|
};
|
|
9019
9019
|
}
|
|
9020
9020
|
|
|
9021
|
-
//
|
|
9021
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sl.js
|
|
9022
9022
|
var error39 = () => {
|
|
9023
9023
|
const Sizable = {
|
|
9024
9024
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -9128,7 +9128,7 @@ function sl_default() {
|
|
|
9128
9128
|
};
|
|
9129
9129
|
}
|
|
9130
9130
|
|
|
9131
|
-
//
|
|
9131
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sv.js
|
|
9132
9132
|
var error40 = () => {
|
|
9133
9133
|
const Sizable = {
|
|
9134
9134
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -9239,7 +9239,7 @@ function sv_default() {
|
|
|
9239
9239
|
};
|
|
9240
9240
|
}
|
|
9241
9241
|
|
|
9242
|
-
//
|
|
9242
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ta.js
|
|
9243
9243
|
var error41 = () => {
|
|
9244
9244
|
const Sizable = {
|
|
9245
9245
|
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" },
|
|
@@ -9350,7 +9350,7 @@ function ta_default() {
|
|
|
9350
9350
|
};
|
|
9351
9351
|
}
|
|
9352
9352
|
|
|
9353
|
-
//
|
|
9353
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/th.js
|
|
9354
9354
|
var error42 = () => {
|
|
9355
9355
|
const Sizable = {
|
|
9356
9356
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -9461,7 +9461,7 @@ function th_default() {
|
|
|
9461
9461
|
};
|
|
9462
9462
|
}
|
|
9463
9463
|
|
|
9464
|
-
//
|
|
9464
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/tr.js
|
|
9465
9465
|
var error43 = () => {
|
|
9466
9466
|
const Sizable = {
|
|
9467
9467
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -9567,7 +9567,7 @@ function tr_default() {
|
|
|
9567
9567
|
};
|
|
9568
9568
|
}
|
|
9569
9569
|
|
|
9570
|
-
//
|
|
9570
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uk.js
|
|
9571
9571
|
var error44 = () => {
|
|
9572
9572
|
const Sizable = {
|
|
9573
9573
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -9676,12 +9676,12 @@ function uk_default() {
|
|
|
9676
9676
|
};
|
|
9677
9677
|
}
|
|
9678
9678
|
|
|
9679
|
-
//
|
|
9679
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ua.js
|
|
9680
9680
|
function ua_default() {
|
|
9681
9681
|
return uk_default();
|
|
9682
9682
|
}
|
|
9683
9683
|
|
|
9684
|
-
//
|
|
9684
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ur.js
|
|
9685
9685
|
var error45 = () => {
|
|
9686
9686
|
const Sizable = {
|
|
9687
9687
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -9792,7 +9792,7 @@ function ur_default() {
|
|
|
9792
9792
|
};
|
|
9793
9793
|
}
|
|
9794
9794
|
|
|
9795
|
-
//
|
|
9795
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uz.js
|
|
9796
9796
|
var error46 = () => {
|
|
9797
9797
|
const Sizable = {
|
|
9798
9798
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -9903,7 +9903,7 @@ function uz_default() {
|
|
|
9903
9903
|
};
|
|
9904
9904
|
}
|
|
9905
9905
|
|
|
9906
|
-
//
|
|
9906
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/vi.js
|
|
9907
9907
|
var error47 = () => {
|
|
9908
9908
|
const Sizable = {
|
|
9909
9909
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -10012,7 +10012,7 @@ function vi_default() {
|
|
|
10012
10012
|
};
|
|
10013
10013
|
}
|
|
10014
10014
|
|
|
10015
|
-
//
|
|
10015
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-CN.js
|
|
10016
10016
|
var error48 = () => {
|
|
10017
10017
|
const Sizable = {
|
|
10018
10018
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -10122,7 +10122,7 @@ function zh_CN_default() {
|
|
|
10122
10122
|
};
|
|
10123
10123
|
}
|
|
10124
10124
|
|
|
10125
|
-
//
|
|
10125
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-TW.js
|
|
10126
10126
|
var error49 = () => {
|
|
10127
10127
|
const Sizable = {
|
|
10128
10128
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -10230,7 +10230,7 @@ function zh_TW_default() {
|
|
|
10230
10230
|
};
|
|
10231
10231
|
}
|
|
10232
10232
|
|
|
10233
|
-
//
|
|
10233
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/yo.js
|
|
10234
10234
|
var error50 = () => {
|
|
10235
10235
|
const Sizable = {
|
|
10236
10236
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -10338,10 +10338,10 @@ function yo_default() {
|
|
|
10338
10338
|
};
|
|
10339
10339
|
}
|
|
10340
10340
|
|
|
10341
|
-
//
|
|
10341
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
10342
10342
|
var _a2;
|
|
10343
|
-
var $output =
|
|
10344
|
-
var $input =
|
|
10343
|
+
var $output = Symbol("ZodOutput");
|
|
10344
|
+
var $input = Symbol("ZodInput");
|
|
10345
10345
|
var $ZodRegistry = class {
|
|
10346
10346
|
constructor() {
|
|
10347
10347
|
this._map = /* @__PURE__ */ new WeakMap();
|
|
@@ -10388,7 +10388,7 @@ function registry() {
|
|
|
10388
10388
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
10389
10389
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
10390
10390
|
|
|
10391
|
-
//
|
|
10391
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
|
|
10392
10392
|
// @__NO_SIDE_EFFECTS__
|
|
10393
10393
|
function _string(Class2, params) {
|
|
10394
10394
|
return new Class2({
|
|
@@ -11427,7 +11427,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
11427
11427
|
return inst;
|
|
11428
11428
|
}
|
|
11429
11429
|
|
|
11430
|
-
//
|
|
11430
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
|
|
11431
11431
|
function initializeContext(params) {
|
|
11432
11432
|
let target = params?.target ?? "draft-2020-12";
|
|
11433
11433
|
if (target === "draft-4")
|
|
@@ -11786,7 +11786,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
11786
11786
|
return finalize(ctx, schema);
|
|
11787
11787
|
};
|
|
11788
11788
|
|
|
11789
|
-
//
|
|
11789
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
|
|
11790
11790
|
var formatMap = {
|
|
11791
11791
|
guid: "uuid",
|
|
11792
11792
|
url: "uri",
|
|
@@ -12330,7 +12330,7 @@ function toJSONSchema(input, params) {
|
|
|
12330
12330
|
return finalize(ctx, input);
|
|
12331
12331
|
}
|
|
12332
12332
|
|
|
12333
|
-
//
|
|
12333
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-generator.js
|
|
12334
12334
|
var JSONSchemaGenerator = class {
|
|
12335
12335
|
/** @deprecated Access via ctx instead */
|
|
12336
12336
|
get metadataRegistry() {
|
|
@@ -12405,10 +12405,10 @@ var JSONSchemaGenerator = class {
|
|
|
12405
12405
|
}
|
|
12406
12406
|
};
|
|
12407
12407
|
|
|
12408
|
-
//
|
|
12408
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.js
|
|
12409
12409
|
var json_schema_exports = {};
|
|
12410
12410
|
|
|
12411
|
-
//
|
|
12411
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
12412
12412
|
var schemas_exports2 = {};
|
|
12413
12413
|
__export(schemas_exports2, {
|
|
12414
12414
|
ZodAny: () => ZodAny,
|
|
@@ -12579,7 +12579,7 @@ __export(schemas_exports2, {
|
|
|
12579
12579
|
xor: () => xor
|
|
12580
12580
|
});
|
|
12581
12581
|
|
|
12582
|
-
//
|
|
12582
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/checks.js
|
|
12583
12583
|
var checks_exports2 = {};
|
|
12584
12584
|
__export(checks_exports2, {
|
|
12585
12585
|
endsWith: () => _endsWith,
|
|
@@ -12613,7 +12613,7 @@ __export(checks_exports2, {
|
|
|
12613
12613
|
uppercase: () => _uppercase
|
|
12614
12614
|
});
|
|
12615
12615
|
|
|
12616
|
-
//
|
|
12616
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
12617
12617
|
var iso_exports = {};
|
|
12618
12618
|
__export(iso_exports, {
|
|
12619
12619
|
ZodISODate: () => ZodISODate,
|
|
@@ -12654,7 +12654,7 @@ function duration2(params) {
|
|
|
12654
12654
|
return _isoDuration(ZodISODuration, params);
|
|
12655
12655
|
}
|
|
12656
12656
|
|
|
12657
|
-
//
|
|
12657
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
|
|
12658
12658
|
var initializer2 = (inst, issues) => {
|
|
12659
12659
|
$ZodError.init(inst, issues);
|
|
12660
12660
|
inst.name = "ZodError";
|
|
@@ -12694,7 +12694,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
12694
12694
|
Parent: Error
|
|
12695
12695
|
});
|
|
12696
12696
|
|
|
12697
|
-
//
|
|
12697
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
|
|
12698
12698
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
12699
12699
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
12700
12700
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -12708,7 +12708,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
12708
12708
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
12709
12709
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
12710
12710
|
|
|
12711
|
-
//
|
|
12711
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
12712
12712
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
12713
12713
|
function _installLazyMethods(inst, group, methods) {
|
|
12714
12714
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -13998,7 +13998,7 @@ function preprocess(fn, schema) {
|
|
|
13998
13998
|
});
|
|
13999
13999
|
}
|
|
14000
14000
|
|
|
14001
|
-
//
|
|
14001
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.js
|
|
14002
14002
|
var ZodIssueCode = {
|
|
14003
14003
|
invalid_type: "invalid_type",
|
|
14004
14004
|
too_big: "too_big",
|
|
@@ -14024,7 +14024,7 @@ var ZodFirstPartyTypeKind;
|
|
|
14024
14024
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
14025
14025
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
14026
14026
|
|
|
14027
|
-
//
|
|
14027
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/from-json-schema.js
|
|
14028
14028
|
var z = {
|
|
14029
14029
|
...schemas_exports2,
|
|
14030
14030
|
...checks_exports2,
|
|
@@ -14504,7 +14504,7 @@ function fromJSONSchema(schema, params) {
|
|
|
14504
14504
|
return convertSchema(normalized, ctx);
|
|
14505
14505
|
}
|
|
14506
14506
|
|
|
14507
|
-
//
|
|
14507
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/coerce.js
|
|
14508
14508
|
var coerce_exports = {};
|
|
14509
14509
|
__export(coerce_exports, {
|
|
14510
14510
|
bigint: () => bigint3,
|
|
@@ -14529,7 +14529,7 @@ function date4(params) {
|
|
|
14529
14529
|
return _coercedDate(ZodDate, params);
|
|
14530
14530
|
}
|
|
14531
14531
|
|
|
14532
|
-
//
|
|
14532
|
+
// ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
14533
14533
|
config(en_default());
|
|
14534
14534
|
|
|
14535
14535
|
// src/logger.ts
|
|
@@ -15028,7 +15028,6 @@ var ContextMissingError = class extends Error {
|
|
|
15028
15028
|
);
|
|
15029
15029
|
this.workspaceDir = workspaceDir;
|
|
15030
15030
|
}
|
|
15031
|
-
workspaceDir;
|
|
15032
15031
|
code = "XEMA_CONTEXT_MISSING";
|
|
15033
15032
|
};
|
|
15034
15033
|
var RoleNotAllowedError = class extends Error {
|
|
@@ -15040,9 +15039,6 @@ var RoleNotAllowedError = class extends Error {
|
|
|
15040
15039
|
this.toolName = toolName;
|
|
15041
15040
|
this.allowedTools = allowedTools;
|
|
15042
15041
|
}
|
|
15043
|
-
role;
|
|
15044
|
-
toolName;
|
|
15045
|
-
allowedTools;
|
|
15046
15042
|
code = "XEMA_ROLE_NOT_ALLOWED";
|
|
15047
15043
|
};
|
|
15048
15044
|
function loadSessionState(workspaceDir) {
|