@tangle-network/agent-app 0.53.4 → 0.53.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/{DesignCanvasEditor-3R6KODJG.js → DesignCanvasEditor-ZQDWOGRV.js} +3 -3
  2. package/dist/assistant/index.js +7 -6
  3. package/dist/assistant/index.js.map +1 -1
  4. package/dist/chat-react/index.js +3 -3
  5. package/dist/chat-routes/index.js +4 -4
  6. package/dist/chunk-2WELYICW.js +78 -0
  7. package/dist/chunk-2WELYICW.js.map +1 -0
  8. package/dist/{chunk-K3A4GGV6.js → chunk-5GYKS6WT.js} +2 -2
  9. package/dist/{chunk-3YVSRH26.js → chunk-6JM5EWOP.js} +2 -2
  10. package/dist/{chunk-6FYFGQ6I.js → chunk-AUA75YFF.js} +2 -2
  11. package/dist/{chunk-7HMDNSIA.js → chunk-JZ64GXYP.js} +4 -4
  12. package/dist/{chunk-WRT5E74D.js → chunk-LFMP73W3.js} +2 -2
  13. package/dist/{chunk-IYK5BRL4.js → chunk-LVSKKDX2.js} +7 -4
  14. package/dist/chunk-LVSKKDX2.js.map +1 -0
  15. package/dist/{chunk-IN4DXT5F.js → chunk-P2GXQRFR.js} +4 -4
  16. package/dist/{chunk-ODP3X4BN.js → chunk-QHLQPK2H.js} +11 -5
  17. package/dist/chunk-QHLQPK2H.js.map +1 -0
  18. package/dist/{chunk-RYGNTGEL.js → chunk-T52MKPHE.js} +117 -215
  19. package/dist/chunk-T52MKPHE.js.map +1 -0
  20. package/dist/{chunk-C4V2LIUC.js → chunk-TUGR3FCS.js} +1 -1
  21. package/dist/{chunk-C4V2LIUC.js.map → chunk-TUGR3FCS.js.map} +1 -1
  22. package/dist/{chunk-NH32EPWU.js → chunk-WZ2FER6A.js} +15 -72
  23. package/dist/chunk-WZ2FER6A.js.map +1 -0
  24. package/dist/{chunk-2YSXWBBL.js → chunk-YFGV5ZBY.js} +2 -2
  25. package/dist/{chunk-BINC6OWR.js → chunk-ZFFBT5BF.js} +2 -2
  26. package/dist/design-canvas-react/index.js +3 -3
  27. package/dist/design-canvas-react/lazy.js +1 -1
  28. package/dist/{mention-editor-E6J2RUG4.js → mention-editor-4EWHJ5G5.js} +2 -2
  29. package/dist/preset-cloudflare/index.js +2 -2
  30. package/dist/sandbox/index.js +4 -4
  31. package/dist/studio-react/index.js +3 -2
  32. package/dist/studio-react/index.js.map +1 -1
  33. package/dist/theme/brand.generated.d.ts +1 -1
  34. package/dist/theme/index.js +1 -1
  35. package/dist/theme/tokens.css +3 -3
  36. package/dist/tools/index.js +4 -4
  37. package/dist/web-react/action-dialog.d.ts +15 -0
  38. package/dist/web-react/controls.d.ts +6 -1
  39. package/dist/web-react/index.js +9 -6
  40. package/dist/web-react/workspace-switcher.d.ts +9 -0
  41. package/dist/work-product/index.js +2 -2
  42. package/dist/workspace-react/index.d.ts +13 -1
  43. package/dist/workspace-react/index.js +598 -20
  44. package/dist/workspace-react/index.js.map +1 -1
  45. package/dist/workspace-react/rail-identity.d.ts +55 -0
  46. package/dist/workspace-react/workspace-list.d.ts +82 -0
  47. package/package.json +3 -3
  48. package/dist/chunk-IYK5BRL4.js.map +0 -1
  49. package/dist/chunk-NH32EPWU.js.map +0 -1
  50. package/dist/chunk-ODP3X4BN.js.map +0 -1
  51. package/dist/chunk-RYGNTGEL.js.map +0 -1
  52. /package/dist/{DesignCanvasEditor-3R6KODJG.js.map → DesignCanvasEditor-ZQDWOGRV.js.map} +0 -0
  53. /package/dist/{chunk-K3A4GGV6.js.map → chunk-5GYKS6WT.js.map} +0 -0
  54. /package/dist/{chunk-3YVSRH26.js.map → chunk-6JM5EWOP.js.map} +0 -0
  55. /package/dist/{chunk-6FYFGQ6I.js.map → chunk-AUA75YFF.js.map} +0 -0
  56. /package/dist/{chunk-7HMDNSIA.js.map → chunk-JZ64GXYP.js.map} +0 -0
  57. /package/dist/{chunk-WRT5E74D.js.map → chunk-LFMP73W3.js.map} +0 -0
  58. /package/dist/{chunk-IN4DXT5F.js.map → chunk-P2GXQRFR.js.map} +0 -0
  59. /package/dist/{chunk-2YSXWBBL.js.map → chunk-YFGV5ZBY.js.map} +0 -0
  60. /package/dist/{chunk-BINC6OWR.js.map → chunk-ZFFBT5BF.js.map} +0 -0
  61. /package/dist/{mention-editor-E6J2RUG4.js.map → mention-editor-4EWHJ5G5.js.map} +0 -0
