@inf-monkeys-tech/monkeys 1.1.59 → 1.1.61

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 (87) hide show
  1. package/lib/contracts/agent-data.d.ts +53 -0
  2. package/lib/contracts/agent-data.d.ts.map +1 -1
  3. package/lib/contracts/agent-data.js +46 -1
  4. package/lib/contracts/agent-data.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +971 -188
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +166 -48
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control.js +74 -4
  10. package/lib/contracts/declarative-control.js.map +1 -1
  11. package/lib/contracts/declarative-document-import.d.ts +60 -45
  12. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  13. package/lib/contracts/declarative-publication-job.d.ts +200 -8
  14. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  15. package/lib/contracts/index.d.ts +1 -0
  16. package/lib/contracts/index.d.ts.map +1 -1
  17. package/lib/contracts/index.js +1 -0
  18. package/lib/contracts/index.js.map +1 -1
  19. package/lib/contracts/menu.d.ts +12 -9
  20. package/lib/contracts/menu.d.ts.map +1 -1
  21. package/lib/contracts/page.d.ts +36 -27
  22. package/lib/contracts/page.d.ts.map +1 -1
  23. package/lib/contracts/render.d.ts +34 -5
  24. package/lib/contracts/render.d.ts.map +1 -1
  25. package/lib/contracts/render.js +11 -1
  26. package/lib/contracts/render.js.map +1 -1
  27. package/lib/contracts/semantic.d.ts +14 -11
  28. package/lib/contracts/semantic.d.ts.map +1 -1
  29. package/lib/contracts/tenant.d.ts +60 -45
  30. package/lib/contracts/tenant.d.ts.map +1 -1
  31. package/lib/contracts/unified-view.d.ts +718 -0
  32. package/lib/contracts/unified-view.d.ts.map +1 -0
  33. package/lib/contracts/unified-view.js +362 -0
  34. package/lib/contracts/unified-view.js.map +1 -0
  35. package/lib/esm/{chunk-WYIVUDQH.mjs → chunk-43N4Q3U7.mjs} +42 -42
  36. package/lib/esm/chunk-43N4Q3U7.mjs.map +1 -0
  37. package/lib/esm/{chunk-6AX5KAJM.mjs → chunk-7MUE4GTZ.mjs} +142 -27
  38. package/lib/esm/chunk-7MUE4GTZ.mjs.map +1 -0
  39. package/lib/esm/{chunk-VX54ES4K.mjs → chunk-DPHV7ES3.mjs} +220 -6
  40. package/lib/esm/chunk-DPHV7ES3.mjs.map +1 -0
  41. package/lib/esm/{chunk-J6ZVASVX.mjs → chunk-NKTRUUOP.mjs} +4206 -2762
  42. package/lib/esm/chunk-NKTRUUOP.mjs.map +1 -0
  43. package/lib/esm/contracts/index.mjs +144 -96
  44. package/lib/esm/index.mjs +224 -160
  45. package/lib/esm/index.mjs.map +1 -1
  46. package/lib/esm/runtime/index.mjs +19 -3
  47. package/lib/esm/schemas/index.mjs +110 -72
  48. package/lib/json-schema/index.json +1 -0
  49. package/lib/json-schema/overlay-node.schema.json +67 -46
  50. package/lib/json-schema/page-definition.schema.json +51 -64
  51. package/lib/json-schema/page-runtime-bundle.schema.json +151 -71
  52. package/lib/json-schema/page-runtime-descriptor.schema.json +51 -64
  53. package/lib/json-schema/page.schema.json +82 -74
  54. package/lib/json-schema/product-declaration.schema.json +17 -30
  55. package/lib/json-schema/render-node.schema.json +67 -46
  56. package/lib/json-schema/render-tree.schema.json +67 -46
  57. package/lib/json-schema/tenant-product-config.schema.json +17 -30
  58. package/lib/json-schema/tenant-runtime-config.schema.json +17 -30
  59. package/lib/json-schema/view-ontology-record.schema.json +1042 -0
  60. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  61. package/lib/runtime/declarative-control-compiler.js +5 -0
  62. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  63. package/lib/runtime/index.d.ts +1 -0
  64. package/lib/runtime/index.d.ts.map +1 -1
  65. package/lib/runtime/index.js +1 -0
  66. package/lib/runtime/index.js.map +1 -1
  67. package/lib/runtime/native-page-composition.d.ts +3 -0
  68. package/lib/runtime/native-page-composition.d.ts.map +1 -1
  69. package/lib/runtime/runtime-definition-wire.d.ts +100 -4
  70. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  71. package/lib/runtime/unified-view-compiler.d.ts +63 -0
  72. package/lib/runtime/unified-view-compiler.d.ts.map +1 -0
  73. package/lib/runtime/unified-view-compiler.js +225 -0
  74. package/lib/runtime/unified-view-compiler.js.map +1 -0
  75. package/lib/schemas/index.d.ts +329 -71
  76. package/lib/schemas/index.d.ts.map +1 -1
  77. package/lib/schemas/index.js +29 -6
  78. package/lib/schemas/index.js.map +1 -1
  79. package/package.json +2 -2
  80. package/lib/esm/chunk-2TZMP3VI.mjs +0 -1080
  81. package/lib/esm/chunk-2TZMP3VI.mjs.map +0 -1
  82. package/lib/esm/chunk-6AX5KAJM.mjs.map +0 -1
  83. package/lib/esm/chunk-J6ZVASVX.mjs.map +0 -1
  84. package/lib/esm/chunk-MEIIFDVZ.mjs +0 -78
  85. package/lib/esm/chunk-MEIIFDVZ.mjs.map +0 -1
  86. package/lib/esm/chunk-VX54ES4K.mjs.map +0 -1
  87. package/lib/esm/chunk-WYIVUDQH.mjs.map +0 -1
