@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
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { JsonObjectSchema } from "./common";
3
- import { RenderActivationSchema, RenderLayoutSchema, RenderLifecycleSchema, RenderNodeKindSchema, RenderNodeStateSchema, RenderResponsiveRuleSchema, RenderScrollSchema, RenderSkeletonSchema, RenderStyleSchema, RenderSurfaceSchema } from "./render";
3
+ import { RenderActivationSchema, RenderDynamicLayoutSchema, RenderLayoutSchema, RenderLifecycleSchema, RenderNodeKindSchema, RenderNodeStateSchema, RenderResponsiveRuleSchema, RenderScrollSchema, RenderSkeletonSchema, RenderStyleSchema, RenderSurfaceSchema } from "./render";
4
4
  import { type PageExpression, PageExpressionSchema, PagePropertyBindingSchema } from "./page-expression";
5
5
  export { analyzePageBindingDependencies } from "./page-binding-dependencies";
6
6
  export declare const DECLARATIVE_CONTROL_SCHEMA_VERSION = 1;
@@ -326,6 +326,26 @@ export declare const DeclarativeShellHeaderChromeSchema: z.ZodDiscriminatedUnion
326
326
  "kernel.primary": "kernel.primary";
327
327
  }>;
328
328
  }, z.core.$strict>], "enabled">;
329
+ export declare const WorkspaceInteractionModeSchema: z.ZodEnum<{
330
+ gui: "gui";
331
+ copilot: "copilot";
332
+ cui: "cui";
333
+ }>;
334
+ export declare const DeclarativeShellWorkspaceModesSchema: z.ZodObject<{
335
+ enabled: z.ZodBoolean;
336
+ defaultMode: z.ZodDefault<z.ZodEnum<{
337
+ gui: "gui";
338
+ copilot: "copilot";
339
+ cui: "cui";
340
+ }>>;
341
+ allowedModes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
342
+ gui: "gui";
343
+ copilot: "copilot";
344
+ cui: "cui";
345
+ }>>>;
346
+ copilotDefaultWidthPx: z.ZodOptional<z.ZodNumber>;
347
+ defaultAgentId: z.ZodOptional<z.ZodString>;
348
+ }, z.core.$strict>;
329
349
  export declare const DeclarativeShellSurfaceChromeSchema: z.ZodObject<{
330
350
  surface: z.ZodEnum<{
331
351
  studio: "studio";
@@ -340,6 +360,21 @@ export declare const DeclarativeShellSurfaceChromeSchema: z.ZodObject<{
340
360
  "kernel.primary": "kernel.primary";
341
361
  }>;
342
362
  }, z.core.$strict>], "enabled">;
363
+ workspaceModes: z.ZodOptional<z.ZodObject<{
364
+ enabled: z.ZodBoolean;
365
+ defaultMode: z.ZodDefault<z.ZodEnum<{
366
+ gui: "gui";
367
+ copilot: "copilot";
368
+ cui: "cui";
369
+ }>>;
370
+ allowedModes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
371
+ gui: "gui";
372
+ copilot: "copilot";
373
+ cui: "cui";
374
+ }>>>;
375
+ copilotDefaultWidthPx: z.ZodOptional<z.ZodNumber>;
376
+ defaultAgentId: z.ZodOptional<z.ZodString>;
377
+ }, z.core.$strict>>;
343
378
  }, z.core.$strict>;
344
379
  export declare const DeclarativeRuntimeShellDescriptorSchema: z.ZodObject<{
345
380
  shellRevisionRef: z.ZodObject<{
@@ -381,6 +416,21 @@ export declare const DeclarativeRuntimeShellDescriptorSchema: z.ZodObject<{
381
416
  "kernel.primary": "kernel.primary";
382
417
  }>;
383
418
  }, z.core.$strict>], "enabled">;
