@lambdacurry/arbor 0.20.29 → 0.20.31

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.
Files changed (2) hide show
  1. package/dist/arbor.js +1393 -1048
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -178,6 +178,60 @@ class ColumnBuilder {
178
178
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/table.utils.js
179
179
  var TableName = Symbol.for("drizzle:Name");
180
180
 
181
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/pg-core/foreign-keys.js
182
+ class ForeignKeyBuilder {
183
+ static [entityKind] = "PgForeignKeyBuilder";
184
+ reference;
185
+ _onUpdate = "no action";
186
+ _onDelete = "no action";
187
+ constructor(config, actions) {
188
+ this.reference = () => {
189
+ const { name, columns, foreignColumns } = config();
190
+ return { name, columns, foreignTable: foreignColumns[0].table, foreignColumns };
191
+ };
192
+ if (actions) {
193
+ this._onUpdate = actions.onUpdate;
194
+ this._onDelete = actions.onDelete;
195
+ }
196
+ }
197
+ onUpdate(action) {
198
+ this._onUpdate = action === undefined ? "no action" : action;
199
+ return this;
200
+ }
201
+ onDelete(action) {
202
+ this._onDelete = action === undefined ? "no action" : action;
203
+ return this;
204
+ }
205
+ build(table) {
206
+ return new ForeignKey(table, this);
207
+ }
208
+ }
209
+
210
+ class ForeignKey {
211
+ constructor(table, builder) {
212
+ this.table = table;
213
+ this.reference = builder.reference;
214
+ this.onUpdate = builder._onUpdate;
215
+ this.onDelete = builder._onDelete;
216
+ }
217
+ static [entityKind] = "PgForeignKey";
218
+ reference;
219
+ onUpdate;
220
+ onDelete;
221
+ getName() {
222
+ const { name, columns, foreignColumns } = this.reference();
223
+ const columnNames = columns.map((column) => column.name);
224
+ const foreignColumnNames = foreignColumns.map((column) => column.name);
225
+ const chunks = [
226
+ this.table[TableName],
227
+ ...columnNames,
228
+ foreignColumns[0].table[TableName],
229
+ ...foreignColumnNames
230
+ ];
231
+ return name ?? `${chunks.join("_")}_fk`;
232
+ }
233
+ }
234
+
181
235
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/tracing-utils.js
182
236
  function iife(fn, ...args) {
183
237
  return fn(...args);
@@ -188,7 +242,173 @@ function uniqueKeyName(table, columns) {
188
242
  return `${table[TableName]}_${columns.join("_")}_unique`;
189
243
  }
190
244
 
245
+ class UniqueConstraintBuilder {
246
+ constructor(columns, name) {
247
+ this.name = name;
248
+ this.columns = columns;
249
+ }
250
+ static [entityKind] = "PgUniqueConstraintBuilder";
251
+ columns;
252
+ nullsNotDistinctConfig = false;
253
+ nullsNotDistinct() {
254
+ this.nullsNotDistinctConfig = true;
255
+ return this;
256
+ }
257
+ build(table) {
258
+ return new UniqueConstraint(table, this.columns, this.nullsNotDistinctConfig, this.name);
259
+ }
260
+ }
261
+
262
+ class UniqueOnConstraintBuilder {
263
+ static [entityKind] = "PgUniqueOnConstraintBuilder";
264
+ name;
265
+ constructor(name) {
266
+ this.name = name;
267
+ }
268
+ on(...columns) {
269
+ return new UniqueConstraintBuilder(columns, this.name);
270
+ }
271
+ }
272
+
273
+ class UniqueConstraint {
274
+ constructor(table, columns, nullsNotDistinct, name) {
275
+ this.table = table;
276
+ this.columns = columns;
277
+ this.name = name ?? uniqueKeyName(this.table, this.columns.map((column) => column.name));
278
+ this.nullsNotDistinct = nullsNotDistinct;
279
+ }
280
+ static [entityKind] = "PgUniqueConstraint";
281
+ columns;
282
+ name;
283
+ nullsNotDistinct = false;
284
+ getName() {
285
+ return this.name;
286
+ }
287
+ }
288
+
289
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/pg-core/utils/array.js
290
+ function parsePgArrayValue(arrayString, startFrom, inQuotes) {
291
+ for (let i = startFrom;i < arrayString.length; i++) {
292
+ const char = arrayString[i];
293
+ if (char === "\\") {
294
+ i++;
295
+ continue;
296
+ }
297
+ if (char === '"') {
298
+ return [arrayString.slice(startFrom, i).replace(/\\/g, ""), i + 1];
299
+ }
300
+ if (inQuotes) {
301
+ continue;
302
+ }
303
+ if (char === "," || char === "}") {
304
+ return [arrayString.slice(startFrom, i).replace(/\\/g, ""), i];
305
+ }
306
+ }
307
+ return [arrayString.slice(startFrom).replace(/\\/g, ""), arrayString.length];
308
+ }
309
+ function parsePgNestedArray(arrayString, startFrom = 0) {
310
+ const result = [];
311
+ let i = startFrom;
312
+ let lastCharIsComma = false;
313
+ while (i < arrayString.length) {
314
+ const char = arrayString[i];
315
+ if (char === ",") {
316
+ if (lastCharIsComma || i === startFrom) {
317
+ result.push("");
318
+ }
319
+ lastCharIsComma = true;
320
+ i++;
321
+ continue;
322
+ }
323
+ lastCharIsComma = false;
324
+ if (char === "\\") {
325
+ i += 2;
326
+ continue;
327
+ }
328
+ if (char === '"') {
329
+ const [value2, startFrom2] = parsePgArrayValue(arrayString, i + 1, true);
330
+ result.push(value2);
331
+ i = startFrom2;
332
+ continue;
333
+ }
334
+ if (char === "}") {
335
+ return [result, i + 1];
336
+ }
337
+ if (char === "{") {
338
+ const [value2, startFrom2] = parsePgNestedArray(arrayString, i + 1);
339
+ result.push(value2);
340
+ i = startFrom2;
341
+ continue;
342
+ }
343
+ const [value, newStartFrom] = parsePgArrayValue(arrayString, i, false);
344
+ result.push(value);
345
+ i = newStartFrom;
346
+ }
347
+ return [result, i];
348
+ }
349
+ function parsePgArray(arrayString) {
350
+ const [result] = parsePgNestedArray(arrayString, 1);
351
+ return result;
352
+ }
353
+ function makePgArray(array) {
354
+ return `{${array.map((item) => {
355
+ if (Array.isArray(item)) {
356
+ return makePgArray(item);
357
+ }
358
+ if (typeof item === "string") {
359
+ return `"${item.replace(/\\/g, "\\\\").replace(/"/g, "\\\"")}"`;
360
+ }
361
+ return `${item}`;
362
+ }).join(",")}}`;
363
+ }
364
+
191
365
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/pg-core/columns/common.js
366
+ class PgColumnBuilder extends ColumnBuilder {
367
+ foreignKeyConfigs = [];
368
+ static [entityKind] = "PgColumnBuilder";
369
+ array(size) {
370
+ return new PgArrayBuilder(this.config.name, this, size);
371
+ }
372
+ references(ref, actions = {}) {
373
+ this.foreignKeyConfigs.push({ ref, actions });
374
+ return this;
375
+ }
376
+ unique(name, config) {
377
+ this.config.isUnique = true;
378
+ this.config.uniqueName = name;
379
+ this.config.uniqueType = config?.nulls;
380
+ return this;
381
+ }
382
+ generatedAlwaysAs(as) {
383
+ this.config.generated = {
384
+ as,
385
+ type: "always",
386
+ mode: "stored"
387
+ };
388
+ return this;
389
+ }
390
+ buildForeignKeys(column, table) {
391
+ return this.foreignKeyConfigs.map(({ ref, actions }) => {
392
+ return iife((ref2, actions2) => {
393
+ const builder = new ForeignKeyBuilder(() => {
394
+ const foreignColumn = ref2();
395
+ return { columns: [column], foreignColumns: [foreignColumn] };
396
+ });
397
+ if (actions2.onUpdate) {
398
+ builder.onUpdate(actions2.onUpdate);
399
+ }
400
+ if (actions2.onDelete) {
401
+ builder.onDelete(actions2.onDelete);
402
+ }
403
+ return builder.build(table);
404
+ }, ref, actions);
405
+ });
406
+ }
407
+ buildExtraConfigColumn(table) {
408
+ return new ExtraConfigColumn(table, this.config);
409
+ }
410
+ }
411
+
192
412
  class PgColumn extends Column {
193
413
  constructor(table, config) {
194
414
  if (!config.uniqueName) {
@@ -237,11 +457,76 @@ class ExtraConfigColumn extends PgColumn {
237
457
  }
238
458
  }
239
459
 
460
+ class IndexedColumn {
461
+ static [entityKind] = "IndexedColumn";
462
+ constructor(name, keyAsName, type, indexConfig) {
463
+ this.name = name;
464
+ this.keyAsName = keyAsName;
465
+ this.type = type;
466
+ this.indexConfig = indexConfig;
467
+ }
468
+ name;
469
+ keyAsName;
470
+ type;
471
+ indexConfig;
472
+ }
473
+
474
+ class PgArrayBuilder extends PgColumnBuilder {
475
+ static [entityKind] = "PgArrayBuilder";
476
+ constructor(name, baseBuilder, size) {
477
+ super(name, "array", "PgArray");
478
+ this.config.baseBuilder = baseBuilder;
479
+ this.config.size = size;
480
+ }
481
+ build(table) {
482
+ const baseColumn = this.config.baseBuilder.build(table);
483
+ return new PgArray(table, this.config, baseColumn);
484
+ }
485
+ }
486
+
487
+ class PgArray extends PgColumn {
488
+ constructor(table, config, baseColumn, range) {
489
+ super(table, config);
490
+ this.baseColumn = baseColumn;
491
+ this.range = range;
492
+ this.size = config.size;
493
+ }
494
+ size;
495
+ static [entityKind] = "PgArray";
496
+ getSQLType() {
497
+ return `${this.baseColumn.getSQLType()}[${typeof this.size === "number" ? this.size : ""}]`;
498
+ }
499
+ mapFromDriverValue(value) {
500
+ if (typeof value === "string") {
501
+ value = parsePgArray(value);
502
+ }
503
+ return value.map((v) => this.baseColumn.mapFromDriverValue(v));
504
+ }
505
+ mapToDriverValue(value, isNestedArray = false) {
506
+ const a = value.map((v) => v === null ? null : is(this.baseColumn, PgArray) ? this.baseColumn.mapToDriverValue(v, true) : this.baseColumn.mapToDriverValue(v));
507
+ if (isNestedArray)
508
+ return a;
509
+ return makePgArray(a);
510
+ }
511
+ }
512
+
240
513
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/pg-core/columns/enum.js
241
514
  var isPgEnumSym = Symbol.for("drizzle:isPgEnum");
242
515
  function isPgEnum(obj) {
243
516
  return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
244
517
  }
518
+
519
+ class PgEnumColumnBuilder extends PgColumnBuilder {
520
+ static [entityKind] = "PgEnumColumnBuilder";
521
+ constructor(name, enumInstance) {
522
+ super(name, "string", "PgEnumColumn");
523
+ this.config.enum = enumInstance;
524
+ }
525
+ build(table) {
526
+ return new PgEnumColumn(table, this.config);
527
+ }
528
+ }
529
+
245
530
  class PgEnumColumn extends PgColumn {
246
531
  static [entityKind] = "PgEnumColumn";
247
532
  enum = this.config.enum;
@@ -269,6 +554,10 @@ class Subquery {
269
554
  }
270
555
  }
271
556
 
557
+ class WithSubquery extends Subquery {
558
+ static [entityKind] = "WithSubquery";
559
+ }
560
+
272
561
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/version.js
273
562
  var version = "0.38.4";
274
563
 
@@ -341,6 +630,9 @@ class Table {
341
630
  }
342
631
 
343
632
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/sql/sql.js
633
+ class FakePrimitiveParam {
634
+ static [entityKind] = "FakePrimitiveParam";
635
+ }
344
636
  function isSQLWrapper(value) {
345
637
  return value !== null && value !== undefined && typeof value.getSQL === "function";
346
638
  }
@@ -749,6 +1041,22 @@ class TableAliasProxyHandler {
749
1041
  }
750
1042
  }
751
1043
 
1044
+ class RelationTableAliasProxyHandler {
1045
+ constructor(alias) {
1046
+ this.alias = alias;
1047
+ }
1048
+ static [entityKind] = "RelationTableAliasProxyHandler";
1049
+ get(target, prop) {
1050
+ if (prop === "sourceTable") {
1051
+ return aliasedTable(target.sourceTable, this.alias);
1052
+ }
1053
+ return target[prop];
1054
+ }
1055
+ }
1056
+ function aliasedTable(table, tableAlias) {
1057
+ return new Proxy(table, new TableAliasProxyHandler(tableAlias, false));
1058
+ }
1059
+
752
1060
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/sqlite-core/alias.js
753
1061
  function alias(table, alias2) {
754
1062
  return new Proxy(table, new TableAliasProxyHandler(alias2, false));
@@ -790,7 +1098,7 @@ function getColumnNameAndConfig(a, b) {
790
1098
  }
791
1099
 
792
1100
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/sqlite-core/foreign-keys.js
793
- class ForeignKeyBuilder {
1101
+ class ForeignKeyBuilder2 {
794
1102
  static [entityKind] = "SQLiteForeignKeyBuilder";
795
1103
  reference;
796
1104
  _onUpdate;
@@ -814,11 +1122,11 @@ class ForeignKeyBuilder {
814
1122
  return this;
815
1123
  }
816
1124
  build(table) {
817
- return new ForeignKey(table, this);
1125
+ return new ForeignKey2(table, this);
818
1126
  }
819
1127
  }
820
1128
 
821
- class ForeignKey {
1129
+ class ForeignKey2 {
822
1130
  constructor(table, builder) {
823
1131
  this.table = table;
824
1132
  this.reference = builder.reference;
@@ -847,6 +1155,42 @@ class ForeignKey {
847
1155
  function uniqueKeyName2(table, columns) {
848
1156
  return `${table[TableName]}_${columns.join("_")}_unique`;
849
1157
  }
1158
+ class UniqueConstraintBuilder2 {
1159
+ constructor(columns, name) {
1160
+ this.name = name;
1161
+ this.columns = columns;
1162
+ }
1163
+ static [entityKind] = "SQLiteUniqueConstraintBuilder";
1164
+ columns;
1165
+ build(table) {
1166
+ return new UniqueConstraint2(table, this.columns, this.name);
1167
+ }
1168
+ }
1169
+
1170
+ class UniqueOnConstraintBuilder2 {
1171
+ static [entityKind] = "SQLiteUniqueOnConstraintBuilder";
1172
+ name;
1173
+ constructor(name) {
1174
+ this.name = name;
1175
+ }
1176
+ on(...columns) {
1177
+ return new UniqueConstraintBuilder2(columns, this.name);
1178
+ }
1179
+ }
1180
+
1181
+ class UniqueConstraint2 {
1182
+ constructor(table, columns, name) {
1183
+ this.table = table;
1184
+ this.columns = columns;
1185
+ this.name = name ?? uniqueKeyName2(this.table, this.columns.map((column) => column.name));
1186
+ }
1187
+ static [entityKind] = "SQLiteUniqueConstraint";
1188
+ columns;
1189
+ name;
1190
+ getName() {
1191
+ return this.name;
1192
+ }
1193
+ }
850
1194
 
851
1195
  // ../../node_modules/.pnpm/drizzle-orm@0.38.4_@cloudflare+workers-types@4.20260529.1_@prisma+client@5.22.0_@types+_885285c61ee4b1c788385eea24f801ee/node_modules/drizzle-orm/sqlite-core/columns/common.js
852
1196
  class SQLiteColumnBuilder extends ColumnBuilder {
@@ -872,7 +1216,7 @@ class SQLiteColumnBuilder extends ColumnBuilder {
872
1216
  buildForeignKeys(column, table) {
873
1217
  return this.foreignKeyConfigs.map(({ ref, actions }) => {
874
1218
  return ((ref2, actions2) => {
875
- const builder = new ForeignKeyBuilder(() => {
1219
+ const builder = new ForeignKeyBuilder2(() => {
876
1220
  const foreignColumn = ref2();
877
1221
  return { columns: [column], foreignColumns: [foreignColumn] };
878
1222
  });
@@ -2006,6 +2350,7 @@ var appBundles = sqliteTable("app_bundles", {
2006
2350
  runtimeEntrypoint: text("runtime_entrypoint").$type().notNull(),
2007
2351
  capabilityRequirements: text("capability_requirements", { mode: "json" }).$type().notNull().default([]),
2008
2352
  runtimeConfigRequirements: text("runtime_config_requirements", { mode: "json" }).$type().notNull().default([]),
2353
+ protectedIngress: text("protected_ingress", { mode: "json" }).$type().notNull().default([]),
2009
2354
  stateSchemaVersion: integer("state_schema_version").notNull().default(0),
2010
2355
  stateCompatibleFrom: integer("state_compatible_from").notNull().default(0),
2011
2356
  stateCompatibleThrough: integer("state_compatible_through").notNull().default(0),
@@ -2145,6 +2490,29 @@ var appStateResets = sqliteTable("app_state_resets", {
2145
2490
  generationUq: uniqueIndex("app_state_resets_generation_uq").on(t.appId, t.fromGeneration),
2146
2491
  appIdx: index("app_state_resets_app_idx").on(t.appId, t.createdAt)
2147
2492
  }));
2493
+ var appIngressOAuthCodes = sqliteTable("app_ingress_oauth_codes", {
2494
+ codeHash: text("code_hash").primaryKey(),
2495
+ appId: text("app_id").notNull().references(() => apps.id),
2496
+ profileId: text("profile_id").notNull().references(() => profiles.id),
2497
+ clientId: text("client_id").notNull(),
2498
+ resource: text("resource").notNull(),
2499
+ expiresAt: ts("expires_at").notNull(),
2500
+ createdAt: ts("created_at").notNull()
2501
+ }, (t) => ({
2502
+ appExpiryIdx: index("app_ingress_oauth_codes_app_expiry_idx").on(t.appId, t.expiresAt)
2503
+ }));
2504
+ var appIngressTokens = sqliteTable("app_ingress_tokens", {
2505
+ tokenHash: text("token_hash").primaryKey(),
2506
+ appId: text("app_id").notNull().references(() => apps.id),
2507
+ profileId: text("profile_id").notNull().references(() => profiles.id),
2508
+ clientId: text("client_id").notNull(),
2509
+ resource: text("resource").notNull(),
2510
+ expiresAt: ts("expires_at").notNull(),
2511
+ createdAt: ts("created_at").notNull()
2512
+ }, (t) => ({
2513
+ appExpiryIdx: index("app_ingress_tokens_app_expiry_idx").on(t.appId, t.expiresAt),
2514
+ profileIdx: index("app_ingress_tokens_profile_idx").on(t.profileId, t.expiresAt)
2515
+ }));
2148
2516
  var appViewerGrantUses = sqliteTable("app_viewer_grant_uses", {
2149
2517
  jti: text("jti").primaryKey(),
2150
2518
  appId: text("app_id").notNull().references(() => apps.id),
@@ -2299,110 +2667,64 @@ var PREVIEW_MIME_TYPES = new Set([
2299
2667
  // ../core/src/ops/app.ts
2300
2668
  var APP_MAX_MODULE_BYTES = 10 * 1024 * 1024;
2301
2669
  var APP_MAX_ASSET_BYTES = 25 * 1024 * 1024;
2302
- // ../core/src/queries/lane-match.ts
2303
- var STOP_WORDS = new Set("a an and are as at be by for from has have here how i in is it me of on or our the their they this to was what when where which who will with you your".split(" "));
2304
- // ../core/src/queries/activity.ts
2305
- var targetAuthor = alias(profiles, "target_author");
2306
- // ../core/src/blob/in-memory.ts
2307
- class InMemoryBlobStore {
2308
- store = new Map;
2309
- async put(key, bytes, mimeType) {
2310
- this.store.set(key, { bytes: new Uint8Array(bytes), mimeType });
2311
- }
2312
- async putStream(key, stream, size, mimeType) {
2313
- const reader = stream.getReader();
2314
- const bytes = new Uint8Array(size);
2315
- let offset = 0;
2316
- try {
2317
- while (true) {
2318
- const { done, value } = await reader.read();
2319
- if (done)
2320
- break;
2321
- if (offset + value.byteLength > size) {
2322
- throw new Error(`Blob stream exceeded its declared ${size} bytes`);
2323
- }
2324
- bytes.set(value, offset);
2325
- offset += value.byteLength;
2326
- }
2327
- } finally {
2328
- reader.releaseLock();
2329
- }
2330
- if (offset !== size)
2331
- throw new Error(`Blob stream ended at ${offset} of ${size} bytes`);
2332
- this.store.set(key, { bytes, mimeType });
2333
- }
2334
- async get(key, range) {
2335
- const blob2 = this.store.get(key);
2336
- if (!blob2)
2337
- return null;
2338
- const bytes = range ? blob2.bytes.slice(range.offset, range.offset + range.length) : new Uint8Array(blob2.bytes);
2339
- return { bytes, mimeType: blob2.mimeType };
2340
- }
2341
- async delete(key) {
2342
- this.store.delete(key);
2343
- }
2344
- get size() {
2345
- return this.store.size;
2346
- }
2347
- }
2348
- // ../core/src/retrieval/in-memory.ts
2349
- function cosine(a, b) {
2350
- let dot = 0;
2351
- let na = 0;
2352
- let nb = 0;
2353
- const n = Math.min(a.length, b.length);
2354
- for (let i = 0;i < n; i++) {
2355
- dot += a[i] * b[i];
2356
- na += a[i] * a[i];
2357
- nb += b[i] * b[i];
2670
+ class AppBundleValidationError extends Error {
2671
+ constructor(message) {
2672
+ super(message);
2673
+ this.name = "AppBundleValidationError";
2358
2674
  }
2359
- const denom = Math.sqrt(na) * Math.sqrt(nb);
2360
- return denom === 0 ? 0 : dot / denom;
2361
2675
  }
2362
- function matchesFilter(metadata, filter) {
2363
- if (!filter)
2364
- return true;
2365
- for (const [key, cond] of Object.entries(filter)) {
2366
- const value = metadata[key];
2367
- if (cond !== null && typeof cond === "object" && "$in" in cond) {
2368
- if (!cond.$in.includes(value))
2369
- return false;
2370
- } else if (value !== cond) {
2371
- return false;
2372
- }
2373
- }
2374
- return true;
2676
+ function invalidBundle(message) {
2677
+ throw new AppBundleValidationError(message);
2375
2678
  }
2376
-
2377
- class InMemoryVectorStore {
2378
- records = new Map;
2379
- async upsert(records) {
2380
- for (const r of records)
2381
- this.records.set(r.id, r);
2382
- }
2383
- async query(vector, q) {
2384
- const scored = [];
2385
- for (const r of this.records.values()) {
2386
- if ((r.namespace ?? null) !== (q.namespace ?? null))
2387
- continue;
2388
- if (!matchesFilter(r.metadata, q.filter))
2389
- continue;
2390
- scored.push({ id: r.id, score: cosine(vector, r.vector), metadata: r.metadata });
2679
+ function normalizeProtectedIngress(entries) {
2680
+ if (entries.length > 1)
2681
+ invalidBundle("AppBundle may declare at most one MCP protected ingress route");
2682
+ const seen = new Set;
2683
+ const normalized = entries.map((entry) => {
2684
+ const path = entry.path.trim();
2685
+ const hasControl = [...path].some((char) => {
2686
+ const code = char.charCodeAt(0);
2687
+ return code <= 31 || code === 127;
2688
+ });
2689
+ if (!path || path.length > 240 || !path.startsWith("/") || path.startsWith("//") || path.includes("\\") || path.includes("?") || path.includes("#") || hasControl) {
2690
+ invalidBundle("AppBundle protected ingress path is invalid");
2391
2691
  }
2392
- scored.sort((a, b) => b.score - a.score);
2393
- return scored.slice(0, q.topK);
2394
- }
2395
- async deleteByIds(ids) {
2396
- for (const id of ids)
2397
- this.records.delete(id);
2398
- }
2399
- get size() {
2400
- return this.records.size;
2401
- }
2402
- has(id) {
2403
- return this.records.has(id);
2404
- }
2692
+ let decoded;
2693
+ try {
2694
+ decoded = decodeURIComponent(path);
2695
+ } catch {
2696
+ invalidBundle("AppBundle protected ingress path has invalid encoding");
2697
+ }
2698
+ const canonical = new URL(path, "https://app.invalid").pathname;
2699
+ if (canonical !== path || decoded.includes("/../") || decoded.endsWith("/..") || decoded.includes("/./") || decoded.endsWith("/.")) {
2700
+ invalidBundle("AppBundle protected ingress path must be canonical");
2701
+ }
2702
+ const lowered = decoded.toLowerCase();
2703
+ if (lowered === "/__arbor" || lowered.startsWith("/__arbor/")) {
2704
+ invalidBundle("AppBundle protected ingress cannot use reserved App control paths");
2705
+ }
2706
+ if (seen.has(path))
2707
+ invalidBundle("AppBundle protected ingress paths must be unique");
2708
+ seen.add(path);
2709
+ if (entry.protocol !== "mcp")
2710
+ invalidBundle("AppBundle protected ingress protocol must be mcp");
2711
+ if (entry.auth !== "arbor-oauth")
2712
+ invalidBundle("AppBundle protected ingress auth must be arbor-oauth");
2713
+ if (entry.principal !== "none")
2714
+ invalidBundle("AppBundle protected ingress principal must be none in this release");
2715
+ return {
2716
+ path,
2717
+ protocol: "mcp",
2718
+ auth: "arbor-oauth",
2719
+ principal: "none"
2720
+ };
2721
+ });
2722
+ return normalized.sort((a, b) => a.path.localeCompare(b.path));
2405
2723
  }
2724
+ // ../core/src/queries/lane-match.ts
2725
+ var STOP_WORDS = new Set("a an and are as at be by for from has have here how i in is it me of on or our the their they this to was what when where which who will with you your".split(" "));
2726
+ // ../core/src/queries/activity.ts
2727
+ var targetAuthor = alias(profiles, "target_author");
2406
2728
  // ../core/src/retrieval/fts.ts
2407
2729
  var recallFts = sqliteTable("recall_fts", {
2408
2730
  id: text("id"),
@@ -2429,523 +2751,523 @@ var PURGE_ON = new Set(["contribution.deleted"]);
2429
2751
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
2430
2752
  var exports_external = {};
2431
2753
  __export(exports_external, {
2432
- xor: () => xor,
2433
- xid: () => xid2,
2434
- void: () => _void2,
2435
- uuidv7: () => uuidv7,
2436
- uuidv6: () => uuidv6,
2437
- uuidv4: () => uuidv4,
2438
- uuid: () => uuid2,
2439
- util: () => exports_util,
2440
- url: () => url,
2441
- uppercase: () => _uppercase,
2442
- unknown: () => unknown,
2443
- union: () => union,
2444
- undefined: () => _undefined3,
2445
- ulid: () => ulid2,
2446
- uint64: () => uint64,
2447
- uint32: () => uint32,
2448
- tuple: () => tuple,
2449
- trim: () => _trim,
2450
- treeifyError: () => treeifyError,
2451
- transform: () => transform,
2452
- toUpperCase: () => _toUpperCase,
2453
- toLowerCase: () => _toLowerCase,
2454
- toJSONSchema: () => toJSONSchema,
2455
- templateLiteral: () => templateLiteral,
2456
- symbol: () => symbol,
2457
- superRefine: () => superRefine,
2458
- success: () => success,
2459
- stringbool: () => stringbool,
2460
- stringFormat: () => stringFormat,
2461
- string: () => string2,
2462
- strictObject: () => strictObject,
2463
- startsWith: () => _startsWith,
2464
- slugify: () => _slugify,
2465
- size: () => _size,
2466
- setErrorMap: () => setErrorMap,
2467
- set: () => set,
2468
- safeParseAsync: () => safeParseAsync2,
2469
- safeParse: () => safeParse2,
2470
- safeEncodeAsync: () => safeEncodeAsync2,
2471
- safeEncode: () => safeEncode2,
2472
- safeDecodeAsync: () => safeDecodeAsync2,
2473
- safeDecode: () => safeDecode2,
2474
- registry: () => registry,
2475
- regexes: () => exports_regexes,
2476
- regex: () => _regex,
2477
- refine: () => refine,
2478
- record: () => record,
2479
- readonly: () => readonly,
2480
- property: () => _property,
2481
- promise: () => promise,
2482
- prettifyError: () => prettifyError,
2483
- preprocess: () => preprocess,
2484
- prefault: () => prefault,
2485
- positive: () => _positive,
2486
- pipe: () => pipe,
2487
- partialRecord: () => partialRecord,
2488
- parseAsync: () => parseAsync2,
2489
- parse: () => parse3,
2490
- overwrite: () => _overwrite,
2491
- optional: () => optional,
2492
- object: () => object,
2493
- number: () => number2,
2494
- nullish: () => nullish2,
2495
- nullable: () => nullable,
2496
- null: () => _null3,
2497
- normalize: () => _normalize,
2498
- nonpositive: () => _nonpositive,
2499
- nonoptional: () => nonoptional,
2500
- nonnegative: () => _nonnegative,
2501
- never: () => never,
2502
- negative: () => _negative,
2503
- nativeEnum: () => nativeEnum,
2504
- nanoid: () => nanoid2,
2505
- nan: () => nan,
2506
- multipleOf: () => _multipleOf,
2507
- minSize: () => _minSize,
2508
- minLength: () => _minLength,
2509
- mime: () => _mime,
2510
- meta: () => meta2,
2511
- maxSize: () => _maxSize,
2512
- maxLength: () => _maxLength,
2513
- map: () => map,
2514
- mac: () => mac2,
2515
- lte: () => _lte,
2516
- lt: () => _lt,
2517
- lowercase: () => _lowercase,
2518
- looseRecord: () => looseRecord,
2519
- looseObject: () => looseObject,
2520
- locales: () => exports_locales,
2521
- literal: () => literal,
2522
- length: () => _length,
2523
- lazy: () => lazy,
2524
- ksuid: () => ksuid2,
2525
- keyof: () => keyof,
2526
- jwt: () => jwt,
2527
- json: () => json,
2528
- iso: () => exports_iso,
2529
- ipv6: () => ipv62,
2530
- ipv4: () => ipv42,
2531
- invertCodec: () => invertCodec,
2532
- intersection: () => intersection,
2533
- int64: () => int64,
2534
- int32: () => int32,
2535
- int: () => int,
2536
- instanceof: () => _instanceof,
2537
- includes: () => _includes,
2538
- httpUrl: () => httpUrl,
2539
- hostname: () => hostname2,
2540
- hex: () => hex2,
2541
- hash: () => hash,
2542
- guid: () => guid2,
2543
- gte: () => _gte,
2544
- gt: () => _gt,
2545
- globalRegistry: () => globalRegistry,
2546
- getErrorMap: () => getErrorMap,
2547
- function: () => _function,
2548
- fromJSONSchema: () => fromJSONSchema,
2549
- formatError: () => formatError,
2550
- float64: () => float64,
2551
- float32: () => float32,
2552
- flattenError: () => flattenError,
2553
- file: () => file,
2554
- exactOptional: () => exactOptional,
2555
- enum: () => _enum2,
2556
- endsWith: () => _endsWith,
2557
- encodeAsync: () => encodeAsync2,
2558
- encode: () => encode2,
2559
- emoji: () => emoji2,
2560
- email: () => email2,
2561
- e164: () => e1642,
2562
- discriminatedUnion: () => discriminatedUnion,
2563
- describe: () => describe2,
2564
- decodeAsync: () => decodeAsync2,
2565
- decode: () => decode2,
2566
- date: () => date3,
2567
- custom: () => custom,
2568
- cuid2: () => cuid22,
2569
- cuid: () => cuid3,
2570
- core: () => exports_core2,
2571
- config: () => config,
2572
- coerce: () => exports_coerce,
2573
- codec: () => codec,
2574
- clone: () => clone,
2575
- cidrv6: () => cidrv62,
2576
- cidrv4: () => cidrv42,
2577
- check: () => check2,
2578
- catch: () => _catch2,
2579
- boolean: () => boolean2,
2580
- bigint: () => bigint2,
2581
- base64url: () => base64url2,
2582
- base64: () => base642,
2583
- array: () => array,
2584
- any: () => any,
2585
- _function: () => _function,
2586
- _default: () => _default2,
2587
- _ZodString: () => _ZodString,
2588
- ZodXor: () => ZodXor,
2589
- ZodXID: () => ZodXID,
2590
- ZodVoid: () => ZodVoid,
2591
- ZodUnknown: () => ZodUnknown,
2592
- ZodUnion: () => ZodUnion,
2593
- ZodUndefined: () => ZodUndefined,
2594
- ZodUUID: () => ZodUUID,
2595
- ZodURL: () => ZodURL,
2596
- ZodULID: () => ZodULID,
2597
- ZodType: () => ZodType,
2598
- ZodTuple: () => ZodTuple,
2599
- ZodTransform: () => ZodTransform,
2600
- ZodTemplateLiteral: () => ZodTemplateLiteral,
2601
- ZodSymbol: () => ZodSymbol,
2602
- ZodSuccess: () => ZodSuccess,
2603
- ZodStringFormat: () => ZodStringFormat,
2604
- ZodString: () => ZodString,
2605
- ZodSet: () => ZodSet,
2606
- ZodRecord: () => ZodRecord,
2607
- ZodRealError: () => ZodRealError,
2608
- ZodReadonly: () => ZodReadonly,
2609
- ZodPromise: () => ZodPromise,
2610
- ZodPreprocess: () => ZodPreprocess,
2611
- ZodPrefault: () => ZodPrefault,
2612
- ZodPipe: () => ZodPipe,
2613
- ZodOptional: () => ZodOptional,
2614
- ZodObject: () => ZodObject,
2615
- ZodNumberFormat: () => ZodNumberFormat,
2616
- ZodNumber: () => ZodNumber,
2617
- ZodNullable: () => ZodNullable,
2618
- ZodNull: () => ZodNull,
2619
- ZodNonOptional: () => ZodNonOptional,
2620
- ZodNever: () => ZodNever,
2621
- ZodNanoID: () => ZodNanoID,
2622
- ZodNaN: () => ZodNaN,
2623
- ZodMap: () => ZodMap,
2624
- ZodMAC: () => ZodMAC,
2625
- ZodLiteral: () => ZodLiteral,
2626
- ZodLazy: () => ZodLazy,
2627
- ZodKSUID: () => ZodKSUID,
2628
- ZodJWT: () => ZodJWT,
2629
- ZodIssueCode: () => ZodIssueCode,
2630
- ZodIntersection: () => ZodIntersection,
2631
- ZodISOTime: () => ZodISOTime,
2632
- ZodISODuration: () => ZodISODuration,
2633
- ZodISODateTime: () => ZodISODateTime,
2634
- ZodISODate: () => ZodISODate,
2635
- ZodIPv6: () => ZodIPv6,
2636
- ZodIPv4: () => ZodIPv4,
2637
- ZodGUID: () => ZodGUID,
2638
- ZodFunction: () => ZodFunction,
2639
- ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
2640
- ZodFile: () => ZodFile,
2641
- ZodExactOptional: () => ZodExactOptional,
2642
- ZodError: () => ZodError,
2643
- ZodEnum: () => ZodEnum,
2644
- ZodEmoji: () => ZodEmoji,
2645
- ZodEmail: () => ZodEmail,
2646
- ZodE164: () => ZodE164,
2647
- ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
2648
- ZodDefault: () => ZodDefault,
2649
- ZodDate: () => ZodDate,
2650
- ZodCustomStringFormat: () => ZodCustomStringFormat,
2651
- ZodCustom: () => ZodCustom,
2652
- ZodCodec: () => ZodCodec,
2653
- ZodCatch: () => ZodCatch,
2654
- ZodCUID2: () => ZodCUID2,
2655
- ZodCUID: () => ZodCUID,
2656
- ZodCIDRv6: () => ZodCIDRv6,
2657
- ZodCIDRv4: () => ZodCIDRv4,
2658
- ZodBoolean: () => ZodBoolean,
2659
- ZodBigIntFormat: () => ZodBigIntFormat,
2660
- ZodBigInt: () => ZodBigInt,
2661
- ZodBase64URL: () => ZodBase64URL,
2662
- ZodBase64: () => ZodBase64,
2663
- ZodArray: () => ZodArray,
2664
- ZodAny: () => ZodAny,
2665
- TimePrecision: () => TimePrecision,
2666
- NEVER: () => NEVER,
2667
- $output: () => $output,
2668
- $input: () => $input,
2669
- $brand: () => $brand
2670
- });
2671
-
2672
- // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/index.js
2673
- var exports_core2 = {};
2674
- __export(exports_core2, {
2675
- version: () => version2,
2676
- util: () => exports_util,
2677
- treeifyError: () => treeifyError,
2678
- toJSONSchema: () => toJSONSchema,
2679
- toDotPath: () => toDotPath,
2680
- safeParseAsync: () => safeParseAsync,
2681
- safeParse: () => safeParse,
2682
- safeEncodeAsync: () => safeEncodeAsync,
2683
- safeEncode: () => safeEncode,
2684
- safeDecodeAsync: () => safeDecodeAsync,
2685
- safeDecode: () => safeDecode,
2686
- registry: () => registry,
2687
- regexes: () => exports_regexes,
2688
- process: () => process2,
2689
- prettifyError: () => prettifyError,
2690
- parseAsync: () => parseAsync,
2691
- parse: () => parse,
2692
- meta: () => meta,
2693
- locales: () => exports_locales,
2694
- isValidJWT: () => isValidJWT,
2695
- isValidBase64URL: () => isValidBase64URL,
2696
- isValidBase64: () => isValidBase64,
2697
- initializeContext: () => initializeContext,
2698
- globalRegistry: () => globalRegistry,
2699
- globalConfig: () => globalConfig,
2700
- formatError: () => formatError,
2701
- flattenError: () => flattenError,
2702
- finalize: () => finalize,
2703
- extractDefs: () => extractDefs,
2704
- encodeAsync: () => encodeAsync,
2705
- encode: () => encode,
2706
- describe: () => describe,
2707
- decodeAsync: () => decodeAsync,
2708
- decode: () => decode,
2709
- createToJSONSchemaMethod: () => createToJSONSchemaMethod,
2710
- createStandardJSONSchemaMethod: () => createStandardJSONSchemaMethod,
2711
- config: () => config,
2712
- clone: () => clone,
2713
- _xor: () => _xor,
2714
- _xid: () => _xid,
2715
- _void: () => _void,
2716
- _uuidv7: () => _uuidv7,
2717
- _uuidv6: () => _uuidv6,
2718
- _uuidv4: () => _uuidv4,
2719
- _uuid: () => _uuid,
2720
- _url: () => _url,
2721
- _uppercase: () => _uppercase,
2722
- _unknown: () => _unknown,
2723
- _union: () => _union,
2724
- _undefined: () => _undefined2,
2725
- _ulid: () => _ulid,
2726
- _uint64: () => _uint64,
2727
- _uint32: () => _uint32,
2728
- _tuple: () => _tuple,
2729
- _trim: () => _trim,
2730
- _transform: () => _transform,
2731
- _toUpperCase: () => _toUpperCase,
2732
- _toLowerCase: () => _toLowerCase,
2733
- _templateLiteral: () => _templateLiteral,
2734
- _symbol: () => _symbol,
2735
- _superRefine: () => _superRefine,
2736
- _success: () => _success,
2737
- _stringbool: () => _stringbool,
2738
- _stringFormat: () => _stringFormat,
2739
- _string: () => _string,
2740
- _startsWith: () => _startsWith,
2741
- _slugify: () => _slugify,
2742
- _size: () => _size,
2743
- _set: () => _set,
2744
- _safeParseAsync: () => _safeParseAsync,
2745
- _safeParse: () => _safeParse,
2746
- _safeEncodeAsync: () => _safeEncodeAsync,
2747
- _safeEncode: () => _safeEncode,
2748
- _safeDecodeAsync: () => _safeDecodeAsync,
2749
- _safeDecode: () => _safeDecode,
2750
- _regex: () => _regex,
2751
- _refine: () => _refine,
2752
- _record: () => _record,
2753
- _readonly: () => _readonly,
2754
- _property: () => _property,
2755
- _promise: () => _promise,
2756
- _positive: () => _positive,
2757
- _pipe: () => _pipe,
2758
- _parseAsync: () => _parseAsync,
2759
- _parse: () => _parse,
2760
- _overwrite: () => _overwrite,
2761
- _optional: () => _optional,
2762
- _number: () => _number,
2763
- _nullable: () => _nullable,
2764
- _null: () => _null2,
2765
- _normalize: () => _normalize,
2766
- _nonpositive: () => _nonpositive,
2767
- _nonoptional: () => _nonoptional,
2768
- _nonnegative: () => _nonnegative,
2769
- _never: () => _never,
2770
- _negative: () => _negative,
2771
- _nativeEnum: () => _nativeEnum,
2772
- _nanoid: () => _nanoid,
2773
- _nan: () => _nan,
2774
- _multipleOf: () => _multipleOf,
2775
- _minSize: () => _minSize,
2776
- _minLength: () => _minLength,
2777
- _min: () => _gte,
2778
- _mime: () => _mime,
2779
- _maxSize: () => _maxSize,
2780
- _maxLength: () => _maxLength,
2781
- _max: () => _lte,
2782
- _map: () => _map,
2783
- _mac: () => _mac,
2784
- _lte: () => _lte,
2785
- _lt: () => _lt,
2786
- _lowercase: () => _lowercase,
2787
- _literal: () => _literal,
2788
- _length: () => _length,
2789
- _lazy: () => _lazy,
2790
- _ksuid: () => _ksuid,
2791
- _jwt: () => _jwt,
2792
- _isoTime: () => _isoTime,
2793
- _isoDuration: () => _isoDuration,
2794
- _isoDateTime: () => _isoDateTime,
2795
- _isoDate: () => _isoDate,
2796
- _ipv6: () => _ipv6,
2797
- _ipv4: () => _ipv4,
2798
- _intersection: () => _intersection,
2799
- _int64: () => _int64,
2800
- _int32: () => _int32,
2801
- _int: () => _int,
2802
- _includes: () => _includes,
2803
- _guid: () => _guid,
2804
- _gte: () => _gte,
2805
- _gt: () => _gt,
2806
- _float64: () => _float64,
2807
- _float32: () => _float32,
2808
- _file: () => _file,
2809
- _enum: () => _enum,
2810
- _endsWith: () => _endsWith,
2811
- _encodeAsync: () => _encodeAsync,
2812
- _encode: () => _encode,
2813
- _emoji: () => _emoji2,
2814
- _email: () => _email,
2815
- _e164: () => _e164,
2816
- _discriminatedUnion: () => _discriminatedUnion,
2817
- _default: () => _default,
2818
- _decodeAsync: () => _decodeAsync,
2819
- _decode: () => _decode,
2820
- _date: () => _date,
2821
- _custom: () => _custom,
2822
- _cuid2: () => _cuid2,
2823
- _cuid: () => _cuid,
2824
- _coercedString: () => _coercedString,
2825
- _coercedNumber: () => _coercedNumber,
2826
- _coercedDate: () => _coercedDate,
2827
- _coercedBoolean: () => _coercedBoolean,
2828
- _coercedBigint: () => _coercedBigint,
2829
- _cidrv6: () => _cidrv6,
2830
- _cidrv4: () => _cidrv4,
2831
- _check: () => _check,
2832
- _catch: () => _catch,
2833
- _boolean: () => _boolean,
2834
- _bigint: () => _bigint,
2835
- _base64url: () => _base64url,
2836
- _base64: () => _base64,
2837
- _array: () => _array,
2838
- _any: () => _any,
2839
- TimePrecision: () => TimePrecision,
2840
- NEVER: () => NEVER,
2841
- JSONSchemaGenerator: () => JSONSchemaGenerator,
2842
- JSONSchema: () => exports_json_schema,
2843
- Doc: () => Doc,
2844
- $output: () => $output,
2845
- $input: () => $input,
2846
- $constructor: () => $constructor,
2847
2754
  $brand: () => $brand,
2848
- $ZodXor: () => $ZodXor,
2849
- $ZodXID: () => $ZodXID,
2850
- $ZodVoid: () => $ZodVoid,
2851
- $ZodUnknown: () => $ZodUnknown,
2852
- $ZodUnion: () => $ZodUnion,
2853
- $ZodUndefined: () => $ZodUndefined,
2854
- $ZodUUID: () => $ZodUUID,
2855
- $ZodURL: () => $ZodURL,
2856
- $ZodULID: () => $ZodULID,
2857
- $ZodType: () => $ZodType,
2858
- $ZodTuple: () => $ZodTuple,
2859
- $ZodTransform: () => $ZodTransform,
2860
- $ZodTemplateLiteral: () => $ZodTemplateLiteral,
2861
- $ZodSymbol: () => $ZodSymbol,
2862
- $ZodSuccess: () => $ZodSuccess,
2863
- $ZodStringFormat: () => $ZodStringFormat,
2864
- $ZodString: () => $ZodString,
2865
- $ZodSet: () => $ZodSet,
2866
- $ZodRegistry: () => $ZodRegistry,
2867
- $ZodRecord: () => $ZodRecord,
2868
- $ZodRealError: () => $ZodRealError,
2869
- $ZodReadonly: () => $ZodReadonly,
2870
- $ZodPromise: () => $ZodPromise,
2871
- $ZodPreprocess: () => $ZodPreprocess,
2872
- $ZodPrefault: () => $ZodPrefault,
2873
- $ZodPipe: () => $ZodPipe,
2874
- $ZodOptional: () => $ZodOptional,
2875
- $ZodObjectJIT: () => $ZodObjectJIT,
2876
- $ZodObject: () => $ZodObject,
2877
- $ZodNumberFormat: () => $ZodNumberFormat,
2878
- $ZodNumber: () => $ZodNumber,
2879
- $ZodNullable: () => $ZodNullable,
2880
- $ZodNull: () => $ZodNull,
2881
- $ZodNonOptional: () => $ZodNonOptional,
2882
- $ZodNever: () => $ZodNever,
2883
- $ZodNanoID: () => $ZodNanoID,
2884
- $ZodNaN: () => $ZodNaN,
2885
- $ZodMap: () => $ZodMap,
2886
- $ZodMAC: () => $ZodMAC,
2887
- $ZodLiteral: () => $ZodLiteral,
2888
- $ZodLazy: () => $ZodLazy,
2889
- $ZodKSUID: () => $ZodKSUID,
2890
- $ZodJWT: () => $ZodJWT,
2891
- $ZodIntersection: () => $ZodIntersection,
2892
- $ZodISOTime: () => $ZodISOTime,
2893
- $ZodISODuration: () => $ZodISODuration,
2894
- $ZodISODateTime: () => $ZodISODateTime,
2895
- $ZodISODate: () => $ZodISODate,
2896
- $ZodIPv6: () => $ZodIPv6,
2897
- $ZodIPv4: () => $ZodIPv4,
2898
- $ZodGUID: () => $ZodGUID,
2899
- $ZodFunction: () => $ZodFunction,
2900
- $ZodFile: () => $ZodFile,
2901
- $ZodExactOptional: () => $ZodExactOptional,
2902
- $ZodError: () => $ZodError,
2903
- $ZodEnum: () => $ZodEnum,
2904
- $ZodEncodeError: () => $ZodEncodeError,
2905
- $ZodEmoji: () => $ZodEmoji,
2906
- $ZodEmail: () => $ZodEmail,
2907
- $ZodE164: () => $ZodE164,
2908
- $ZodDiscriminatedUnion: () => $ZodDiscriminatedUnion,
2909
- $ZodDefault: () => $ZodDefault,
2910
- $ZodDate: () => $ZodDate,
2911
- $ZodCustomStringFormat: () => $ZodCustomStringFormat,
2912
- $ZodCustom: () => $ZodCustom,
2913
- $ZodCodec: () => $ZodCodec,
2914
- $ZodCheckUpperCase: () => $ZodCheckUpperCase,
2915
- $ZodCheckStringFormat: () => $ZodCheckStringFormat,
2916
- $ZodCheckStartsWith: () => $ZodCheckStartsWith,
2917
- $ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
2918
- $ZodCheckRegex: () => $ZodCheckRegex,
2919
- $ZodCheckProperty: () => $ZodCheckProperty,
2920
- $ZodCheckOverwrite: () => $ZodCheckOverwrite,
2921
- $ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
2922
- $ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
2923
- $ZodCheckMinSize: () => $ZodCheckMinSize,
2924
- $ZodCheckMinLength: () => $ZodCheckMinLength,
2925
- $ZodCheckMimeType: () => $ZodCheckMimeType,
2926
- $ZodCheckMaxSize: () => $ZodCheckMaxSize,
2927
- $ZodCheckMaxLength: () => $ZodCheckMaxLength,
2928
- $ZodCheckLowerCase: () => $ZodCheckLowerCase,
2929
- $ZodCheckLessThan: () => $ZodCheckLessThan,
2930
- $ZodCheckLengthEquals: () => $ZodCheckLengthEquals,
2931
- $ZodCheckIncludes: () => $ZodCheckIncludes,
2932
- $ZodCheckGreaterThan: () => $ZodCheckGreaterThan,
2933
- $ZodCheckEndsWith: () => $ZodCheckEndsWith,
2934
- $ZodCheckBigIntFormat: () => $ZodCheckBigIntFormat,
2935
- $ZodCheck: () => $ZodCheck,
2936
- $ZodCatch: () => $ZodCatch,
2937
- $ZodCUID2: () => $ZodCUID2,
2938
- $ZodCUID: () => $ZodCUID,
2939
- $ZodCIDRv6: () => $ZodCIDRv6,
2940
- $ZodCIDRv4: () => $ZodCIDRv4,
2941
- $ZodBoolean: () => $ZodBoolean,
2942
- $ZodBigIntFormat: () => $ZodBigIntFormat,
2943
- $ZodBigInt: () => $ZodBigInt,
2944
- $ZodBase64URL: () => $ZodBase64URL,
2945
- $ZodBase64: () => $ZodBase64,
2946
- $ZodAsyncError: () => $ZodAsyncError,
2755
+ $input: () => $input,
2756
+ $output: () => $output,
2757
+ NEVER: () => NEVER,
2758
+ TimePrecision: () => TimePrecision,
2759
+ ZodAny: () => ZodAny,
2760
+ ZodArray: () => ZodArray,
2761
+ ZodBase64: () => ZodBase64,
2762
+ ZodBase64URL: () => ZodBase64URL,
2763
+ ZodBigInt: () => ZodBigInt,
2764
+ ZodBigIntFormat: () => ZodBigIntFormat,
2765
+ ZodBoolean: () => ZodBoolean,
2766
+ ZodCIDRv4: () => ZodCIDRv4,
2767
+ ZodCIDRv6: () => ZodCIDRv6,
2768
+ ZodCUID: () => ZodCUID,
2769
+ ZodCUID2: () => ZodCUID2,
2770
+ ZodCatch: () => ZodCatch,
2771
+ ZodCodec: () => ZodCodec,
2772
+ ZodCustom: () => ZodCustom,
2773
+ ZodCustomStringFormat: () => ZodCustomStringFormat,
2774
+ ZodDate: () => ZodDate,
2775
+ ZodDefault: () => ZodDefault,
2776
+ ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
2777
+ ZodE164: () => ZodE164,
2778
+ ZodEmail: () => ZodEmail,
2779
+ ZodEmoji: () => ZodEmoji,
2780
+ ZodEnum: () => ZodEnum,
2781
+ ZodError: () => ZodError,
2782
+ ZodExactOptional: () => ZodExactOptional,
2783
+ ZodFile: () => ZodFile,
2784
+ ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
2785
+ ZodFunction: () => ZodFunction,
2786
+ ZodGUID: () => ZodGUID,
2787
+ ZodIPv4: () => ZodIPv4,
2788
+ ZodIPv6: () => ZodIPv6,
2789
+ ZodISODate: () => ZodISODate,
2790
+ ZodISODateTime: () => ZodISODateTime,
2791
+ ZodISODuration: () => ZodISODuration,
2792
+ ZodISOTime: () => ZodISOTime,
2793
+ ZodIntersection: () => ZodIntersection,
2794
+ ZodIssueCode: () => ZodIssueCode,
2795
+ ZodJWT: () => ZodJWT,
2796
+ ZodKSUID: () => ZodKSUID,
2797
+ ZodLazy: () => ZodLazy,
2798
+ ZodLiteral: () => ZodLiteral,
2799
+ ZodMAC: () => ZodMAC,
2800
+ ZodMap: () => ZodMap,
2801
+ ZodNaN: () => ZodNaN,
2802
+ ZodNanoID: () => ZodNanoID,
2803
+ ZodNever: () => ZodNever,
2804
+ ZodNonOptional: () => ZodNonOptional,
2805
+ ZodNull: () => ZodNull,
2806
+ ZodNullable: () => ZodNullable,
2807
+ ZodNumber: () => ZodNumber,
2808
+ ZodNumberFormat: () => ZodNumberFormat,
2809
+ ZodObject: () => ZodObject,
2810
+ ZodOptional: () => ZodOptional,
2811
+ ZodPipe: () => ZodPipe,
2812
+ ZodPrefault: () => ZodPrefault,
2813
+ ZodPreprocess: () => ZodPreprocess,
2814
+ ZodPromise: () => ZodPromise,
2815
+ ZodReadonly: () => ZodReadonly,
2816
+ ZodRealError: () => ZodRealError,
2817
+ ZodRecord: () => ZodRecord,
2818
+ ZodSet: () => ZodSet,
2819
+ ZodString: () => ZodString,
2820
+ ZodStringFormat: () => ZodStringFormat,
2821
+ ZodSuccess: () => ZodSuccess,
2822
+ ZodSymbol: () => ZodSymbol,
2823
+ ZodTemplateLiteral: () => ZodTemplateLiteral,
2824
+ ZodTransform: () => ZodTransform,
2825
+ ZodTuple: () => ZodTuple,
2826
+ ZodType: () => ZodType,
2827
+ ZodULID: () => ZodULID,
2828
+ ZodURL: () => ZodURL,
2829
+ ZodUUID: () => ZodUUID,
2830
+ ZodUndefined: () => ZodUndefined,
2831
+ ZodUnion: () => ZodUnion,
2832
+ ZodUnknown: () => ZodUnknown,
2833
+ ZodVoid: () => ZodVoid,
2834
+ ZodXID: () => ZodXID,
2835
+ ZodXor: () => ZodXor,
2836
+ _ZodString: () => _ZodString,
2837
+ _default: () => _default2,
2838
+ _function: () => _function,
2839
+ any: () => any,
2840
+ array: () => array,
2841
+ base64: () => base642,
2842
+ base64url: () => base64url2,
2843
+ bigint: () => bigint2,
2844
+ boolean: () => boolean2,
2845
+ catch: () => _catch2,
2846
+ check: () => check2,
2847
+ cidrv4: () => cidrv42,
2848
+ cidrv6: () => cidrv62,
2849
+ clone: () => clone,
2850
+ codec: () => codec,
2851
+ coerce: () => exports_coerce,
2852
+ config: () => config,
2853
+ core: () => exports_core2,
2854
+ cuid: () => cuid3,
2855
+ cuid2: () => cuid22,
2856
+ custom: () => custom,
2857
+ date: () => date3,
2858
+ decode: () => decode2,
2859
+ decodeAsync: () => decodeAsync2,
2860
+ describe: () => describe2,
2861
+ discriminatedUnion: () => discriminatedUnion,
2862
+ e164: () => e1642,
2863
+ email: () => email2,
2864
+ emoji: () => emoji2,
2865
+ encode: () => encode2,
2866
+ encodeAsync: () => encodeAsync2,
2867
+ endsWith: () => _endsWith,
2868
+ enum: () => _enum2,
2869
+ exactOptional: () => exactOptional,
2870
+ file: () => file,
2871
+ flattenError: () => flattenError,
2872
+ float32: () => float32,
2873
+ float64: () => float64,
2874
+ formatError: () => formatError,
2875
+ fromJSONSchema: () => fromJSONSchema,
2876
+ function: () => _function,
2877
+ getErrorMap: () => getErrorMap,
2878
+ globalRegistry: () => globalRegistry,
2879
+ gt: () => _gt,
2880
+ gte: () => _gte,
2881
+ guid: () => guid2,
2882
+ hash: () => hash,
2883
+ hex: () => hex2,
2884
+ hostname: () => hostname2,
2885
+ httpUrl: () => httpUrl,
2886
+ includes: () => _includes,
2887
+ instanceof: () => _instanceof,
2888
+ int: () => int,
2889
+ int32: () => int32,
2890
+ int64: () => int64,
2891
+ intersection: () => intersection,
2892
+ invertCodec: () => invertCodec,
2893
+ ipv4: () => ipv42,
2894
+ ipv6: () => ipv62,
2895
+ iso: () => exports_iso,
2896
+ json: () => json,
2897
+ jwt: () => jwt,
2898
+ keyof: () => keyof,
2899
+ ksuid: () => ksuid2,
2900
+ lazy: () => lazy,
2901
+ length: () => _length,
2902
+ literal: () => literal,
2903
+ locales: () => exports_locales,
2904
+ looseObject: () => looseObject,
2905
+ looseRecord: () => looseRecord,
2906
+ lowercase: () => _lowercase,
2907
+ lt: () => _lt,
2908
+ lte: () => _lte,
2909
+ mac: () => mac2,
2910
+ map: () => map,
2911
+ maxLength: () => _maxLength,
2912
+ maxSize: () => _maxSize,
2913
+ meta: () => meta2,
2914
+ mime: () => _mime,
2915
+ minLength: () => _minLength,
2916
+ minSize: () => _minSize,
2917
+ multipleOf: () => _multipleOf,
2918
+ nan: () => nan,
2919
+ nanoid: () => nanoid2,
2920
+ nativeEnum: () => nativeEnum,
2921
+ negative: () => _negative,
2922
+ never: () => never,
2923
+ nonnegative: () => _nonnegative,
2924
+ nonoptional: () => nonoptional,
2925
+ nonpositive: () => _nonpositive,
2926
+ normalize: () => _normalize,
2927
+ null: () => _null3,
2928
+ nullable: () => nullable,
2929
+ nullish: () => nullish2,
2930
+ number: () => number2,
2931
+ object: () => object,
2932
+ optional: () => optional,
2933
+ overwrite: () => _overwrite,
2934
+ parse: () => parse3,
2935
+ parseAsync: () => parseAsync2,
2936
+ partialRecord: () => partialRecord,
2937
+ pipe: () => pipe,
2938
+ positive: () => _positive,
2939
+ prefault: () => prefault,
2940
+ preprocess: () => preprocess,
2941
+ prettifyError: () => prettifyError,
2942
+ promise: () => promise,
2943
+ property: () => _property,
2944
+ readonly: () => readonly,
2945
+ record: () => record,
2946
+ refine: () => refine,
2947
+ regex: () => _regex,
2948
+ regexes: () => exports_regexes,
2949
+ registry: () => registry,
2950
+ safeDecode: () => safeDecode2,
2951
+ safeDecodeAsync: () => safeDecodeAsync2,
2952
+ safeEncode: () => safeEncode2,
2953
+ safeEncodeAsync: () => safeEncodeAsync2,
2954
+ safeParse: () => safeParse2,
2955
+ safeParseAsync: () => safeParseAsync2,
2956
+ set: () => set,
2957
+ setErrorMap: () => setErrorMap,
2958
+ size: () => _size,
2959
+ slugify: () => _slugify,
2960
+ startsWith: () => _startsWith,
2961
+ strictObject: () => strictObject,
2962
+ string: () => string2,
2963
+ stringFormat: () => stringFormat,
2964
+ stringbool: () => stringbool,
2965
+ success: () => success,
2966
+ superRefine: () => superRefine,
2967
+ symbol: () => symbol,
2968
+ templateLiteral: () => templateLiteral,
2969
+ toJSONSchema: () => toJSONSchema,
2970
+ toLowerCase: () => _toLowerCase,
2971
+ toUpperCase: () => _toUpperCase,
2972
+ transform: () => transform,
2973
+ treeifyError: () => treeifyError,
2974
+ trim: () => _trim,
2975
+ tuple: () => tuple,
2976
+ uint32: () => uint32,
2977
+ uint64: () => uint64,
2978
+ ulid: () => ulid2,
2979
+ undefined: () => _undefined3,
2980
+ union: () => union,
2981
+ unknown: () => unknown,
2982
+ uppercase: () => _uppercase,
2983
+ url: () => url,
2984
+ util: () => exports_util,
2985
+ uuid: () => uuid2,
2986
+ uuidv4: () => uuidv4,
2987
+ uuidv6: () => uuidv6,
2988
+ uuidv7: () => uuidv7,
2989
+ void: () => _void2,
2990
+ xid: () => xid2,
2991
+ xor: () => xor
2992
+ });
2993
+
2994
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/index.js
2995
+ var exports_core2 = {};
2996
+ __export(exports_core2, {
2997
+ $ZodAny: () => $ZodAny,
2947
2998
  $ZodArray: () => $ZodArray,
2948
- $ZodAny: () => $ZodAny
2999
+ $ZodAsyncError: () => $ZodAsyncError,
3000
+ $ZodBase64: () => $ZodBase64,
3001
+ $ZodBase64URL: () => $ZodBase64URL,
3002
+ $ZodBigInt: () => $ZodBigInt,
3003
+ $ZodBigIntFormat: () => $ZodBigIntFormat,
3004
+ $ZodBoolean: () => $ZodBoolean,
3005
+ $ZodCIDRv4: () => $ZodCIDRv4,
3006
+ $ZodCIDRv6: () => $ZodCIDRv6,
3007
+ $ZodCUID: () => $ZodCUID,
3008
+ $ZodCUID2: () => $ZodCUID2,
3009
+ $ZodCatch: () => $ZodCatch,
3010
+ $ZodCheck: () => $ZodCheck,
3011
+ $ZodCheckBigIntFormat: () => $ZodCheckBigIntFormat,
3012
+ $ZodCheckEndsWith: () => $ZodCheckEndsWith,
3013
+ $ZodCheckGreaterThan: () => $ZodCheckGreaterThan,
3014
+ $ZodCheckIncludes: () => $ZodCheckIncludes,
3015
+ $ZodCheckLengthEquals: () => $ZodCheckLengthEquals,
3016
+ $ZodCheckLessThan: () => $ZodCheckLessThan,
3017
+ $ZodCheckLowerCase: () => $ZodCheckLowerCase,
3018
+ $ZodCheckMaxLength: () => $ZodCheckMaxLength,
3019
+ $ZodCheckMaxSize: () => $ZodCheckMaxSize,
3020
+ $ZodCheckMimeType: () => $ZodCheckMimeType,
3021
+ $ZodCheckMinLength: () => $ZodCheckMinLength,
3022
+ $ZodCheckMinSize: () => $ZodCheckMinSize,
3023
+ $ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
3024
+ $ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
3025
+ $ZodCheckOverwrite: () => $ZodCheckOverwrite,
3026
+ $ZodCheckProperty: () => $ZodCheckProperty,
3027
+ $ZodCheckRegex: () => $ZodCheckRegex,
3028
+ $ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
3029
+ $ZodCheckStartsWith: () => $ZodCheckStartsWith,
3030
+ $ZodCheckStringFormat: () => $ZodCheckStringFormat,
3031
+ $ZodCheckUpperCase: () => $ZodCheckUpperCase,
3032
+ $ZodCodec: () => $ZodCodec,
3033
+ $ZodCustom: () => $ZodCustom,
3034
+ $ZodCustomStringFormat: () => $ZodCustomStringFormat,
3035
+ $ZodDate: () => $ZodDate,
3036
+ $ZodDefault: () => $ZodDefault,
3037
+ $ZodDiscriminatedUnion: () => $ZodDiscriminatedUnion,
3038
+ $ZodE164: () => $ZodE164,
3039
+ $ZodEmail: () => $ZodEmail,
3040
+ $ZodEmoji: () => $ZodEmoji,
3041
+ $ZodEncodeError: () => $ZodEncodeError,
3042
+ $ZodEnum: () => $ZodEnum,
3043
+ $ZodError: () => $ZodError,
3044
+ $ZodExactOptional: () => $ZodExactOptional,
3045
+ $ZodFile: () => $ZodFile,
3046
+ $ZodFunction: () => $ZodFunction,
3047
+ $ZodGUID: () => $ZodGUID,
3048
+ $ZodIPv4: () => $ZodIPv4,
3049
+ $ZodIPv6: () => $ZodIPv6,
3050
+ $ZodISODate: () => $ZodISODate,
3051
+ $ZodISODateTime: () => $ZodISODateTime,
3052
+ $ZodISODuration: () => $ZodISODuration,
3053
+ $ZodISOTime: () => $ZodISOTime,
3054
+ $ZodIntersection: () => $ZodIntersection,
3055
+ $ZodJWT: () => $ZodJWT,
3056
+ $ZodKSUID: () => $ZodKSUID,
3057
+ $ZodLazy: () => $ZodLazy,
3058
+ $ZodLiteral: () => $ZodLiteral,
3059
+ $ZodMAC: () => $ZodMAC,
3060
+ $ZodMap: () => $ZodMap,
3061
+ $ZodNaN: () => $ZodNaN,
3062
+ $ZodNanoID: () => $ZodNanoID,
3063
+ $ZodNever: () => $ZodNever,
3064
+ $ZodNonOptional: () => $ZodNonOptional,
3065
+ $ZodNull: () => $ZodNull,
3066
+ $ZodNullable: () => $ZodNullable,
3067
+ $ZodNumber: () => $ZodNumber,
3068
+ $ZodNumberFormat: () => $ZodNumberFormat,
3069
+ $ZodObject: () => $ZodObject,
3070
+ $ZodObjectJIT: () => $ZodObjectJIT,
3071
+ $ZodOptional: () => $ZodOptional,
3072
+ $ZodPipe: () => $ZodPipe,
3073
+ $ZodPrefault: () => $ZodPrefault,
3074
+ $ZodPreprocess: () => $ZodPreprocess,
3075
+ $ZodPromise: () => $ZodPromise,
3076
+ $ZodReadonly: () => $ZodReadonly,
3077
+ $ZodRealError: () => $ZodRealError,
3078
+ $ZodRecord: () => $ZodRecord,
3079
+ $ZodRegistry: () => $ZodRegistry,
3080
+ $ZodSet: () => $ZodSet,
3081
+ $ZodString: () => $ZodString,
3082
+ $ZodStringFormat: () => $ZodStringFormat,
3083
+ $ZodSuccess: () => $ZodSuccess,
3084
+ $ZodSymbol: () => $ZodSymbol,
3085
+ $ZodTemplateLiteral: () => $ZodTemplateLiteral,
3086
+ $ZodTransform: () => $ZodTransform,
3087
+ $ZodTuple: () => $ZodTuple,
3088
+ $ZodType: () => $ZodType,
3089
+ $ZodULID: () => $ZodULID,
3090
+ $ZodURL: () => $ZodURL,
3091
+ $ZodUUID: () => $ZodUUID,
3092
+ $ZodUndefined: () => $ZodUndefined,
3093
+ $ZodUnion: () => $ZodUnion,
3094
+ $ZodUnknown: () => $ZodUnknown,
3095
+ $ZodVoid: () => $ZodVoid,
3096
+ $ZodXID: () => $ZodXID,
3097
+ $ZodXor: () => $ZodXor,
3098
+ $brand: () => $brand,
3099
+ $constructor: () => $constructor,
3100
+ $input: () => $input,
3101
+ $output: () => $output,
3102
+ Doc: () => Doc,
3103
+ JSONSchema: () => exports_json_schema,
3104
+ JSONSchemaGenerator: () => JSONSchemaGenerator,
3105
+ NEVER: () => NEVER,
3106
+ TimePrecision: () => TimePrecision,
3107
+ _any: () => _any,
3108
+ _array: () => _array,
3109
+ _base64: () => _base64,
3110
+ _base64url: () => _base64url,
3111
+ _bigint: () => _bigint,
3112
+ _boolean: () => _boolean,
3113
+ _catch: () => _catch,
3114
+ _check: () => _check,
3115
+ _cidrv4: () => _cidrv4,
3116
+ _cidrv6: () => _cidrv6,
3117
+ _coercedBigint: () => _coercedBigint,
3118
+ _coercedBoolean: () => _coercedBoolean,
3119
+ _coercedDate: () => _coercedDate,
3120
+ _coercedNumber: () => _coercedNumber,
3121
+ _coercedString: () => _coercedString,
3122
+ _cuid: () => _cuid,
3123
+ _cuid2: () => _cuid2,
3124
+ _custom: () => _custom,
3125
+ _date: () => _date,
3126
+ _decode: () => _decode,
3127
+ _decodeAsync: () => _decodeAsync,
3128
+ _default: () => _default,
3129
+ _discriminatedUnion: () => _discriminatedUnion,
3130
+ _e164: () => _e164,
3131
+ _email: () => _email,
3132
+ _emoji: () => _emoji2,
3133
+ _encode: () => _encode,
3134
+ _encodeAsync: () => _encodeAsync,
3135
+ _endsWith: () => _endsWith,
3136
+ _enum: () => _enum,
3137
+ _file: () => _file,
3138
+ _float32: () => _float32,
3139
+ _float64: () => _float64,
3140
+ _gt: () => _gt,
3141
+ _gte: () => _gte,
3142
+ _guid: () => _guid,
3143
+ _includes: () => _includes,
3144
+ _int: () => _int,
3145
+ _int32: () => _int32,
3146
+ _int64: () => _int64,
3147
+ _intersection: () => _intersection,
3148
+ _ipv4: () => _ipv4,
3149
+ _ipv6: () => _ipv6,
3150
+ _isoDate: () => _isoDate,
3151
+ _isoDateTime: () => _isoDateTime,
3152
+ _isoDuration: () => _isoDuration,
3153
+ _isoTime: () => _isoTime,
3154
+ _jwt: () => _jwt,
3155
+ _ksuid: () => _ksuid,
3156
+ _lazy: () => _lazy,
3157
+ _length: () => _length,
3158
+ _literal: () => _literal,
3159
+ _lowercase: () => _lowercase,
3160
+ _lt: () => _lt,
3161
+ _lte: () => _lte,
3162
+ _mac: () => _mac,
3163
+ _map: () => _map,
3164
+ _max: () => _lte,
3165
+ _maxLength: () => _maxLength,
3166
+ _maxSize: () => _maxSize,
3167
+ _mime: () => _mime,
3168
+ _min: () => _gte,
3169
+ _minLength: () => _minLength,
3170
+ _minSize: () => _minSize,
3171
+ _multipleOf: () => _multipleOf,
3172
+ _nan: () => _nan,
3173
+ _nanoid: () => _nanoid,
3174
+ _nativeEnum: () => _nativeEnum,
3175
+ _negative: () => _negative,
3176
+ _never: () => _never,
3177
+ _nonnegative: () => _nonnegative,
3178
+ _nonoptional: () => _nonoptional,
3179
+ _nonpositive: () => _nonpositive,
3180
+ _normalize: () => _normalize,
3181
+ _null: () => _null2,
3182
+ _nullable: () => _nullable,
3183
+ _number: () => _number,
3184
+ _optional: () => _optional,
3185
+ _overwrite: () => _overwrite,
3186
+ _parse: () => _parse,
3187
+ _parseAsync: () => _parseAsync,
3188
+ _pipe: () => _pipe,
3189
+ _positive: () => _positive,
3190
+ _promise: () => _promise,
3191
+ _property: () => _property,
3192
+ _readonly: () => _readonly,
3193
+ _record: () => _record,
3194
+ _refine: () => _refine,
3195
+ _regex: () => _regex,
3196
+ _safeDecode: () => _safeDecode,
3197
+ _safeDecodeAsync: () => _safeDecodeAsync,
3198
+ _safeEncode: () => _safeEncode,
3199
+ _safeEncodeAsync: () => _safeEncodeAsync,
3200
+ _safeParse: () => _safeParse,
3201
+ _safeParseAsync: () => _safeParseAsync,
3202
+ _set: () => _set,
3203
+ _size: () => _size,
3204
+ _slugify: () => _slugify,
3205
+ _startsWith: () => _startsWith,
3206
+ _string: () => _string,
3207
+ _stringFormat: () => _stringFormat,
3208
+ _stringbool: () => _stringbool,
3209
+ _success: () => _success,
3210
+ _superRefine: () => _superRefine,
3211
+ _symbol: () => _symbol,
3212
+ _templateLiteral: () => _templateLiteral,
3213
+ _toLowerCase: () => _toLowerCase,
3214
+ _toUpperCase: () => _toUpperCase,
3215
+ _transform: () => _transform,
3216
+ _trim: () => _trim,
3217
+ _tuple: () => _tuple,
3218
+ _uint32: () => _uint32,
3219
+ _uint64: () => _uint64,
3220
+ _ulid: () => _ulid,
3221
+ _undefined: () => _undefined2,
3222
+ _union: () => _union,
3223
+ _unknown: () => _unknown,
3224
+ _uppercase: () => _uppercase,
3225
+ _url: () => _url,
3226
+ _uuid: () => _uuid,
3227
+ _uuidv4: () => _uuidv4,
3228
+ _uuidv6: () => _uuidv6,
3229
+ _uuidv7: () => _uuidv7,
3230
+ _void: () => _void,
3231
+ _xid: () => _xid,
3232
+ _xor: () => _xor,
3233
+ clone: () => clone,
3234
+ config: () => config,
3235
+ createStandardJSONSchemaMethod: () => createStandardJSONSchemaMethod,
3236
+ createToJSONSchemaMethod: () => createToJSONSchemaMethod,
3237
+ decode: () => decode,
3238
+ decodeAsync: () => decodeAsync,
3239
+ describe: () => describe,
3240
+ encode: () => encode,
3241
+ encodeAsync: () => encodeAsync,
3242
+ extractDefs: () => extractDefs,
3243
+ finalize: () => finalize,
3244
+ flattenError: () => flattenError,
3245
+ formatError: () => formatError,
3246
+ globalConfig: () => globalConfig,
3247
+ globalRegistry: () => globalRegistry,
3248
+ initializeContext: () => initializeContext,
3249
+ isValidBase64: () => isValidBase64,
3250
+ isValidBase64URL: () => isValidBase64URL,
3251
+ isValidJWT: () => isValidJWT,
3252
+ locales: () => exports_locales,
3253
+ meta: () => meta,
3254
+ parse: () => parse,
3255
+ parseAsync: () => parseAsync,
3256
+ prettifyError: () => prettifyError,
3257
+ process: () => process2,
3258
+ regexes: () => exports_regexes,
3259
+ registry: () => registry,
3260
+ safeDecode: () => safeDecode,
3261
+ safeDecodeAsync: () => safeDecodeAsync,
3262
+ safeEncode: () => safeEncode,
3263
+ safeEncodeAsync: () => safeEncodeAsync,
3264
+ safeParse: () => safeParse,
3265
+ safeParseAsync: () => safeParseAsync,
3266
+ toDotPath: () => toDotPath,
3267
+ toJSONSchema: () => toJSONSchema,
3268
+ treeifyError: () => treeifyError,
3269
+ util: () => exports_util,
3270
+ version: () => version2
2949
3271
  });
2950
3272
 
2951
3273
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
@@ -3020,78 +3342,78 @@ class $ZodEncodeError extends Error {
3020
3342
  }
3021
3343
  }
3022
3344
  (_a = globalThis).__zod_globalConfig ?? (_a.__zod_globalConfig = {});
3023
- var globalConfig = globalThis.__zod_globalConfig;
3024
- function config(newConfig) {
3025
- if (newConfig)
3026
- Object.assign(globalConfig, newConfig);
3027
- return globalConfig;
3028
- }
3029
- // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
3030
- var exports_util = {};
3031
- __export(exports_util, {
3032
- unwrapMessage: () => unwrapMessage,
3033
- uint8ArrayToHex: () => uint8ArrayToHex,
3034
- uint8ArrayToBase64url: () => uint8ArrayToBase64url,
3035
- uint8ArrayToBase64: () => uint8ArrayToBase64,
3036
- stringifyPrimitive: () => stringifyPrimitive,
3037
- slugify: () => slugify,
3038
- shallowClone: () => shallowClone,
3039
- safeExtend: () => safeExtend,
3040
- required: () => required,
3041
- randomString: () => randomString,
3042
- propertyKeyTypes: () => propertyKeyTypes,
3043
- promiseAllObject: () => promiseAllObject,
3044
- primitiveTypes: () => primitiveTypes,
3045
- prefixIssues: () => prefixIssues,
3046
- pick: () => pick,
3047
- partial: () => partial,
3048
- parsedType: () => parsedType,
3049
- optionalKeys: () => optionalKeys,
3050
- omit: () => omit,
3051
- objectClone: () => objectClone,
3052
- numKeys: () => numKeys,
3053
- nullish: () => nullish,
3054
- normalizeParams: () => normalizeParams,
3055
- mergeDefs: () => mergeDefs,
3056
- merge: () => merge,
3057
- jsonStringifyReplacer: () => jsonStringifyReplacer,
3058
- joinValues: () => joinValues,
3059
- issue: () => issue,
3060
- isPlainObject: () => isPlainObject,
3061
- isObject: () => isObject,
3062
- hexToUint8Array: () => hexToUint8Array,
3063
- getSizableOrigin: () => getSizableOrigin,
3064
- getParsedType: () => getParsedType,
3065
- getLengthableOrigin: () => getLengthableOrigin,
3066
- getEnumValues: () => getEnumValues,
3067
- getElementAtPath: () => getElementAtPath,
3068
- floatSafeRemainder: () => floatSafeRemainder,
3069
- finalizeIssue: () => finalizeIssue,
3070
- extend: () => extend,
3071
- explicitlyAborted: () => explicitlyAborted,
3072
- escapeRegex: () => escapeRegex,
3073
- esc: () => esc,
3074
- defineLazy: () => defineLazy,
3075
- createTransparentProxy: () => createTransparentProxy,
3076
- cloneDef: () => cloneDef,
3077
- clone: () => clone,
3078
- cleanRegex: () => cleanRegex,
3079
- cleanEnum: () => cleanEnum,
3080
- captureStackTrace: () => captureStackTrace,
3081
- cached: () => cached,
3082
- base64urlToUint8Array: () => base64urlToUint8Array,
3083
- base64ToUint8Array: () => base64ToUint8Array,
3084
- assignProp: () => assignProp,
3085
- assertNotEqual: () => assertNotEqual,
3086
- assertNever: () => assertNever,
3087
- assertIs: () => assertIs,
3088
- assertEqual: () => assertEqual,
3089
- assert: () => assert,
3090
- allowsEval: () => allowsEval,
3091
- aborted: () => aborted,
3092
- NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
3345
+ var globalConfig = globalThis.__zod_globalConfig;
3346
+ function config(newConfig) {
3347
+ if (newConfig)
3348
+ Object.assign(globalConfig, newConfig);
3349
+ return globalConfig;
3350
+ }
3351
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
3352
+ var exports_util = {};
3353
+ __export(exports_util, {
3354
+ BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
3093
3355
  Class: () => Class,
3094
- BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES
3356
+ NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
3357
+ aborted: () => aborted,
3358
+ allowsEval: () => allowsEval,
3359
+ assert: () => assert,
3360
+ assertEqual: () => assertEqual,
3361
+ assertIs: () => assertIs,
3362
+ assertNever: () => assertNever,
3363
+ assertNotEqual: () => assertNotEqual,
3364
+ assignProp: () => assignProp,
3365
+ base64ToUint8Array: () => base64ToUint8Array,
3366
+ base64urlToUint8Array: () => base64urlToUint8Array,
3367
+ cached: () => cached,
3368
+ captureStackTrace: () => captureStackTrace,
3369
+ cleanEnum: () => cleanEnum,
3370
+ cleanRegex: () => cleanRegex,
3371
+ clone: () => clone,
3372
+ cloneDef: () => cloneDef,
3373
+ createTransparentProxy: () => createTransparentProxy,
3374
+ defineLazy: () => defineLazy,
3375
+ esc: () => esc,
3376
+ escapeRegex: () => escapeRegex,
3377
+ explicitlyAborted: () => explicitlyAborted,
3378
+ extend: () => extend,
3379
+ finalizeIssue: () => finalizeIssue,
3380
+ floatSafeRemainder: () => floatSafeRemainder,
3381
+ getElementAtPath: () => getElementAtPath,
3382
+ getEnumValues: () => getEnumValues,
3383
+ getLengthableOrigin: () => getLengthableOrigin,
3384
+ getParsedType: () => getParsedType,
3385
+ getSizableOrigin: () => getSizableOrigin,
3386
+ hexToUint8Array: () => hexToUint8Array,
3387
+ isObject: () => isObject,
3388
+ isPlainObject: () => isPlainObject,
3389
+ issue: () => issue,
3390
+ joinValues: () => joinValues,
3391
+ jsonStringifyReplacer: () => jsonStringifyReplacer,
3392
+ merge: () => merge,
3393
+ mergeDefs: () => mergeDefs,
3394
+ normalizeParams: () => normalizeParams,
3395
+ nullish: () => nullish,
3396
+ numKeys: () => numKeys,
3397
+ objectClone: () => objectClone,
3398
+ omit: () => omit,
3399
+ optionalKeys: () => optionalKeys,
3400
+ parsedType: () => parsedType,
3401
+ partial: () => partial,
3402
+ pick: () => pick,
3403
+ prefixIssues: () => prefixIssues,
3404
+ primitiveTypes: () => primitiveTypes,
3405
+ promiseAllObject: () => promiseAllObject,
3406
+ propertyKeyTypes: () => propertyKeyTypes,
3407
+ randomString: () => randomString,
3408
+ required: () => required,
3409
+ safeExtend: () => safeExtend,
3410
+ shallowClone: () => shallowClone,
3411
+ slugify: () => slugify,
3412
+ stringifyPrimitive: () => stringifyPrimitive,
3413
+ uint8ArrayToBase64: () => uint8ArrayToBase64,
3414
+ uint8ArrayToBase64url: () => uint8ArrayToBase64url,
3415
+ uint8ArrayToHex: () => uint8ArrayToHex,
3416
+ unwrapMessage: () => unwrapMessage
3095
3417
  });
3096
3418
  function assertEqual(val) {
3097
3419
  return val;
@@ -3948,65 +4270,65 @@ var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
3948
4270
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
3949
4271
  var exports_regexes = {};
3950
4272
  __export(exports_regexes, {
3951
- xid: () => xid,
3952
- uuid7: () => uuid7,
3953
- uuid6: () => uuid6,
3954
- uuid4: () => uuid4,
3955
- uuid: () => uuid,
3956
- uppercase: () => uppercase,
3957
- unicodeEmail: () => unicodeEmail,
3958
- undefined: () => _undefined,
3959
- ulid: () => ulid,
3960
- time: () => time,
3961
- string: () => string,
3962
- sha512_hex: () => sha512_hex,
3963
- sha512_base64url: () => sha512_base64url,
3964
- sha512_base64: () => sha512_base64,
3965
- sha384_hex: () => sha384_hex,
3966
- sha384_base64url: () => sha384_base64url,
3967
- sha384_base64: () => sha384_base64,
3968
- sha256_hex: () => sha256_hex,
3969
- sha256_base64url: () => sha256_base64url,
3970
- sha256_base64: () => sha256_base64,
3971
- sha1_hex: () => sha1_hex,
3972
- sha1_base64url: () => sha1_base64url,
3973
- sha1_base64: () => sha1_base64,
3974
- rfc5322Email: () => rfc5322Email,
3975
- number: () => number,
3976
- null: () => _null,
3977
- nanoid: () => nanoid,
3978
- md5_hex: () => md5_hex,
3979
- md5_base64url: () => md5_base64url,
3980
- md5_base64: () => md5_base64,
3981
- mac: () => mac,
3982
- lowercase: () => lowercase,
3983
- ksuid: () => ksuid,
3984
- ipv6: () => ipv6,
3985
- ipv4: () => ipv4,
3986
- integer: () => integer2,
3987
- idnEmail: () => idnEmail,
3988
- httpProtocol: () => httpProtocol,
3989
- html5Email: () => html5Email,
3990
- hostname: () => hostname,
3991
- hex: () => hex,
3992
- guid: () => guid,
3993
- extendedDuration: () => extendedDuration,
3994
- emoji: () => emoji,
3995
- email: () => email,
3996
- e164: () => e164,
3997
- duration: () => duration,
3998
- domain: () => domain,
3999
- datetime: () => datetime,
4000
- date: () => date,
4001
- cuid2: () => cuid2,
4002
- cuid: () => cuid,
4003
- cidrv6: () => cidrv6,
4004
- cidrv4: () => cidrv4,
4005
- browserEmail: () => browserEmail,
4006
- boolean: () => boolean,
4007
- bigint: () => bigint,
4273
+ base64: () => base64,
4008
4274
  base64url: () => base64url,
4009
- base64: () => base64
4275
+ bigint: () => bigint,
4276
+ boolean: () => boolean,
4277
+ browserEmail: () => browserEmail,
4278
+ cidrv4: () => cidrv4,
4279
+ cidrv6: () => cidrv6,
4280
+ cuid: () => cuid,
4281
+ cuid2: () => cuid2,
4282
+ date: () => date,
4283
+ datetime: () => datetime,
4284
+ domain: () => domain,
4285
+ duration: () => duration,
4286
+ e164: () => e164,
4287
+ email: () => email,
4288
+ emoji: () => emoji,
4289
+ extendedDuration: () => extendedDuration,
4290
+ guid: () => guid,
4291
+ hex: () => hex,
4292
+ hostname: () => hostname,
4293
+ html5Email: () => html5Email,
4294
+ httpProtocol: () => httpProtocol,
4295
+ idnEmail: () => idnEmail,
4296
+ integer: () => integer2,
4297
+ ipv4: () => ipv4,
4298
+ ipv6: () => ipv6,
4299
+ ksuid: () => ksuid,
4300
+ lowercase: () => lowercase,
4301
+ mac: () => mac,
4302
+ md5_base64: () => md5_base64,
4303
+ md5_base64url: () => md5_base64url,
4304
+ md5_hex: () => md5_hex,
4305
+ nanoid: () => nanoid,
4306
+ null: () => _null,
4307
+ number: () => number,
4308
+ rfc5322Email: () => rfc5322Email,
4309
+ sha1_base64: () => sha1_base64,
4310
+ sha1_base64url: () => sha1_base64url,
4311
+ sha1_hex: () => sha1_hex,
4312
+ sha256_base64: () => sha256_base64,
4313
+ sha256_base64url: () => sha256_base64url,
4314
+ sha256_hex: () => sha256_hex,
4315
+ sha384_base64: () => sha384_base64,
4316
+ sha384_base64url: () => sha384_base64url,
4317
+ sha384_hex: () => sha384_hex,
4318
+ sha512_base64: () => sha512_base64,
4319
+ sha512_base64url: () => sha512_base64url,
4320
+ sha512_hex: () => sha512_hex,
4321
+ string: () => string,
4322
+ time: () => time,
4323
+ ulid: () => ulid,
4324
+ undefined: () => _undefined,
4325
+ unicodeEmail: () => unicodeEmail,
4326
+ uppercase: () => uppercase,
4327
+ uuid: () => uuid,
4328
+ uuid4: () => uuid4,
4329
+ uuid6: () => uuid6,
4330
+ uuid7: () => uuid7,
4331
+ xid: () => xid
4010
4332
  });
4011
4333
  var cuid = /^[cC][0-9a-z]{6,}$/;
4012
4334
  var cuid2 = /^[0-9a-z]+$/;
@@ -6757,84 +7079,84 @@ var $ZodCustom = /* @__PURE__ */ $constructor("$ZodCustom", (inst, def) => {
6757
7079
  return payload;
6758
7080
  };
6759
7081
  inst._zod.check = (payload) => {
6760
- const input = payload.value;
6761
- const r = def.fn(input);
6762
- if (r instanceof Promise) {
6763
- return r.then((r2) => handleRefineResult(r2, payload, input, inst));
6764
- }
6765
- handleRefineResult(r, payload, input, inst);
6766
- return;
6767
- };
6768
- });
6769
- function handleRefineResult(result, payload, input, inst) {
6770
- if (!result) {
6771
- const _iss = {
6772
- code: "custom",
6773
- input,
6774
- inst,
6775
- path: [...inst._zod.def.path ?? []],
6776
- continue: !inst._zod.def.abort
6777
- };
6778
- if (inst._zod.def.params)
6779
- _iss.params = inst._zod.def.params;
6780
- payload.issues.push(issue(_iss));
6781
- }
6782
- }
6783
- // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/index.js
6784
- var exports_locales = {};
6785
- __export(exports_locales, {
6786
- zhTW: () => zh_TW_default,
6787
- zhCN: () => zh_CN_default,
6788
- yo: () => yo_default,
6789
- vi: () => vi_default,
6790
- uz: () => uz_default,
6791
- ur: () => ur_default,
6792
- uk: () => uk_default,
6793
- ua: () => ua_default,
6794
- tr: () => tr_default,
6795
- th: () => th_default,
6796
- ta: () => ta_default,
6797
- sv: () => sv_default,
6798
- sl: () => sl_default,
6799
- ru: () => ru_default,
6800
- ro: () => ro_default,
6801
- pt: () => pt_default,
6802
- ps: () => ps_default,
6803
- pl: () => pl_default,
6804
- ota: () => ota_default,
6805
- no: () => no_default,
6806
- nl: () => nl_default,
6807
- ms: () => ms_default,
6808
- mk: () => mk_default,
6809
- lt: () => lt_default,
6810
- ko: () => ko_default,
6811
- km: () => km_default,
6812
- kh: () => kh_default,
6813
- ka: () => ka_default,
6814
- ja: () => ja_default,
6815
- it: () => it_default,
6816
- is: () => is_default,
6817
- id: () => id_default,
6818
- hy: () => hy_default,
6819
- hu: () => hu_default,
6820
- hr: () => hr_default,
6821
- he: () => he_default,
6822
- frCA: () => fr_CA_default,
6823
- fr: () => fr_default,
6824
- fi: () => fi_default,
6825
- fa: () => fa_default,
6826
- es: () => es_default,
6827
- eo: () => eo_default,
6828
- en: () => en_default,
6829
- el: () => el_default,
6830
- de: () => de_default,
6831
- da: () => da_default,
6832
- cs: () => cs_default,
6833
- ca: () => ca_default,
6834
- bg: () => bg_default,
6835
- be: () => be_default,
7082
+ const input = payload.value;
7083
+ const r = def.fn(input);
7084
+ if (r instanceof Promise) {
7085
+ return r.then((r2) => handleRefineResult(r2, payload, input, inst));
7086
+ }
7087
+ handleRefineResult(r, payload, input, inst);
7088
+ return;
7089
+ };
7090
+ });
7091
+ function handleRefineResult(result, payload, input, inst) {
7092
+ if (!result) {
7093
+ const _iss = {
7094
+ code: "custom",
7095
+ input,
7096
+ inst,
7097
+ path: [...inst._zod.def.path ?? []],
7098
+ continue: !inst._zod.def.abort
7099
+ };
7100
+ if (inst._zod.def.params)
7101
+ _iss.params = inst._zod.def.params;
7102
+ payload.issues.push(issue(_iss));
7103
+ }
7104
+ }
7105
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/index.js
7106
+ var exports_locales = {};
7107
+ __export(exports_locales, {
7108
+ ar: () => ar_default,
6836
7109
  az: () => az_default,
6837
- ar: () => ar_default
7110
+ be: () => be_default,
7111
+ bg: () => bg_default,
7112
+ ca: () => ca_default,
7113
+ cs: () => cs_default,
7114
+ da: () => da_default,
7115
+ de: () => de_default,
7116
+ el: () => el_default,
7117
+ en: () => en_default,
7118
+ eo: () => eo_default,
7119
+ es: () => es_default,
7120
+ fa: () => fa_default,
7121
+ fi: () => fi_default,
7122
+ fr: () => fr_default,
7123
+ frCA: () => fr_CA_default,
7124
+ he: () => he_default,
7125
+ hr: () => hr_default,
7126
+ hu: () => hu_default,
7127
+ hy: () => hy_default,
7128
+ id: () => id_default,
7129
+ is: () => is_default,
7130
+ it: () => it_default,
7131
+ ja: () => ja_default,
7132
+ ka: () => ka_default,
7133
+ kh: () => kh_default,
7134
+ km: () => km_default,
7135
+ ko: () => ko_default,
7136
+ lt: () => lt_default,
7137
+ mk: () => mk_default,
7138
+ ms: () => ms_default,
7139
+ nl: () => nl_default,
7140
+ no: () => no_default,
7141
+ ota: () => ota_default,
7142
+ pl: () => pl_default,
7143
+ ps: () => ps_default,
7144
+ pt: () => pt_default,
7145
+ ro: () => ro_default,
7146
+ ru: () => ru_default,
7147
+ sl: () => sl_default,
7148
+ sv: () => sv_default,
7149
+ ta: () => ta_default,
7150
+ th: () => th_default,
7151
+ tr: () => tr_default,
7152
+ ua: () => ua_default,
7153
+ uk: () => uk_default,
7154
+ ur: () => ur_default,
7155
+ uz: () => uz_default,
7156
+ vi: () => vi_default,
7157
+ yo: () => yo_default,
7158
+ zhCN: () => zh_CN_default,
7159
+ zhTW: () => zh_TW_default
6838
7160
  });
6839
7161
 
6840
7162
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ar.js
@@ -14587,237 +14909,237 @@ class JSONSchemaGenerator {
14587
14909
  }
14588
14910
  emit(schema, _params) {
14589
14911
  if (_params) {
14590
- if (_params.cycles)
14591
- this.ctx.cycles = _params.cycles;
14592
- if (_params.reused)
14593
- this.ctx.reused = _params.reused;
14594
- if (_params.external)
14595
- this.ctx.external = _params.external;
14596
- }
14597
- extractDefs(this.ctx, schema);
14598
- const result = finalize(this.ctx, schema);
14599
- const { "~standard": _, ...plainResult } = result;
14600
- return plainResult;
14601
- }
14602
- }
14603
- // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.js
14604
- var exports_json_schema = {};
14605
- // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
14606
- var exports_schemas2 = {};
14607
- __export(exports_schemas2, {
14608
- xor: () => xor,
14609
- xid: () => xid2,
14610
- void: () => _void2,
14611
- uuidv7: () => uuidv7,
14612
- uuidv6: () => uuidv6,
14613
- uuidv4: () => uuidv4,
14614
- uuid: () => uuid2,
14615
- url: () => url,
14616
- unknown: () => unknown,
14617
- union: () => union,
14618
- undefined: () => _undefined3,
14619
- ulid: () => ulid2,
14620
- uint64: () => uint64,
14621
- uint32: () => uint32,
14622
- tuple: () => tuple,
14623
- transform: () => transform,
14624
- templateLiteral: () => templateLiteral,
14625
- symbol: () => symbol,
14626
- superRefine: () => superRefine,
14627
- success: () => success,
14628
- stringbool: () => stringbool,
14629
- stringFormat: () => stringFormat,
14630
- string: () => string2,
14631
- strictObject: () => strictObject,
14632
- set: () => set,
14633
- refine: () => refine,
14634
- record: () => record,
14635
- readonly: () => readonly,
14636
- promise: () => promise,
14637
- preprocess: () => preprocess,
14638
- prefault: () => prefault,
14639
- pipe: () => pipe,
14640
- partialRecord: () => partialRecord,
14641
- optional: () => optional,
14642
- object: () => object,
14643
- number: () => number2,
14644
- nullish: () => nullish2,
14645
- nullable: () => nullable,
14646
- null: () => _null3,
14647
- nonoptional: () => nonoptional,
14648
- never: () => never,
14649
- nativeEnum: () => nativeEnum,
14650
- nanoid: () => nanoid2,
14651
- nan: () => nan,
14652
- meta: () => meta2,
14653
- map: () => map,
14654
- mac: () => mac2,
14655
- looseRecord: () => looseRecord,
14656
- looseObject: () => looseObject,
14657
- literal: () => literal,
14658
- lazy: () => lazy,
14659
- ksuid: () => ksuid2,
14660
- keyof: () => keyof,
14661
- jwt: () => jwt,
14662
- json: () => json,
14663
- ipv6: () => ipv62,
14664
- ipv4: () => ipv42,
14665
- invertCodec: () => invertCodec,
14666
- intersection: () => intersection,
14667
- int64: () => int64,
14668
- int32: () => int32,
14669
- int: () => int,
14670
- instanceof: () => _instanceof,
14671
- httpUrl: () => httpUrl,
14672
- hostname: () => hostname2,
14673
- hex: () => hex2,
14674
- hash: () => hash,
14675
- guid: () => guid2,
14676
- function: () => _function,
14677
- float64: () => float64,
14678
- float32: () => float32,
14679
- file: () => file,
14680
- exactOptional: () => exactOptional,
14681
- enum: () => _enum2,
14682
- emoji: () => emoji2,
14683
- email: () => email2,
14684
- e164: () => e1642,
14685
- discriminatedUnion: () => discriminatedUnion,
14686
- describe: () => describe2,
14687
- date: () => date3,
14688
- custom: () => custom,
14689
- cuid2: () => cuid22,
14690
- cuid: () => cuid3,
14691
- codec: () => codec,
14692
- cidrv6: () => cidrv62,
14693
- cidrv4: () => cidrv42,
14694
- check: () => check2,
14695
- catch: () => _catch2,
14696
- boolean: () => boolean2,
14697
- bigint: () => bigint2,
14698
- base64url: () => base64url2,
14699
- base64: () => base642,
14700
- array: () => array,
14701
- any: () => any,
14702
- _function: () => _function,
14703
- _default: () => _default2,
14704
- _ZodString: () => _ZodString,
14705
- ZodXor: () => ZodXor,
14706
- ZodXID: () => ZodXID,
14707
- ZodVoid: () => ZodVoid,
14708
- ZodUnknown: () => ZodUnknown,
14709
- ZodUnion: () => ZodUnion,
14710
- ZodUndefined: () => ZodUndefined,
14711
- ZodUUID: () => ZodUUID,
14712
- ZodURL: () => ZodURL,
14713
- ZodULID: () => ZodULID,
14714
- ZodType: () => ZodType,
14715
- ZodTuple: () => ZodTuple,
14716
- ZodTransform: () => ZodTransform,
14717
- ZodTemplateLiteral: () => ZodTemplateLiteral,
14718
- ZodSymbol: () => ZodSymbol,
14719
- ZodSuccess: () => ZodSuccess,
14720
- ZodStringFormat: () => ZodStringFormat,
14721
- ZodString: () => ZodString,
14722
- ZodSet: () => ZodSet,
14723
- ZodRecord: () => ZodRecord,
14724
- ZodReadonly: () => ZodReadonly,
14725
- ZodPromise: () => ZodPromise,
14726
- ZodPreprocess: () => ZodPreprocess,
14727
- ZodPrefault: () => ZodPrefault,
14728
- ZodPipe: () => ZodPipe,
14729
- ZodOptional: () => ZodOptional,
14730
- ZodObject: () => ZodObject,
14731
- ZodNumberFormat: () => ZodNumberFormat,
14732
- ZodNumber: () => ZodNumber,
14733
- ZodNullable: () => ZodNullable,
14734
- ZodNull: () => ZodNull,
14735
- ZodNonOptional: () => ZodNonOptional,
14736
- ZodNever: () => ZodNever,
14737
- ZodNanoID: () => ZodNanoID,
14738
- ZodNaN: () => ZodNaN,
14739
- ZodMap: () => ZodMap,
14740
- ZodMAC: () => ZodMAC,
14741
- ZodLiteral: () => ZodLiteral,
14742
- ZodLazy: () => ZodLazy,
14743
- ZodKSUID: () => ZodKSUID,
14744
- ZodJWT: () => ZodJWT,
14745
- ZodIntersection: () => ZodIntersection,
14746
- ZodIPv6: () => ZodIPv6,
14747
- ZodIPv4: () => ZodIPv4,
14748
- ZodGUID: () => ZodGUID,
14749
- ZodFunction: () => ZodFunction,
14750
- ZodFile: () => ZodFile,
14751
- ZodExactOptional: () => ZodExactOptional,
14752
- ZodEnum: () => ZodEnum,
14753
- ZodEmoji: () => ZodEmoji,
14754
- ZodEmail: () => ZodEmail,
14755
- ZodE164: () => ZodE164,
14756
- ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
14757
- ZodDefault: () => ZodDefault,
14758
- ZodDate: () => ZodDate,
14759
- ZodCustomStringFormat: () => ZodCustomStringFormat,
14760
- ZodCustom: () => ZodCustom,
14761
- ZodCodec: () => ZodCodec,
14762
- ZodCatch: () => ZodCatch,
14763
- ZodCUID2: () => ZodCUID2,
14764
- ZodCUID: () => ZodCUID,
14765
- ZodCIDRv6: () => ZodCIDRv6,
14766
- ZodCIDRv4: () => ZodCIDRv4,
14767
- ZodBoolean: () => ZodBoolean,
14768
- ZodBigIntFormat: () => ZodBigIntFormat,
14769
- ZodBigInt: () => ZodBigInt,
14770
- ZodBase64URL: () => ZodBase64URL,
14771
- ZodBase64: () => ZodBase64,
14912
+ if (_params.cycles)
14913
+ this.ctx.cycles = _params.cycles;
14914
+ if (_params.reused)
14915
+ this.ctx.reused = _params.reused;
14916
+ if (_params.external)
14917
+ this.ctx.external = _params.external;
14918
+ }
14919
+ extractDefs(this.ctx, schema);
14920
+ const result = finalize(this.ctx, schema);
14921
+ const { "~standard": _, ...plainResult } = result;
14922
+ return plainResult;
14923
+ }
14924
+ }
14925
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.js
14926
+ var exports_json_schema = {};
14927
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
14928
+ var exports_schemas2 = {};
14929
+ __export(exports_schemas2, {
14930
+ ZodAny: () => ZodAny,
14772
14931
  ZodArray: () => ZodArray,
14773
- ZodAny: () => ZodAny
14932
+ ZodBase64: () => ZodBase64,
14933
+ ZodBase64URL: () => ZodBase64URL,
14934
+ ZodBigInt: () => ZodBigInt,
14935
+ ZodBigIntFormat: () => ZodBigIntFormat,
14936
+ ZodBoolean: () => ZodBoolean,
14937
+ ZodCIDRv4: () => ZodCIDRv4,
14938
+ ZodCIDRv6: () => ZodCIDRv6,
14939
+ ZodCUID: () => ZodCUID,
14940
+ ZodCUID2: () => ZodCUID2,
14941
+ ZodCatch: () => ZodCatch,
14942
+ ZodCodec: () => ZodCodec,
14943
+ ZodCustom: () => ZodCustom,
14944
+ ZodCustomStringFormat: () => ZodCustomStringFormat,
14945
+ ZodDate: () => ZodDate,
14946
+ ZodDefault: () => ZodDefault,
14947
+ ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
14948
+ ZodE164: () => ZodE164,
14949
+ ZodEmail: () => ZodEmail,
14950
+ ZodEmoji: () => ZodEmoji,
14951
+ ZodEnum: () => ZodEnum,
14952
+ ZodExactOptional: () => ZodExactOptional,
14953
+ ZodFile: () => ZodFile,
14954
+ ZodFunction: () => ZodFunction,
14955
+ ZodGUID: () => ZodGUID,
14956
+ ZodIPv4: () => ZodIPv4,
14957
+ ZodIPv6: () => ZodIPv6,
14958
+ ZodIntersection: () => ZodIntersection,
14959
+ ZodJWT: () => ZodJWT,
14960
+ ZodKSUID: () => ZodKSUID,
14961
+ ZodLazy: () => ZodLazy,
14962
+ ZodLiteral: () => ZodLiteral,
14963
+ ZodMAC: () => ZodMAC,
14964
+ ZodMap: () => ZodMap,
14965
+ ZodNaN: () => ZodNaN,
14966
+ ZodNanoID: () => ZodNanoID,
14967
+ ZodNever: () => ZodNever,
14968
+ ZodNonOptional: () => ZodNonOptional,
14969
+ ZodNull: () => ZodNull,
14970
+ ZodNullable: () => ZodNullable,
14971
+ ZodNumber: () => ZodNumber,
14972
+ ZodNumberFormat: () => ZodNumberFormat,
14973
+ ZodObject: () => ZodObject,
14974
+ ZodOptional: () => ZodOptional,
14975
+ ZodPipe: () => ZodPipe,
14976
+ ZodPrefault: () => ZodPrefault,
14977
+ ZodPreprocess: () => ZodPreprocess,
14978
+ ZodPromise: () => ZodPromise,
14979
+ ZodReadonly: () => ZodReadonly,
14980
+ ZodRecord: () => ZodRecord,
14981
+ ZodSet: () => ZodSet,
14982
+ ZodString: () => ZodString,
14983
+ ZodStringFormat: () => ZodStringFormat,
14984
+ ZodSuccess: () => ZodSuccess,
14985
+ ZodSymbol: () => ZodSymbol,
14986
+ ZodTemplateLiteral: () => ZodTemplateLiteral,
14987
+ ZodTransform: () => ZodTransform,
14988
+ ZodTuple: () => ZodTuple,
14989
+ ZodType: () => ZodType,
14990
+ ZodULID: () => ZodULID,
14991
+ ZodURL: () => ZodURL,
14992
+ ZodUUID: () => ZodUUID,
14993
+ ZodUndefined: () => ZodUndefined,
14994
+ ZodUnion: () => ZodUnion,
14995
+ ZodUnknown: () => ZodUnknown,
14996
+ ZodVoid: () => ZodVoid,
14997
+ ZodXID: () => ZodXID,
14998
+ ZodXor: () => ZodXor,
14999
+ _ZodString: () => _ZodString,
15000
+ _default: () => _default2,
15001
+ _function: () => _function,
15002
+ any: () => any,
15003
+ array: () => array,
15004
+ base64: () => base642,
15005
+ base64url: () => base64url2,
15006
+ bigint: () => bigint2,
15007
+ boolean: () => boolean2,
15008
+ catch: () => _catch2,
15009
+ check: () => check2,
15010
+ cidrv4: () => cidrv42,
15011
+ cidrv6: () => cidrv62,
15012
+ codec: () => codec,
15013
+ cuid: () => cuid3,
15014
+ cuid2: () => cuid22,
15015
+ custom: () => custom,
15016
+ date: () => date3,
15017
+ describe: () => describe2,
15018
+ discriminatedUnion: () => discriminatedUnion,
15019
+ e164: () => e1642,
15020
+ email: () => email2,
15021
+ emoji: () => emoji2,
15022
+ enum: () => _enum2,
15023
+ exactOptional: () => exactOptional,
15024
+ file: () => file,
15025
+ float32: () => float32,
15026
+ float64: () => float64,
15027
+ function: () => _function,
15028
+ guid: () => guid2,
15029
+ hash: () => hash,
15030
+ hex: () => hex2,
15031
+ hostname: () => hostname2,
15032
+ httpUrl: () => httpUrl,
15033
+ instanceof: () => _instanceof,
15034
+ int: () => int,
15035
+ int32: () => int32,
15036
+ int64: () => int64,
15037
+ intersection: () => intersection,
15038
+ invertCodec: () => invertCodec,
15039
+ ipv4: () => ipv42,
15040
+ ipv6: () => ipv62,
15041
+ json: () => json,
15042
+ jwt: () => jwt,
15043
+ keyof: () => keyof,
15044
+ ksuid: () => ksuid2,
15045
+ lazy: () => lazy,
15046
+ literal: () => literal,
15047
+ looseObject: () => looseObject,
15048
+ looseRecord: () => looseRecord,
15049
+ mac: () => mac2,
15050
+ map: () => map,
15051
+ meta: () => meta2,
15052
+ nan: () => nan,
15053
+ nanoid: () => nanoid2,
15054
+ nativeEnum: () => nativeEnum,
15055
+ never: () => never,
15056
+ nonoptional: () => nonoptional,
15057
+ null: () => _null3,
15058
+ nullable: () => nullable,
15059
+ nullish: () => nullish2,
15060
+ number: () => number2,
15061
+ object: () => object,
15062
+ optional: () => optional,
15063
+ partialRecord: () => partialRecord,
15064
+ pipe: () => pipe,
15065
+ prefault: () => prefault,
15066
+ preprocess: () => preprocess,
15067
+ promise: () => promise,
15068
+ readonly: () => readonly,
15069
+ record: () => record,
15070
+ refine: () => refine,
15071
+ set: () => set,
15072
+ strictObject: () => strictObject,
15073
+ string: () => string2,
15074
+ stringFormat: () => stringFormat,
15075
+ stringbool: () => stringbool,
15076
+ success: () => success,
15077
+ superRefine: () => superRefine,
15078
+ symbol: () => symbol,
15079
+ templateLiteral: () => templateLiteral,
15080
+ transform: () => transform,
15081
+ tuple: () => tuple,
15082
+ uint32: () => uint32,
15083
+ uint64: () => uint64,
15084
+ ulid: () => ulid2,
15085
+ undefined: () => _undefined3,
15086
+ union: () => union,
15087
+ unknown: () => unknown,
15088
+ url: () => url,
15089
+ uuid: () => uuid2,
15090
+ uuidv4: () => uuidv4,
15091
+ uuidv6: () => uuidv6,
15092
+ uuidv7: () => uuidv7,
15093
+ void: () => _void2,
15094
+ xid: () => xid2,
15095
+ xor: () => xor
14774
15096
  });
14775
15097
 
14776
15098
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/checks.js
14777
15099
  var exports_checks2 = {};
14778
15100
  __export(exports_checks2, {
14779
- uppercase: () => _uppercase,
14780
- trim: () => _trim,
14781
- toUpperCase: () => _toUpperCase,
14782
- toLowerCase: () => _toLowerCase,
14783
- startsWith: () => _startsWith,
14784
- slugify: () => _slugify,
14785
- size: () => _size,
14786
- regex: () => _regex,
14787
- property: () => _property,
14788
- positive: () => _positive,
14789
- overwrite: () => _overwrite,
14790
- normalize: () => _normalize,
14791
- nonpositive: () => _nonpositive,
14792
- nonnegative: () => _nonnegative,
14793
- negative: () => _negative,
14794
- multipleOf: () => _multipleOf,
14795
- minSize: () => _minSize,
14796
- minLength: () => _minLength,
14797
- mime: () => _mime,
14798
- maxSize: () => _maxSize,
14799
- maxLength: () => _maxLength,
14800
- lte: () => _lte,
14801
- lt: () => _lt,
14802
- lowercase: () => _lowercase,
14803
- length: () => _length,
14804
- includes: () => _includes,
14805
- gte: () => _gte,
15101
+ endsWith: () => _endsWith,
14806
15102
  gt: () => _gt,
14807
- endsWith: () => _endsWith
15103
+ gte: () => _gte,
15104
+ includes: () => _includes,
15105
+ length: () => _length,
15106
+ lowercase: () => _lowercase,
15107
+ lt: () => _lt,
15108
+ lte: () => _lte,
15109
+ maxLength: () => _maxLength,
15110
+ maxSize: () => _maxSize,
15111
+ mime: () => _mime,
15112
+ minLength: () => _minLength,
15113
+ minSize: () => _minSize,
15114
+ multipleOf: () => _multipleOf,
15115
+ negative: () => _negative,
15116
+ nonnegative: () => _nonnegative,
15117
+ nonpositive: () => _nonpositive,
15118
+ normalize: () => _normalize,
15119
+ overwrite: () => _overwrite,
15120
+ positive: () => _positive,
15121
+ property: () => _property,
15122
+ regex: () => _regex,
15123
+ size: () => _size,
15124
+ slugify: () => _slugify,
15125
+ startsWith: () => _startsWith,
15126
+ toLowerCase: () => _toLowerCase,
15127
+ toUpperCase: () => _toUpperCase,
15128
+ trim: () => _trim,
15129
+ uppercase: () => _uppercase
14808
15130
  });
14809
15131
 
14810
15132
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
14811
15133
  var exports_iso = {};
14812
15134
  __export(exports_iso, {
14813
- time: () => time2,
14814
- duration: () => duration2,
14815
- datetime: () => datetime2,
14816
- date: () => date2,
14817
- ZodISOTime: () => ZodISOTime,
14818
- ZodISODuration: () => ZodISODuration,
15135
+ ZodISODate: () => ZodISODate,
14819
15136
  ZodISODateTime: () => ZodISODateTime,
14820
- ZodISODate: () => ZodISODate
15137
+ ZodISODuration: () => ZodISODuration,
15138
+ ZodISOTime: () => ZodISOTime,
15139
+ date: () => date2,
15140
+ datetime: () => datetime2,
15141
+ duration: () => duration2,
15142
+ time: () => time2
14821
15143
  });
14822
15144
  var ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
14823
15145
  $ZodISODateTime.init(inst, def);
@@ -16678,11 +17000,11 @@ function fromJSONSchema(schema, params) {
16678
17000
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/coerce.js
16679
17001
  var exports_coerce = {};
16680
17002
  __export(exports_coerce, {
16681
- string: () => string3,
16682
- number: () => number3,
16683
- date: () => date4,
17003
+ bigint: () => bigint3,
16684
17004
  boolean: () => boolean3,
16685
- bigint: () => bigint3
17005
+ date: () => date4,
17006
+ number: () => number3,
17007
+ string: () => string3
16686
17008
  });
16687
17009
  function string3(params) {
16688
17010
  return _coercedString(ZodString, params);
@@ -17814,6 +18136,12 @@ var MCP_OUTPUT_SCHEMAS = {
17814
18136
  buildProvenance: jsonObject,
17815
18137
  sourceProvenance: appBundleSourceProvenance.nullable(),
17816
18138
  warnings: exports_external.array(exports_external.string()),
18139
+ protectedIngress: exports_external.array(exports_external.object({
18140
+ path: exports_external.string(),
18141
+ protocol: exports_external.literal("mcp"),
18142
+ auth: exports_external.literal("arbor-oauth"),
18143
+ principal: exports_external.literal("none")
18144
+ })).optional(),
17817
18145
  replayed: exports_external.boolean()
17818
18146
  }),
17819
18147
  computer_stop: exports_external.looseObject({ checkpoint, stopped: jsonObject }),
@@ -18589,7 +18917,7 @@ var ACTION_DEFINITIONS = [
18589
18917
  {
18590
18918
  name: "computer_run_start",
18591
18919
  title: "Start a run",
18592
- description: "Start one bounded unit of work inside an opened Thread Computer when you need a read or write Run. Returns runId, placement/status, and compact durability facts; detailed base Git/snapshot state remains inspectable from the Run receipt, and write Runs default to isolated unless execution='shared' is chosen.",
18920
+ description: "Start one bounded unit of work inside an opened Thread Computer. Write Runs default to isolated; if isolated provisioning fails after the durable Run exists, the error returns its runId and points to computer_run_receipt so the caller can inspect the terminal reason without listing or guessing.",
18593
18921
  inputSchema: {
18594
18922
  computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
18595
18923
  mode: exports_external.enum(["read", "write"]).describe("write for mutable work; read for shared inspection"),
@@ -18652,7 +18980,7 @@ var ACTION_DEFINITIONS = [
18652
18980
  {
18653
18981
  name: "computer_exec",
18654
18982
  title: "Run a command",
18655
- description: "Run one bounded shell operation in a parent Computer or Run; connected humans get ambient GitHub authorization. An explicit Linux foreground timeout terminates provider execution; recover a missed isolated-Run transport response by using computer_run_receipt.operations[].operationId with computer_process_read instead of repeating the mutation.",
18983
+ description: "Run one bounded shell operation in a parent Computer or Run with ambient GitHub authorization for connected humans. For long work prefer background:true + computer_process_read; explicit timeout terminates execution, while after a missed isolated response use computer_run_receipt.operations[].operationId with computer_process_read instead of repeating the mutation.",
18656
18984
  inputSchema: {
18657
18985
  computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
18658
18986
  command: exports_external.string().min(1).describe("the shell command to run"),
@@ -18861,6 +19189,21 @@ var ACTION_DEFINITIONS = [
18861
19189
  stateCompatibleFrom: exports_external.number().int().min(0).optional().describe("oldest durable schema this code can open"),
18862
19190
  stateCompatibleThrough: exports_external.number().int().min(0).optional().describe("newest durable schema this code can open"),
18863
19191
  runtimeConfigRequirements: exports_external.array(exports_external.object({ name: exports_external.string().min(1).max(64), kind: exports_external.enum(["var", "secret"]) })).optional().describe("required runtime config keys and kinds; values are never part of the AppBundle"),
19192
+ protectedIngress: exports_external.array(exports_external.object({
19193
+ path: exports_external.string().min(1).max(240),
19194
+ protocol: exports_external.literal("mcp"),
19195
+ auth: exports_external.literal("arbor-oauth"),
19196
+ principal: exports_external.literal("none")
19197
+ })).max(1).superRefine((routes, ctx) => {
19198
+ try {
19199
+ normalizeProtectedIngress(routes);
19200
+ } catch (error51) {
19201
+ ctx.addIssue({
19202
+ code: "custom",
19203
+ message: error51 instanceof AppBundleValidationError ? error51.message : "protected ingress declaration is invalid"
19204
+ });
19205
+ }
19206
+ }).optional().describe("externally routable protected App paths; v1 supports one MCP route using Arbor OAuth and injects no caller principal into App code"),
18864
19207
  idempotencyKey: exports_external.string().min(1).max(200).describe("stable key for this one logical bundle publication")
18865
19208
  },
18866
19209
  surfaces: ["computer-mcp", "computer-cli"],
@@ -20432,6 +20775,8 @@ function parseErrorDetails(value) {
20432
20775
  };
20433
20776
  }
20434
20777
  }
20778
+ if (typeof raw.runId === "string")
20779
+ details.runId = raw.runId;
20435
20780
  if (typeof raw.compatibilityState === "string") {
20436
20781
  details.compatibilityState = raw.compatibilityState;
20437
20782
  }