@@ -367,6 +367,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
367
367
  version?: string | number | undefined;
368
368
  ownerRepo?: string | undefined;
369
369
  } | undefined;
370
+ dynamicLayout?: {
371
+ visibleWhen?: import("..").PageExpression | undefined;
372
+ columns?: import("..").PageExpression | undefined;
373
+ gridTemplateColumns?: import("..").PageExpression | undefined;
374
+ flex?: import("..").PageExpression | undefined;
375
+ bentoSurface?: import("..").PageExpression | undefined;
376
+ } | undefined;
370
377
  style?: {
371
378
  width?: string | number | undefined;
372
379
  height?: string | number | undefined;
@@ -436,7 +443,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
436
443
  ownerRepo?: string | undefined;
437
444
  } | undefined;
438
445
  skeleton?: {
439
- kind: "canvas" | "auto" | "none" | "detail" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "table" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
446
+ kind: "canvas" | "auto" | "none" | "detail" | "table" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
440
447
  columns?: number | undefined;
441
448
  rows?: number | undefined;
442
449
  count?: number | undefined;
@@ -653,6 +660,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
653
660
  } | undefined;
654
661
  activationWhen?: import("..").PageStateActivation | undefined;
655
662
  loadingWhen?: import("..").PageExpression | undefined;
663
+ dynamicLayout?: {
664
+ visibleWhen?: import("..").PageExpression | undefined;
665
+ columns?: import("..").PageExpression | undefined;
666
+ gridTemplateColumns?: import("..").PageExpression | undefined;
667
+ flex?: import("..").PageExpression | undefined;
668
+ bentoSurface?: import("..").PageExpression | undefined;
669
+ } | undefined;
656
670
  }[];
657
671
  deniedCapabilityInstanceIds: string[];
658
672
  stateDefinitions: {
@@ -1980,6 +1994,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
1980
1994
  enabled: true;
1981
1995
  navigationPlacement: "studio.headbar.primary" | "kernel.primary";
1982
1996
  };
1997
+ workspaceModes?: {
1998
+ enabled: boolean;
1999
+ defaultMode: "gui" | "copilot" | "cui";
2000
+ allowedModes: ("gui" | "copilot" | "cui")[];
2001
+ copilotDefaultWidthPx?: number | undefined;
2002
+ defaultAgentId?: string | undefined;
2003
+ } | undefined;
1983
2004
  };