419
+ workspaceModes: z.ZodOptional<z.ZodObject<{
420
+ enabled: z.ZodBoolean;
421
+ defaultMode: z.ZodDefault<z.ZodEnum<{
422
+ gui: "gui";
423
+ copilot: "copilot";
424
+ cui: "cui";
425
+ }>>;
426
+ allowedModes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
427
+ gui: "gui";
428
+ copilot: "copilot";
429
+ cui: "cui";
430
+ }>>>;
431
+ copilotDefaultWidthPx: z.ZodOptional<z.ZodNumber>;
432
+ defaultAgentId: z.ZodOptional<z.ZodString>;
433
+ }, z.core.$strict>>;
384
434
  }, z.core.$strict>;
385
435
  export declare const AccessPolicySchema: z.ZodObject<{
386
436
  authenticated: z.ZodBoolean;
@@ -4208,6 +4258,13 @@ export declare const CapabilityInstanceSchema: z.ZodObject<{
4208
4258
  }, z.core.$strict>>;
4209
4259
  activationWhen: z.ZodOptional<z.ZodType<PageStateActivation, unknown, z.core.$ZodTypeInternals<PageStateActivation, unknown>>>;
4210
4260
  loadingWhen: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
4261
+ dynamicLayout: z.ZodOptional<z.ZodObject<{
4262
+ visibleWhen: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
4263
+ columns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
4264
+ gridTemplateColumns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
4265
+ flex: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
4266
+ bentoSurface: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
4267
+ }, z.core.$strict>>;
4211
4268
  allowedSideEffects: z.ZodArray<z.ZodEnum<{
4212
4269
  storage: "storage";
4213
4270
  websocket: "websocket";
@@ -7381,6 +7438,7 @@ export interface PageNode {
7381
7438
  model?: z.infer<typeof JsonObjectSchema>;
7382
7439
  style?: z.infer<typeof RenderStyleSchema>;
7383
7440
  layout?: z.infer<typeof RenderLayoutSchema>;
7441
+ dynamicLayout?: z.infer<typeof RenderDynamicLayoutSchema>;
7384
7442
  responsive?: z.infer<typeof RenderResponsiveRuleSchema>[];
7385
7443
  surface?: z.infer<typeof RenderSurfaceSchema>;
7386
7444
  skeleton?: z.infer<typeof RenderSkeletonSchema>;
@@ -7493,38 +7551,41 @@ export declare const PageMountSchema: z.ZodObject<{
7493
7551
  modal: "modal";
7494
7552
  }>;
7495
7553
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7554
+ kind: z.ZodLiteral<"constant">;
7555
+ value: z.ZodPipe<z.ZodUnknown, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
7556
+ }, z.core.$strict>, ...(z.ZodObject<{
7496
7557
  kind: z.ZodLiteral<"page-parameter">;
7497
7558
  name: z.ZodString;
7498
- }, z.core.$strict>, z.ZodObject<{
7559
+ }, z.core.$strict> | z.ZodObject<{
7499
7560
  kind: z.ZodLiteral<"scope-field">;
7500
7561
  path: z.ZodString;
7501
- }, z.core.$strict>, z.ZodObject<{
7562
+ }, z.core.$strict> | z.ZodObject<{
7502
7563
  kind: z.ZodLiteral<"binding-field">;
7503
7564
  bindingId: z.ZodString;
7504
7565
  path: z.ZodString;
7505
- }, z.core.$strict>, z.ZodObject<{
7566
+ }, z.core.$strict> | z.ZodObject<{
7506
7567
  kind: z.ZodLiteral<"constant">;
7507
7568
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7508
- }, z.core.$strict>, z.ZodObject<{
7569
+ }, z.core.$strict> | z.ZodObject<{
7509
7570
  kind: z.ZodLiteral<"route-parameter">;
7510
7571
  name: z.ZodString;
7511
- }, z.core.$strict>, z.ZodObject<{
7572
+ }, z.core.$strict> | z.ZodObject<{
7512
7573
  kind: z.ZodLiteral<"query-parameter">;
7513
7574
  name: z.ZodString;
7514
- }, z.core.$strict>, z.ZodObject<{
7575
+ }, z.core.$strict> | z.ZodObject<{
7515
7576
  kind: z.ZodLiteral<"identity">;
7516
7577
  name: z.ZodEnum<{
7517
7578
  tenantId: "tenantId";
7518
7579
  teamId: "teamId";
7519
7580
  userId: "userId";
7520
7581
  }>;
7521
- }, z.core.$strict>, z.ZodObject<{
7582
+ }, z.core.$strict> | z.ZodObject<{
7522
7583
  kind: z.ZodLiteral<"intent-field">;
7523
7584
  path: z.ZodString;
7524
- }, z.core.$strict>, z.ZodObject<{
7585
+ }, z.core.$strict> | z.ZodObject<{
7525
7586
  kind: z.ZodLiteral<"page-state">;
7526
7587
  stateId: z.ZodString;
7527
- }, z.core.$strict>], "kind">>;
7588
+ }, z.core.$strict>)[]], "kind">>;
7528
7589
  instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
