@inf-monkeys-tech/monkeys 1.1.61 → 1.1.63

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 (84) hide show
  1. package/lib/contracts/agent-data.d.ts +2 -2
  2. package/lib/contracts/agent.d.ts +3 -3
  3. package/lib/contracts/artifact-platform.d.ts +6 -263
  4. package/lib/contracts/artifact-platform.d.ts.map +1 -1
  5. package/lib/contracts/artifact-platform.js +14 -113
  6. package/lib/contracts/artifact-platform.js.map +1 -1
  7. package/lib/contracts/bento-block.d.ts +616 -0
  8. package/lib/contracts/bento-block.d.ts.map +1 -0
  9. package/lib/contracts/bento-block.js +505 -0
  10. package/lib/contracts/bento-block.js.map +1 -0
  11. package/lib/contracts/declarative-control-http.d.ts +5167 -814
  12. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  13. package/lib/contracts/declarative-control.d.ts +483 -113
  14. package/lib/contracts/declarative-control.d.ts.map +1 -1
  15. package/lib/contracts/declarative-document-import.d.ts +15 -15
  16. package/lib/contracts/declarative-publication-job.d.ts +1104 -208
  17. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  18. package/lib/contracts/index.d.ts +1 -0
  19. package/lib/contracts/index.d.ts.map +1 -1
  20. package/lib/contracts/index.js +1 -0
  21. package/lib/contracts/index.js.map +1 -1
  22. package/lib/contracts/menu.d.ts +4 -4
  23. package/lib/contracts/page-expression.d.ts +5 -5
  24. package/lib/contracts/page.d.ts +14 -14
  25. package/lib/contracts/render.d.ts +363 -66
  26. package/lib/contracts/render.d.ts.map +1 -1
  27. package/lib/contracts/render.js +60 -5
  28. package/lib/contracts/render.js.map +1 -1
  29. package/lib/contracts/semantic.d.ts +4 -4
  30. package/lib/contracts/tenant.d.ts +26 -26
  31. package/lib/contracts/trend.d.ts +1 -1
  32. package/lib/contracts/unified-view.d.ts +26 -533
  33. package/lib/contracts/unified-view.d.ts.map +1 -1
  34. package/lib/contracts/unified-view.js +17 -316
  35. package/lib/contracts/unified-view.js.map +1 -1
  36. package/lib/contracts/workflow-definition.d.ts +10 -10
  37. package/lib/esm/{chunk-NKTRUUOP.mjs → chunk-766TRFRH.mjs} +3548 -3406
  38. package/lib/esm/chunk-766TRFRH.mjs.map +1 -0
  39. package/lib/esm/{chunk-DPHV7ES3.mjs → chunk-BTJGKWPM.mjs} +327 -143
  40. package/lib/esm/chunk-BTJGKWPM.mjs.map +1 -0
  41. package/lib/esm/{chunk-7MUE4GTZ.mjs → chunk-MP4OJWJ3.mjs} +2 -2
  42. package/lib/esm/{chunk-43N4Q3U7.mjs → chunk-SDA2NWFB.mjs} +4 -2
  43. package/lib/esm/chunk-SDA2NWFB.mjs.map +1 -0
  44. package/lib/esm/contracts/index.mjs +44 -28
  45. package/lib/esm/index.mjs +54 -36
  46. package/lib/esm/index.mjs.map +1 -1
  47. package/lib/esm/runtime/index.mjs +11 -9
  48. package/lib/esm/schemas/index.mjs +26 -28
  49. package/lib/json-schema/bento-node.schema.json +1446 -0
  50. package/lib/json-schema/index.json +1 -0
  51. package/lib/json-schema/overlay-node.schema.json +1092 -49
  52. package/lib/json-schema/page-runtime-bundle.schema.json +1996 -424
  53. package/lib/json-schema/page.schema.json +24 -0
  54. package/lib/json-schema/render-node.schema.json +1317 -274
  55. package/lib/json-schema/render-tree.schema.json +1686 -114
  56. package/lib/json-schema/view-ontology-record.schema.json +1141 -145
  57. package/lib/runtime/artifact-session.d.ts +5 -10
  58. package/lib/runtime/artifact-session.d.ts.map +1 -1
  59. package/lib/runtime/artifact-session.js +91 -78
  60. package/lib/runtime/artifact-session.js.map +1 -1
  61. package/lib/runtime/bento-render-tree.d.ts +22 -0
  62. package/lib/runtime/bento-render-tree.d.ts.map +1 -0
  63. package/lib/runtime/bento-render-tree.js +194 -0
  64. package/lib/runtime/bento-render-tree.js.map +1 -0
  65. package/lib/runtime/index.d.ts +1 -0
  66. package/lib/runtime/index.d.ts.map +1 -1
  67. package/lib/runtime/index.js +1 -0
  68. package/lib/runtime/index.js.map +1 -1
  69. package/lib/runtime/native-page-composition.d.ts +2 -2
  70. package/lib/runtime/runtime-definition-wire.d.ts +526 -78
  71. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  72. package/lib/runtime/unified-view-compiler.d.ts +12 -16
  73. package/lib/runtime/unified-view-compiler.d.ts.map +1 -1
  74. package/lib/runtime/unified-view-compiler.js +69 -77
  75. package/lib/runtime/unified-view-compiler.js.map +1 -1
  76. package/lib/schemas/index.d.ts +1523 -3082
  77. package/lib/schemas/index.d.ts.map +1 -1
  78. package/lib/schemas/index.js +32 -30
  79. package/lib/schemas/index.js.map +1 -1
  80. package/package.json +2 -2
  81. package/lib/esm/chunk-43N4Q3U7.mjs.map +0 -1
  82. package/lib/esm/chunk-DPHV7ES3.mjs.map +0 -1
  83. package/lib/esm/chunk-NKTRUUOP.mjs.map +0 -1
  84. /package/lib/esm/{chunk-7MUE4GTZ.mjs.map → chunk-MP4OJWJ3.mjs.map} +0 -0
