@inf-monkeys-tech/monkeys 1.1.59 → 1.1.60

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 (71) 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 +695 -35
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +106 -3
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control.js +48 -3
  10. package/lib/contracts/declarative-control.js.map +1 -1
  11. package/lib/contracts/declarative-publication-job.d.ts +176 -8
  12. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  13. package/lib/contracts/index.d.ts +1 -0
  14. package/lib/contracts/index.d.ts.map +1 -1
  15. package/lib/contracts/index.js +1 -0
  16. package/lib/contracts/index.js.map +1 -1
  17. package/lib/contracts/render.d.ts +34 -5
  18. package/lib/contracts/render.d.ts.map +1 -1
  19. package/lib/contracts/render.js +11 -1
  20. package/lib/contracts/render.js.map +1 -1
  21. package/lib/contracts/semantic.d.ts +2 -2
  22. package/lib/contracts/unified-view.d.ts +718 -0
  23. package/lib/contracts/unified-view.d.ts.map +1 -0
  24. package/lib/contracts/unified-view.js +362 -0
  25. package/lib/contracts/unified-view.js.map +1 -0
  26. package/lib/esm/{chunk-J6ZVASVX.mjs → chunk-5IWBM5FS.mjs} +4187 -2762
  27. package/lib/esm/chunk-5IWBM5FS.mjs.map +1 -0
  28. package/lib/esm/{chunk-6AX5KAJM.mjs → chunk-L7WP57HT.mjs} +142 -27
  29. package/lib/esm/chunk-L7WP57HT.mjs.map +1 -0
  30. package/lib/esm/{chunk-WYIVUDQH.mjs → chunk-POHBVHPL.mjs} +42 -42
  31. package/lib/esm/chunk-POHBVHPL.mjs.map +1 -0
  32. package/lib/esm/{chunk-VX54ES4K.mjs → chunk-QM3K7CWF.mjs} +220 -6
  33. package/lib/esm/chunk-QM3K7CWF.mjs.map +1 -0
  34. package/lib/esm/contracts/index.mjs +144 -96
  35. package/lib/esm/index.mjs +224 -160
  36. package/lib/esm/index.mjs.map +1 -1
  37. package/lib/esm/runtime/index.mjs +19 -3
  38. package/lib/esm/schemas/index.mjs +110 -72
  39. package/lib/json-schema/index.json +1 -0
  40. package/lib/json-schema/overlay-node.schema.json +67 -46
  41. package/lib/json-schema/page-runtime-bundle.schema.json +157 -64
  42. package/lib/json-schema/page.schema.json +21 -0
  43. package/lib/json-schema/render-node.schema.json +67 -46
  44. package/lib/json-schema/render-tree.schema.json +67 -46
  45. package/lib/json-schema/view-ontology-record.schema.json +1042 -0
  46. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  47. package/lib/runtime/declarative-control-compiler.js +5 -0
  48. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  49. package/lib/runtime/index.d.ts +1 -0
  50. package/lib/runtime/index.d.ts.map +1 -1
  51. package/lib/runtime/index.js +1 -0
  52. package/lib/runtime/index.js.map +1 -1
  53. package/lib/runtime/runtime-definition-wire.d.ts +88 -4
  54. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  55. package/lib/runtime/unified-view-compiler.d.ts +63 -0
  56. package/lib/runtime/unified-view-compiler.d.ts.map +1 -0
  57. package/lib/runtime/unified-view-compiler.js +225 -0
  58. package/lib/runtime/unified-view-compiler.js.map +1 -0
  59. package/lib/schemas/index.d.ts +245 -8
  60. package/lib/schemas/index.d.ts.map +1 -1
  61. package/lib/schemas/index.js +29 -6
  62. package/lib/schemas/index.js.map +1 -1
  63. package/package.json +2 -2
  64. package/lib/esm/chunk-2TZMP3VI.mjs +0 -1080
  65. package/lib/esm/chunk-2TZMP3VI.mjs.map +0 -1
  66. package/lib/esm/chunk-6AX5KAJM.mjs.map +0 -1
  67. package/lib/esm/chunk-J6ZVASVX.mjs.map +0 -1
  68. package/lib/esm/chunk-MEIIFDVZ.mjs +0 -78
  69. package/lib/esm/chunk-MEIIFDVZ.mjs.map +0 -1
  70. package/lib/esm/chunk-VX54ES4K.mjs.map +0 -1
  71. 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;