7529
7590
  route: z.ZodOptional<z.ZodObject<{
7530
7591
  path: z.ZodString;
@@ -7611,38 +7672,41 @@ export declare const ResolvedPageMountSchema: z.ZodObject<{
7611
7672
  modal: "modal";
7612
7673
  }>;
7613
7674
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7675
+ kind: z.ZodLiteral<"constant">;
7676
+ value: z.ZodPipe<z.ZodUnknown, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
7677
+ }, z.core.$strict>, ...(z.ZodObject<{
7614
7678
  kind: z.ZodLiteral<"page-parameter">;
7615
7679
  name: z.ZodString;
7616
- }, z.core.$strict>, z.ZodObject<{
7680
+ }, z.core.$strict> | z.ZodObject<{
7617
7681
  kind: z.ZodLiteral<"scope-field">;
7618
7682
  path: z.ZodString;
7619
- }, z.core.$strict>, z.ZodObject<{
7683
+ }, z.core.$strict> | z.ZodObject<{
7620
7684
  kind: z.ZodLiteral<"binding-field">;
7621
7685
  bindingId: z.ZodString;
7622
7686
  path: z.ZodString;
7623
- }, z.core.$strict>, z.ZodObject<{
7687
+ }, z.core.$strict> | z.ZodObject<{
7624
7688
  kind: z.ZodLiteral<"constant">;
7625
7689
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7626
- }, z.core.$strict>, z.ZodObject<{
7690
+ }, z.core.$strict> | z.ZodObject<{
7627
7691
  kind: z.ZodLiteral<"route-parameter">;
7628
7692
  name: z.ZodString;
7629
- }, z.core.$strict>, z.ZodObject<{
7693
+ }, z.core.$strict> | z.ZodObject<{
7630
7694
  kind: z.ZodLiteral<"query-parameter">;
7631
7695
  name: z.ZodString;
7632
- }, z.core.$strict>, z.ZodObject<{
7696
+ }, z.core.$strict> | z.ZodObject<{
7633
7697
  kind: z.ZodLiteral<"identity">;
7634
7698
  name: z.ZodEnum<{
7635
7699
  tenantId: "tenantId";
7636
7700
  teamId: "teamId";
7637
7701
  userId: "userId";
7638
7702
  }>;
7639
- }, z.core.$strict>, z.ZodObject<{
7703
+ }, z.core.$strict> | z.ZodObject<{
7640
7704
  kind: z.ZodLiteral<"intent-field">;
7641
7705
  path: z.ZodString;
7642
- }, z.core.$strict>, z.ZodObject<{
7706
+ }, z.core.$strict> | z.ZodObject<{
7643
7707
  kind: z.ZodLiteral<"page-state">;
7644
7708
  stateId: z.ZodString;
7645
- }, z.core.$strict>], "kind">>;
7709
+ }, z.core.$strict>)[]], "kind">>;
7646
7710
  instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