@@ -487,11 +487,11 @@ export declare const AgentSurfaceProjectionIntentSchema: z.ZodDiscriminatedUnion
487
487
  ontologyId: z.ZodString;
488
488
  viewId: z.ZodOptional<z.ZodString>;
489
489
  viewMode: z.ZodOptional<z.ZodEnum<{
490
+ graph: "graph";
490
491
  table: "table";
491
492
  gallery: "gallery";
492
493
  kanban: "kanban";
493
494
  bostonMatrix: "bostonMatrix";
494
- graph: "graph";
495
495
  }>>;
496
496
  }, z.core.$strict>, z.ZodObject<{
497
497
  kind: z.ZodLiteral<"open-record">;
@@ -513,8 +513,8 @@ export declare const TaskAgentSessionLinkSchema: z.ZodObject<{
513
513
  agentId: z.ZodOptional<z.ZodString>;
514
514
  title: z.ZodOptional<z.ZodString>;
515
515
  role: z.ZodDefault<z.ZodEnum<{
516
- execution: "execution";
517
516
  review: "review";
517
+ execution: "execution";
518
518
  planning: "planning";
519
519
  }>>;
520
520
  linkedAt: z.ZodNumber;
@@ -1290,8 +1290,8 @@ export declare const AgentSessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObje
1290
1290
  payload: z.ZodObject<{
1291
1291
  path: z.ZodString;
1292
1292
  operation: z.ZodEnum<{
1293
- upsert: "upsert";
1294
1293
  delete: "delete";
1294
+ upsert: "upsert";
1295
1295
  }>;
1296
1296
  mimeType: z.ZodOptional<z.ZodString>;
1297
1297
  size: z.ZodOptional<z.ZodNumber>;
@@ -1697,8 +1697,8 @@ export declare const AgentSessionRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
1697
1697
  payload: z.ZodObject<{
1698
1698
  path: z.ZodString;
1699
1699
  operation: z.ZodEnum<{
1700
- upsert: "upsert";
1701
1700
  delete: "delete";
1701
+ upsert: "upsert";
1702
1702
  }>;
1703
1703
  mimeType: z.ZodOptional<z.ZodString>;
1704
1704
  size: z.ZodOptional<z.ZodNumber>;
@@ -2151,8 +2151,8 @@ export declare const AgentSessionViewModelSchema: z.ZodObject<{
2151
2151
  payload: z.ZodObject<{
2152
2152
  path: z.ZodString;
2153
2153
  operation: z.ZodEnum<{
2154
- upsert: "upsert";
2155
2154
  delete: "delete";
2155
+ upsert: "upsert";
2156
2156
  }>;
2157
2157
  mimeType: z.ZodOptional<z.ZodString>;
2158
2158
  size: z.ZodOptional<z.ZodNumber>;
@@ -8,7 +8,7 @@ export declare const ArtifactCrdtCodecSchema: z.ZodEnum<{
8
8
  none: "none";
9
9
  "loro-v1": "loro-v1";
10
10
  }>;
11
- export declare const ViewSubjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
11
+ export declare const ArtifactSubjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12
12
  kind: z.ZodLiteral<"collection">;
13
13
  ontologyId: z.ZodString;
14
14
  savedQueryId: z.ZodOptional<z.ZodString>;
@@ -22,115 +22,7 @@ export declare const ViewSubjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
22
22
  artifactKind: z.ZodString;
23
23
  recordIdParam: z.ZodOptional<z.ZodString>;
24
24
  }, z.core.$strict>], "kind">;
25
- export declare const ViewSortSchema: z.ZodObject<{
26
- field: z.ZodString;
27
- direction: z.ZodEnum<{
28
- asc: "asc";
29
- desc: "desc";
30
- }>;
31
- }, z.core.$strict>;
32
- export declare const ViewQuerySchema: z.ZodObject<{
33
- source: z.ZodEnum<{
34
- filter: "filter";
35
- self: "self";
36
- container: "container";
37
- relation: "relation";
38
- }>;
39
- filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
40
- sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
- field: z.ZodString;
42
- direction: z.ZodEnum<{
43
- asc: "asc";
44
- desc: "desc";
45
- }>;
46
- }, z.core.$strict>>>;
47
- groupBy: z.ZodOptional<z.ZodString>;
48
- containerId: z.ZodOptional<z.ZodString>;
49
- relationPath: z.ZodOptional<z.ZodString>;
50
- }, z.core.$strict>;
51
- export declare const ViewBlockDataSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
52
- kind: z.ZodLiteral<"artifact.body">;
53
- session: z.ZodDefault<z.ZodEnum<{
54
- aggregate: "aggregate";
55
- loro: "loro";
56
- }>>;
57
- slice: z.ZodOptional<z.ZodString>;
58
- }, z.core.$strict>, z.ZodObject<{
59
- kind: z.ZodLiteral<"record.fields">;
60
- recordRef: z.ZodDefault<z.ZodString>;
61
- }, z.core.$strict>, z.ZodObject<{
62
- kind: z.ZodLiteral<"collection.query">;
63
- queryRef: z.ZodDefault<z.ZodString>;
64
- relationPath: z.ZodOptional<z.ZodString>;
65
- mode: z.ZodDefault<z.ZodEnum<{
66
- read: "read";
67
- create: "create";
68
- "read-write": "read-write";
69
- }>>;
70
- }, z.core.$strict>], "kind">;
71
- export declare const ViewBlockSchema: z.ZodObject<{
72
- blockId: z.ZodString;
73
- capability: z.ZodString;
74
- slot: z.ZodDefault<z.ZodString>;
75
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
76
- dataSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
77
- kind: z.ZodLiteral<"artifact.body">;
78
- session: z.ZodDefault<z.ZodEnum<{
79
- aggregate: "aggregate";
80
- loro: "loro";
81
- }>>;
82
- slice: z.ZodOptional<z.ZodString>;
83
- }, z.core.$strict>, z.ZodObject<{
84
- kind: z.ZodLiteral<"record.fields">;
85
- recordRef: z.ZodDefault<z.ZodString>;
86
- }, z.core.$strict>, z.ZodObject<{
87
- kind: z.ZodLiteral<"collection.query">;
88
- queryRef: z.ZodDefault<z.ZodString>;
89
- relationPath: z.ZodOptional<z.ZodString>;
90
- mode: z.ZodDefault<z.ZodEnum<{
91
- read: "read";
92
- create: "create";
93
- "read-write": "read-write";
94
- }>>;
95
- }, z.core.$strict>], "kind">;
96
- config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
97
- }, z.core.$strict>;
98
- export declare const ViewWiringRuleSchema: z.ZodObject<{
99
- sourceBlockId: z.ZodString;
100
- event: z.ZodString;
101
- targetBlockId: z.ZodOptional<z.ZodString>;
102
- targetStateKey: z.ZodOptional<z.ZodString>;
103
- action: z.ZodString;
104
- payloadMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
105
- }, z.core.$strict>;
106
- export declare const ViewLayoutRegionSchema: z.ZodObject<{
107
- id: z.ZodString;
108
- slot: z.ZodString;
109
- size: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
110
- minSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
111
- maxSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
112
- collapsible: z.ZodOptional<z.ZodBoolean>;
113
- }, z.core.$strict>;
114
- export declare const ViewLayoutSchema: z.ZodObject<{
115
- mode: z.ZodDefault<z.ZodEnum<{
116
- custom: "custom";
117
- single: "single";
118
- "split-horizontal": "split-horizontal";
119
- "split-vertical": "split-vertical";
120
- "three-pane": "three-pane";
121
- }>>;
122
- regions: z.ZodDefault<z.ZodArray<z.ZodObject<{
123
- id: z.ZodString;
124
- slot: z.ZodString;
125
- size: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
126
- minSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
127
- maxSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
128
- collapsible: z.ZodOptional<z.ZodBoolean>;
129
- }, z.core.$strict>>>;
130
- }, z.core.$strict>;
131
- export declare const ViewSpecSchema: z.ZodObject<{
132
- contract: z.ZodLiteral<"ViewSpec">;
133
- schemaVersion: z.ZodLiteral<1>;
25
+ export declare const ArtifactViewSchema: z.ZodObject<{
134
26
  viewId: z.ZodString;
135
27
  title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
136
28
  subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -147,77 +39,7 @@ export declare const ViewSpecSchema: z.ZodObject<{
147
39
  artifactKind: z.ZodString;
148
40
  recordIdParam: z.ZodOptional<z.ZodString>;
149
41
  }, z.core.$strict>], "kind">;
150
- query: z.ZodOptional<z.ZodObject<{
151
- source: z.ZodEnum<{
152
- filter: "filter";
153
- self: "self";
154
- container: "container";
155
- relation: "relation";
156
- }>;
157
- filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
158
- sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
- field: z.ZodString;
160
- direction: z.ZodEnum<{
161
- asc: "asc";
162
- desc: "desc";
163
- }>;
164
- }, z.core.$strict>>>;
165
- groupBy: z.ZodOptional<z.ZodString>;
166
- containerId: z.ZodOptional<z.ZodString>;
167
- relationPath: z.ZodOptional<z.ZodString>;
168
- }, z.core.$strict>>;
169
- layout: z.ZodDefault<z.ZodObject<{
170
- mode: z.ZodDefault<z.ZodEnum<{
171
- custom: "custom";
172
- single: "single";
173
- "split-horizontal": "split-horizontal";
174
- "split-vertical": "split-vertical";
175
- "three-pane": "three-pane";
176
- }>>;
177
- regions: z.ZodDefault<z.ZodArray<z.ZodObject<{
178
- id: z.ZodString;
179
- slot: z.ZodString;
180
- size: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
181
- minSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
182
- maxSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
183
- collapsible: z.ZodOptional<z.ZodBoolean>;
184
- }, z.core.$strict>>>;
185
- }, z.core.$strict>>;
186
- blocks: z.ZodArray<z.ZodObject<{
187
- blockId: z.ZodString;
188
- capability: z.ZodString;
189
- slot: z.ZodDefault<z.ZodString>;
190
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
191
- dataSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
192
- kind: z.ZodLiteral<"artifact.body">;
193
- session: z.ZodDefault<z.ZodEnum<{
194
- aggregate: "aggregate";
195
- loro: "loro";
196
- }>>;
197
- slice: z.ZodOptional<z.ZodString>;
198
- }, z.core.$strict>, z.ZodObject<{
199
- kind: z.ZodLiteral<"record.fields">;
200
- recordRef: z.ZodDefault<z.ZodString>;
201
- }, z.core.$strict>, z.ZodObject<{
202
- kind: z.ZodLiteral<"collection.query">;
203
- queryRef: z.ZodDefault<z.ZodString>;
204
- relationPath: z.ZodOptional<z.ZodString>;
205
- mode: z.ZodDefault<z.ZodEnum<{
206
- read: "read";
207
- create: "create";
208
- "read-write": "read-write";
209
- }>>;
210
- }, z.core.$strict>], "kind">;
211
- config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
212
- }, z.core.$strict>>;
213
- wiring: z.ZodDefault<z.ZodArray<z.ZodObject<{
214
- sourceBlockId: z.ZodString;
215
- event: z.ZodString;
216
- targetBlockId: z.ZodOptional<z.ZodString>;
217
- targetStateKey: z.ZodOptional<z.ZodString>;
218
- action: z.ZodString;
219
- payloadMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
220
- }, z.core.$strict>>>;
42
+ root: z.ZodType<import("./bento-block").BentoNode, unknown, z.core.$ZodTypeInternals<import("./bento-block").BentoNode, unknown>>;
221
43
  }, z.core.$strict>;