@@ -10,7 +10,7 @@ var ToolInputError = class extends Error {
10
10
  status;
11
11
  };
12
12
 
13
- // node_modules/.pnpm/@tangle-network+ui@11.15.2_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_4c2d26156d47ebe98cec247e7e01af51/node_modules/@tangle-network/ui/dist/openui/schema-data.js
13
+ // node_modules/.pnpm/@tangle-network+ui@11.16.5_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_3fb523d44942005bf41aedf9c06a2455/node_modules/@tangle-network/ui/dist/openui/schema-data.js
14
14
  var OPENUI_NODE_TYPES = [
15
15
  "heading",
16
16
  "text",
@@ -41,7 +41,6 @@ var primitive = { type: [
41
41
  ] };
42
42
  var children = {
43
43
  type: "array",
44
- minItems: 1,
45
44
  items: { $ref: "#/$defs/node" }
46
45
  };
47
46
  var actions = {
@@ -210,7 +209,7 @@ var OPENUI_NODE_JSON_SCHEMA = {
210
209
  }
211
210
  };
212
211
 
213
- // node_modules/.pnpm/@tangle-network+ui@11.15.2_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_4c2d26156d47ebe98cec247e7e01af51/node_modules/@tangle-network/ui/dist/_virtual/_rolldown/runtime.js
212
+ // node_modules/.pnpm/@tangle-network+ui@11.16.5_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_3fb523d44942005bf41aedf9c06a2455/node_modules/@tangle-network/ui/dist/_virtual/_rolldown/runtime.js
214
213
  var __defProp = Object.defineProperty;
215
214
  var __exportAll = (all, no_symbols) => {
216
215
  let target = {};
@@ -222,7 +221,7 @@ var __exportAll = (all, no_symbols) => {
222
221
  return target;
223
222
  };
224
223
 
225
- // node_modules/.pnpm/@tangle-network+ui@11.15.2_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_4c2d26156d47ebe98cec247e7e01af51/node_modules/@tangle-network/ui/dist/openui/schema-compiled.js
224
+ // node_modules/.pnpm/@tangle-network+ui@11.16.5_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_3fb523d44942005bf41aedf9c06a2455/node_modules/@tangle-network/ui/dist/openui/schema-compiled.js
226
225
  var schema_compiled_exports = /* @__PURE__ */ __exportAll({
227
226
  actions: () => actions2,
228
227
  badge: () => badge,
@@ -1815,7 +1814,6 @@ var schema33 = {
1815
1814
  "wrap": { "type": "boolean" },
1816
1815
  "children": {
1817
1816
  "type": "array",
1818
- "minItems": 1,
1819
1817
  "items": { "$ref": "#/$defs/node" }
1820
1818
  }
1821
1819
  },
@@ -2030,7 +2028,6 @@ var schema46 = {
2030
2028
  ] },
2031
2029
  "children": {
2032
2030
  "type": "array",
2033
- "minItems": 1,
2034
2031
  "items": { "$ref": "#/$defs/node" }
2035
2032
  }
2036
2033
  },
@@ -2132,30 +2129,19 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2132
2129
  const _errs7 = errors;
2133
2130
  if (errors === _errs7) {
2134
2131
  if (Array.isArray(data4)) {
2135
- if (data4.length < 1) {
2136
- validate27.errors = [{
2137
- instancePath: instancePath + "/children",
2138
- schemaPath: "#/properties/children/minItems",
2139
- keyword: "minItems",
2140
- params: { limit: 1 },
2141
- message: "must NOT have fewer than 1 items"
2142
- }];
2143
- return false;
2144
- } else {
2145
- const len0 = data4.length;
2146
- for (let i0 = 0; i0 < len0; i0++) {
2147
- const _errs9 = errors;
2148
- if (!wrapper1.validate(data4[i0], {
2149
- instancePath: instancePath + "/children/" + i0,
2150
- parentData: data4,
2151
- parentDataProperty: i0,
2152
- rootData
2153
- })) {
2154
- vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);
2155
- errors = vErrors.length;
2156
- }
2157
- if (!(_errs9 === errors)) break;
2132
+ const len0 = data4.length;
2133
+ for (let i0 = 0; i0 < len0; i0++) {
2134
+ const _errs9 = errors;
2135
+ if (!wrapper1.validate(data4[i0], {
2136
+ instancePath: instancePath + "/children/" + i0,
2137
+ parentData: data4,
2138
+ parentDataProperty: i0,
2139
+ rootData
2140
+ })) {
2141
+ vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);
2142
+ errors = vErrors.length;
2158
2143
  }
2144
+ if (!(_errs9 === errors)) break;
2159
2145
  }
2160
2146
  } else {
2161
2147
  validate27.errors = [{
@@ -2542,30 +2528,19 @@ function validate29(data, { instancePath = "", parentData, parentDataProperty, r
2542
2528
  const _errs34 = errors;
2543
2529
  if (errors === _errs34) {
2544
2530
  if (Array.isArray(data16)) {
2545
- if (data16.length < 1) {
2546
- validate29.errors = [{
2547
- instancePath: instancePath + "/children",
2548
- schemaPath: "#/properties/children/minItems",
2549
- keyword: "minItems",
2550
- params: { limit: 1 },
2551
- message: "must NOT have fewer than 1 items"
2552
- }];
2553
- return false;
2554
- } else {
2555
- const len1 = data16.length;
2556
- for (let i1 = 0; i1 < len1; i1++) {
2557
- const _errs36 = errors;
2558
- if (!wrapper1.validate(data16[i1], {
2559
- instancePath: instancePath + "/children/" + i1,
2560
- parentData: data16,
2561
- parentDataProperty: i1,
2562
- rootData
2563
- })) {
2564
- vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);
2565
- errors = vErrors.length;
2566
- }
2567
- if (!(_errs36 === errors)) break;
2531
+ const len1 = data16.length;
2532
+ for (let i1 = 0; i1 < len1; i1++) {
2533
+ const _errs36 = errors;
2534
+ if (!wrapper1.validate(data16[i1], {
2535
+ instancePath: instancePath + "/children/" + i1,
2536
+ parentData: data16,
2537
+ parentDataProperty: i1,
2538
+ rootData
2539
+ })) {
2540
+ vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);
2541
+ errors = vErrors.length;
2568
2542
  }
2543
+ if (!(_errs36 === errors)) break;
2569
2544
  }
2570
2545
  } else {
2571
2546
  validate29.errors = [{
@@ -4362,30 +4337,19 @@ function validate23(data, { instancePath = "", parentData, parentDataProperty, r
4362
4337
  const _errs10 = errors;
4363
4338
  if (errors === _errs10) {
4364
4339
  if (Array.isArray(data6)) {
4365
- if (data6.length < 1) {
4366
- validate23.errors = [{
4367
- instancePath: instancePath + "/children",
4368
- schemaPath: "#/properties/children/minItems",
4369
- keyword: "minItems",
4370
- params: { limit: 1 },
4371
- message: "must NOT have fewer than 1 items"
4372
- }];
4373
- return false;
4374
- } else {
4375
- const len0 = data6.length;
4376
- for (let i0 = 0; i0 < len0; i0++) {
4377
- const _errs12 = errors;
4378
- if (!validate24(data6[i0], {
4379
- instancePath: instancePath + "/children/" + i0,
4380
- parentData: data6,
4381
- parentDataProperty: i0,
4382
- rootData
4383
- })) {
4384
- vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);
4385
- errors = vErrors.length;
4386
- }
4387
- if (!(_errs12 === errors)) break;
4340
+ const len0 = data6.length;
4341
+ for (let i0 = 0; i0 < len0; i0++) {
4342
+ const _errs12 = errors;
4343
+ if (!validate24(data6[i0], {
4344
+ instancePath: instancePath + "/children/" + i0,
4345
+ parentData: data6,
4346
+ parentDataProperty: i0,
4347
+ rootData
4348
+ })) {
4349
+ vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);
4350
+ errors = vErrors.length;
4388
4351
  }
4352
+ if (!(_errs12 === errors)) break;
4389
4353
  }
4390
4354
  } else {
4391
4355
  validate23.errors = [{
@@ -4755,30 +4719,19 @@ function validate38(data, { instancePath = "", parentData, parentDataProperty, r
4755
4719
  const _errs10 = errors;
4756
4720
  if (errors === _errs10) {
4757
4721
  if (Array.isArray(data6)) {
4758
- if (data6.length < 1) {
4759
- validate38.errors = [{
4760
- instancePath: instancePath + "/children",
4761
- schemaPath: "#/properties/children/minItems",
4762
- keyword: "minItems",
4763
- params: { limit: 1 },
4764
- message: "must NOT have fewer than 1 items"
4765
- }];
4766
- return false;
4767
- } else {
4768
- const len0 = data6.length;
4769
- for (let i0 = 0; i0 < len0; i0++) {
4770
- const _errs12 = errors;
4771
- if (!wrapper3.validate(data6[i0], {
4772
- instancePath: instancePath + "/children/" + i0,
4773
- parentData: data6,
4774
- parentDataProperty: i0,
4775
- rootData
4776
- })) {
4777
- vErrors = vErrors === null ? wrapper3.validate.errors : vErrors.concat(wrapper3.validate.errors);
4778
- errors = vErrors.length;
4779
- }
4780
- if (!(_errs12 === errors)) break;
4722
+ const len0 = data6.length;
4723
+ for (let i0 = 0; i0 < len0; i0++) {
4724
+ const _errs12 = errors;
4725
+ if (!wrapper3.validate(data6[i0], {
4726
+ instancePath: instancePath + "/children/" + i0,
4727
+ parentData: data6,
4728
+ parentDataProperty: i0,
4729
+ rootData
4730
+ })) {
4731
+ vErrors = vErrors === null ? wrapper3.validate.errors : vErrors.concat(wrapper3.validate.errors);
4732
+ errors = vErrors.length;
4781
4733
  }
4734
+ if (!(_errs12 === errors)) break;
4782
4735
  }
4783
4736
  } else {
4784
4737
  validate38.errors = [{
@@ -5167,30 +5120,19 @@ function validate40(data, { instancePath = "", parentData, parentDataProperty, r
5167
5120
  const _errs34 = errors;
5168
5121
  if (errors === _errs34) {
5169
5122
  if (Array.isArray(data16)) {
5170
- if (data16.length < 1) {
5171
- validate40.errors = [{
5172
- instancePath: instancePath + "/children",
5173
- schemaPath: "#/properties/children/minItems",
5174
- keyword: "minItems",
5175
- params: { limit: 1 },
5176
- message: "must NOT have fewer than 1 items"
5177
- }];
5178
- return false;
5179
- } else {
5180
- const len1 = data16.length;
5181
- for (let i1 = 0; i1 < len1; i1++) {
5182
- const _errs36 = errors;
5183
- if (!wrapper3.validate(data16[i1], {
5184
- instancePath: instancePath + "/children/" + i1,
5185
- parentData: data16,
5186
- parentDataProperty: i1,
5187
- rootData
5188
- })) {
5189
- vErrors = vErrors === null ? wrapper3.validate.errors : vErrors.concat(wrapper3.validate.errors);
5190
- errors = vErrors.length;
5191
- }
5192
- if (!(_errs36 === errors)) break;
5123
+ const len1 = data16.length;
5124
+ for (let i1 = 0; i1 < len1; i1++) {
5125
+ const _errs36 = errors;
5126
+ if (!wrapper3.validate(data16[i1], {
5127
+ instancePath: instancePath + "/children/" + i1,
5128
+ parentData: data16,
5129
+ parentDataProperty: i1,
5130
+ rootData
5131
+ })) {
5132
+ vErrors = vErrors === null ? wrapper3.validate.errors : vErrors.concat(wrapper3.validate.errors);
5133
+ errors = vErrors.length;
5193
5134
  }
5135
+ if (!(_errs36 === errors)) break;
5194
5136
  }
5195
5137
  } else {
5196
5138
  validate40.errors = [{
@@ -6956,30 +6898,19 @@ function validate34(data, { instancePath = "", parentData, parentDataProperty, r
6956
6898
  const _errs7 = errors;
6957
6899
  if (errors === _errs7) {
6958
6900
  if (Array.isArray(data4)) {
6959
- if (data4.length < 1) {
6960
- validate34.errors = [{
6961
- instancePath: instancePath + "/children",
6962
- schemaPath: "#/properties/children/minItems",
6963
- keyword: "minItems",
6964
- params: { limit: 1 },
6965
- message: "must NOT have fewer than 1 items"
6966
- }];
6967
- return false;
6968
- } else {
6969
- const len0 = data4.length;
6970
- for (let i0 = 0; i0 < len0; i0++) {
6971
- const _errs9 = errors;
6972
- if (!validate35(data4[i0], {
6973
- instancePath: instancePath + "/children/" + i0,
6974
- parentData: data4,
6975
- parentDataProperty: i0,
6976
- rootData
6977
- })) {
6978
- vErrors = vErrors === null ? validate35.errors : vErrors.concat(validate35.errors);
6979
- errors = vErrors.length;
6980
- }
6981
- if (!(_errs9 === errors)) break;
6901
+ const len0 = data4.length;
6902
+ for (let i0 = 0; i0 < len0; i0++) {
6903
+ const _errs9 = errors;
6904
+ if (!validate35(data4[i0], {
6905
+ instancePath: instancePath + "/children/" + i0,
6906
+ parentData: data4,
6907
+ parentDataProperty: i0,
6908
+ rootData
6909
+ })) {
6910
+ vErrors = vErrors === null ? validate35.errors : vErrors.concat(validate35.errors);
6911
+ errors = vErrors.length;
6982
6912
  }
6913
+ if (!(_errs9 === errors)) break;
6983
6914
  }
6984
6915
  } else {
6985
6916
  validate34.errors = [{
@@ -7347,30 +7278,19 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
7347
7278
  const _errs10 = errors;
7348
7279
  if (errors === _errs10) {
7349
7280
  if (Array.isArray(data6)) {
7350
- if (data6.length < 1) {
7351
- validate49.errors = [{
7352
- instancePath: instancePath + "/children",
7353
- schemaPath: "#/properties/children/minItems",
7354
- keyword: "minItems",
7355
- params: { limit: 1 },
7356
- message: "must NOT have fewer than 1 items"
7357
- }];
7358
- return false;
7359
- } else {
7360
- const len0 = data6.length;
7361
- for (let i0 = 0; i0 < len0; i0++) {
7362
- const _errs12 = errors;
7363
- if (!wrapper6.validate(data6[i0], {
7364
- instancePath: instancePath + "/children/" + i0,
7365
- parentData: data6,
7366
- parentDataProperty: i0,
7367
- rootData
7368
- })) {
7369
- vErrors = vErrors === null ? wrapper6.validate.errors : vErrors.concat(wrapper6.validate.errors);
7370
- errors = vErrors.length;
7371
- }
7372
- if (!(_errs12 === errors)) break;
7281
+ const len0 = data6.length;
7282
+ for (let i0 = 0; i0 < len0; i0++) {
7283
+ const _errs12 = errors;
7284
+ if (!wrapper6.validate(data6[i0], {
7285
+ instancePath: instancePath + "/children/" + i0,
7286
+ parentData: data6,
7287
+ parentDataProperty: i0,
7288
+ rootData
7289
+ })) {
7290
+ vErrors = vErrors === null ? wrapper6.validate.errors : vErrors.concat(wrapper6.validate.errors);
7291
+ errors = vErrors.length;
7373
7292
  }
7293
+ if (!(_errs12 === errors)) break;
7374
7294
  }
7375
7295
  } else {
7376
7296
  validate49.errors = [{
@@ -7502,30 +7422,19 @@ function validate51(data, { instancePath = "", parentData, parentDataProperty, r
7502
7422
  const _errs7 = errors;
7503
7423
  if (errors === _errs7) {
7504
7424
  if (Array.isArray(data4)) {
7505
- if (data4.length < 1) {
7506
- validate51.errors = [{
7507
- instancePath: instancePath + "/children",
7508
- schemaPath: "#/properties/children/minItems",
7509
- keyword: "minItems",
7510
- params: { limit: 1 },
7511
- message: "must NOT have fewer than 1 items"
7512
- }];
7513
- return false;
7514
- } else {
7515
- const len0 = data4.length;
7516
- for (let i0 = 0; i0 < len0; i0++) {
7517
- const _errs9 = errors;
7518
- if (!wrapper6.validate(data4[i0], {
7519
- instancePath: instancePath + "/children/" + i0,
7520
- parentData: data4,
7521
- parentDataProperty: i0,
7522
- rootData
7523
- })) {
7524
- vErrors = vErrors === null ? wrapper6.validate.errors : vErrors.concat(wrapper6.validate.errors);
7525
- errors = vErrors.length;
7526
- }
7527
- if (!(_errs9 === errors)) break;
7425
+ const len0 = data4.length;
7426
+ for (let i0 = 0; i0 < len0; i0++) {
7427
+ const _errs9 = errors;
7428
+ if (!wrapper6.validate(data4[i0], {
7429
+ instancePath: instancePath + "/children/" + i0,
7430
+ parentData: data4,
7431
+ parentDataProperty: i0,
7432
+ rootData
7433
+ })) {
7434
+ vErrors = vErrors === null ? wrapper6.validate.errors : vErrors.concat(wrapper6.validate.errors);
7435
+ errors = vErrors.length;
7528
7436
  }
7437
+ if (!(_errs9 === errors)) break;
7529
7438
  }
7530
7439
  } else {
7531
7440
  validate51.errors = [{
@@ -9545,30 +9454,19 @@ function validate45(data, { instancePath = "", parentData, parentDataProperty, r
9545
9454
  const _errs34 = errors;
9546
9455
  if (errors === _errs34) {
9547
9456
  if (Array.isArray(data16)) {
9548
- if (data16.length < 1) {
9549
- validate45.errors = [{
9550
- instancePath: instancePath + "/children",
9551
- schemaPath: "#/properties/children/minItems",
9552
- keyword: "minItems",
9553
- params: { limit: 1 },
9554
- message: "must NOT have fewer than 1 items"
9555
- }];
9556
- return false;
9557
- } else {
9558
- const len1 = data16.length;
9559
- for (let i1 = 0; i1 < len1; i1++) {
9560
- const _errs36 = errors;
9561
- if (!validate46(data16[i1], {
9562
- instancePath: instancePath + "/children/" + i1,
9563
- parentData: data16,
9564
- parentDataProperty: i1,
9565
- rootData
9566
- })) {
9567
- vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
9568
- errors = vErrors.length;
9569
- }
9570
- if (!(_errs36 === errors)) break;
9457
+ const len1 = data16.length;
9458
+ for (let i1 = 0; i1 < len1; i1++) {
9459
+ const _errs36 = errors;
9460
+ if (!validate46(data16[i1], {
9461
+ instancePath: instancePath + "/children/" + i1,
9462
+ parentData: data16,
9463
+ parentDataProperty: i1,
9464
+ rootData
9465
+ })) {
9466
+ vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
9467
+ errors = vErrors.length;
9571
9468
  }
9469
+ if (!(_errs36 === errors)) break;
9572
9470
  }
9573
9471
  } else {
9574
9472
  validate45.errors = [{
@@ -9622,7 +9520,7 @@ function validate44(data, { instancePath = "", parentData, parentDataProperty, r
9622
9520
  return errors === 0;
9623
9521
  }
9624
9522
 
9625
- // node_modules/.pnpm/@tangle-network+ui@11.15.2_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_4c2d26156d47ebe98cec247e7e01af51/node_modules/@tangle-network/ui/dist/openui-schema.js
9523
+ // node_modules/.pnpm/@tangle-network+ui@11.16.5_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_3fb523d44942005bf41aedf9c06a2455/node_modules/@tangle-network/ui/dist/openui-schema.js
9626
9524
  var nodeTypes = new Set(OPENUI_NODE_TYPES);
9627
9525
  function findUnsupportedOpenUINode(value) {
9628
9526
  const seen = /* @__PURE__ */ new WeakSet();
@@ -9647,6 +9545,10 @@ function findUnsupportedOpenUINode(value) {
9647
9545
  message: `Unsupported OpenUI node type: ${String(record.type)}.`
9648
9546
  };
9649
9547
  if (record.type === "stack" || record.type === "grid" || record.type === "card") {
9548
+ if (Array.isArray(record.children) && record.children.length === 0) return {
9549
+ path: `${path}.children`,
9550
+ message: "OpenUI containers need at least one child."
9551
+ };
9650
9552
  if (Array.isArray(record.children)) for (const [index, child] of record.children.entries()) {
9651
9553
  const issue = visit(child, `${path}.children[${index}]`, depth + 1);
9652
9554
  if (issue) return issue;
@@ -9732,4 +9634,4 @@ export {
9732
9634
  OPENUI_NODE_JSON_SCHEMA,
9733
9635
  validateOpenUIJsonNode
9734
9636
  };
9735
- //# sourceMappingURL=chunk-RYGNTGEL.js.map
9637
+ //# sourceMappingURL=chunk-T52MKPHE.js.map