@inf-monkeys-tech/monkeys 1.1.62 → 1.1.64

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 (57) hide show
  1. package/lib/contracts/bento-block.d.ts +491 -0
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +158 -12
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +6735 -279
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +563 -19
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +1408 -72
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/page.d.ts +1 -1
  12. package/lib/contracts/render.d.ts +413 -28
  13. package/lib/contracts/render.d.ts.map +1 -1
  14. package/lib/contracts/render.js +65 -5
  15. package/lib/contracts/render.js.map +1 -1
  16. package/lib/contracts/tenant.d.ts +7 -7
  17. package/lib/contracts/unified-view.d.ts +87 -0
  18. package/lib/contracts/unified-view.d.ts.map +1 -1
  19. package/lib/contracts/workflow-column.d.ts +2 -2
  20. package/lib/esm/{chunk-UPCRRS4I.mjs → chunk-AOAJSAI7.mjs} +2 -2
  21. package/lib/esm/chunk-AOAJSAI7.mjs.map +1 -0
  22. package/lib/esm/{chunk-EFVODA3P.mjs → chunk-BFGFPBEU.mjs} +187 -15
  23. package/lib/esm/chunk-BFGFPBEU.mjs.map +1 -0
  24. package/lib/esm/{chunk-MAZ3HUFS.mjs → chunk-E6UOE6OP.mjs} +181 -4
  25. package/lib/esm/chunk-E6UOE6OP.mjs.map +1 -0
  26. package/lib/esm/{chunk-RWTW74VC.mjs → chunk-WC65QK2H.mjs} +2 -2
  27. package/lib/esm/contracts/index.mjs +28 -2
  28. package/lib/esm/index.mjs +34 -4
  29. package/lib/esm/index.mjs.map +1 -1
  30. package/lib/esm/runtime/index.mjs +7 -3
  31. package/lib/esm/schemas/index.mjs +26 -2
  32. package/lib/json-schema/bento-node.schema.json +425 -1
  33. package/lib/json-schema/overlay-node.schema.json +1514 -49
  34. package/lib/json-schema/page-runtime-bundle.schema.json +2837 -547
  35. package/lib/json-schema/page.schema.json +24 -0
  36. package/lib/json-schema/render-node.schema.json +2077 -612
  37. package/lib/json-schema/render-tree.schema.json +2752 -462
  38. package/lib/json-schema/view-ontology-record.schema.json +722 -2
  39. package/lib/runtime/bento-render-tree.d.ts +22 -0
  40. package/lib/runtime/bento-render-tree.d.ts.map +1 -0
  41. package/lib/runtime/bento-render-tree.js +197 -0
  42. package/lib/runtime/bento-render-tree.js.map +1 -0
  43. package/lib/runtime/index.d.ts +1 -0
  44. package/lib/runtime/index.d.ts.map +1 -1
  45. package/lib/runtime/index.js +1 -0
  46. package/lib/runtime/index.js.map +1 -1
  47. package/lib/runtime/runtime-definition-wire.d.ts +704 -36
  48. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  49. package/lib/schemas/index.d.ts +1670 -3027
  50. package/lib/schemas/index.d.ts.map +1 -1
  51. package/lib/schemas/index.js +16 -3
  52. package/lib/schemas/index.js.map +1 -1
  53. package/package.json +2 -2
  54. package/lib/esm/chunk-EFVODA3P.mjs.map +0 -1
  55. package/lib/esm/chunk-MAZ3HUFS.mjs.map +0 -1
  56. package/lib/esm/chunk-UPCRRS4I.mjs.map +0 -1
  57. /package/lib/esm/{chunk-RWTW74VC.mjs.map → chunk-WC65QK2H.mjs.map} +0 -0
@@ -235,7 +235,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
235
235
  };
236
236
  scroll: {
237
237
  owner: "provider" | "page" | "surface";
238
- axis: "x" | "y" | "none" | "both";
238
+ axis: "both" | "x" | "y" | "none";
239
239
  virtualizationBoundary: boolean;
240
240
  restoreKey?: string | undefined;
241
241
  };
@@ -253,9 +253,11 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
253
253
  focusReturn: boolean;
254
254
  };