1984
2005
  ontologyBindings: {
1985
2006
  bindingId: string;
@@ -2265,6 +2286,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
2265
2286
  } | {
2266
2287
  kind: "page-state";
2267
2288
  stateId: string;
2289
+ } | {
2290
+ kind: "constant";
2291
+ value: import("..").JsonValue;
2268
2292
  }>;
2269
2293
  on: Record<string, {
2270
2294
  kind: "close";
@@ -3218,6 +3242,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3218
3242
  version?: string | number | undefined;
3219
3243
  ownerRepo?: string | undefined;
3220
3244
  } | undefined;
3245
+ dynamicLayout?: {
3246
+ visibleWhen?: import("..").PageExpression | undefined;
3247
+ columns?: import("..").PageExpression | undefined;
3248
+ gridTemplateColumns?: import("..").PageExpression | undefined;
3249
+ flex?: import("..").PageExpression | undefined;
3250
+ bentoSurface?: import("..").PageExpression | undefined;
3251
+ } | undefined;
3221
3252
  style?: {
3222
3253
  width?: string | number | undefined;
3223
3254
  height?: string | number | undefined;
@@ -3287,7 +3318,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3287
3318
  ownerRepo?: string | undefined;
3288
3319
  } | undefined;
3289
3320
  skeleton?: {
3290
- kind: "canvas" | "auto" | "none" | "detail" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "table" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
3321
+ kind: "canvas" | "auto" | "none" | "detail" | "table" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
3291
3322
  columns?: number | undefined;
3292
3323
  rows?: number | undefined;
3293
3324
  count?: number | undefined;
@@ -3504,6 +3535,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3504
3535
  } | undefined;
3505
3536
  activationWhen?: import("..").PageStateActivation | undefined;
3506
3537
  loadingWhen?: import("..").PageExpression | undefined;
3538
+ dynamicLayout?: {
3539
+ visibleWhen?: import("..").PageExpression | undefined;
3540
+ columns?: import("..").PageExpression | undefined;
3541
+ gridTemplateColumns?: import("..").PageExpression | undefined;
3542
+ flex?: import("..").PageExpression | undefined;
3543
+ bentoSurface?: import("..").PageExpression | undefined;
3544
+ } | undefined;
3507
3545
  }[];
3508
3546
  deniedCapabilityInstanceIds: string[];
3509
3547
  stateDefinitions: {
@@ -4831,6 +4869,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
4831
4869
  enabled: true;
4832
4870
  navigationPlacement: "studio.headbar.primary" | "kernel.primary";
4833
4871
  };
4872
+ workspaceModes?: {
4873
+ enabled: boolean;
4874
+ defaultMode: "gui" | "copilot" | "cui";
4875
+ allowedModes: ("gui" | "copilot" | "cui")[];
4876
+ copilotDefaultWidthPx?: number | undefined;
4877
+ defaultAgentId?: string | undefined;
4878
+ } | undefined;
4834
4879
  };
4835
4880
  ontologyBindings: {
4836
4881
  bindingId: string;
@@ -5116,6 +5161,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
5116
5161
  } | {
5117
5162
  kind: "page-state";
5118
5163
  stateId: string;
5164
+ } | {
5165
+ kind: "constant";
5166
+ value: import("..").JsonValue;
5119
5167
  }>;
5120
5168
  on: Record<string, {
5121
5169
  kind: "close";
@@ -6078,6 +6126,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6078
6126
  version?: string | number | undefined;
6079
6127
  ownerRepo?: string | undefined;
6080
6128
  } | undefined;
6129
+ dynamicLayout?: {
6130
+ visibleWhen?: import("..").PageExpression | undefined;
6131
+ columns?: import("..").PageExpression | undefined;
6132
+ gridTemplateColumns?: import("..").PageExpression | undefined;
6133
+ flex?: import("..").PageExpression | undefined;
6134
+ bentoSurface?: import("..").PageExpression | undefined;
6135
+ } | undefined;
6081
6136
  style?: {
6082
6137
  width?: string | number | undefined;
6083
6138
  height?: string | number | undefined;
@@ -6147,7 +6202,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6147
6202
  ownerRepo?: string | undefined;
6148
6203
  } | undefined;