7647
7711
  route: z.ZodOptional<z.ZodObject<{
7648
7712
  path: z.ZodString;
@@ -7989,38 +8053,41 @@ export declare const PageSchema: z.ZodObject<{
7989
8053
  modal: "modal";
7990
8054
  }>;
7991
8055
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
8056
+ kind: z.ZodLiteral<"constant">;
8057
+ value: z.ZodPipe<z.ZodUnknown, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
8058
+ }, z.core.$strict>, ...(z.ZodObject<{
7992
8059
  kind: z.ZodLiteral<"page-parameter">;
7993
8060
  name: z.ZodString;
7994
- }, z.core.$strict>, z.ZodObject<{
8061
+ }, z.core.$strict> | z.ZodObject<{
7995
8062
  kind: z.ZodLiteral<"scope-field">;
7996
8063
  path: z.ZodString;
7997
- }, z.core.$strict>, z.ZodObject<{
8064
+ }, z.core.$strict> | z.ZodObject<{
7998
8065
  kind: z.ZodLiteral<"binding-field">;
7999
8066
  bindingId: z.ZodString;
8000
8067
  path: z.ZodString;
8001
- }, z.core.$strict>, z.ZodObject<{
8068
+ }, z.core.$strict> | z.ZodObject<{
8002
8069
  kind: z.ZodLiteral<"constant">;
8003
8070
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8004
- }, z.core.$strict>, z.ZodObject<{
8071
+ }, z.core.$strict> | z.ZodObject<{
8005
8072
  kind: z.ZodLiteral<"route-parameter">;
8006
8073
  name: z.ZodString;
8007
- }, z.core.$strict>, z.ZodObject<{
8074
+ }, z.core.$strict> | z.ZodObject<{
8008
8075
  kind: z.ZodLiteral<"query-parameter">;
8009
8076
  name: z.ZodString;
8010
- }, z.core.$strict>, z.ZodObject<{
8077
+ }, z.core.$strict> | z.ZodObject<{
8011
8078
  kind: z.ZodLiteral<"identity">;
8012
8079
  name: z.ZodEnum<{
8013
8080
  tenantId: "tenantId";
8014
8081
  teamId: "teamId";
8015
8082
  userId: "userId";
8016
8083
  }>;
8017
- }, z.core.$strict>, z.ZodObject<{
8084
+ }, z.core.$strict> | z.ZodObject<{
8018
8085
  kind: z.ZodLiteral<"intent-field">;
8019
8086
  path: z.ZodString;
8020
- }, z.core.$strict>, z.ZodObject<{
8087
+ }, z.core.$strict> | z.ZodObject<{
8021
8088
  kind: z.ZodLiteral<"page-state">;
8022
8089
  stateId: z.ZodString;
8023
- }, z.core.$strict>], "kind">>;
8090
+ }, z.core.$strict>)[]], "kind">>;
8024
8091
  instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