@@ -3218,6 +3239,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3218
3239
  version?: string | number | undefined;
3219
3240
  ownerRepo?: string | undefined;
3220
3241
  } | undefined;
3242
+ dynamicLayout?: {
3243
+ visibleWhen?: import("..").PageExpression | undefined;
3244
+ columns?: import("..").PageExpression | undefined;
3245
+ gridTemplateColumns?: import("..").PageExpression | undefined;
3246
+ flex?: import("..").PageExpression | undefined;
3247
+ bentoSurface?: import("..").PageExpression | undefined;
3248
+ } | undefined;
3221
3249
  style?: {
3222
3250
  width?: string | number | undefined;
3223
3251
  height?: string | number | undefined;
@@ -3287,7 +3315,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3287
3315
  ownerRepo?: string | undefined;
3288
3316
  } | undefined;
3289
3317
  skeleton?: {
3290
- kind: "canvas" | "auto" | "none" | "detail" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "table" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
3318
+ kind: "canvas" | "auto" | "none" | "detail" | "table" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
3291
3319
  columns?: number | undefined;
3292
3320
  rows?: number | undefined;
3293
3321
  count?: number | undefined;
@@ -3504,6 +3532,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
3504
3532
  } | undefined;
3505
3533
  activationWhen?: import("..").PageStateActivation | undefined;
3506
3534
  loadingWhen?: import("..").PageExpression | undefined;
3535
+ dynamicLayout?: {
3536
+ visibleWhen?: import("..").PageExpression | undefined;
3537
+ columns?: import("..").PageExpression | undefined;
3538
+ gridTemplateColumns?: import("..").PageExpression | undefined;
3539
+ flex?: import("..").PageExpression | undefined;
3540
+ bentoSurface?: import("..").PageExpression | undefined;
3541
+ } | undefined;
3507
3542
  }[];
3508
3543
  deniedCapabilityInstanceIds: string[];
3509
3544
  stateDefinitions: {
@@ -4831,6 +4866,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
4831
4866
  enabled: true;
4832
4867
  navigationPlacement: "studio.headbar.primary" | "kernel.primary";
4833
4868
  };
4869
+ workspaceModes?: {
4870
+ enabled: boolean;
4871
+ defaultMode: "gui" | "copilot" | "cui";
4872
+ allowedModes: ("gui" | "copilot" | "cui")[];
4873
+ copilotDefaultWidthPx?: number | undefined;
4874
+ defaultAgentId?: string | undefined;
4875
+ } | undefined;
4834
4876
  };
4835
4877
  ontologyBindings: {
4836
4878
  bindingId: string;
@@ -6078,6 +6120,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6078
6120
  version?: string | number | undefined;
6079
6121
  ownerRepo?: string | undefined;
6080
6122
  } | undefined;
6123
+ dynamicLayout?: {
6124
+ visibleWhen?: import("..").PageExpression | undefined;
6125
+ columns?: import("..").PageExpression | undefined;
6126
+ gridTemplateColumns?: import("..").PageExpression | undefined;
6127
+ flex?: import("..").PageExpression | undefined;
6128
+ bentoSurface?: import("..").PageExpression | undefined;
6129
+ } | undefined;
6081
6130
  style?: {
6082
6131
  width?: string | number | undefined;
6083
6132
  height?: string | number | undefined;
@@ -6147,7 +6196,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6147
6196
  ownerRepo?: string | undefined;
6148
6197
  } | undefined;
6149
6198
  skeleton?: {
6150
- kind: "canvas" | "auto" | "none" | "detail" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "table" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
6199
+ kind: "canvas" | "auto" | "none" | "detail" | "table" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
6151
6200
  columns?: number | undefined;
6152
6201
  rows?: number | undefined;
6153
6202
  count?: number | undefined;
@@ -6364,6 +6413,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
6364
6413
  } | undefined;
6365
6414
  activationWhen?: import("..").PageStateActivation | undefined;
6366
6415
  loadingWhen?: import("..").PageExpression | undefined;
