@inf-monkeys-tech/monkeys 1.1.68 → 1.1.70

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 (54) hide show
  1. package/lib/contracts/bento-block.d.ts +350 -9
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +117 -1
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +2036 -435
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +224 -54
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-document-import.d.ts +295 -20
  10. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  11. package/lib/contracts/declarative-publication-job.d.ts +296 -80
  12. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  13. package/lib/contracts/menu.d.ts +7 -7
  14. package/lib/contracts/page-expression.d.ts +6 -6
  15. package/lib/contracts/page.d.ts +8 -8
  16. package/lib/contracts/render.d.ts +115 -49
  17. package/lib/contracts/render.d.ts.map +1 -1
  18. package/lib/contracts/render.js +14 -9
  19. package/lib/contracts/render.js.map +1 -1
  20. package/lib/contracts/semantic.d.ts +2 -2
  21. package/lib/contracts/tenant.d.ts +11 -11
  22. package/lib/contracts/unified-view.d.ts +57 -2
  23. package/lib/contracts/unified-view.d.ts.map +1 -1
  24. package/lib/contracts/workflow-definition.d.ts +1 -1
  25. package/lib/esm/{chunk-THLZL353.mjs → chunk-6YMBQGEH.mjs} +2 -2
  26. package/lib/esm/{chunk-GN3YEDS2.mjs → chunk-DKJLFQED.mjs} +2 -2
  27. package/lib/esm/{chunk-26ZNN7FU.mjs → chunk-DNAWFM27.mjs} +5 -4
  28. package/lib/esm/{chunk-26ZNN7FU.mjs.map → chunk-DNAWFM27.mjs.map} +1 -1
  29. package/lib/esm/{chunk-5LZVSAPW.mjs → chunk-H5Z4GWPV.mjs} +967 -857
  30. package/lib/esm/chunk-H5Z4GWPV.mjs.map +1 -0
  31. package/lib/esm/contracts/index.mjs +26 -2
  32. package/lib/esm/index.mjs +28 -4
  33. package/lib/esm/index.mjs.map +1 -1
  34. package/lib/esm/runtime/index.mjs +3 -3
  35. package/lib/esm/schemas/index.mjs +2 -2
  36. package/lib/json-schema/bento-node.schema.json +488 -37
  37. package/lib/json-schema/overlay-node.schema.json +199 -0
  38. package/lib/json-schema/page-runtime-bundle.schema.json +351 -0
  39. package/lib/json-schema/page.schema.json +348 -0
  40. package/lib/json-schema/render-node.schema.json +199 -0
  41. package/lib/json-schema/render-tree.schema.json +348 -0
  42. package/lib/json-schema/view-ontology-record.schema.json +600 -0
  43. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  44. package/lib/runtime/bento-render-tree.js +5 -1
  45. package/lib/runtime/bento-render-tree.js.map +1 -1
  46. package/lib/runtime/native-page-composition.d.ts +1 -1
  47. package/lib/runtime/runtime-definition-wire.d.ts +148 -40
  48. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  49. package/lib/schemas/index.d.ts +204 -37
  50. package/lib/schemas/index.d.ts.map +1 -1
  51. package/package.json +2 -2
  52. package/lib/esm/chunk-5LZVSAPW.mjs.map +0 -1
  53. /package/lib/esm/{chunk-THLZL353.mjs.map → chunk-6YMBQGEH.mjs.map} +0 -0
  54. /package/lib/esm/{chunk-GN3YEDS2.mjs.map → chunk-DKJLFQED.mjs.map} +0 -0
@@ -205,7 +205,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
205
205
  nodes: {
206
206
  contract: "RenderNode";
207
207
  nodeId: string;
208
- kind: "record" | "action" | "shell" | "detail" | "view" | "page" | "navigation" | "control" | "overlay" | "professional-provider";
208
+ kind: "record" | "action" | "control" | "shell" | "detail" | "view" | "page" | "navigation" | "overlay" | "professional-provider";
209
209
  version: number;
210
210
  ownerRepo: string;
211
211
  children: string[];
@@ -235,13 +235,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
235
235
  };
236
236
  scroll: {
237
237
  owner: "provider" | "page" | "surface";
238
- axis: "both" | "x" | "y" | "none";
238
+ axis: "both" | "none" | "x" | "y";
239
239
  virtualizationBoundary: boolean;
240
240
  restoreKey?: string | undefined;
241
241
  };