255
255
  layout: {
256
- mode: "grid" | "block" | "contents" | "flex" | "absolute";
257
- direction?: "row" | "column" | undefined;
256
+ mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
257
+ direction?: "column" | "row" | undefined;
258
258
  columns?: number | undefined;
259
+ rowHeight?: number | undefined;
260
+ gap?: number | undefined;
259
261
  align?: "start" | "center" | "end" | "stretch" | undefined;
260
262
  justify?: "between" | "start" | "center" | "end" | "around" | undefined;
261
263
  gapTokenRef?: {
@@ -267,9 +269,11 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
267
269
  };
268
270
  responsive: {
269
271
  layout: {
270
- mode: "grid" | "block" | "contents" | "flex" | "absolute";
271
- direction?: "row" | "column" | undefined;
272
+ mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
273
+ direction?: "column" | "row" | undefined;
272
274
  columns?: number | undefined;
275
+ rowHeight?: number | undefined;
276
+ gap?: number | undefined;
273
277
  align?: "start" | "center" | "end" | "stretch" | undefined;
274
278
  justify?: "between" | "start" | "center" | "end" | "around" | undefined;
275
279
  gapTokenRef?: {
@@ -311,7 +315,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
311
315
  fontFamily?: string | number | undefined;
312
316
  fontWeight?: string | number | undefined;
313
317
  lineHeight?: string | number | undefined;
314
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
318
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
315
319
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
316
320
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
317
321
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -326,7 +330,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
326
330
  gridColumn?: string | number | undefined;
327
331
  gridRow?: string | number | undefined;
328
332
  flex?: string | number | undefined;
329
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
333
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
330
334
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
331
335
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
332
336
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -367,6 +371,34 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
367
371
  version?: string | number | undefined;
368
372
  ownerRepo?: string | undefined;
369
373
  } | undefined;
374
+ placement?: {
375
+ grid?: {
376
+ x: number;
377
+ y: number;
378
+ w: number;
379
+ h: number;
380
+ minW?: number | undefined;
381
+ minH?: number | undefined;
382
+ } | undefined;
383
+ split?: {
384
+ size?: string | number | undefined;
385
+ minSize?: string | number | undefined;
386
+ maxSize?: string | number | undefined;
387
+ collapsible?: boolean | undefined;
388
+ collapsed?: boolean | undefined;
389
+ } | undefined;
390
+ tab?: {
391
+ label?: string | Record<string, string> | undefined;
392
+ icon?: string | undefined;
393
+ } | undefined;
394
+ } | undefined;
395
+ dataBinding?: import("..").RenderBentoBinding | undefined;
396
+ module?: {
397
+ id: string;
398
+ granularity: "atomic" | "macro";
399
+ title?: string | Record<string, string> | undefined;
400
+ props?: Record<string, import("..").JsonValue> | undefined;
401
+ } | undefined;
370
402
  dynamicLayout?: {
371
403
  visibleWhen?: import("..").PageExpression | undefined;
372
404
  columns?: import("..").PageExpression | undefined;
@@ -404,7 +436,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
404
436
  fontFamily?: string | number | undefined;
405
437
  fontWeight?: string | number | undefined;
406
438
  lineHeight?: string | number | undefined;
407
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
439
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
408
440
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
409
441
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
410
442
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -419,7 +451,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
419
451
  gridColumn?: string | number | undefined;
420
452
  gridRow?: string | number | undefined;
421
453
  flex?: string | number | undefined;
422
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
454
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
423
455
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
424
456
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
425
457
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -457,6 +489,141 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
457
489
  limit: number;
458
490
  } | undefined;
459
491
  }[];
492
+ data?: {
493
+ statements: Record<string, {
494
+ kind: "select";
495
+ from: {
496
+ source: "ontology" | "workflow-outputs" | "telemetry";
497
+ ontologyId: string;
498
+ workflowId?: string | undefined;
499
+ includeSharedSlices?: boolean | undefined;
500
+ };
501
+ select?: {
502
+ baseColumns?: string[] | undefined;
503
+ propertyColumns?: string[] | undefined;
504
+ featureColumns?: string[] | undefined;
505
+ tagGroupColumns?: string[] | undefined;
506
+ columnOrder?: string[] | undefined;
507
+ } | undefined;
508
+ where?: import("..").ViewSqlWhere | undefined;
509
+ orderBy?: {
510
+ field: string;
511
+ kind: "feature" | "builtin";
512
+ direction: "asc" | "desc";
513
+ nulls?: "first" | "last" | undefined;
514
+ }[] | undefined;
515
+ limit?: number | undefined;
516
+ } | {
517
+ kind: "aggregate";
518
+ from: {
519
+ source: "ontology" | "workflow-outputs" | "telemetry";
520
+ ontologyId: string;
521
+ workflowId?: string | undefined;
522
+ includeSharedSlices?: boolean | undefined;
523
+ };
524
+ metrics: {
525
+ alias: string;
526
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
527
+ fieldKey?: string | undefined;
528
+ numeric?: boolean | undefined;
529
+ percentile?: number | undefined;
530
+ trimTopPct?: number | undefined;
531
+ orderColumnId?: string | undefined;
532
+ filter?: import("..").ViewSqlWhere | undefined;
533
+ }[];
534
+ where?: import("..").ViewSqlWhere | undefined;
535
+ groupBy?: string[] | undefined;
536
+ orderBy?: {
537
+ field: string;
538
+ kind: "feature" | "builtin";
539
+ direction: "asc" | "desc";
540
+ nulls?: "first" | "last" | undefined;
541
+ }[] | undefined;
542
+ limit?: number | undefined;
543
+ engine?: "auto" | "search" | "canonical" | undefined;
544
+ allTeams?: boolean | undefined;
545
+ exact?: boolean | undefined;
546
+ includeTotals?: boolean | undefined;
547
+ timeBucket?: {
548
+ column: string;
549
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
550
+ timezone?: string | undefined;
551
+ fillGaps?: boolean | undefined;
552
+ } | undefined;
553
+ joins?: {
554
+ alias: string;
555
+ ontologyId: string;
556
+ assetType?: string | undefined;
557
+ joinType?: "inner" | "left" | undefined;
558
+ viaRelation?: {
559
+ columnId: string;
560
+ direction: "outgoing" | "incoming";
561
+ } | undefined;
562
+ onColumn?: {
563
+ localColumnId: string;
564
+ foreignColumnId?: string | undefined;
565
+ foreignAssetId?: boolean | undefined;
566
+ } | undefined;
567
+ }[] | undefined;
568
+ hierarchyScopes?: {
569
+ ontologyId: string;
570
+ relationColumnId: string;
571
+ direction: "outgoing" | "incoming";
572
+ seedIds: string[];
573
+ targetAlias?: string | undefined;
574
+ localColumnId?: string | undefined;
575
+ maxDepth?: number | undefined;
576
+ includeSelf?: boolean | undefined;
577
+ }[] | undefined;
578
+ unwind?: {
579
+ columnId: string;
580
+ jsonPath?: string[] | undefined;
581
+ preserveEmpty?: boolean | undefined;
582
+ } | undefined;
583
+ having?: {
584
+ key: string;
585
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
586
+ value: number;
587
+ }[] | undefined;
588
+ pagination?: {
589
+ offset?: number | undefined;
590
+ limit?: number | undefined;
591
+ includeTotalGroups?: boolean | undefined;
592
+ } | undefined;
593
+ } | {
594
+ kind: "graph";
595
+ from: {
596
+ source: "ontology" | "workflow-outputs" | "telemetry";
597
+ ontologyId: string;
598
+ workflowId?: string | undefined;
599
+ includeSharedSlices?: boolean | undefined;
600
+ };
601
+ graph: {
602
+ graphKind: "schema" | "cooccurrence" | "bipartite-cosine" | "focus-star" | "ontology-relation" | "record-clustering" | "field-tag-hub";
603
+ maxHops: number;
604
+ nodeLabelField?: string | undefined;
605
+ edgeRelationFields?: string[] | undefined;
606
+ };
607
+ where?: import("..").ViewSqlWhere | undefined;
608
+ limit?: number | undefined;
609
+ } | {
610
+ kind: "insert" | "update" | "delete";
611
+ ontologyId: string;
612
+ values?: Record<string, import("..").JsonValue> | undefined;
613
+ where?: import("..").ViewSqlWhere | undefined;
614
+ } | {
615
+ kind: "call";
616
+ workflowId: string;
617
+ pageType: "process" | "preview" | "log" | "chat" | "api";
618
+ inputMapping?: Record<string, import("..").JsonValue> | undefined;
619
+ outputStrategy?: "default-result-ontology" | "domain-ontology" | "ledger-only" | "column-writeback" | undefined;
620
+ }>;
621
+ parameters?: Record<string, import("..").JsonValue> | undefined;
622
+ cache?: {
623
+ mode: "realtime" | "cached" | "stale-while-revalidate" | "materialized";
624
+ ttlSeconds?: number | undefined;
625
+ } | undefined;
626
+ } | undefined;
460
627
  };
461
628
  capabilityInstances: {
462
629
  instanceId: string;
@@ -3110,7 +3277,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3110
3277
  };
3111
3278
  scroll: {
3112
3279
  owner: "provider" | "page" | "surface";
3113
- axis: "x" | "y" | "none" | "both";
3280
+ axis: "both" | "x" | "y" | "none";
3114
3281
  virtualizationBoundary: boolean;
3115
3282
  restoreKey?: string | undefined;
3116
3283
  };
@@ -3128,9 +3295,11 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3128
3295
  focusReturn: boolean;
3129
3296
  };