222
44
  export declare const ArtifactProfileSchema: z.ZodObject<{
223
45
  contract: z.ZodLiteral<"ArtifactProfile">;
@@ -234,8 +56,6 @@ export declare const ArtifactProfileSchema: z.ZodObject<{
234
56
  }>>;
235
57
  defaultViewId: z.ZodString;
236
58
  views: z.ZodArray<z.ZodObject<{
237
- contract: z.ZodLiteral<"ViewSpec">;
238
- schemaVersion: z.ZodLiteral<1>;
239
59
  viewId: z.ZodString;
240
60
  title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
241
61
  subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -252,77 +72,7 @@ export declare const ArtifactProfileSchema: z.ZodObject<{
252
72
  artifactKind: z.ZodString;
253
73
  recordIdParam: z.ZodOptional<z.ZodString>;
254
74
  }, z.core.$strict>], "kind">;
255
- query: z.ZodOptional<z.ZodObject<{
256
- source: z.ZodEnum<{
257
- filter: "filter";
258
- self: "self";
259
- container: "container";
260
- relation: "relation";
261
- }>;
262
- filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
263
- sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
264
- field: z.ZodString;
265
- direction: z.ZodEnum<{
266
- asc: "asc";
267
- desc: "desc";
268
- }>;
269
- }, z.core.$strict>>>;
270
- groupBy: z.ZodOptional<z.ZodString>;
271
- containerId: z.ZodOptional<z.ZodString>;
272
- relationPath: z.ZodOptional<z.ZodString>;
273
- }, z.core.$strict>>;
274
- layout: z.ZodDefault<z.ZodObject<{
275
- mode: z.ZodDefault<z.ZodEnum<{
276
- custom: "custom";
277
- single: "single";
278
- "split-horizontal": "split-horizontal";
279
- "split-vertical": "split-vertical";
280
- "three-pane": "three-pane";
281
- }>>;
282
- regions: z.ZodDefault<z.ZodArray<z.ZodObject<{
283
- id: z.ZodString;
284
- slot: z.ZodString;
285
- size: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
286
- minSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
287
- maxSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
288
- collapsible: z.ZodOptional<z.ZodBoolean>;
289
- }, z.core.$strict>>>;
290
- }, z.core.$strict>>;
291
- blocks: z.ZodArray<z.ZodObject<{
292
- blockId: z.ZodString;
293
- capability: z.ZodString;
294
- slot: z.ZodDefault<z.ZodString>;
295
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
296
- dataSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
297
- kind: z.ZodLiteral<"artifact.body">;
298
- session: z.ZodDefault<z.ZodEnum<{
299
- aggregate: "aggregate";
300
- loro: "loro";
301
- }>>;
302
- slice: z.ZodOptional<z.ZodString>;
303
- }, z.core.$strict>, z.ZodObject<{
304
- kind: z.ZodLiteral<"record.fields">;
305
- recordRef: z.ZodDefault<z.ZodString>;
306
- }, z.core.$strict>, z.ZodObject<{
307
- kind: z.ZodLiteral<"collection.query">;
308
- queryRef: z.ZodDefault<z.ZodString>;
309
- relationPath: z.ZodOptional<z.ZodString>;
310
- mode: z.ZodDefault<z.ZodEnum<{
311
- read: "read";
312
- create: "create";
313
- "read-write": "read-write";
314
- }>>;
315
- }, z.core.$strict>], "kind">;
316
- config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
317
- }, z.core.$strict>>;
318
- wiring: z.ZodDefault<z.ZodArray<z.ZodObject<{
319
- sourceBlockId: z.ZodString;
320
- event: z.ZodString;
321
- targetBlockId: z.ZodOptional<z.ZodString>;
322
- targetStateKey: z.ZodOptional<z.ZodString>;
323
- action: z.ZodString;
324
- payloadMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
325
- }, z.core.$strict>>>;
75
+ root: z.ZodType<import("./bento-block").BentoNode, unknown, z.core.$ZodTypeInternals<import("./bento-block").BentoNode, unknown>>;
326
76
  }, z.core.$strict>>;