8025
8092
  route: z.ZodOptional<z.ZodObject<{
8026
8093
  path: z.ZodString;
@@ -8927,38 +8994,41 @@ export declare const ResolvedPageSchema: z.ZodObject<{
8927
8994
  modal: "modal";
8928
8995
  }>;
8929
8996
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
8997
+ kind: z.ZodLiteral<"constant">;
8998
+ value: z.ZodPipe<z.ZodUnknown, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
8999
+ }, z.core.$strict>, ...(z.ZodObject<{
8930
9000
  kind: z.ZodLiteral<"page-parameter">;
8931
9001
  name: z.ZodString;
8932
- }, z.core.$strict>, z.ZodObject<{
9002
+ }, z.core.$strict> | z.ZodObject<{
8933
9003
  kind: z.ZodLiteral<"scope-field">;
8934
9004
  path: z.ZodString;
8935
- }, z.core.$strict>, z.ZodObject<{
9005
+ }, z.core.$strict> | z.ZodObject<{
8936
9006
  kind: z.ZodLiteral<"binding-field">;
8937
9007
  bindingId: z.ZodString;
8938
9008
  path: z.ZodString;
8939
- }, z.core.$strict>, z.ZodObject<{
9009
+ }, z.core.$strict> | z.ZodObject<{
8940
9010
  kind: z.ZodLiteral<"constant">;
8941
9011
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8942
- }, z.core.$strict>, z.ZodObject<{
9012
+ }, z.core.$strict> | z.ZodObject<{
8943
9013
  kind: z.ZodLiteral<"route-parameter">;
8944
9014
  name: z.ZodString;
8945
- }, z.core.$strict>, z.ZodObject<{
9015
+ }, z.core.$strict> | z.ZodObject<{
8946
9016
  kind: z.ZodLiteral<"query-parameter">;
8947
9017
  name: z.ZodString;
8948
- }, z.core.$strict>, z.ZodObject<{
9018
+ }, z.core.$strict> | z.ZodObject<{
8949
9019
  kind: z.ZodLiteral<"identity">;
8950
9020
  name: z.ZodEnum<{
8951
9021
  tenantId: "tenantId";
8952
9022
  teamId: "teamId";
8953
9023
  userId: "userId";
8954
9024
  }>;
8955
- }, z.core.$strict>, z.ZodObject<{
9025
+ }, z.core.$strict> | z.ZodObject<{
8956
9026
  kind: z.ZodLiteral<"intent-field">;
8957
9027
  path: z.ZodString;
8958
- }, z.core.$strict>, z.ZodObject<{
9028
+ }, z.core.$strict> | z.ZodObject<{
8959
9029
  kind: z.ZodLiteral<"page-state">;
8960
9030
  stateId: z.ZodString;
8961
- }, z.core.$strict>], "kind">>;
9031
+ }, z.core.$strict>)[]], "kind">>;
8962
9032
  instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
8963
9033
  route: z.ZodOptional<z.ZodObject<{
8964
9034
  path: z.ZodString;
@@ -9952,6 +10022,13 @@ export declare const ResolvedPageSchema: z.ZodObject<{
9952
10022
  ownerRepo: z.ZodOptional<z.ZodString>;
9953
10023
  }, z.core.$strict>>;
9954
10024
  }, z.core.$strict>;