3130
3297
  layout: {
3131
- mode: "grid" | "block" | "contents" | "flex" | "absolute";
3132
- direction?: "row" | "column" | undefined;
3298
+ mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
3299
+ direction?: "column" | "row" | undefined;
3133
3300
  columns?: number | undefined;
3301
+ rowHeight?: number | undefined;
3302
+ gap?: number | undefined;
3134
3303
  align?: "start" | "center" | "end" | "stretch" | undefined;
3135
3304
  justify?: "between" | "start" | "center" | "end" | "around" | undefined;
3136
3305
  gapTokenRef?: {
@@ -3142,9 +3311,11 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3142
3311
  };
3143
3312
  responsive: {
3144
3313
  layout: {
3145
- mode: "grid" | "block" | "contents" | "flex" | "absolute";
3146
- direction?: "row" | "column" | undefined;
3314
+ mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
3315
+ direction?: "column" | "row" | undefined;
3147
3316
  columns?: number | undefined;
3317
+ rowHeight?: number | undefined;
3318
+ gap?: number | undefined;
3148
3319
  align?: "start" | "center" | "end" | "stretch" | undefined;
3149
3320
  justify?: "between" | "start" | "center" | "end" | "around" | undefined;
3150
3321
  gapTokenRef?: {
@@ -3186,7 +3357,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3186
3357
  fontFamily?: string | number | undefined;
3187
3358
  fontWeight?: string | number | undefined;
3188
3359
  lineHeight?: string | number | undefined;
3189
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
3360
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
3190
3361
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
3191
3362
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
3192
3363
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -3201,7 +3372,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3201
3372
  gridColumn?: string | number | undefined;
3202
3373
  gridRow?: string | number | undefined;
3203
3374
  flex?: string | number | undefined;
3204
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
3375
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
3205
3376
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
3206
3377
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
3207
3378
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -3242,6 +3413,34 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3242
3413
  version?: string | number | undefined;
3243
3414
  ownerRepo?: string | undefined;
3244
3415
  } | undefined;
3416
+ placement?: {
3417
+ grid?: {
3418
+ x: number;
3419
+ y: number;
3420
+ w: number;
3421
+ h: number;
3422
+ minW?: number | undefined;
3423
+ minH?: number | undefined;
3424
+ } | undefined;
3425
+ split?: {
3426
+ size?: string | number | undefined;
3427
+ minSize?: string | number | undefined;
3428
+ maxSize?: string | number | undefined;
3429
+ collapsible?: boolean | undefined;
3430
+ collapsed?: boolean | undefined;
3431
+ } | undefined;
3432
+ tab?: {
3433
+ label?: string | Record<string, string> | undefined;
3434
+ icon?: string | undefined;
3435
+ } | undefined;
3436
+ } | undefined;
3437
+ dataBinding?: import("..").RenderBentoBinding | undefined;
3438
+ module?: {
3439
+ id: string;
3440
+ granularity: "atomic" | "macro";
3441
+ title?: string | Record<string, string> | undefined;
3442
+ props?: Record<string, import("..").JsonValue> | undefined;
3443
+ } | undefined;
3245
3444
  dynamicLayout?: {
3246
3445
  visibleWhen?: import("..").PageExpression | undefined;
3247
3446
  columns?: import("..").PageExpression | undefined;
@@ -3279,7 +3478,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3279
3478
  fontFamily?: string | number | undefined;
3280
3479
  fontWeight?: string | number | undefined;
3281
3480
  lineHeight?: string | number | undefined;
3282
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
3481
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
3283
3482
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
3284
3483
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
3285
3484
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -3294,7 +3493,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3294
3493
  gridColumn?: string | number | undefined;
3295
3494
  gridRow?: string | number | undefined;
3296
3495
  flex?: string | number | undefined;
3297
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
3496
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
3298
3497
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
3299
3498
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
3300
3499
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -3332,6 +3531,141 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3332
3531
  limit: number;
3333
3532
  } | undefined;
3334
3533
  }[];
3534
+ data?: {
3535
+ statements: Record<string, {
3536
+ kind: "select";
3537
+ from: {
3538
+ source: "ontology" | "workflow-outputs" | "telemetry";
3539
+ ontologyId: string;
3540
+ workflowId?: string | undefined;
3541
+ includeSharedSlices?: boolean | undefined;
3542
+ };
3543
+ select?: {
3544
+ baseColumns?: string[] | undefined;
3545
+ propertyColumns?: string[] | undefined;
3546
+ featureColumns?: string[] | undefined;
3547
+ tagGroupColumns?: string[] | undefined;
3548
+ columnOrder?: string[] | undefined;
3549
+ } | undefined;
3550
+ where?: import("..").ViewSqlWhere | undefined;
3551
+ orderBy?: {
3552
+ field: string;
3553
+ kind: "feature" | "builtin";
3554
+ direction: "asc" | "desc";
3555
+ nulls?: "first" | "last" | undefined;
3556
+ }[] | undefined;
3557
+ limit?: number | undefined;
3558
+ } | {
3559
+ kind: "aggregate";
3560
+ from: {
3561
+ source: "ontology" | "workflow-outputs" | "telemetry";
3562
+ ontologyId: string;
3563
+ workflowId?: string | undefined;
3564
+ includeSharedSlices?: boolean | undefined;
3565
+ };
3566
+ metrics: {
3567
+ alias: string;
3568
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
3569
+ fieldKey?: string | undefined;
3570
+ numeric?: boolean | undefined;
3571
+ percentile?: number | undefined;
3572
+ trimTopPct?: number | undefined;
3573
+ orderColumnId?: string | undefined;
3574
+ filter?: import("..").ViewSqlWhere | undefined;
3575
+ }[];
3576
+ where?: import("..").ViewSqlWhere | undefined;
3577
+ groupBy?: string[] | undefined;
3578
+ orderBy?: {
3579
+ field: string;
3580
+ kind: "feature" | "builtin";
3581
+ direction: "asc" | "desc";
3582
+ nulls?: "first" | "last" | undefined;
3583
+ }[] | undefined;
3584
+ limit?: number | undefined;
3585
+ engine?: "auto" | "search" | "canonical" | undefined;
3586
+ allTeams?: boolean | undefined;
3587
+ exact?: boolean | undefined;
3588
+ includeTotals?: boolean | undefined;
3589
+ timeBucket?: {
3590
+ column: string;
3591
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
3592
+ timezone?: string | undefined;
3593
+ fillGaps?: boolean | undefined;
3594
+ } | undefined;
3595
+ joins?: {
3596
+ alias: string;
3597
+ ontologyId: string;
3598
+ assetType?: string | undefined;
3599
+ joinType?: "inner" | "left" | undefined;
3600
+ viaRelation?: {
3601
+ columnId: string;
3602
+ direction: "outgoing" | "incoming";
3603
+ } | undefined;
3604
+ onColumn?: {
3605
+ localColumnId: string;
3606
+ foreignColumnId?: string | undefined;
3607
+ foreignAssetId?: boolean | undefined;
3608
+ } | undefined;
3609
+ }[] | undefined;
3610
+ hierarchyScopes?: {
3611
+ ontologyId: string;
3612
+ relationColumnId: string;
3613
+ direction: "outgoing" | "incoming";
3614
+ seedIds: string[];
3615
+ targetAlias?: string | undefined;
3616
+ localColumnId?: string | undefined;
3617
+ maxDepth?: number | undefined;
3618
+ includeSelf?: boolean | undefined;
3619
+ }[] | undefined;
3620
+ unwind?: {
3621
+ columnId: string;
3622
+ jsonPath?: string[] | undefined;
3623
+ preserveEmpty?: boolean | undefined;
3624
+ } | undefined;
3625
+ having?: {
3626
+ key: string;
3627
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
3628
+ value: number;
3629
+ }[] | undefined;
3630
+ pagination?: {
3631
+ offset?: number | undefined;
3632
+ limit?: number | undefined;
3633
+ includeTotalGroups?: boolean | undefined;
3634
+ } | undefined;
3635
+ } | {
3636
+ kind: "graph";
3637
+ from: {
3638
+ source: "ontology" | "workflow-outputs" | "telemetry";
3639
+ ontologyId: string;
3640
+ workflowId?: string | undefined;
3641
+ includeSharedSlices?: boolean | undefined;
3642
+ };
3643
+ graph: {
3644
+ graphKind: "schema" | "cooccurrence" | "bipartite-cosine" | "focus-star" | "ontology-relation" | "record-clustering" | "field-tag-hub";
3645
+ maxHops: number;
3646
+ nodeLabelField?: string | undefined;
3647
+ edgeRelationFields?: string[] | undefined;
3648
+ };
3649
+ where?: import("..").ViewSqlWhere | undefined;
3650
+ limit?: number | undefined;
3651
+ } | {
3652
+ kind: "insert" | "update" | "delete";
3653
+ ontologyId: string;
3654
+ values?: Record<string, import("..").JsonValue> | undefined;
3655
+ where?: import("..").ViewSqlWhere | undefined;
3656
+ } | {
3657
+ kind: "call";
3658
+ workflowId: string;
3659
+ pageType: "process" | "preview" | "log" | "chat" | "api";
3660
+ inputMapping?: Record<string, import("..").JsonValue> | undefined;
3661
+ outputStrategy?: "default-result-ontology" | "domain-ontology" | "ledger-only" | "column-writeback" | undefined;
3662
+ }>;
3663
+ parameters?: Record<string, import("..").JsonValue> | undefined;
3664
+ cache?: {
3665
+ mode: "realtime" | "cached" | "stale-while-revalidate" | "materialized";
3666
+ ttlSeconds?: number | undefined;
3667
+ } | undefined;
3668
+ } | undefined;
3335
3669
  };
3336
3670
  capabilityInstances: {
3337
3671
  instanceId: string;
@@ -5994,7 +6328,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
5994
6328
  };
5995
6329
  scroll: {
5996
6330
  owner: "provider" | "page" | "surface";
5997
- axis: "x" | "y" | "none" | "both";
6331
+ axis: "both" | "x" | "y" | "none";
5998
6332
  virtualizationBoundary: boolean;
5999
6333
  restoreKey?: string | undefined;
6000
6334
  };
@@ -6012,9 +6346,11 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6012
6346
  focusReturn: boolean;
6013
6347
  };