6149
6204
  skeleton?: {
6150
- kind: "canvas" | "auto" | "none" | "detail" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "table" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
6205
+ kind: "canvas" | "auto" | "none" | "detail" | "table" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
6151
6206
  columns?: number | undefined;
6152
6207
  rows?: number | undefined;
6153
6208
  count?: number | undefined;
@@ -6364,6 +6419,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6364
6419
  } | undefined;
6365
6420
  activationWhen?: import("..").PageStateActivation | undefined;
6366
6421
  loadingWhen?: import("..").PageExpression | undefined;
6422
+ dynamicLayout?: {
6423
+ visibleWhen?: import("..").PageExpression | undefined;
6424
+ columns?: import("..").PageExpression | undefined;
6425
+ gridTemplateColumns?: import("..").PageExpression | undefined;
6426
+ flex?: import("..").PageExpression | undefined;
6427
+ bentoSurface?: import("..").PageExpression | undefined;
6428
+ } | undefined;
6367
6429
  }[];
6368
6430
  deniedCapabilityInstanceIds: string[];
6369
6431
  stateDefinitions: {
@@ -7691,6 +7753,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
7691
7753
  enabled: true;
7692
7754
  navigationPlacement: "studio.headbar.primary" | "kernel.primary";
7693
7755
  };
7756
+ workspaceModes?: {
7757
+ enabled: boolean;
7758
+ defaultMode: "gui" | "copilot" | "cui";
7759
+ allowedModes: ("gui" | "copilot" | "cui")[];
7760
+ copilotDefaultWidthPx?: number | undefined;
7761
+ defaultAgentId?: string | undefined;
7762
+ } | undefined;
7694
7763
  };
7695
7764
  ontologyBindings: {
7696
7765
  bindingId: string;
@@ -7976,6 +8045,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
7976
8045
  } | {
7977
8046
  kind: "page-state";
7978
8047
  stateId: string;
8048
+ } | {
8049
+ kind: "constant";
8050
+ value: import("..").JsonValue;
7979
8051
  }>;
7980
8052
  on: Record<string, {
7981
8053
  kind: "close";
@@ -8929,6 +9001,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8929
9001
  version?: string | number | undefined;
8930
9002
  ownerRepo?: string | undefined;
8931
9003
  } | undefined;
9004
+ dynamicLayout?: {
9005
+ visibleWhen?: import("..").PageExpression | undefined;
9006
+ columns?: import("..").PageExpression | undefined;
9007
+ gridTemplateColumns?: import("..").PageExpression | undefined;
9008
+ flex?: import("..").PageExpression | undefined;
9009
+ bentoSurface?: import("..").PageExpression | undefined;
9010
+ } | undefined;
8932
9011
  style?: {
8933
9012
  width?: string | number | undefined;
8934
9013
  height?: string | number | undefined;
@@ -8998,7 +9077,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8998
9077
  ownerRepo?: string | undefined;
8999
9078
  } | undefined;
9000
9079
  skeleton?: {
9001
- kind: "canvas" | "auto" | "none" | "detail" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "table" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
9080
+ kind: "canvas" | "auto" | "none" | "detail" | "table" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
9002
9081
  columns?: number | undefined;
9003
9082
  rows?: number | undefined;
9004
9083
  count?: number | undefined;
@@ -9215,6 +9294,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9215
9294
  } | undefined;
9216
9295
  activationWhen?: import("..").PageStateActivation | undefined;
9217
9296
  loadingWhen?: import("..").PageExpression | undefined;
9297
+ dynamicLayout?: {
9298
+ visibleWhen?: import("..").PageExpression | undefined;
9299
+ columns?: import("..").PageExpression | undefined;
9300
+ gridTemplateColumns?: import("..").PageExpression | undefined;
9301
+ flex?: import("..").PageExpression | undefined;
9302
+ bentoSurface?: import("..").PageExpression | undefined;
9303
+ } | undefined;
9218
9304
  }[];