6416
+ dynamicLayout?: {
6417
+ visibleWhen?: import("..").PageExpression | undefined;
6418
+ columns?: import("..").PageExpression | undefined;
6419
+ gridTemplateColumns?: import("..").PageExpression | undefined;
6420
+ flex?: import("..").PageExpression | undefined;
6421
+ bentoSurface?: import("..").PageExpression | undefined;
6422
+ } | undefined;
6367
6423
  }[];
6368
6424
  deniedCapabilityInstanceIds: string[];
6369
6425
  stateDefinitions: {
@@ -7691,6 +7747,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
7691
7747
  enabled: true;
7692
7748
  navigationPlacement: "studio.headbar.primary" | "kernel.primary";
7693
7749
  };
7750
+ workspaceModes?: {
7751
+ enabled: boolean;
7752
+ defaultMode: "gui" | "copilot" | "cui";
7753
+ allowedModes: ("gui" | "copilot" | "cui")[];
7754
+ copilotDefaultWidthPx?: number | undefined;
7755
+ defaultAgentId?: string | undefined;
7756
+ } | undefined;
7694
7757
  };
7695
7758
  ontologyBindings: {
7696
7759
  bindingId: string;
@@ -8929,6 +8992,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8929
8992
  version?: string | number | undefined;
8930
8993
  ownerRepo?: string | undefined;
8931
8994
  } | undefined;
8995
+ dynamicLayout?: {
8996
+ visibleWhen?: import("..").PageExpression | undefined;
8997
+ columns?: import("..").PageExpression | undefined;
8998
+ gridTemplateColumns?: import("..").PageExpression | undefined;
8999
+ flex?: import("..").PageExpression | undefined;
9000
+ bentoSurface?: import("..").PageExpression | undefined;
9001
+ } | undefined;
8932
9002
  style?: {
8933
9003
  width?: string | number | undefined;
8934
9004
  height?: string | number | undefined;
@@ -8998,7 +9068,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
8998
9068
  ownerRepo?: string | undefined;
8999
9069
  } | undefined;
9000
9070
  skeleton?: {
9001
- kind: "canvas" | "auto" | "none" | "detail" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "table" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
9071
+ kind: "canvas" | "auto" | "none" | "detail" | "table" | "form" | "media" | "bento-grid" | "collection-grid" | "collection-masonry" | "collection-rail" | "tree" | "toolbar" | "stats" | "conversation" | "lines";
9002
9072
  columns?: number | undefined;
9003
9073
  rows?: number | undefined;
9004
9074
  count?: number | undefined;
@@ -9215,6 +9285,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
9215
9285
  } | undefined;
9216
9286
  activationWhen?: import("..").PageStateActivation | undefined;
9217
9287
  loadingWhen?: import("..").PageExpression | undefined;
9288
+ dynamicLayout?: {
9289
+ visibleWhen?: import("..").PageExpression | undefined;
9290
+ columns?: import("..").PageExpression | undefined;
9291
+ gridTemplateColumns?: import("..").PageExpression | undefined;
9292
+ flex?: import("..").PageExpression | undefined;
9293
+ bentoSurface?: import("..").PageExpression | undefined;
9294
+ } | undefined;
9218
9295
  }[];
9219
9296
  deniedCapabilityInstanceIds: string[];
9220
9297
  stateDefinitions: {
@@ -10542,6 +10619,13 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
10542
10619
  enabled: true;
10543
10620
  navigationPlacement: "studio.headbar.primary" | "kernel.primary";
10544
10621
  };
10622
+ workspaceModes?: {
10623
+ enabled: boolean;
10624
+ defaultMode: "gui" | "copilot" | "cui";
10625
+ allowedModes: ("gui" | "copilot" | "cui")[];
10626
+ copilotDefaultWidthPx?: number | undefined;
10627
+ defaultAgentId?: string | undefined;
10628
+ } | undefined;
10545
10629
  };
10546
10630
  ontologyBindings: {
10547
10631
  bindingId: string;
@@ -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,sGAAsG;AACtG,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAqB/D;AAED,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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,aAAa,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,SAAS,CAAC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+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-compiler.js","sourceRoot":"","sources":["../../src/runtime/unified-view-compiler.ts"],"names":[],"mappings":";;;AAAA,4CAcsB;AACtB,iFAAsE;AAEtE;;;GAGG;AACU,QAAA,2BAA2B,GAAG;IACzC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE;CAClC,CAAC;AAEX,S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