6014
6348
  layout: {
6015
- mode: "grid" | "block" | "contents" | "flex" | "absolute";
6016
- direction?: "row" | "column" | undefined;
6349
+ mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
6350
+ direction?: "column" | "row" | undefined;
6017
6351
  columns?: number | undefined;
6352
+ rowHeight?: number | undefined;
6353
+ gap?: number | undefined;
6018
6354
  align?: "start" | "center" | "end" | "stretch" | undefined;
6019
6355
  justify?: "between" | "start" | "center" | "end" | "around" | undefined;
6020
6356
  gapTokenRef?: {
@@ -6026,9 +6362,11 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6026
6362
  };
6027
6363
  responsive: {
6028
6364
  layout: {
6029
- mode: "grid" | "block" | "contents" | "flex" | "absolute";
6030
- direction?: "row" | "column" | undefined;
6365
+ mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
6366
+ direction?: "column" | "row" | undefined;
6031
6367
  columns?: number | undefined;
6368
+ rowHeight?: number | undefined;
6369
+ gap?: number | undefined;
6032
6370
  align?: "start" | "center" | "end" | "stretch" | undefined;
6033
6371
  justify?: "between" | "start" | "center" | "end" | "around" | undefined;
6034
6372
  gapTokenRef?: {
@@ -6070,7 +6408,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6070
6408
  fontFamily?: string | number | undefined;
6071
6409
  fontWeight?: string | number | undefined;
6072
6410
  lineHeight?: string | number | undefined;
6073
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
6411
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
6074
6412
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
6075
6413
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
6076
6414
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -6085,7 +6423,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6085
6423
  gridColumn?: string | number | undefined;
6086
6424
  gridRow?: string | number | undefined;
6087
6425
  flex?: string | number | undefined;
6088
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
6426
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
6089
6427
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
6090
6428
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
6091
6429
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -6126,6 +6464,34 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6126
6464
  version?: string | number | undefined;
6127
6465
  ownerRepo?: string | undefined;
6128
6466
  } | undefined;
6467
+ placement?: {
6468
+ grid?: {
6469
+ x: number;
6470
+ y: number;
6471
+ w: number;
6472
+ h: number;
6473
+ minW?: number | undefined;
6474
+ minH?: number | undefined;
6475
+ } | undefined;
6476
+ split?: {
6477
+ size?: string | number | undefined;
6478
+ minSize?: string | number | undefined;
6479
+ maxSize?: string | number | undefined;
6480
+ collapsible?: boolean | undefined;
6481
+ collapsed?: boolean | undefined;
6482
+ } | undefined;
6483
+ tab?: {
6484
+ label?: string | Record<string, string> | undefined;
6485
+ icon?: string | undefined;
6486
+ } | undefined;
6487
+ } | undefined;
6488
+ dataBinding?: import("..").RenderBentoBinding | undefined;
6489
+ module?: {
6490
+ id: string;
6491
+ granularity: "atomic" | "macro";
6492
+ title?: string | Record<string, string> | undefined;
6493
+ props?: Record<string, import("..").JsonValue> | undefined;
6494
+ } | undefined;
6129
6495
  dynamicLayout?: {
6130
6496
  visibleWhen?: import("..").PageExpression | undefined;
6131
6497
  columns?: import("..").PageExpression | undefined;
@@ -6163,7 +6529,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6163
6529
  fontFamily?: string | number | undefined;
6164
6530
  fontWeight?: string | number | undefined;
6165
6531
  lineHeight?: string | number | undefined;
6166
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
6532
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
6167
6533
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
6168
6534
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
6169
6535
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -6178,7 +6544,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6178
6544
  gridColumn?: string | number | undefined;
6179
6545
  gridRow?: string | number | undefined;
6180
6546
  flex?: string | number | undefined;
6181
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
6547
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
6182
6548
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
6183
6549
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
6184
6550
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -6216,6 +6582,141 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6216
6582
  limit: number;
6217
6583
  } | undefined;
6218
6584
  }[];
6585
+ data?: {
6586
+ statements: Record<string, {
6587
+ kind: "select";
6588
+ from: {
6589
+ source: "ontology" | "workflow-outputs" | "telemetry";
6590
+ ontologyId: string;
6591
+ workflowId?: string | undefined;
6592
+ includeSharedSlices?: boolean | undefined;
6593
+ };
6594
+ select?: {
6595
+ baseColumns?: string[] | undefined;
6596
+ propertyColumns?: string[] | undefined;
6597
+ featureColumns?: string[] | undefined;
6598
+ tagGroupColumns?: string[] | undefined;
6599
+ columnOrder?: string[] | undefined;
6600
+ } | undefined;
6601
+ where?: import("..").ViewSqlWhere | undefined;
6602
+ orderBy?: {
6603
+ field: string;
6604
+ kind: "feature" | "builtin";
6605
+ direction: "asc" | "desc";
6606
+ nulls?: "first" | "last" | undefined;
6607
+ }[] | undefined;
6608
+ limit?: number | undefined;
6609
+ } | {
6610
+ kind: "aggregate";
6611
+ from: {
6612
+ source: "ontology" | "workflow-outputs" | "telemetry";
6613
+ ontologyId: string;
6614
+ workflowId?: string | undefined;
6615
+ includeSharedSlices?: boolean | undefined;
6616
+ };
6617
+ metrics: {
6618
+ alias: string;
6619
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
6620
+ fieldKey?: string | undefined;
6621
+ numeric?: boolean | undefined;
6622
+ percentile?: number | undefined;
6623
+ trimTopPct?: number | undefined;
6624
+ orderColumnId?: string | undefined;
6625
+ filter?: import("..").ViewSqlWhere | undefined;
6626
+ }[];
6627
+ where?: import("..").ViewSqlWhere | undefined;
6628
+ groupBy?: string[] | undefined;
6629
+ orderBy?: {
6630
+ field: string;
6631
+ kind: "feature" | "builtin";
6632
+ direction: "asc" | "desc";
6633
+ nulls?: "first" | "last" | undefined;
6634
+ }[] | undefined;
6635
+ limit?: number | undefined;
6636
+ engine?: "auto" | "search" | "canonical" | undefined;
6637
+ allTeams?: boolean | undefined;
6638
+ exact?: boolean | undefined;
6639
+ includeTotals?: boolean | undefined;
6640
+ timeBucket?: {
6641
+ column: string;
6642
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
6643
+ timezone?: string | undefined;
6644
+ fillGaps?: boolean | undefined;
6645
+ } | undefined;
6646
+ joins?: {
6647
+ alias: string;
6648
+ ontologyId: string;
6649
+ assetType?: string | undefined;
6650
+ joinType?: "inner" | "left" | undefined;
6651
+ viaRelation?: {
6652
+ columnId: string;
6653
+ direction: "outgoing" | "incoming";
6654
+ } | undefined;
6655
+ onColumn?: {
6656
+ localColumnId: string;
6657
+ foreignColumnId?: string | undefined;
6658
+ foreignAssetId?: boolean | undefined;
6659
+ } | undefined;
6660
+ }[] | undefined;
6661
+ hierarchyScopes?: {
6662
+ ontologyId: string;
6663
+ relationColumnId: string;
6664
+ direction: "outgoing" | "incoming";
6665
+ seedIds: string[];
6666
+ targetAlias?: string | undefined;
6667
+ localColumnId?: string | undefined;
6668
+ maxDepth?: number | undefined;
6669
+ includeSelf?: boolean | undefined;
6670
+ }[] | undefined;
6671
+ unwind?: {
6672
+ columnId: string;
6673
+ jsonPath?: string[] | undefined;
6674
+ preserveEmpty?: boolean | undefined;
6675
+ } | undefined;
6676
+ having?: {
6677
+ key: string;
6678
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
6679
+ value: number;
6680
+ }[] | undefined;
6681
+ pagination?: {
6682
+ offset?: number | undefined;
6683
+ limit?: number | undefined;
6684
+ includeTotalGroups?: boolean | undefined;
6685
+ } | undefined;
6686
+ } | {
6687
+ kind: "graph";
6688
+ from: {
6689
+ source: "ontology" | "workflow-outputs" | "telemetry";
6690
+ ontologyId: string;
6691
+ workflowId?: string | undefined;
6692
+ includeSharedSlices?: boolean | undefined;
6693
+ };
6694
+ graph: {
6695
+ graphKind: "schema" | "cooccurrence" | "bipartite-cosine" | "focus-star" | "ontology-relation" | "record-clustering" | "field-tag-hub";
6696
+ maxHops: number;
6697
+ nodeLabelField?: string | undefined;
6698
+ edgeRelationFields?: string[] | undefined;
6699
+ };
6700
+ where?: import("..").ViewSqlWhere | undefined;
6701
+ limit?: number | undefined;
6702
+ } | {
6703
+ kind: "insert" | "update" | "delete";
6704
+ ontologyId: string;
6705
+ values?: Record<string, import("..").JsonValue> | undefined;
6706
+ where?: import("..").ViewSqlWhere | undefined;
6707
+ } | {
6708
+ kind: "call";
6709
+ workflowId: string;
6710
+ pageType: "process" | "preview" | "log" | "chat" | "api";
6711
+ inputMapping?: Record<string, import("..").JsonValue> | undefined;
6712
+ outputStrategy?: "default-result-ontology" | "domain-ontology" | "ledger-only" | "column-writeback" | undefined;
6713
+ }>;
6714
+ parameters?: Record<string, import("..").JsonValue> | undefined;
6715
+ cache?: {
6716
+ mode: "realtime" | "cached" | "stale-while-revalidate" | "materialized";
6717
+ ttlSeconds?: number | undefined;
6718
+ } | undefined;
6719
+ } | undefined;
6219
6720
  };
6220
6721
  capabilityInstances: {
6221
6722
  instanceId: string;
@@ -8869,7 +9370,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8869
9370
  };
8870
9371
  scroll: {
8871
9372
  owner: "provider" | "page" | "surface";
8872
- axis: "x" | "y" | "none" | "both";
9373
+ axis: "both" | "x" | "y" | "none";
8873
9374
  virtualizationBoundary: boolean;
8874
9375
  restoreKey?: string | undefined;
8875
9376
  };
@@ -8887,9 +9388,11 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8887
9388
  focusReturn: boolean;
8888
9389
  };