10025
+ dynamicLayout: z.ZodOptional<z.ZodObject<{
10026
+ visibleWhen: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10027
+ columns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10028
+ gridTemplateColumns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10029
+ flex: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10030
+ bentoSurface: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10031
+ }, z.core.$strict>>;
9955
10032
  style: z.ZodOptional<z.ZodObject<{
9956
10033
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
9957
10034
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -10310,13 +10387,13 @@ export declare const ResolvedPageSchema: z.ZodObject<{
10310
10387
  auto: "auto";
10311
10388
  none: "none";
10312
10389
  detail: "detail";
10390
+ table: "table";
10313
10391
  form: "form";
10314
10392
  media: "media";
10315
10393
  "bento-grid": "bento-grid";
10316
10394
  "collection-grid": "collection-grid";
10317
10395
  "collection-masonry": "collection-masonry";
10318
10396
  "collection-rail": "collection-rail";
10319
- table: "table";
10320
10397
  tree: "tree";
10321
10398
  toolbar: "toolbar";
10322
10399
  stats: "stats";
@@ -10574,6 +10651,13 @@ export declare const ResolvedPageSchema: z.ZodObject<{
10574
10651
  }, z.core.$strict>>;
10575
10652
  activationWhen: z.ZodOptional<z.ZodType<PageStateActivation, unknown, z.core.$ZodTypeInternals<PageStateActivation, unknown>>>;
10576
10653
  loadingWhen: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10654
+ dynamicLayout: z.ZodOptional<z.ZodObject<{
10655
+ visibleWhen: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10656
+ columns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10657
+ gridTemplateColumns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10658
+ flex: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10659
+ bentoSurface: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
10660
+ }, z.core.$strict>>;
10577
10661
  allowedSideEffects: z.ZodArray<z.ZodEnum<{
10578
10662
  storage: "storage";
10579
10663
  websocket: "websocket";
@@ -20152,38 +20236,41 @@ export declare const PageRuntimeBundleSchema: z.ZodObject<{
20152
20236
  modal: "modal";
20153
20237
  }>;
20154
20238
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
20239
+ kind: z.ZodLiteral<"constant">;
20240
+ value: z.ZodPipe<z.ZodUnknown, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
20241
+ }, z.core.$strict>, ...(z.ZodObject<{
20155
20242
  kind: z.ZodLiteral<"page-parameter">;
20156
20243
  name: z.ZodString;
20157
- }, z.core.$strict>, z.ZodObject<{
20244
+ }, z.core.$strict> | z.ZodObject<{
20158
20245
  kind: z.ZodLiteral<"scope-field">;
20159
20246
  path: z.ZodString;
20160
- }, z.core.$strict>, z.ZodObject<{
20247
+ }, z.core.$strict> | z.ZodObject<{
20161
20248
  kind: z.ZodLiteral<"binding-field">;
20162
20249
  bindingId: z.ZodString;
20163
20250
  path: z.ZodString;
20164
- }, z.core.$strict>, z.ZodObject<{
20251
+ }, z.core.$strict> | z.ZodObject<{
20165
20252
  kind: z.ZodLiteral<"constant">;
20166
20253
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
20167
- }, z.core.$strict>, z.ZodObject<{
20254
+ }, z.core.$strict> | z.ZodObject<{
20168
20255
  kind: z.ZodLiteral<"route-parameter">;
20169
20256
  name: z.ZodString;
20170
- }, z.core.$strict>, z.ZodObject<{
20257
+ }, z.core.$strict> | z.ZodObject<{
20171
20258
  kind: z.ZodLiteral<"query-parameter">;
20172
20259
  name: z.ZodString;
20173
- }, z.core.$strict>, z.ZodObject<{
20260
+ }, z.core.$strict> | z.ZodObject<{
20174
20261
  kind: z.ZodLiteral<"identity">;
20175
20262
  name: z.ZodEnum<{
20176
20263
  tenantId: "tenantId";
20177
20264
  teamId: "teamId";
20178
20265
  userId: "userId";
20179
20266
  }>;
20180
- }, z.core.$strict>, z.ZodObject<{
20267
+ }, z.core.$strict> | z.ZodObject<{
20181
20268
  kind: z.ZodLiteral<"intent-field">;
20182
20269
  path: z.ZodString;
20183
- }, z.core.$strict>, z.ZodObject<{
20270
+ }, z.core.$strict> | z.ZodObject<{
20184
20271
  kind: z.ZodLiteral<"page-state">;
20185
20272
  stateId: z.ZodString;
20186
- }, z.core.$strict>], "kind">>;
20273
+ }, z.core.$strict>)[]], "kind">>;
20187
20274
  instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
20188
20275
  route: z.ZodOptional<z.ZodObject<{
20189
20276
  path: z.ZodString;
@@ -20785,6 +20872,13 @@ export declare const PageRuntimeBundleSchema: z.ZodObject<{
20785
20872
  ownerRepo: z.ZodOptional<z.ZodString>;
20786
20873
  }, z.core.$strict>>;
20787
20874
  }, z.core.$strict>;