327
77
  }, z.core.$strict>;
328
78
  export declare const ArtifactCollabRoomKeySchema: z.ZodObject<{
@@ -475,15 +225,8 @@ export declare const ArtifactCollabServerMessageSchema: z.ZodDiscriminatedUnion<
475
225
  export type ArtifactKind = z.infer<typeof ArtifactKindSchema>;
476
226
  export type ArtifactStorageMode = z.infer<typeof ArtifactStorageModeSchema>;
477
227
  export type ArtifactCrdtCodec = z.infer<typeof ArtifactCrdtCodecSchema>;
478
- export type ViewSubject = z.infer<typeof ViewSubjectSchema>;
479
- export type ViewSort = z.infer<typeof ViewSortSchema>;
480
- export type ViewQuery = z.infer<typeof ViewQuerySchema>;
481
- export type ViewBlockDataSource = z.infer<typeof ViewBlockDataSourceSchema>;
482
- export type ViewBlock = z.infer<typeof ViewBlockSchema>;
483
- export type ViewWiringRule = z.infer<typeof ViewWiringRuleSchema>;
484
- export type ViewLayoutRegion = z.infer<typeof ViewLayoutRegionSchema>;
485
- export type ViewLayout = z.infer<typeof ViewLayoutSchema>;
486
- export type ViewSpec = z.infer<typeof ViewSpecSchema>;
228
+ export type ArtifactSubject = z.infer<typeof ArtifactSubjectSchema>;
229
+ export type ArtifactView = z.infer<typeof ArtifactViewSchema>;
487
230
  export type ArtifactProfile = z.infer<typeof ArtifactProfileSchema>;
488
231
  export type ArtifactCollabRoomKey = z.infer<typeof ArtifactCollabRoomKeySchema>;
489
232
  export type ArtifactPresenceCursor = z.infer<typeof ArtifactPresenceCursorSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"artifact-platform.d.ts","sourceRoot":"","sources":["../../src/contracts/artifact-platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,kBAAkB,aAA2B,CAAC;AAE3D,eAAO,MAAM,yBAAyB;;;EAA0C,CAAC;AAEjF,eAAO,MAAM,uBAAuB;;;EAA8B,CAAC;AAEnE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;4BAuB5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;kBAKhB,CAAC;AAEZ,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;kBASjB,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;4BAsBpC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;kBASjB,CAAC;AAEZ,eAAO,MAAM,oBAAoB;;;;;;;kBAStB,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;kBASxB,CAAC;AAEZ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;kBAKlB,CAAC;AAEZ,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyCvB,CAAC;AAEL,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;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O,iCAAiC,CAAC,CAAC"}
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ArtifactCollabServerMessageSchema = exports.ArtifactCollabClientMessageSchema = exports.ArtifactPresenceStateSchema = exports.ArtifactPresenceCursorSchema = exports.ArtifactCollabRoomKeySchema = exports.ArtifactProfileSchema = exports.ViewSpecSchema = exports.ViewLayoutSchema = exports.ViewLayoutRegionSchema = exports.ViewWiringRuleSchema = exports.ViewBlockSchema = exports.ViewBlockDataSourceSchema = exports.ViewQuerySchema = exports.ViewSortSchema = exports.ViewSubjectSchema = exports.ArtifactCrdtCodecSchema = exports.ArtifactStorageModeSchema = exports.ArtifactKindSchema = void 0;
3
+ exports.ArtifactCollabServerMessageSchema = exports.ArtifactCollabClientMessageSchema = exports.ArtifactPresenceStateSchema = exports.ArtifactPresenceCursorSchema = exports.ArtifactCollabRoomKeySchema = exports.ArtifactProfileSchema = exports.ArtifactViewSchema = exports.ArtifactSubjectSchema = exports.ArtifactCrdtCodecSchema = exports.ArtifactStorageModeSchema = exports.ArtifactKindSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const common_1 = require("./common");
6
+ const bento_block_1 = require("./bento-block");
6
7
  exports.ArtifactKindSchema = common_1.ContractIdentifierSchema;
7
8
  exports.ArtifactStorageModeSchema = zod_1.z.enum(['aggregate', 'loro-aggregate']);
8
9
  exports.ArtifactCrdtCodecSchema = zod_1.z.enum(['none', 'loro-v1']);
9
- exports.ViewSubjectSchema = zod_1.z.discriminatedUnion('kind', [
10
+ exports.ArtifactSubjectSchema = zod_1.z.discriminatedUnion('kind', [
10
11
  zod_1.z
11
12
  .object({
12
13
  kind: zod_1.z.literal('collection'),
@@ -30,122 +31,22 @@ exports.ViewSubjectSchema = zod_1.z.discriminatedUnion('kind', [
30
31
  })
31
32
  .strict(),
32
33
  ]);
33
- exports.ViewSortSchema = zod_1.z
34
+ exports.ArtifactViewSchema = zod_1.z
34
35
  .object({
35
- field: common_1.ContractIdentifierSchema,
36
- direction: zod_1.z.enum(['asc', 'desc']),
37
- })
38
- .strict();
39
- exports.ViewQuerySchema = zod_1.z
40
- .object({
41
- source: zod_1.z.enum(['self', 'filter', 'container', 'relation']),
42
- filter: common_1.JsonObjectSchema.optional(),
43
- sort: zod_1.z.array(exports.ViewSortSchema).max(16).optional(),
44
- groupBy: common_1.ContractIdentifierSchema.optional(),
45
- containerId: common_1.ContractIdentifierSchema.optional(),
46
- relationPath: common_1.ContractIdentifierSchema.optional(),
47
- })
48
- .strict();
49
- exports.ViewBlockDataSourceSchema = zod_1.z.discriminatedUnion('kind', [
50
- zod_1.z
51
- .object({
52
- kind: zod_1.z.literal('artifact.body'),
53
- session: zod_1.z.enum(['loro', 'aggregate']).default('loro'),
54
- slice: common_1.ContractIdentifierSchema.optional(),
55
- })
56
- .strict(),
57
- zod_1.z
58
- .object({
59
- kind: zod_1.z.literal('record.fields'),
60
- recordRef: common_1.ContractIdentifierSchema.default('subject'),
61
- })
62
- .strict(),
63
- zod_1.z
64
- .object({
65
- kind: zod_1.z.literal('collection.query'),
66
- queryRef: common_1.ContractIdentifierSchema.default('view.query'),
67
- relationPath: common_1.ContractIdentifierSchema.optional(),
68
- mode: zod_1.z.enum(['read', 'create', 'read-write']).default('read'),
69
- })
70
- .strict(),
71
- ]);
72
- exports.ViewBlockSchema = zod_1.z
73
- .object({
74
- blockId: common_1.ContractIdentifierSchema,
75
- capability: common_1.ContractIdentifierSchema,
76
- slot: common_1.ContractIdentifierSchema.default('main'),
77
- title: common_1.LocalizedTextSchema.optional(),
78
- dataSource: exports.ViewBlockDataSourceSchema,
79
- config: common_1.JsonObjectSchema.default({}),
80
- })
81
- .strict();
82
- exports.ViewWiringRuleSchema = zod_1.z
83
- .object({
84
- sourceBlockId: common_1.ContractIdentifierSchema,
85
- event: common_1.ContractIdentifierSchema,
86
- targetBlockId: common_1.ContractIdentifierSchema.optional(),
87
- targetStateKey: common_1.ContractIdentifierSchema.optional(),
88
- action: common_1.ContractIdentifierSchema,
89
- payloadMap: common_1.JsonObjectSchema.optional(),
90
- })
91
- .strict();
92
- exports.ViewLayoutRegionSchema = zod_1.z
93
- .object({
94
- id: common_1.ContractIdentifierSchema,
95
- slot: common_1.ContractIdentifierSchema,
96
- size: zod_1.z.union([zod_1.z.number().positive(), zod_1.z.string().trim().min(1)]).optional(),
97
- minSize: zod_1.z.union([zod_1.z.number().positive(), zod_1.z.string().trim().min(1)]).optional(),
98
- maxSize: zod_1.z.union([zod_1.z.number().positive(), zod_1.z.string().trim().min(1)]).optional(),
99
- collapsible: zod_1.z.boolean().optional(),
100
- })
101
- .strict();
102
- exports.ViewLayoutSchema = zod_1.z
103
- .object({
104
- mode: zod_1.z.enum(['single', 'split-horizontal', 'split-vertical', 'three-pane', 'custom']).default('single'),
105
- regions: zod_1.z.array(exports.ViewLayoutRegionSchema).max(12).default([]),
106
- })
107
- .strict();
108
- exports.ViewSpecSchema = zod_1.z
109
- .object({
110
- contract: zod_1.z.literal('ViewSpec'),
111
- schemaVersion: zod_1.z.literal(1),
112
36
  viewId: common_1.ContractIdentifierSchema,
113
37
  title: common_1.LocalizedTextSchema,
114
- subject: exports.ViewSubjectSchema,
115
- query: exports.ViewQuerySchema.optional(),
116
- layout: exports.ViewLayoutSchema.default({ mode: 'single', regions: [] }),
117
- blocks: zod_1.z.array(exports.ViewBlockSchema).min(1).max(64),
118
- wiring: zod_1.z.array(exports.ViewWiringRuleSchema).max(128).default([]),
38
+ subject: exports.ArtifactSubjectSchema,
39
+ root: bento_block_1.BentoNodeSchema,
119
40
  })
120
41
  .strict()
121
42
  .superRefine((view, ctx) => {
122
- const blockIds = new Set();
123
- view.blocks.forEach((block, index) => {
124
- if (blockIds.has(block.blockId)) {
125
- ctx.addIssue({
126
- code: 'custom',
127
- path: ['blocks', index, 'blockId'],
128
- message: `Duplicate blockId "${block.blockId}" in ViewSpec "${view.viewId}".`,
129
- });
130
- }
131
- blockIds.add(block.blockId);
132
- });
133
- view.wiring.forEach((rule, index) => {
134
- if (!blockIds.has(rule.sourceBlockId)) {
135
- ctx.addIssue({
136
- code: 'custom',
137
- path: ['wiring', index, 'sourceBlockId'],
138
- message: `Wiring sourceBlockId "${rule.sourceBlockId}" does not exist in ViewSpec "${view.viewId}".`,
139
- });
140
- }
141
- if (rule.targetBlockId && !blockIds.has(rule.targetBlockId)) {
142
- ctx.addIssue({
143
- code: 'custom',
144
- path: ['wiring', index, 'targetBlockId'],
145
- message: `Wiring targetBlockId "${rule.targetBlockId}" does not exist in ViewSpec "${view.viewId}".`,
146
- });
147
- }
148
- });
43
+ for (const issue of (0, bento_block_1.validateBentoTree)(view.root)) {
44
+ ctx.addIssue({
45
+ code: 'custom',
46
+ path: ['root', ...issue.path],
47
+ message: issue.message,
48
+ });
49
+ }
149
50
  });
150
51
  exports.ArtifactProfileSchema = zod_1.z
151
52
  .object({
@@ -156,7 +57,7 @@ exports.ArtifactProfileSchema = zod_1.z
156
57
  storageMode: exports.ArtifactStorageModeSchema.default('loro-aggregate'),
157
58
  crdtCodec: exports.ArtifactCrdtCodecSchema.default('loro-v1'),
158
59
  defaultViewId: common_1.ContractIdentifierSchema,
159
- views: zod_1.z.array(exports.ViewSpecSchema).min(1).max(32),
60
+ views: zod_1.z.array(exports.ArtifactViewSchema).min(1).max(32),
160
61
  })
161
62
  .strict()
162
63
  .superRefine((profile, ctx) => {
@@ -1 +1 @@
1
- {"version":3,"file":"artifact-platform.js","sourceRoot":"","sources":["../../src/contracts/artifact-platform.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAIkB;AAEL,QAAA,kBAAkB,GAAG,iCAAwB,CAAC;AAE9C,QAAA,yBAAyB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC,CAAC;AAEpE,QAAA,uBAAuB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AAEtD,QAAA,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