8889
9390
  layout: {
8890
- mode: "grid" | "block" | "contents" | "flex" | "absolute";
8891
- direction?: "row" | "column" | undefined;
9391
+ mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
9392
+ direction?: "column" | "row" | undefined;
8892
9393
  columns?: number | undefined;
9394
+ rowHeight?: number | undefined;
9395
+ gap?: number | undefined;
8893
9396
  align?: "start" | "center" | "end" | "stretch" | undefined;
8894
9397
  justify?: "between" | "start" | "center" | "end" | "around" | undefined;
8895
9398
  gapTokenRef?: {
@@ -8901,9 +9404,11 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8901
9404
  };
8902
9405
  responsive: {
8903
9406
  layout: {
8904
- mode: "grid" | "block" | "contents" | "flex" | "absolute";
8905
- direction?: "row" | "column" | undefined;
9407
+ mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
9408
+ direction?: "column" | "row" | undefined;
8906
9409
  columns?: number | undefined;
9410
+ rowHeight?: number | undefined;
9411
+ gap?: number | undefined;
8907
9412
  align?: "start" | "center" | "end" | "stretch" | undefined;
8908
9413
  justify?: "between" | "start" | "center" | "end" | "around" | undefined;
8909
9414
  gapTokenRef?: {
@@ -8945,7 +9450,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8945
9450
  fontFamily?: string | number | undefined;
8946
9451
  fontWeight?: string | number | undefined;
8947
9452
  lineHeight?: string | number | undefined;
8948
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
9453
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
8949
9454
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
8950
9455
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
8951
9456
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -8960,7 +9465,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8960
9465
  gridColumn?: string | number | undefined;
8961
9466
  gridRow?: string | number | undefined;
8962
9467
  flex?: string | number | undefined;
8963
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
9468
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
8964
9469
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
8965
9470
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
8966
9471
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -9001,6 +9506,34 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9001
9506
  version?: string | number | undefined;
9002
9507
  ownerRepo?: string | undefined;
9003
9508
  } | undefined;
9509
+ placement?: {
9510
+ grid?: {
9511
+ x: number;
9512
+ y: number;
9513
+ w: number;
9514
+ h: number;
9515
+ minW?: number | undefined;
9516
+ minH?: number | undefined;
9517
+ } | undefined;
9518
+ split?: {
9519
+ size?: string | number | undefined;
9520
+ minSize?: string | number | undefined;
9521
+ maxSize?: string | number | undefined;
9522
+ collapsible?: boolean | undefined;
9523
+ collapsed?: boolean | undefined;
9524
+ } | undefined;
9525
+ tab?: {
9526
+ label?: string | Record<string, string> | undefined;
9527
+ icon?: string | undefined;
9528
+ } | undefined;
9529
+ } | undefined;
9530
+ dataBinding?: import("..").RenderBentoBinding | undefined;
9531
+ module?: {
9532
+ id: string;
9533
+ granularity: "atomic" | "macro";
9534
+ title?: string | Record<string, string> | undefined;
9535
+ props?: Record<string, import("..").JsonValue> | undefined;
9536
+ } | undefined;
9004
9537
  dynamicLayout?: {
9005
9538
  visibleWhen?: import("..").PageExpression | undefined;
9006
9539
  columns?: import("..").PageExpression | undefined;
@@ -9038,7 +9571,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9038
9571
  fontFamily?: string | number | undefined;
9039
9572
  fontWeight?: string | number | undefined;
9040
9573
  lineHeight?: string | number | undefined;
9041
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
9574
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
9042
9575
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
9043
9576
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
9044
9577
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -9053,7 +9586,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9053
9586
  gridColumn?: string | number | undefined;
9054
9587
  gridRow?: string | number | undefined;
9055
9588
  flex?: string | number | undefined;
9056
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
9589
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
9057
9590
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
9058
9591
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
9059
9592
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -9091,6 +9624,141 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9091
9624
  limit: number;
9092
9625
  } | undefined;
9093
9626
  }[];
9627
+ data?: {
9628
+ statements: Record<string, {
9629
+ kind: "select";
9630
+ from: {
9631
+ source: "ontology" | "workflow-outputs" | "telemetry";
9632
+ ontologyId: string;
9633
+ workflowId?: string | undefined;
9634
+ includeSharedSlices?: boolean | undefined;
9635
+ };
9636
+ select?: {
9637
+ baseColumns?: string[] | undefined;
9638
+ propertyColumns?: string[] | undefined;
9639
+ featureColumns?: string[] | undefined;
9640
+ tagGroupColumns?: string[] | undefined;
9641
+ columnOrder?: string[] | undefined;
9642
+ } | undefined;
9643
+ where?: import("..").ViewSqlWhere | undefined;
9644
+ orderBy?: {
9645
+ field: string;
9646
+ kind: "feature" | "builtin";
9647
+ direction: "asc" | "desc";
9648
+ nulls?: "first" | "last" | undefined;
9649
+ }[] | undefined;
9650
+ limit?: number | undefined;
9651
+ } | {
9652
+ kind: "aggregate";
9653
+ from: {
9654
+ source: "ontology" | "workflow-outputs" | "telemetry";
9655
+ ontologyId: string;
9656
+ workflowId?: string | undefined;
9657
+ includeSharedSlices?: boolean | undefined;
9658
+ };
9659
+ metrics: {
9660
+ alias: string;
9661
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
9662
+ fieldKey?: string | undefined;
9663
+ numeric?: boolean | undefined;
9664
+ percentile?: number | undefined;
9665
+ trimTopPct?: number | undefined;
9666
+ orderColumnId?: string | undefined;
9667
+ filter?: import("..").ViewSqlWhere | undefined;
9668
+ }[];
9669
+ where?: import("..").ViewSqlWhere | undefined;
9670
+ groupBy?: string[] | undefined;
9671
+ orderBy?: {
9672
+ field: string;
9673
+ kind: "feature" | "builtin";
9674
+ direction: "asc" | "desc";
9675
+ nulls?: "first" | "last" | undefined;
9676
+ }[] | undefined;
9677
+ limit?: number | undefined;
9678
+ engine?: "auto" | "search" | "canonical" | undefined;
9679
+ allTeams?: boolean | undefined;
9680
+ exact?: boolean | undefined;
9681
+ includeTotals?: boolean | undefined;
9682
+ timeBucket?: {
9683
+ column: string;
9684
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
9685
+ timezone?: string | undefined;
9686
+ fillGaps?: boolean | undefined;
9687
+ } | undefined;
9688
+ joins?: {
9689
+ alias: string;
9690
+ ontologyId: string;
9691
+ assetType?: string | undefined;
9692
+ joinType?: "inner" | "left" | undefined;
9693
+ viaRelation?: {
9694
+ columnId: string;
9695
+ direction: "outgoing" | "incoming";
9696
+ } | undefined;
9697
+ onColumn?: {
9698
+ localColumnId: string;
9699
+ foreignColumnId?: string | undefined;
9700
+ foreignAssetId?: boolean | undefined;
9701
+ } | undefined;
9702
+ }[] | undefined;
9703
+ hierarchyScopes?: {
9704
+ ontologyId: string;
9705
+ relationColumnId: string;
9706
+ direction: "outgoing" | "incoming";
9707
+ seedIds: string[];
9708
+ targetAlias?: string | undefined;
9709
+ localColumnId?: string | undefined;
9710
+ maxDepth?: number | undefined;
9711
+ includeSelf?: boolean | undefined;
9712
+ }[] | undefined;
9713
+ unwind?: {
9714
+ columnId: string;
9715
+ jsonPath?: string[] | undefined;
9716
+ preserveEmpty?: boolean | undefined;
9717
+ } | undefined;
9718
+ having?: {
9719
+ key: string;
9720
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
9721
+ value: number;
9722
+ }[] | undefined;
9723
+ pagination?: {
9724
+ offset?: number | undefined;
9725
+ limit?: number | undefined;
9726
+ includeTotalGroups?: boolean | undefined;
9727
+ } | undefined;
9728
+ } | {
9729
+ kind: "graph";
9730
+ from: {
9731
+ source: "ontology" | "workflow-outputs" | "telemetry";
9732
+ ontologyId: string;
9733
+ workflowId?: string | undefined;
9734
+ includeSharedSlices?: boolean | undefined;
9735
+ };
9736
+ graph: {
9737
+ graphKind: "schema" | "cooccurrence" | "bipartite-cosine" | "focus-star" | "ontology-relation" | "record-clustering" | "field-tag-hub";
9738
+ maxHops: number;
9739
+ nodeLabelField?: string | undefined;
9740
+ edgeRelationFields?: string[] | undefined;
9741
+ };
9742
+ where?: import("..").ViewSqlWhere | undefined;
9743
+ limit?: number | undefined;
9744
+ } | {
9745
+ kind: "insert" | "update" | "delete";
9746
+ ontologyId: string;
9747
+ values?: Record<string, import("..").JsonValue> | undefined;
9748
+ where?: import("..").ViewSqlWhere | undefined;
9749
+ } | {
9750
+ kind: "call";
9751
+ workflowId: string;
9752
+ pageType: "process" | "preview" | "log" | "chat" | "api";
9753
+ inputMapping?: Record<string, import("..").JsonValue> | undefined;
9754
+ outputStrategy?: "default-result-ontology" | "domain-ontology" | "ledger-only" | "column-writeback" | undefined;
9755
+ }>;
9756
+ parameters?: Record<string, import("..").JsonValue> | undefined;
9757
+ cache?: {
9758
+ mode: "realtime" | "cached" | "stale-while-revalidate" | "materialized";
9759
+ ttlSeconds?: number | undefined;
9760
+ } | undefined;
9761
+ } | undefined;
9094
9762
  };
9095
9763
  capabilityInstances: {
9096
9764
  instanceId: string;