9219
9305
  deniedCapabilityInstanceIds: string[];
9220
9306
  stateDefinitions: {
@@ -10542,6 +10628,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
10542
10628
  enabled: true;
10543
10629
  navigationPlacement: "studio.headbar.primary" | "kernel.primary";
10544
10630
  };
10631
+ workspaceModes?: {
10632
+ enabled: boolean;
10633
+ defaultMode: "gui" | "copilot" | "cui";
10634
+ allowedModes: ("gui" | "copilot" | "cui")[];
10635
+ copilotDefaultWidthPx?: number | undefined;
10636
+ defaultAgentId?: string | undefined;
10637
+ } | undefined;
10545
10638
  };
10546
10639
  ontologyBindings: {
10547
10640
  bindingId: string;
@@ -10827,6 +10920,9 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
10827
10920
  } | {
10828
10921
  kind: "page-state";
10829
10922
  stateId: string;
10923
+ } | {
10924
+ kind: "constant";
10925
+ value: import("..").JsonValue;
10830
10926
  }>;
10831
10927
  on: Record<string, {
10832
10928
  kind: "close";
@@ -1 +1 @@
1
- {"version":3,"file":"runtime-definition-wire.d.ts","sourceRoot":"","sources":["../../src/runtime/runtime-definition-wire.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAyC,KAAK,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAEpI,eAAO,MAAM,yBAAyB,kBAAkB,CAAC;AACzD,eAAO,MAAM,gCAAgC,wCAAwC,CAAC;AACtF,QAAA,MAAM,QAAQ,iCAAiC,CAAC;AAIhD,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,aAAa,EAAE,CAAC,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,EAAE,CAAC;CACnB;AA+BD,kGAAkG;AAClG,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,+BAA+B,GAAG,2BAA2B,CAoB3G;AAED,sG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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAGH,CAAC;AAE1C,eAAO,MAAM,qBAAqB,SAAU,MAAM,KAAG,MAGpD,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { type LocalizedText, type ShellMode, type ViewBentoType, type ViewCapability, type ViewDataDeclaration, type ViewBentoCanvas, type ViewOntologyRecord, type ViewShareLinkPolicy, type ViewSqlOrderBy, type ViewSqlSelectProjection, type ViewSqlWhere } from '../contracts';
2
+ /**
3
+ * Keyed collection rules for `GenericLoroBridge` (`loro-crdt`), enabling conflict-free
4
+ * multi-user & AI co-editing of both JSON source and visual Bento layout.
5
+ */
6
+ export declare const VIEW_LORO_KEYED_COLLECTIONS: readonly [{
7
+ readonly path: "ui.bentos";
8
+ readonly keyField: "bentoId";
9
+ }];
10
+ export declare function computeCanonicalViewHash(input: {
11
+ boundOntologyId: string;
12
+ data: ViewDataDeclaration;
13
+ ui: ViewBentoCanvas;
14
+ }): string;
15
+ export declare function buildDeterministicViewId(input: {
16
+ boundOntologyId: string;
17
+ data: ViewDataDeclaration;
18
+ ui: ViewBentoCanvas;
19
+ }): string;
20
+ export declare function createSingleBentoViewRecord(params: {
21
+ viewId?: string;
22
+ ontologyId: string;
23
+ name?: LocalizedText;
24
+ description?: string;
25
+ parentViewId?: string;
26
+ where?: ViewSqlWhere;
27
+ orderBy?: ViewSqlOrderBy[];
28
+ select?: ViewSqlSelectProjection;
29
+ bentoType?: ViewBentoType;
30
+ bentoProps?: Record<string, any>;
31
+ includeSharedSlices?: boolean;
32
+ limit?: number;
33
+ }): ViewOntologyRecord;
34
+ /**
35
+ * Unifies 1-item and N-item selection sharing into a canonical `ViewOntologyRecord`
36
+ * (`WHERE id = x` or `WHERE id IN (...)`), eliminating standalone single-asset sharing.
37
+ */
38
+ export declare function createSelectionShareViewRecord(params: {
39
+ viewId?: string;
40
+ ontologyId: string;
41
+ assetIds: readonly string[];
42
+ name?: LocalizedText;
43
+ bentoType?: ViewBentoType;
44
+ select?: ViewSqlSelectProjection;
45
+ }): ViewOntologyRecord;
46
+ /**
47
+ * Expresses any Workflow View (`preview` left-form + right-waterfall, `process`,
48
+ * `log`, `chat`) as a canonical `ViewOntologyRecord` using `CALL workflow` + `SELECT`.
49
+ */
50
+ export declare function createWorkflowViewRecord(params: {
51
+ viewId?: string;
52
+ workflowId: string;
53
+ boundOntologyId?: string;
54
+ pageType?: 'preview' | 'process' | 'log' | 'chat' | 'api';
55
+ name?: LocalizedText;
56
+ outputStrategy?: 'default-result-ontology' | 'domain-ontology' | 'ledger-only' | 'column-writeback';
57
+ }): ViewOntologyRecord;
58
+ export declare function resolveViewHostShell(context: {
59
+ surface: 'route' | 'share' | 'artifact' | 'embedded';
60
+ linkPolicy?: Pick<ViewShareLinkPolicy, 'shell'> | null;
61
+ }): ShellMode;
62
+ export declare function attenuateViewCapabilities(parentCapabilities: readonly ViewCapability[], requestedCapabilities: readonly ViewCapability[]): ViewCapability[];
63
+ //# sourceMappingURL=unified-view-compiler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unified-view-compiler.d.ts","sourceRoot":"","sources":["../../src/runtime/unified-view-compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,EAEd,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAEvB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AAGtB;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;EAE9B,CAAC;AAEX,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,EAAE,EAAE,eAAe,CAAC;CACrB,GAAG,MAAM,CAMT;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,EAAE,EAAE,eAAe,CAAC;CACrB,GAAG,MAAM,CAET;AAED,wBAAgB,2BAA2B,CAAC,MAAM,EAAE;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,aAA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,CAAC,mBAAmB,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CACxD,GAAG,SAAS,CAIZ;AASD,wBAAgB,yBAAyB,CACvC,kBAAkB,EAAE,SAAS,cAAc,EAAE,EAC7C,qBAAqB,EAAE,SAAS,cAAc,EAAE,GAC/C,cAAc,EAAE,CAOlB"}
@@ -0,0 +1,225 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.attenuateViewCapabilities = exports.resolveViewHostShell = exports.createWorkflowViewRecord = exports.createSelectionShareViewRecord = exports.createSingleBentoViewRecord = exports.buildDeterministicViewId = exports.computeCanonicalViewHash = exports.VIEW_LORO_KEYED_COLLECTIONS = void 0;
4
+ const contracts_1 = require("../contracts");
5
+ const declarative_control_compiler_1 = require("./declarative-control-compiler");
6
+ /**
7
+ * Keyed collection rules for `GenericLoroBridge` (`loro-crdt`), enabling conflict-free
8
+ * multi-user & AI co-editing of both JSON source and visual Bento layout.
9
+ */
10
+ exports.VIEW_LORO_KEYED_COLLECTIONS = [
11
+ { path: 'ui.bentos', keyField: 'bentoId' },
12
+ ];
13
+ function computeCanonicalViewHash(input) {
14
+ return (0, declarative_control_compiler_1.canonicalContentHash)({
15
+ boundOntologyId: input.boundOntologyId.trim(),
16
+ data: input.data,
17
+ ui: input.ui,
18
+ });
19
+ }
20
+ exports.computeCanonicalViewHash = computeCanonicalViewHash;
21
+ function buildDeterministicViewId(input) {
22
+ return `view-${computeCanonicalViewHash(input).slice(0, 24)}`;
23
+ }
24
+ exports.buildDeterministicViewId = buildDeterministicViewId;
25
+ function createSingleBentoViewRecord(params) {
26
+ const boundOntologyId = params.ontologyId.trim();
27
+ const bentoType = params.bentoType ?? 'card';
28
+ const data = {
29
+ statements: {
30
+ primary: {
31
+ kind: 'select',
32
+ from: {
33
+ source: 'ontology',
34
+ ontologyId: boundOntologyId,
35
+ ...(params.includeSharedSlices ? { includeSharedSlices: true } : {}),
36
+ },
37
+ ...(params.select ? { select: params.select } : {}),
38
+ ...(params.where ? { where: params.where } : {}),
39
+ ...(params.orderBy?.length ? { orderBy: params.orderBy } : {}),
40
+ ...(params.limit ? { limit: params.limit } : {}),
41
+ },
42
+ },
43
+ };
44
+ const ui = {
45
+ columns: 12,
46
+ rowHeight: 72,
47
+ bentos: [
48
+ {
49
+ bentoId: 'primary',
50
+ bentoType,
51
+ x: 0,
52
+ y: 0,
53
+ w: 12,
54
+ h: 10,
55
+ statementId: 'primary',
56
+ ...(params.name ? { title: params.name } : {}),
57
+ ...(params.bentoProps ? { props: params.bentoProps } : {}),
58
+ },
59
+ ],
60
+ };
61
+ const viewId = params.viewId?.trim() || buildDeterministicViewId({ boundOntologyId, data, ui });
62
+ return contracts_1.ViewOntologyRecordSchema.parse({
63
+ contract: 'ViewOntologyRecord',
64
+ schemaVersion: 1,
65
+ viewId,
66
+ boundOntologyId,
67
+ ...(params.name ? { name: params.name } : {}),
68
+ ...(params.description ? { description: params.description } : {}),
69
+ ...(params.parentViewId ? { parentViewId: params.parentViewId } : {}),
70
+ data,
71
+ ui,
72
+ });
73
+ }
74
+ exports.createSingleBentoViewRecord = createSingleBentoViewRecord;
75
+ /**
76
+ * Unifies 1-item and N-item selection sharing into a canonical `ViewOntologyRecord`
77
+ * (`WHERE id = x` or `WHERE id IN (...)`), eliminating standalone single-asset sharing.
78
+ */
79
+ function createSelectionShareViewRecord(params) {
80
+ const uniqueIds = Array.from(new Set(params.assetIds.map((id) => id.trim()).filter(Boolean))).sort();
81
+ if (uniqueIds.length === 0) {
82
+ throw new Error('Selection share View requires at least one assetId.');
83
+ }
84
+ const where = uniqueIds.length === 1
85
+ ? { op: 'field', field: 'id', cmp: 'eq', value: uniqueIds[0] }
86
+ : { op: 'field', field: 'id', cmp: 'in', value: uniqueIds };
87
+ const resolvedBentoType = params.bentoType ?? (uniqueIds.length === 1 ? 'record-detail' : 'card');
88
+ return createSingleBentoViewRecord({
89
+ viewId: params.viewId,
90
+ ontologyId: params.ontologyId,
91
+ name: params.name,
92
+ where,
93
+ select: params.select,
94
+ bentoType: resolvedBentoType,
95
+ });
96
+ }
97
+ exports.createSelectionShareViewRecord = createSelectionShareViewRecord;
98
+ /**
99
+ * Expresses any Workflow View (`preview` left-form + right-waterfall, `process`,
100
+ * `log`, `chat`) as a canonical `ViewOntologyRecord` using `CALL workflow` + `SELECT`.
101
+ */
102
+ function createWorkflowViewRecord(params) {
103
+ const workflowId = params.workflowId.trim();
104
+ const pageType = params.pageType ?? 'preview';
105
+ const boundOntologyId = params.boundOntologyId?.trim() || contracts_1.VIEW_ONTOLOGY_ID;
106
+ if (pageType === 'preview') {
107
+ const data = {
108
+ statements: {
109
+ execute_workflow: {
110
+ kind: 'call',
111
+ workflowId,
112
+ pageType: 'preview',
113
+ ...(params.outputStrategy ? { outputStrategy: params.outputStrategy } : {}),
114
+ },
115
+ workflow_outputs: {
116
+ kind: 'select',
117
+ from: {
118
+ source: 'workflow-outputs',
119
+ ontologyId: boundOntologyId,
120
+ workflowId,
121
+ },
122
+ orderBy: [{ field: 'created_timestamp', kind: 'builtin', direction: 'desc' }],
123
+ },
124
+ },
125
+ };
126
+ const ui = {
127
+ columns: 12,
128
+ rowHeight: 72,
129
+ bentos: [
130
+ {
131
+ bentoId: 'form',
132
+ bentoType: 'workflow-form',
133
+ x: 0,
134
+ y: 0,
135
+ w: 4,
136
+ h: 10,
137
+ actionStatementIds: ['execute_workflow'],
138
+ },
139
+ {
140
+ bentoId: 'results',
141
+ bentoType: 'workflow-waterfall',
142
+ x: 4,
143
+ y: 0,
144
+ w: 8,
145
+ h: 10,
146
+ statementId: 'workflow_outputs',
147
+ },
148
+ ],
149
+ };
150
+ const viewId = params.viewId?.trim() || buildDeterministicViewId({ boundOntologyId, data, ui });
151
+ return contracts_1.ViewOntologyRecordSchema.parse({
152
+ contract: 'ViewOntologyRecord',
153
+ schemaVersion: 1,
154
+ viewId,
155
+ boundOntologyId,
156
+ ...(params.name ? { name: params.name } : {}),
157
+ data,
158
+ ui,
159
+ });
160
+ }
161
+ const bentoTypeByPageType = {
162
+ process: 'workflow-canvas',
163
+ log: 'workflow-log',
164
+ chat: 'workflow-chat',
165
+ api: 'markdown',
166
+ };
167
+ const data = {
168
+ statements: {
169
+ workflow_binding: {
170
+ kind: 'call',
171
+ workflowId,
172
+ pageType,
173
+ },
174
+ },
175
+ };
176
+ const ui = {
177
+ columns: 12,
178
+ rowHeight: 72,
179
+ bentos: [
180
+ {
181
+ bentoId: 'main',
182
+ bentoType: bentoTypeByPageType[pageType],
183
+ x: 0,
184
+ y: 0,
185
+ w: 12,
186
+ h: 10,
187
+ actionStatementIds: ['workflow_binding'],
188
+ },
189
+ ],
190
+ };
191
+ const viewId = params.viewId?.trim() || buildDeterministicViewId({ boundOntologyId, data, ui });
192
+ return contracts_1.ViewOntologyRecordSchema.parse({
193
+ contract: 'ViewOntologyRecord',
194
+ schemaVersion: 1,
195
+ viewId,
196
+ boundOntologyId,
197
+ ...(params.name ? { name: params.name } : {}),
198
+ data,
199
+ ui,
200
+ });
201
+ }
202
+ exports.createWorkflowViewRecord = createWorkflowViewRecord;
203
+ function resolveViewHostShell(context) {
204
+ if (context.surface === 'route')
205
+ return 'app-shell';
206
+ if (context.surface === 'share')
207
+ return context.linkPolicy?.shell ?? 'share-shell';
208
+ return 'none';
209
+ }
210
+ exports.resolveViewHostShell = resolveViewHostShell;
211
+ const CAPABILITY_ORDER = [
212
+ 'read',
213
+ 'execute',
214
+ 'write_data',
215
+ 'edit_view',
216
+ ];
217
+ function attenuateViewCapabilities(parentCapabilities, requestedCapabilities) {
218
+ const allowed = new Set(parentCapabilities);
219
+ if (!allowed.has('read'))
220
+ return [];
221
+ const attenuated = CAPABILITY_ORDER.filter((cap) => cap === 'read' || (allowed.has(cap) && requestedCapabilities.includes(cap)));
222
+ return attenuated;
223
+ }
224
+ exports.attenuateViewCapabilities = attenuateViewCapabilities;
225
+ //# sourceMappingURL=unified-view-compiler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unified-view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