20875
+ dynamicLayout: z.ZodOptional<z.ZodObject<{
20876
+ visibleWhen: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
20877
+ columns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
20878
+ gridTemplateColumns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
20879
+ flex: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
20880
+ bentoSurface: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
20881
+ }, z.core.$strict>>;
20788
20882
  style: z.ZodOptional<z.ZodObject<{
20789
20883
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
20790
20884
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -21143,13 +21237,13 @@ export declare const PageRuntimeBundleSchema: z.ZodObject<{
21143
21237
  auto: "auto";
21144
21238
  none: "none";
21145
21239
  detail: "detail";
21240
+ table: "table";
21146
21241
  form: "form";
21147
21242
  media: "media";
21148
21243
  "bento-grid": "bento-grid";
21149
21244
  "collection-grid": "collection-grid";
21150
21245
  "collection-masonry": "collection-masonry";
21151
21246
  "collection-rail": "collection-rail";
21152
- table: "table";
21153
21247
  tree: "tree";
21154
21248
  toolbar: "toolbar";
21155
21249
  stats: "stats";
@@ -21407,6 +21501,13 @@ export declare const PageRuntimeBundleSchema: z.ZodObject<{
21407
21501
  }, z.core.$strict>>;
21408
21502
  activationWhen: z.ZodOptional<z.ZodType<PageStateActivation, unknown, z.core.$ZodTypeInternals<PageStateActivation, unknown>>>;
21409
21503
  loadingWhen: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
21504
+ dynamicLayout: z.ZodOptional<z.ZodObject<{
21505
+ visibleWhen: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
21506
+ columns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
21507
+ gridTemplateColumns: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
21508
+ flex: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
21509
+ bentoSurface: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<PageExpression, unknown, z.core.$ZodTypeInternals<PageExpression, unknown>>>>;
21510
+ }, z.core.$strict>>;
21410
21511
  allowedSideEffects: z.ZodArray<z.ZodEnum<{
21411
21512
  storage: "storage";
21412
21513
  websocket: "websocket";
@@ -23578,6 +23679,21 @@ export declare const PageRuntimeBundleSchema: z.ZodObject<{
23578
23679
  "kernel.primary": "kernel.primary";
23579
23680
  }>;
23580
23681
  }, z.core.$strict>], "enabled">;
23682
+ workspaceModes: z.ZodOptional<z.ZodObject<{
23683
+ enabled: z.ZodBoolean;
23684
+ defaultMode: z.ZodDefault<z.ZodEnum<{
23685
+ gui: "gui";
23686
+ copilot: "copilot";
23687
+ cui: "cui";
23688
+ }>>;
23689
+ allowedModes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
23690
+ gui: "gui";
23691
+ copilot: "copilot";
23692
+ cui: "cui";
23693
+ }>>>;
23694
+ copilotDefaultWidthPx: z.ZodOptional<z.ZodNumber>;
23695
+ defaultAgentId: z.ZodOptional<z.ZodString>;
23696
+ }, z.core.$strict>>;
23581
23697
  }, z.core.$strict>;
23582
23698
  ontologyBindings: z.ZodArray<z.ZodObject<{
23583
23699
  bindingId: z.ZodString;
@@ -31318,6 +31434,8 @@ export type Navigation = z.infer<typeof NavigationSchema>;
31318
31434
  export type ResolvedNavigationTarget = z.infer<typeof ResolvedNavigationTargetSchema>;
31319
31435
  export type CompiledNavigationResolvedTarget = z.infer<typeof CompiledNavigationResolvedTargetSchema>;
31320
31436
  export type NavigationRelease = z.infer<typeof NavigationReleaseSchema>;
31437
+ export type WorkspaceInteractionMode = z.infer<typeof WorkspaceInteractionModeSchema>;
31438
+ export type DeclarativeShellWorkspaceModes = z.infer<typeof DeclarativeShellWorkspaceModesSchema>;
31321
31439
  export type DeclarativeShellHeaderChrome = z.infer<typeof DeclarativeShellHeaderChromeSchema>;
31322
31440
  export type DeclarativeShellSurfaceChrome = z.infer<typeof DeclarativeShellSurfaceChromeSchema>;
31323
31441
  export type DeclarativeRuntimeShellDescriptor = z.infer<typeof DeclarativeRuntimeShellDescriptorSchema>;