242
242
  activation: {
243
243
  activationId: string;
244
- mode: "select" | "inline" | "fullscreen" | "navigate" | "drawer" | "modal";
244
+ mode: "select" | "drawer" | "inline" | "fullscreen" | "navigate" | "modal";
245
245
  targetPath?: string | undefined;
246
246
  history?: "push" | "replace" | undefined;
247
247
  };
@@ -253,7 +253,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
253
253
  focusReturn: boolean;
254
254
  };
255
255
  layout: {
256
- mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
256
+ mode: "split" | "flex" | "grid" | "tabs" | "block" | "contents" | "absolute";
257
257
  direction?: "column" | "row" | undefined;
258
258
  columns?: number | undefined;
259
259
  rowHeight?: number | undefined;
@@ -269,7 +269,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
269
269
  };
270
270
  responsive: {
271
271
  layout: {
272
- mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
272
+ mode: "split" | "flex" | "grid" | "tabs" | "block" | "contents" | "absolute";
273
273
  direction?: "column" | "row" | undefined;
274
274
  columns?: number | undefined;
275
275
  rowHeight?: number | undefined;
@@ -300,7 +300,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
300
300
  marginBlockEnd?: string | number | undefined;
301
301
  marginInlineStart?: string | number | undefined;
302
302
  marginInlineEnd?: string | number | undefined;
303
- display?: "grid" | "none" | "block" | "inline" | "contents" | "flex" | "inline-block" | "inline-flex" | undefined;
303
+ display?: "flex" | "none" | "inline" | "grid" | "block" | "contents" | "inline-block" | "inline-flex" | undefined;
304
304
  gap?: string | number | undefined;
305
305
  rowGap?: string | number | undefined;
306
306
  columnGap?: string | number | undefined;
@@ -401,6 +401,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
401
401
  } | undefined;
402
402
  dynamicLayout?: {
403
403
  visibleWhen?: import("..").PageExpression | undefined;
404
+ collapsed?: import("..").PageExpression | undefined;
404
405
  columns?: import("..").PageExpression | undefined;
405
406
  gridTemplateColumns?: import("..").PageExpression | undefined;
406
407
  flex?: import("..").PageExpression | undefined;
@@ -421,7 +422,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
421
422
  marginBlockEnd?: string | number | undefined;
422
423
  marginInlineStart?: string | number | undefined;
423
424
  marginInlineEnd?: string | number | undefined;
424
- display?: "grid" | "none" | "block" | "inline" | "contents" | "flex" | "inline-block" | "inline-flex" | undefined;
425
+ display?: "flex" | "none" | "inline" | "grid" | "block" | "contents" | "inline-block" | "inline-flex" | undefined;
425
426
  gap?: string | number | undefined;
426
427
  rowGap?: string | number | undefined;
427
428
  columnGap?: string | number | undefined;
@@ -491,6 +492,24 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
491
492
  }[];
492
493
  data?: {
493
494
  statements: Record<string, {
495
+ kind: "facets";
496
+ from: {
497
+ source: "ontology" | "workflow-outputs" | "telemetry";
498
+ ontologyId: string;
499
+ workflowId?: string | undefined;
500
+ includeSharedSlices?: boolean | undefined;
501
+ };
502
+ dimensions: {
503
+ field: string;
504
+ kind?: "feature" | "builtin" | "tag_group" | "relation_target" | undefined;
505
+ limit?: number | undefined;
506
+ excludeSelf?: boolean | undefined;
507
+ }[];
508
+ where?: import("..").ViewSqlWhere | undefined;
509
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
510
+ shareDirection?: "sent" | "received" | undefined;
511
+ shareViewId?: string | undefined;
512
+ } | {
494
513
  kind: "select";
495
514
  from: {
496
515
  source: "ontology" | "workflow-outputs" | "telemetry";
@@ -506,6 +525,10 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
506
525
  columnOrder?: string[] | undefined;
507
526
  } | undefined;
508
527
  where?: import("..").ViewSqlWhere | undefined;
528
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
529
+ shareDirection?: "sent" | "received" | undefined;
530
+ shareViewId?: string | undefined;
531
+ includeEffectiveCapabilities?: boolean | undefined;
509
532
  orderBy?: {
510
533
  field: string;
511
534
  kind: "feature" | "builtin";
@@ -523,7 +546,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
523
546
  };
524
547
  metrics: {
525
548
  alias: string;
526
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
549
+ fn: "max" | "min" | "sum" | "count" | "avg" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
527
550
  fieldKey?: string | undefined;
528
551
  numeric?: boolean | undefined;
529
552
  percentile?: number | undefined;
@@ -532,6 +555,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
532
555
  filter?: import("..").ViewSqlWhere | undefined;
533
556
  }[];
534
557
  where?: import("..").ViewSqlWhere | undefined;
558
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
559
+ shareDirection?: "sent" | "received" | undefined;
560
+ shareViewId?: string | undefined;
535
561
  groupBy?: string[] | undefined;
536
562
  orderBy?: {
537
563
  field: string;
@@ -830,6 +856,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
830
856
  loadingWhen?: import("..").PageExpression | undefined;
831
857
  dynamicLayout?: {
832
858
  visibleWhen?: import("..").PageExpression | undefined;
859
+ collapsed?: import("..").PageExpression | undefined;
833
860
  columns?: import("..").PageExpression | undefined;
834
861
  gridTemplateColumns?: import("..").PageExpression | undefined;
835
862
  flex?: import("..").PageExpression | undefined;
@@ -1162,7 +1189,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
1162
1189
  } | undefined;
1163
1190
  };
1164
1191
  targetStateId: string;
1165
- transition: "set" | "append" | "reset" | "merge" | "remove" | "toggle";
1192
+ transition: "set" | "merge" | "toggle" | "append" | "reset" | "remove";
1166
1193
  inputMapping: Record<string, {
1167
1194
  kind: "expression";
1168
1195
  expression: import("..").PageExpression;
@@ -2425,7 +2452,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
2425
2452
  id: string;
2426
2453
  };
2427
2454
  slot: string;
2428
- presentation: "panel" | "inline" | "fullscreen" | "drawer" | "modal";
2455
+ presentation: "drawer" | "inline" | "panel" | "fullscreen" | "modal";
2429
2456
  inputs: Record<string, {
2430
2457
  kind: "page-parameter";
2431
2458
  name: string;
@@ -3248,7 +3275,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3248
3275
  nodes: {
3249
3276
  contract: "RenderNode";
3250
3277
  nodeId: string;
3251
- kind: "record" | "action" | "shell" | "detail" | "view" | "page" | "navigation" | "control" | "overlay" | "professional-provider";
3278
+ kind: "record" | "action" | "control" | "shell" | "detail" | "view" | "page" | "navigation" | "overlay" | "professional-provider";
3252
3279
  version: number;
3253
3280
  ownerRepo: string;
3254
3281
  children: string[];
@@ -3278,13 +3305,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3278
3305
  };
3279
3306
  scroll: {
3280
3307
  owner: "provider" | "page" | "surface";
3281
- axis: "both" | "x" | "y" | "none";
3308
+ axis: "both" | "none" | "x" | "y";
3282
3309
  virtualizationBoundary: boolean;
3283
3310
  restoreKey?: string | undefined;
3284
3311
  };
3285
3312
  activation: {
3286
3313
  activationId: string;
3287
- mode: "select" | "inline" | "fullscreen" | "navigate" | "drawer" | "modal";
3314
+ mode: "select" | "drawer" | "inline" | "fullscreen" | "navigate" | "modal";
3288
3315
  targetPath?: string | undefined;
3289
3316
  history?: "push" | "replace" | undefined;
3290
3317
  };
@@ -3296,7 +3323,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3296
3323
  focusReturn: boolean;
3297
3324
  };
3298
3325
  layout: {
3299
- mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
3326
+ mode: "split" | "flex" | "grid" | "tabs" | "block" | "contents" | "absolute";
3300
3327
  direction?: "column" | "row" | undefined;
3301
3328
  columns?: number | undefined;
3302
3329
  rowHeight?: number | undefined;
@@ -3312,7 +3339,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3312
3339
  };
3313
3340
  responsive: {
3314
3341
  layout: {
3315
- mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
3342
+ mode: "split" | "flex" | "grid" | "tabs" | "block" | "contents" | "absolute";
3316
3343
  direction?: "column" | "row" | undefined;
3317
3344
  columns?: number | undefined;
3318
3345
  rowHeight?: number | undefined;
@@ -3343,7 +3370,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3343
3370
  marginBlockEnd?: string | number | undefined;
3344
3371
  marginInlineStart?: string | number | undefined;
3345
3372
  marginInlineEnd?: string | number | undefined;
3346
- display?: "grid" | "none" | "block" | "inline" | "contents" | "flex" | "inline-block" | "inline-flex" | undefined;
3373
+ display?: "flex" | "none" | "inline" | "grid" | "block" | "contents" | "inline-block" | "inline-flex" | undefined;
3347
3374
  gap?: string | number | undefined;
3348
3375
  rowGap?: string | number | undefined;
3349
3376
  columnGap?: string | number | undefined;
@@ -3444,6 +3471,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3444
3471
  } | undefined;
3445
3472
  dynamicLayout?: {
3446
3473
  visibleWhen?: import("..").PageExpression | undefined;
3474
+ collapsed?: import("..").PageExpression | undefined;
3447
3475
  columns?: import("..").PageExpression | undefined;
3448
3476
  gridTemplateColumns?: import("..").PageExpression | undefined;
3449
3477
  flex?: import("..").PageExpression | undefined;
@@ -3464,7 +3492,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3464
3492
  marginBlockEnd?: string | number | undefined;
3465
3493
  marginInlineStart?: string | number | undefined;
3466
3494
  marginInlineEnd?: string | number | undefined;
3467
- display?: "grid" | "none" | "block" | "inline" | "contents" | "flex" | "inline-block" | "inline-flex" | undefined;
3495
+ display?: "flex" | "none" | "inline" | "grid" | "block" | "contents" | "inline-block" | "inline-flex" | undefined;
3468
3496
  gap?: string | number | undefined;
3469
3497
  rowGap?: string | number | undefined;
3470
3498
  columnGap?: string | number | undefined;
@@ -3534,6 +3562,24 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3534
3562
  }[];
3535
3563
  data?: {
3536
3564
  statements: Record<string, {
3565
+ kind: "facets";
3566
+ from: {
3567
+ source: "ontology" | "workflow-outputs" | "telemetry";
3568
+ ontologyId: string;
3569
+ workflowId?: string | undefined;
3570
+ includeSharedSlices?: boolean | undefined;
3571
+ };
3572
+ dimensions: {
3573
+ field: string;
3574
+ kind?: "feature" | "builtin" | "tag_group" | "relation_target" | undefined;
3575
+ limit?: number | undefined;
3576
+ excludeSelf?: boolean | undefined;
3577
+ }[];
3578
+ where?: import("..").ViewSqlWhere | undefined;
3579
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
3580
+ shareDirection?: "sent" | "received" | undefined;
3581
+ shareViewId?: string | undefined;
3582
+ } | {
3537
3583
  kind: "select";
3538
3584
  from: {
3539
3585
  source: "ontology" | "workflow-outputs" | "telemetry";
@@ -3549,6 +3595,10 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3549
3595
  columnOrder?: string[] | undefined;
3550
3596
  } | undefined;
3551
3597
  where?: import("..").ViewSqlWhere | undefined;
3598
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
3599
+ shareDirection?: "sent" | "received" | undefined;
3600
+ shareViewId?: string | undefined;
3601
+ includeEffectiveCapabilities?: boolean | undefined;
3552
3602
  orderBy?: {
3553
3603
  field: string;
3554
3604
  kind: "feature" | "builtin";
@@ -3566,7 +3616,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3566
3616
  };
3567
3617
  metrics: {
3568
3618
  alias: string;
3569
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
3619
+ fn: "max" | "min" | "sum" | "count" | "avg" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
3570
3620
  fieldKey?: string | undefined;
3571
3621
  numeric?: boolean | undefined;
3572
3622
  percentile?: number | undefined;
@@ -3575,6 +3625,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3575
3625
  filter?: import("..").ViewSqlWhere | undefined;
3576
3626
  }[];
3577
3627
  where?: import("..").ViewSqlWhere | undefined;
3628
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
3629
+ shareDirection?: "sent" | "received" | undefined;
3630
+ shareViewId?: string | undefined;
3578
3631
  groupBy?: string[] | undefined;
3579
3632
  orderBy?: {
3580
3633
  field: string;
@@ -3873,6 +3926,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3873
3926
  loadingWhen?: import("..").PageExpression | undefined;
3874
3927
  dynamicLayout?: {
3875
3928
  visibleWhen?: import("..").PageExpression | undefined;
3929
+ collapsed?: import("..").PageExpression | undefined;
3876
3930
  columns?: import("..").PageExpression | undefined;
3877
3931
  gridTemplateColumns?: import("..").PageExpression | undefined;
3878
3932
  flex?: import("..").PageExpression | undefined;
@@ -4205,7 +4259,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
4205
4259
  } | undefined;
4206
4260
  };
4207
4261
  targetStateId: string;
4208
- transition: "set" | "append" | "reset" | "merge" | "remove" | "toggle";
4262
+ transition: "set" | "merge" | "toggle" | "append" | "reset" | "remove";
4209
4263
  inputMapping: Record<string, {
4210
4264
  kind: "expression";
4211
4265
  expression: import("..").PageExpression;
@@ -5468,7 +5522,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
5468
5522
  id: string;
5469
5523
  };
5470
5524
  slot: string;
5471
- presentation: "panel" | "inline" | "fullscreen" | "drawer" | "modal";
5525
+ presentation: "drawer" | "inline" | "panel" | "fullscreen" | "modal";
5472
5526
  inputs: Record<string, {
5473
5527
  kind: "page-parameter";
5474
5528
  name: string;
@@ -6300,7 +6354,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6300
6354
  nodes: {
6301
6355
  contract: "RenderNode";
6302
6356
  nodeId: string;
6303
- kind: "record" | "action" | "shell" | "detail" | "view" | "page" | "navigation" | "control" | "overlay" | "professional-provider";
6357
+ kind: "record" | "action" | "control" | "shell" | "detail" | "view" | "page" | "navigation" | "overlay" | "professional-provider";
6304
6358
  version: number;
6305
6359
  ownerRepo: string;
6306
6360
  children: string[];
@@ -6330,13 +6384,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6330
6384
  };
6331
6385
  scroll: {
6332
6386
  owner: "provider" | "page" | "surface";
6333
- axis: "both" | "x" | "y" | "none";
6387
+ axis: "both" | "none" | "x" | "y";
6334
6388
  virtualizationBoundary: boolean;
6335
6389
  restoreKey?: string | undefined;
6336
6390
  };
6337
6391
  activation: {
6338
6392
  activationId: string;
6339
- mode: "select" | "inline" | "fullscreen" | "navigate" | "drawer" | "modal";
6393
+ mode: "select" | "drawer" | "inline" | "fullscreen" | "navigate" | "modal";
6340
6394
  targetPath?: string | undefined;
6341
6395
  history?: "push" | "replace" | undefined;
6342
6396
  };
@@ -6348,7 +6402,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6348
6402
  focusReturn: boolean;
6349
6403
  };
6350
6404
  layout: {
6351
- mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
6405
+ mode: "split" | "flex" | "grid" | "tabs" | "block" | "contents" | "absolute";
6352
6406
  direction?: "column" | "row" | undefined;
6353
6407
  columns?: number | undefined;
6354
6408
  rowHeight?: number | undefined;
@@ -6364,7 +6418,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6364
6418
  };
6365
6419
  responsive: {
6366
6420
  layout: {
6367
- mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
6421
+ mode: "split" | "flex" | "grid" | "tabs" | "block" | "contents" | "absolute";
6368
6422
  direction?: "column" | "row" | undefined;
6369
6423
  columns?: number | undefined;
6370
6424
  rowHeight?: number | undefined;
@@ -6395,7 +6449,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6395
6449
  marginBlockEnd?: string | number | undefined;
6396
6450
  marginInlineStart?: string | number | undefined;
6397
6451
  marginInlineEnd?: string | number | undefined;
6398
- display?: "grid" | "none" | "block" | "inline" | "contents" | "flex" | "inline-block" | "inline-flex" | undefined;
6452
+ display?: "flex" | "none" | "inline" | "grid" | "block" | "contents" | "inline-block" | "inline-flex" | undefined;
6399
6453
  gap?: string | number | undefined;
6400
6454
  rowGap?: string | number | undefined;
6401
6455
  columnGap?: string | number | undefined;
@@ -6496,6 +6550,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6496
6550
  } | undefined;
6497
6551
  dynamicLayout?: {
6498
6552
  visibleWhen?: import("..").PageExpression | undefined;
6553
+ collapsed?: import("..").PageExpression | undefined;
6499
6554
  columns?: import("..").PageExpression | undefined;
6500
6555
  gridTemplateColumns?: import("..").PageExpression | undefined;
6501
6556
  flex?: import("..").PageExpression | undefined;
@@ -6516,7 +6571,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6516
6571
  marginBlockEnd?: string | number | undefined;
6517
6572
  marginInlineStart?: string | number | undefined;
6518
6573
  marginInlineEnd?: string | number | undefined;
6519
- display?: "grid" | "none" | "block" | "inline" | "contents" | "flex" | "inline-block" | "inline-flex" | undefined;
6574
+ display?: "flex" | "none" | "inline" | "grid" | "block" | "contents" | "inline-block" | "inline-flex" | undefined;
6520
6575
  gap?: string | number | undefined;
6521
6576
  rowGap?: string | number | undefined;
6522
6577
  columnGap?: string | number | undefined;
@@ -6586,6 +6641,24 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6586
6641
  }[];
6587
6642
  data?: {
6588
6643
  statements: Record<string, {
6644
+ kind: "facets";
6645
+ from: {
6646
+ source: "ontology" | "workflow-outputs" | "telemetry";
6647
+ ontologyId: string;
6648
+ workflowId?: string | undefined;
6649
+ includeSharedSlices?: boolean | undefined;
6650
+ };
6651
+ dimensions: {
6652
+ field: string;
6653
+ kind?: "feature" | "builtin" | "tag_group" | "relation_target" | undefined;
6654
+ limit?: number | undefined;
6655
+ excludeSelf?: boolean | undefined;
6656
+ }[];
6657
+ where?: import("..").ViewSqlWhere | undefined;
6658
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
6659
+ shareDirection?: "sent" | "received" | undefined;
6660
+ shareViewId?: string | undefined;
6661
+ } | {
6589
6662
  kind: "select";
6590
6663
  from: {
6591
6664
  source: "ontology" | "workflow-outputs" | "telemetry";
@@ -6601,6 +6674,10 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6601
6674
  columnOrder?: string[] | undefined;
6602
6675
  } | undefined;
6603
6676
  where?: import("..").ViewSqlWhere | undefined;
6677
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
6678
+ shareDirection?: "sent" | "received" | undefined;
6679
+ shareViewId?: string | undefined;
6680
+ includeEffectiveCapabilities?: boolean | undefined;
6604
6681
  orderBy?: {
6605
6682
  field: string;
6606
6683
  kind: "feature" | "builtin";
@@ -6618,7 +6695,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6618
6695
  };
6619
6696
  metrics: {
6620
6697
  alias: string;
6621
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
6698
+ fn: "max" | "min" | "sum" | "count" | "avg" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
6622
6699
  fieldKey?: string | undefined;
6623
6700
  numeric?: boolean | undefined;
6624
6701
  percentile?: number | undefined;
@@ -6627,6 +6704,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6627
6704
  filter?: import("..").ViewSqlWhere | undefined;
6628
6705
  }[];
6629
6706
  where?: import("..").ViewSqlWhere | undefined;
6707
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
6708
+ shareDirection?: "sent" | "received" | undefined;
6709
+ shareViewId?: string | undefined;
6630
6710
  groupBy?: string[] | undefined;
6631
6711
  orderBy?: {
6632
6712
  field: string;
@@ -6925,6 +7005,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6925
7005
  loadingWhen?: import("..").PageExpression | undefined;
6926
7006
  dynamicLayout?: {
6927
7007
  visibleWhen?: import("..").PageExpression | undefined;
7008
+ collapsed?: import("..").PageExpression | undefined;
6928
7009
  columns?: import("..").PageExpression | undefined;
6929
7010
  gridTemplateColumns?: import("..").PageExpression | undefined;
6930
7011
  flex?: import("..").PageExpression | undefined;
@@ -7257,7 +7338,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
7257
7338
  } | undefined;
7258
7339
  };
7259
7340
  targetStateId: string;
7260
- transition: "set" | "append" | "reset" | "merge" | "remove" | "toggle";
7341
+ transition: "set" | "merge" | "toggle" | "append" | "reset" | "remove";
7261
7342
  inputMapping: Record<string, {
7262
7343
  kind: "expression";
7263
7344
  expression: import("..").PageExpression;
@@ -8520,7 +8601,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8520
8601
  id: string;
8521
8602
  };
8522
8603
  slot: string;
8523
- presentation: "panel" | "inline" | "fullscreen" | "drawer" | "modal";
8604
+ presentation: "drawer" | "inline" | "panel" | "fullscreen" | "modal";
8524
8605
  inputs: Record<string, {
8525
8606
  kind: "page-parameter";
8526
8607
  name: string;
@@ -9343,7 +9424,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9343
9424
  nodes: {
9344
9425
  contract: "RenderNode";
9345
9426
  nodeId: string;
9346
- kind: "record" | "action" | "shell" | "detail" | "view" | "page" | "navigation" | "control" | "overlay" | "professional-provider";
9427
+ kind: "record" | "action" | "control" | "shell" | "detail" | "view" | "page" | "navigation" | "overlay" | "professional-provider";
9347
9428
  version: number;
9348
9429
  ownerRepo: string;
9349
9430
  children: string[];
@@ -9373,13 +9454,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9373
9454
  };
9374
9455
  scroll: {
9375
9456
  owner: "provider" | "page" | "surface";
9376
- axis: "both" | "x" | "y" | "none";
9457
+ axis: "both" | "none" | "x" | "y";
9377
9458
  virtualizationBoundary: boolean;
9378
9459
  restoreKey?: string | undefined;
9379
9460
  };
9380
9461
  activation: {
9381
9462
  activationId: string;
9382
- mode: "select" | "inline" | "fullscreen" | "navigate" | "drawer" | "modal";
9463
+ mode: "select" | "drawer" | "inline" | "fullscreen" | "navigate" | "modal";
9383
9464
  targetPath?: string | undefined;
9384
9465
  history?: "push" | "replace" | undefined;
9385
9466
  };
@@ -9391,7 +9472,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9391
9472
  focusReturn: boolean;
9392
9473
  };
9393
9474
  layout: {
9394
- mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
9475
+ mode: "split" | "flex" | "grid" | "tabs" | "block" | "contents" | "absolute";
9395
9476
  direction?: "column" | "row" | undefined;
9396
9477
  columns?: number | undefined;
9397
9478
  rowHeight?: number | undefined;
@@ -9407,7 +9488,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9407
9488
  };
9408
9489
  responsive: {
9409
9490
  layout: {
9410
- mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
9491
+ mode: "split" | "flex" | "grid" | "tabs" | "block" | "contents" | "absolute";
9411
9492
  direction?: "column" | "row" | undefined;
9412
9493
  columns?: number | undefined;
9413
9494
  rowHeight?: number | undefined;
@@ -9438,7 +9519,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9438
9519
  marginBlockEnd?: string | number | undefined;
9439
9520
  marginInlineStart?: string | number | undefined;
9440
9521
  marginInlineEnd?: string | number | undefined;
9441
- display?: "grid" | "none" | "block" | "inline" | "contents" | "flex" | "inline-block" | "inline-flex" | undefined;
9522
+ display?: "flex" | "none" | "inline" | "grid" | "block" | "contents" | "inline-block" | "inline-flex" | undefined;
9442
9523
  gap?: string | number | undefined;
9443
9524
  rowGap?: string | number | undefined;
9444
9525
  columnGap?: string | number | undefined;
@@ -9539,6 +9620,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9539
9620
  } | undefined;
9540
9621
  dynamicLayout?: {
9541
9622
  visibleWhen?: import("..").PageExpression | undefined;
9623
+ collapsed?: import("..").PageExpression | undefined;
9542
9624
  columns?: import("..").PageExpression | undefined;
9543
9625
  gridTemplateColumns?: import("..").PageExpression | undefined;
9544
9626
  flex?: import("..").PageExpression | undefined;
@@ -9559,7 +9641,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9559
9641
  marginBlockEnd?: string | number | undefined;
9560
9642
  marginInlineStart?: string | number | undefined;
9561
9643
  marginInlineEnd?: string | number | undefined;
9562
- display?: "grid" | "none" | "block" | "inline" | "contents" | "flex" | "inline-block" | "inline-flex" | undefined;
9644
+ display?: "flex" | "none" | "inline" | "grid" | "block" | "contents" | "inline-block" | "inline-flex" | undefined;
9563
9645
  gap?: string | number | undefined;
9564
9646
  rowGap?: string | number | undefined;
9565
9647
  columnGap?: string | number | undefined;
@@ -9629,6 +9711,24 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9629
9711
  }[];
9630
9712
  data?: {
9631
9713
  statements: Record<string, {
9714
+ kind: "facets";
9715
+ from: {
9716
+ source: "ontology" | "workflow-outputs" | "telemetry";
9717
+ ontologyId: string;
9718
+ workflowId?: string | undefined;
9719
+ includeSharedSlices?: boolean | undefined;
9720
+ };
9721
+ dimensions: {
9722
+ field: string;
9723
+ kind?: "feature" | "builtin" | "tag_group" | "relation_target" | undefined;
9724
+ limit?: number | undefined;
9725
+ excludeSelf?: boolean | undefined;
9726
+ }[];
9727
+ where?: import("..").ViewSqlWhere | undefined;
9728
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
9729
+ shareDirection?: "sent" | "received" | undefined;
9730
+ shareViewId?: string | undefined;
9731
+ } | {
9632
9732
  kind: "select";
9633
9733
  from: {
9634
9734
  source: "ontology" | "workflow-outputs" | "telemetry";
@@ -9644,6 +9744,10 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9644
9744
  columnOrder?: string[] | undefined;
9645
9745
  } | undefined;
9646
9746
  where?: import("..").ViewSqlWhere | undefined;
9747
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
9748
+ shareDirection?: "sent" | "received" | undefined;
9749
+ shareViewId?: string | undefined;
9750
+ includeEffectiveCapabilities?: boolean | undefined;
9647
9751
  orderBy?: {
9648
9752
  field: string;
9649
9753
  kind: "feature" | "builtin";
@@ -9661,7 +9765,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9661
9765
  };
9662
9766
  metrics: {
9663
9767
  alias: string;
9664
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
9768
+ fn: "max" | "min" | "sum" | "count" | "avg" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
9665
9769
  fieldKey?: string | undefined;
9666
9770
  numeric?: boolean | undefined;
9667
9771
  percentile?: number | undefined;
@@ -9670,6 +9774,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9670
9774
  filter?: import("..").ViewSqlWhere | undefined;
9671
9775
  }[];
9672
9776
  where?: import("..").ViewSqlWhere | undefined;
9777
+ visibilityScope?: "current" | "currentAndShared" | "explicitShares" | undefined;
9778
+ shareDirection?: "sent" | "received" | undefined;
9779
+ shareViewId?: string | undefined;
9673
9780
  groupBy?: string[] | undefined;
9674
9781
  orderBy?: {
9675
9782
  field: string;
@@ -9968,6 +10075,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9968
10075
  loadingWhen?: import("..").PageExpression | undefined;
9969
10076
  dynamicLayout?: {
9970
10077
  visibleWhen?: import("..").PageExpression | undefined;
10078
+ collapsed?: import("..").PageExpression | undefined;
9971
10079
  columns?: import("..").PageExpression | undefined;
9972
10080
  gridTemplateColumns?: import("..").PageExpression | undefined;
9973
10081
  flex?: import("..").PageExpression | undefined;
@@ -10300,7 +10408,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
10300
10408
  } | undefined;
10301
10409
  };
10302
10410
  targetStateId: string;
10303
- transition: "set" | "append" | "reset" | "merge" | "remove" | "toggle";
10411
+ transition: "set" | "merge" | "toggle" | "append" | "reset" | "remove";
10304
10412
  inputMapping: Record<string, {
10305
10413
  kind: "expression";
10306
10414
  expression: import("..").PageExpression;
@@ -11563,7 +11671,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
11563
11671
  id: string;
11564
11672
  };
11565
11673
  slot: string;
11566
- presentation: "panel" | "inline" | "fullscreen" | "drawer" | "modal";
11674
+ presentation: "drawer" | "inline" | "panel" | "fullscreen" | "modal";
11567
11675
  inputs: Record<string, {
11568
11676
  kind: "page-parameter";
11569
11677
  name: string;