@yaklabs-ai/plugin-protocol 0.52.0 → 0.53.0

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.
package/dist/index.d.ts CHANGED
@@ -199,6 +199,9 @@ export declare const AppDataSourceContribution: z.ZodObject<{
199
199
  schema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
200
200
  }, z.core.$strict>;
201
201
  }, z.core.$strict>>;
202
+ messageDraft: z.ZodOptional<z.ZodObject<{
203
+ schemes: z.ZodArray<z.ZodString>;
204
+ }, z.core.$strict>>;
202
205
  store: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
203
206
  shape: z.ZodLiteral<"rows">;
204
207
  rowsField: z.ZodString;
@@ -820,13 +823,13 @@ export declare const ArtifactProvenanceCaptureContextSchema: z.ZodObject<{
820
823
  gaps: z.ZodArray<z.ZodObject<{
821
824
  code: z.ZodEnum<{
822
825
  unknown: "unknown";
826
+ truncated: "truncated";
823
827
  "capture-failed": "capture-failed";
824
828
  "legacy-derived": "legacy-derived";
825
829
  "ambiguous-predecessor": "ambiguous-predecessor";
826
830
  "unverified-index": "unverified-index";
827
831
  "missing-ancestor": "missing-ancestor";
828
832
  cycle: "cycle";
829
- truncated: "truncated";
830
833
  "metadata-write-failed": "metadata-write-failed";
831
834
  "invalid-record": "invalid-record";
832
835
  }>;
@@ -1209,13 +1212,13 @@ export declare const ArtifactProvenanceEnvelopeV1: z.ZodPipe<z.ZodUnknown, z.Zod
1209
1212
  gaps: z.ZodArray<z.ZodObject<{
1210
1213
  code: z.ZodEnum<{
1211
1214
  unknown: "unknown";
1215
+ truncated: "truncated";
1212
1216
  "capture-failed": "capture-failed";
1213
1217
  "legacy-derived": "legacy-derived";
1214
1218
  "ambiguous-predecessor": "ambiguous-predecessor";
1215
1219
  "unverified-index": "unverified-index";
1216
1220
  "missing-ancestor": "missing-ancestor";
1217
1221
  cycle: "cycle";
1218
- truncated: "truncated";
1219
1222
  "metadata-write-failed": "metadata-write-failed";
1220
1223
  "invalid-record": "invalid-record";
1221
1224
  }>;
@@ -1229,13 +1232,13 @@ export declare type ArtifactProvenanceEnvelopeV1 = z.infer<typeof ArtifactProven
1229
1232
  export declare const ArtifactProvenanceGap: z.ZodObject<{
1230
1233
  code: z.ZodEnum<{
1231
1234
  unknown: "unknown";
1235
+ truncated: "truncated";
1232
1236
  "capture-failed": "capture-failed";
1233
1237
  "legacy-derived": "legacy-derived";
1234
1238
  "ambiguous-predecessor": "ambiguous-predecessor";
1235
1239
  "unverified-index": "unverified-index";
1236
1240
  "missing-ancestor": "missing-ancestor";
1237
1241
  cycle: "cycle";
1238
- truncated: "truncated";
1239
1242
  "metadata-write-failed": "metadata-write-failed";
1240
1243
  "invalid-record": "invalid-record";
1241
1244
  }>;
@@ -1837,6 +1840,7 @@ declare namespace authoringContributionSchemas {
1837
1840
  ReferencePresentationWords,
1838
1841
  ReferencePresentationContribution,
1839
1842
  KayUiAppHostCapability,
1843
+ UiAppCapabilityReference,
1840
1844
  UiAppCapabilities,
1841
1845
  UiRailEntryContribution,
1842
1846
  UiToastPreviewContribution,
@@ -2727,6 +2731,9 @@ declare const canonicalContributionSchemas: {
2727
2731
  schema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
2728
2732
  }, z.core.$strict>;
2729
2733
  }, z.core.$strict>>;
2734
+ messageDraft: z.ZodOptional<z.ZodObject<{
2735
+ schemes: z.ZodArray<z.ZodString>;
2736
+ }, z.core.$strict>>;
2730
2737
  store: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2731
2738
  shape: z.ZodLiteral<"rows">;
2732
2739
  rowsField: z.ZodString;
@@ -2756,6 +2763,11 @@ declare const canonicalContributionSchemas: {
2756
2763
  bodyField: z.ZodString;
2757
2764
  }, z.core.$strict>], "kind">;
2758
2765
  valueSchema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
2766
+ directory: z.ZodOptional<z.ZodArray<z.ZodString>>;
2767
+ reference: z.ZodOptional<z.ZodObject<{
2768
+ uriTemplate: z.ZodString;
2769
+ }, z.core.$strict>>;
2770
+ handover: z.ZodOptional<z.ZodLiteral<true>>;
2759
2771
  }, z.core.$strict>;
2760
2772
  AppDataMaterializerContribution: z.ZodObject<{
2761
2773
  source: z.ZodString;
@@ -3022,6 +3034,8 @@ declare const canonicalContributionSchemas: {
3022
3034
  search: z.ZodOptional<z.ZodString>;
3023
3035
  }, z.core.$strict>;
3024
3036
  objectId: z.ZodOptional<z.ZodString>;
3037
+ resourceKind: z.ZodOptional<z.ZodString>;
3038
+ label: z.ZodOptional<z.ZodString>;
3025
3039
  open: z.ZodOptional<z.ZodObject<{
3026
3040
  kind: z.ZodLiteral<"none">;
3027
3041
  }, z.core.$strict>>;
@@ -3100,6 +3114,8 @@ declare const canonicalContributionSchemas: {
3100
3114
  search: z.ZodOptional<z.ZodString>;
3101
3115
  }, z.core.$strict>;
3102
3116
  objectId: z.ZodOptional<z.ZodString>;
3117
+ resourceKind: z.ZodOptional<z.ZodString>;
3118
+ label: z.ZodOptional<z.ZodString>;
3103
3119
  open: z.ZodOptional<z.ZodObject<{
3104
3120
  kind: z.ZodLiteral<"none">;
3105
3121
  }, z.core.$strict>>;
@@ -3222,8 +3238,15 @@ declare const canonicalContributionSchemas: {
3222
3238
  "workspace.pane-header": "workspace.pane-header";
3223
3239
  "workspace.arrange": "workspace.arrange";
3224
3240
  }>;
3241
+ UiAppCapabilityReference: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3242
+ pluginId: z.ZodString;
3243
+ localId: z.ZodString;
3244
+ }, z.core.$strict>]>;
3225
3245
  UiAppCapabilities: z.ZodObject<{
3226
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3246
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3247
+ pluginId: z.ZodString;
3248
+ localId: z.ZodString;
3249
+ }, z.core.$strict>]>>>;
3227
3250
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3228
3251
  "navigation.open-session": "navigation.open-session";
3229
3252
  "sessions.create": "sessions.create";
@@ -3241,7 +3264,10 @@ declare const canonicalContributionSchemas: {
3241
3264
  "workspace.pane-header": "workspace.pane-header";
3242
3265
  "workspace.arrange": "workspace.arrange";
3243
3266
  }>>>;
3244
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3267
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3268
+ pluginId: z.ZodString;
3269
+ localId: z.ZodString;
3270
+ }, z.core.$strict>]>>>;
3245
3271
  }, z.core.$strict>;
3246
3272
  UiRailEntryContribution: z.ZodObject<{
3247
3273
  id: z.ZodString;
@@ -3283,6 +3309,11 @@ declare const canonicalContributionSchemas: {
3283
3309
  title: z.ZodOptional<z.ZodString>;
3284
3310
  icon: z.ZodOptional<z.ZodString>;
3285
3311
  companion: z.ZodOptional<z.ZodBoolean>;
3312
+ sessionBinding: z.ZodOptional<z.ZodEnum<{
3313
+ session: "session";
3314
+ family: "family";
3315
+ }>>;
3316
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
3286
3317
  openedEvent: z.ZodOptional<z.ZodString>;
3287
3318
  }, z.core.$strict>;
3288
3319
  UiAppContribution: z.ZodObject<{
@@ -3302,7 +3333,10 @@ declare const canonicalContributionSchemas: {
3302
3333
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3303
3334
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
3304
3335
  capabilities: z.ZodOptional<z.ZodObject<{
3305
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3336
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3337
+ pluginId: z.ZodString;
3338
+ localId: z.ZodString;
3339
+ }, z.core.$strict>]>>>;
3306
3340
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3307
3341
  "navigation.open-session": "navigation.open-session";
3308
3342
  "sessions.create": "sessions.create";
@@ -3320,7 +3354,10 @@ declare const canonicalContributionSchemas: {
3320
3354
  "workspace.pane-header": "workspace.pane-header";
3321
3355
  "workspace.arrange": "workspace.arrange";
3322
3356
  }>>>;
3323
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3357
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3358
+ pluginId: z.ZodString;
3359
+ localId: z.ZodString;
3360
+ }, z.core.$strict>]>>>;
3324
3361
  }, z.core.$strict>>;
3325
3362
  }, z.core.$strict> | z.ZodPreprocess<z.ZodObject<{
3326
3363
  localId: z.ZodString;
@@ -3339,7 +3376,10 @@ declare const canonicalContributionSchemas: {
3339
3376
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3340
3377
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
3341
3378
  capabilities: z.ZodOptional<z.ZodObject<{
3342
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3379
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3380
+ pluginId: z.ZodString;
3381
+ localId: z.ZodString;
3382
+ }, z.core.$strict>]>>>;
3343
3383
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3344
3384
  "navigation.open-session": "navigation.open-session";
3345
3385
  "sessions.create": "sessions.create";
@@ -3357,7 +3397,10 @@ declare const canonicalContributionSchemas: {
3357
3397
  "workspace.pane-header": "workspace.pane-header";
3358
3398
  "workspace.arrange": "workspace.arrange";
3359
3399
  }>>>;
3360
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3400
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3401
+ pluginId: z.ZodString;
3402
+ localId: z.ZodString;
3403
+ }, z.core.$strict>]>>>;
3361
3404
  }, z.core.$strict>>;
3362
3405
  }, z.core.$strict>, unknown>;
3363
3406
  ThemeContribution: z.ZodObject<{
@@ -4790,8 +4833,16 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
4790
4833
  * contract remains served.
4791
4834
  *
4792
4835
  * 0.51.0 adds flag-dependent title, icon and panel presence on rail entries.
4836
+ *
4837
+ * 0.52.0 adds plugin-owned operational facts through existing manifests and registrations.
4838
+ *
4839
+ * 0.52.1 adds owner-qualified page feed and endpoint references and their kay.ui claims.
4840
+ *
4841
+ * 0.53.0 adds declared working-content layouts, family-root authority, draft projection discovery
4842
+ * and session-bound page references. Older customized Whiteboard copies must accept the plugin
4843
+ * update before using these interfaces.
4793
4844
  */
4794
- export declare const KAY_PLUGIN_SDK_VERSION: "0.52.0";
4845
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.53.0";
4795
4846
 
4796
4847
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
4797
4848
 
@@ -5155,6 +5206,10 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
5155
5206
  primer: z.ZodOptional<z.ZodString>;
5156
5207
  onboarding: z.ZodOptional<z.ZodString>;
5157
5208
  prompt: z.ZodOptional<z.ZodString>;
5209
+ promptOrder: z.ZodOptional<z.ZodNumber>;
5210
+ familyFolder: z.ZodOptional<z.ZodObject<{
5211
+ scope: z.ZodLiteral<"root">;
5212
+ }, z.core.$strict>>;
5158
5213
  skillSources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5159
5214
  channel: z.ZodLiteral<"installer">;
5160
5215
  localId: z.ZodString;
@@ -5432,6 +5487,9 @@ export declare const KayAppTargetManifest: z.ZodObject<{
5432
5487
  schema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
5433
5488
  }, z.core.$strict>;
5434
5489
  }, z.core.$strict>>;
5490
+ messageDraft: z.ZodOptional<z.ZodObject<{
5491
+ schemes: z.ZodArray<z.ZodString>;
5492
+ }, z.core.$strict>>;
5435
5493
  store: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5436
5494
  shape: z.ZodLiteral<"rows">;
5437
5495
  rowsField: z.ZodString;
@@ -5453,6 +5511,11 @@ export declare const KayAppTargetManifest: z.ZodObject<{
5453
5511
  bodyField: z.ZodString;
5454
5512
  }, z.core.$strict>], "kind">;
5455
5513
  valueSchema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
5514
+ directory: z.ZodOptional<z.ZodArray<z.ZodString>>;
5515
+ reference: z.ZodOptional<z.ZodObject<{
5516
+ uriTemplate: z.ZodString;
5517
+ }, z.core.$strict>>;
5518
+ handover: z.ZodOptional<z.ZodLiteral<true>>;
5456
5519
  }, z.core.$strict>>>;
5457
5520
  approvalTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
5458
5521
  localId: z.ZodString;
@@ -6076,6 +6139,10 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6076
6139
  primer: z.ZodOptional<z.ZodString>;
6077
6140
  onboarding: z.ZodOptional<z.ZodString>;
6078
6141
  prompt: z.ZodOptional<z.ZodString>;
6142
+ promptOrder: z.ZodOptional<z.ZodNumber>;
6143
+ familyFolder: z.ZodOptional<z.ZodObject<{
6144
+ scope: z.ZodLiteral<"root">;
6145
+ }, z.core.$strict>>;
6079
6146
  skillSources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6080
6147
  channel: z.ZodLiteral<"installer">;
6081
6148
  localId: z.ZodString;
@@ -6350,6 +6417,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6350
6417
  schema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
6351
6418
  }, z.core.$strict>;
6352
6419
  }, z.core.$strict>>;
6420
+ messageDraft: z.ZodOptional<z.ZodObject<{
6421
+ schemes: z.ZodArray<z.ZodString>;
6422
+ }, z.core.$strict>>;
6353
6423
  store: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6354
6424
  shape: z.ZodLiteral<"rows">;
6355
6425
  rowsField: z.ZodString;
@@ -6371,6 +6441,11 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6371
6441
  bodyField: z.ZodString;
6372
6442
  }, z.core.$strict>], "kind">;
6373
6443
  valueSchema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
6444
+ directory: z.ZodOptional<z.ZodArray<z.ZodString>>;
6445
+ reference: z.ZodOptional<z.ZodObject<{
6446
+ uriTemplate: z.ZodString;
6447
+ }, z.core.$strict>>;
6448
+ handover: z.ZodOptional<z.ZodLiteral<true>>;
6374
6449
  }, z.core.$strict>>>;
6375
6450
  approvalTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
6376
6451
  localId: z.ZodString;
@@ -6574,6 +6649,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6574
6649
  search: z.ZodOptional<z.ZodString>;
6575
6650
  }, z.core.$strict>;
6576
6651
  objectId: z.ZodOptional<z.ZodString>;
6652
+ resourceKind: z.ZodOptional<z.ZodString>;
6653
+ label: z.ZodOptional<z.ZodString>;
6577
6654
  open: z.ZodOptional<z.ZodObject<{
6578
6655
  kind: z.ZodLiteral<"none">;
6579
6656
  }, z.core.$strict>>;
@@ -6696,7 +6773,10 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6696
6773
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
6697
6774
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
6698
6775
  capabilities: z.ZodOptional<z.ZodObject<{
6699
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
6776
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6777
+ pluginId: z.ZodString;
6778
+ localId: z.ZodString;
6779
+ }, z.core.$strict>]>>>;
6700
6780
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6701
6781
  "navigation.open-session": "navigation.open-session";
6702
6782
  "sessions.create": "sessions.create";
@@ -6714,7 +6794,10 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6714
6794
  "workspace.pane-header": "workspace.pane-header";
6715
6795
  "workspace.arrange": "workspace.arrange";
6716
6796
  }>>>;
6717
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6797
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6798
+ pluginId: z.ZodString;
6799
+ localId: z.ZodString;
6800
+ }, z.core.$strict>]>>>;
6718
6801
  }, z.core.$strict>>;
6719
6802
  }, z.core.$strict> | z.ZodPreprocess<z.ZodObject<{
6720
6803
  localId: z.ZodString;
@@ -6733,7 +6816,10 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6733
6816
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
6734
6817
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
6735
6818
  capabilities: z.ZodOptional<z.ZodObject<{
6736
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
6819
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6820
+ pluginId: z.ZodString;
6821
+ localId: z.ZodString;
6822
+ }, z.core.$strict>]>>>;
6737
6823
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6738
6824
  "navigation.open-session": "navigation.open-session";
6739
6825
  "sessions.create": "sessions.create";
@@ -6751,7 +6837,10 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6751
6837
  "workspace.pane-header": "workspace.pane-header";
6752
6838
  "workspace.arrange": "workspace.arrange";
6753
6839
  }>>>;
6754
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6840
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6841
+ pluginId: z.ZodString;
6842
+ localId: z.ZodString;
6843
+ }, z.core.$strict>]>>>;
6755
6844
  }, z.core.$strict>>;
6756
6845
  }, z.core.$strict>, unknown>>>;
6757
6846
  railEntries: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -6794,6 +6883,11 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6794
6883
  title: z.ZodOptional<z.ZodString>;
6795
6884
  icon: z.ZodOptional<z.ZodString>;
6796
6885
  companion: z.ZodOptional<z.ZodBoolean>;
6886
+ sessionBinding: z.ZodOptional<z.ZodEnum<{
6887
+ session: "session";
6888
+ family: "family";
6889
+ }>>;
6890
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
6797
6891
  openedEvent: z.ZodOptional<z.ZodString>;
6798
6892
  }, z.core.$strict>>>;
6799
6893
  themes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7880,6 +7974,8 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7880
7974
  search: z.ZodOptional<z.ZodString>;
7881
7975
  }, z.core.$strict>;
7882
7976
  objectId: z.ZodOptional<z.ZodString>;
7977
+ resourceKind: z.ZodOptional<z.ZodString>;
7978
+ label: z.ZodOptional<z.ZodString>;
7883
7979
  open: z.ZodOptional<z.ZodObject<{
7884
7980
  kind: z.ZodLiteral<"none">;
7885
7981
  }, z.core.$strict>>;
@@ -8002,7 +8098,10 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8002
8098
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
8003
8099
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
8004
8100
  capabilities: z.ZodOptional<z.ZodObject<{
8005
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
8101
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
8102
+ pluginId: z.ZodString;
8103
+ localId: z.ZodString;
8104
+ }, z.core.$strict>]>>>;
8006
8105
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8007
8106
  "navigation.open-session": "navigation.open-session";
8008
8107
  "sessions.create": "sessions.create";
@@ -8020,7 +8119,10 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8020
8119
  "workspace.pane-header": "workspace.pane-header";
8021
8120
  "workspace.arrange": "workspace.arrange";
8022
8121
  }>>>;
8023
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8122
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
8123
+ pluginId: z.ZodString;
8124
+ localId: z.ZodString;
8125
+ }, z.core.$strict>]>>>;
8024
8126
  }, z.core.$strict>>;
8025
8127
  }, z.core.$strict> | z.ZodPreprocess<z.ZodObject<{
8026
8128
  localId: z.ZodString;
@@ -8039,7 +8141,10 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8039
8141
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
8040
8142
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
8041
8143
  capabilities: z.ZodOptional<z.ZodObject<{
8042
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
8144
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
8145
+ pluginId: z.ZodString;
8146
+ localId: z.ZodString;
8147
+ }, z.core.$strict>]>>>;
8043
8148
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8044
8149
  "navigation.open-session": "navigation.open-session";
8045
8150
  "sessions.create": "sessions.create";
@@ -8057,7 +8162,10 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8057
8162
  "workspace.pane-header": "workspace.pane-header";
8058
8163
  "workspace.arrange": "workspace.arrange";
8059
8164
  }>>>;
8060
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8165
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
8166
+ pluginId: z.ZodString;
8167
+ localId: z.ZodString;
8168
+ }, z.core.$strict>]>>>;
8061
8169
  }, z.core.$strict>>;
8062
8170
  }, z.core.$strict>, unknown>>>;
8063
8171
  railEntries: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8100,6 +8208,11 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8100
8208
  title: z.ZodOptional<z.ZodString>;
8101
8209
  icon: z.ZodOptional<z.ZodString>;
8102
8210
  companion: z.ZodOptional<z.ZodBoolean>;
8211
+ sessionBinding: z.ZodOptional<z.ZodEnum<{
8212
+ session: "session";
8213
+ family: "family";
8214
+ }>>;
8215
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
8103
8216
  openedEvent: z.ZodOptional<z.ZodString>;
8104
8217
  }, z.core.$strict>>>;
8105
8218
  themes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8317,7 +8430,7 @@ export declare function parseSemver(value: string): ParsedSemver | undefined;
8317
8430
  export declare function parseWhere(source: string, keyTypes?: WhereKeyTypes): WhereParseResult;
8318
8431
 
8319
8432
  /** Every capability slug {@link PluginCapabilityClaimV1} can express, for exhaustive table checks. */
8320
- export declare const PLUGIN_CAPABILITY_SLUGS: readonly ["sessions.run", "network.connect", "web-session.request", "web-session.download", "process.spawn", "sessions.read", "signals.read", "uri.call", "endpoints.invoke", "skills.read", "skills.write", "skills.share", "plugins.set-enabled", "sessions.annotate", "sessions.compact", "soul.write", "tools.describe", "workspace.command", "sessions.create", "sessions.update", "models.complete", "systemOne.use", "automations.write", "automations.run", "workflows.define", "workflows.signals", "session-events.subscribe", "agents.run", "dynamic-context.register", "app-data.register", "knowledge-source.register", "artifacts.read", "session-artifacts.read", "session-artifacts.create", "account.assert", "account.update", "agents.permissions", "tool-interception.register", "interaction.surface", "config.declare-section", "auth.own-service", "auth.shared-identity", "cli.bind", "mcp.host-server", "prompt.resident", "skills.declared-source", "whiteboard.discover", "whiteboard.read", "whiteboard.create", "whiteboard.update", "whiteboard.remove", "model-selection.register", "system-prompt.register"];
8433
+ export declare const PLUGIN_CAPABILITY_SLUGS: readonly ["sessions.run", "network.connect", "web-session.request", "web-session.download", "process.spawn", "sessions.read", "signals.read", "uri.call", "endpoints.invoke", "skills.read", "skills.write", "skills.share", "plugins.set-enabled", "sessions.annotate", "sessions.compact", "soul.write", "tools.describe", "workspace.command", "sessions.create", "sessions.update", "models.complete", "systemOne.use", "automations.write", "automations.run", "workflows.define", "workflows.signals", "session-events.subscribe", "agents.run", "dynamic-context.register", "app-data.register", "app-data.read", "knowledge-source.register", "artifacts.read", "session-artifacts.read", "session-artifacts.create", "account.assert", "account.update", "agents.permissions", "tool-interception.register", "interaction.surface", "config.declare-section", "auth.own-service", "auth.shared-identity", "cli.bind", "mcp.host-server", "prompt.resident", "skills.declared-source", "family-folder.root", "whiteboard.discover", "whiteboard.read", "whiteboard.create", "whiteboard.update", "whiteboard.remove", "model-selection.register", "system-prompt.register"];
8321
8434
 
8322
8435
  /** Diagnostic messages carry plugin-controlled text (parse errors, module errors); bound it so a
8323
8436
  * hostile or accidental multi-megabyte error can never blow up a log line or a render surface. */
@@ -8982,7 +9095,7 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
8982
9095
  verb: "search" | "read" | "list" | "write" | "edit" | "delete";
8983
9096
  };
8984
9097
  } | {
8985
- target: "kay.agent" | "kay.app";
9098
+ target: "kay.agent" | "kay.app" | "kay.ui";
8986
9099
  slug: "endpoints.invoke";
8987
9100
  envelope: {
8988
9101
  pluginId: string;
@@ -9070,6 +9183,13 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
9070
9183
  envelope: {
9071
9184
  contributor: string;
9072
9185
  };
9186
+ } | {
9187
+ target: "kay.ui";
9188
+ slug: "app-data.read";
9189
+ envelope: {
9190
+ pluginId: string;
9191
+ sourceId: string;
9192
+ };
9073
9193
  } | {
9074
9194
  target: "kay.app";
9075
9195
  slug: "app-data.register";
@@ -9196,6 +9316,10 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
9196
9316
  command: string;
9197
9317
  args: string[];
9198
9318
  };
9319
+ } | {
9320
+ target: "kay.agent";
9321
+ slug: "family-folder.root";
9322
+ envelope: Record<string, never>;
9199
9323
  }, {
9200
9324
  target: "kay.agent" | "kay.app";
9201
9325
  slug: "whiteboard.discover" | "whiteboard.read" | "whiteboard.create" | "whiteboard.update" | "whiteboard.remove";
@@ -9249,7 +9373,7 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
9249
9373
  verb: "search" | "read" | "list" | "write" | "edit" | "delete";
9250
9374
  };
9251
9375
  } | {
9252
- target: "kay.agent" | "kay.app";
9376
+ target: "kay.agent" | "kay.app" | "kay.ui";
9253
9377
  slug: "endpoints.invoke";
9254
9378
  envelope: {
9255
9379
  pluginId: string;
@@ -9337,6 +9461,13 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
9337
9461
  envelope: {
9338
9462
  contributor: string;
9339
9463
  };
9464
+ } | {
9465
+ target: "kay.ui";
9466
+ slug: "app-data.read";
9467
+ envelope: {
9468
+ pluginId: string;
9469
+ sourceId: string;
9470
+ };
9340
9471
  } | {
9341
9472
  target: "kay.app";
9342
9473
  slug: "app-data.register";
@@ -9463,6 +9594,10 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
9463
9594
  command: string;
9464
9595
  args: string[];
9465
9596
  };
9597
+ } | {
9598
+ target: "kay.agent";
9599
+ slug: "family-folder.root";
9600
+ envelope: Record<string, never>;
9466
9601
  }>;
9467
9602
 
9468
9603
  export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -9525,6 +9660,7 @@ export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObje
9525
9660
  target: z.ZodEnum<{
9526
9661
  "kay.agent": "kay.agent";
9527
9662
  "kay.app": "kay.app";
9663
+ "kay.ui": "kay.ui";
9528
9664
  }>;
9529
9665
  slug: z.ZodLiteral<"endpoints.invoke">;
9530
9666
  envelope: z.ZodObject<{
@@ -9613,6 +9749,13 @@ export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObje
9613
9749
  envelope: z.ZodObject<{
9614
9750
  contributor: z.ZodString;
9615
9751
  }, z.core.$strict>;
9752
+ }, z.core.$strict>, z.ZodObject<{
9753
+ target: z.ZodLiteral<"kay.ui">;
9754
+ slug: z.ZodLiteral<"app-data.read">;
9755
+ envelope: z.ZodObject<{
9756
+ pluginId: z.ZodString;
9757
+ sourceId: z.ZodString;
9758
+ }, z.core.$strict>;
9616
9759
  }, z.core.$strict>, z.ZodObject<{
9617
9760
  target: z.ZodLiteral<"kay.app">;
9618
9761
  slug: z.ZodLiteral<"app-data.register">;
@@ -9763,6 +9906,10 @@ export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObje
9763
9906
  command: z.ZodString;
9764
9907
  args: z.ZodArray<z.ZodString>;
9765
9908
  }, z.core.$strict>], "channel">;
9909
+ }, z.core.$strict>, z.ZodObject<{
9910
+ target: z.ZodLiteral<"kay.agent">;
9911
+ slug: z.ZodLiteral<"family-folder.root">;
9912
+ envelope: z.ZodObject<{}, z.core.$strict>;
9766
9913
  }, z.core.$strict>, z.ZodObject<{
9767
9914
  target: z.ZodEnum<{
9768
9915
  "kay.agent": "kay.agent";
@@ -9847,6 +9994,7 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9847
9994
  target: z.ZodEnum<{
9848
9995
  "kay.agent": "kay.agent";
9849
9996
  "kay.app": "kay.app";
9997
+ "kay.ui": "kay.ui";
9850
9998
  }>;
9851
9999
  slug: z.ZodLiteral<"endpoints.invoke">;
9852
10000
  envelope: z.ZodObject<{
@@ -9935,6 +10083,13 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9935
10083
  envelope: z.ZodObject<{
9936
10084
  contributor: z.ZodString;
9937
10085
  }, z.core.$strict>;
10086
+ }, z.core.$strict>, z.ZodObject<{
10087
+ target: z.ZodLiteral<"kay.ui">;
10088
+ slug: z.ZodLiteral<"app-data.read">;
10089
+ envelope: z.ZodObject<{
10090
+ pluginId: z.ZodString;
10091
+ sourceId: z.ZodString;
10092
+ }, z.core.$strict>;
9938
10093
  }, z.core.$strict>, z.ZodObject<{
9939
10094
  target: z.ZodLiteral<"kay.app">;
9940
10095
  slug: z.ZodLiteral<"app-data.register">;
@@ -10085,6 +10240,10 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
10085
10240
  command: z.ZodString;
10086
10241
  args: z.ZodArray<z.ZodString>;
10087
10242
  }, z.core.$strict>], "channel">;
10243
+ }, z.core.$strict>, z.ZodObject<{
10244
+ target: z.ZodLiteral<"kay.agent">;
10245
+ slug: z.ZodLiteral<"family-folder.root">;
10246
+ envelope: z.ZodObject<{}, z.core.$strict>;
10088
10247
  }, z.core.$strict>, z.ZodObject<{
10089
10248
  target: z.ZodEnum<{
10090
10249
  "kay.agent": "kay.agent";
@@ -10168,6 +10327,7 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
10168
10327
  target: z.ZodEnum<{
10169
10328
  "kay.agent": "kay.agent";
10170
10329
  "kay.app": "kay.app";
10330
+ "kay.ui": "kay.ui";
10171
10331
  }>;
10172
10332
  slug: z.ZodLiteral<"endpoints.invoke">;
10173
10333
  envelope: z.ZodObject<{
@@ -10256,6 +10416,13 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
10256
10416
  envelope: z.ZodObject<{
10257
10417
  contributor: z.ZodString;
10258
10418
  }, z.core.$strict>;
10419
+ }, z.core.$strict>, z.ZodObject<{
10420
+ target: z.ZodLiteral<"kay.ui">;
10421
+ slug: z.ZodLiteral<"app-data.read">;
10422
+ envelope: z.ZodObject<{
10423
+ pluginId: z.ZodString;
10424
+ sourceId: z.ZodString;
10425
+ }, z.core.$strict>;
10259
10426
  }, z.core.$strict>, z.ZodObject<{
10260
10427
  target: z.ZodLiteral<"kay.app">;
10261
10428
  slug: z.ZodLiteral<"app-data.register">;
@@ -10406,6 +10573,10 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
10406
10573
  command: z.ZodString;
10407
10574
  args: z.ZodArray<z.ZodString>;
10408
10575
  }, z.core.$strict>], "channel">;
10576
+ }, z.core.$strict>, z.ZodObject<{
10577
+ target: z.ZodLiteral<"kay.agent">;
10578
+ slug: z.ZodLiteral<"family-folder.root">;
10579
+ envelope: z.ZodObject<{}, z.core.$strict>;
10409
10580
  }, z.core.$strict>, z.ZodObject<{
10410
10581
  target: z.ZodEnum<{
10411
10582
  "kay.agent": "kay.agent";
@@ -10523,6 +10694,7 @@ export declare const PluginCapabilityRefusalV1: z.ZodObject<{
10523
10694
  target: z.ZodEnum<{
10524
10695
  "kay.agent": "kay.agent";
10525
10696
  "kay.app": "kay.app";
10697
+ "kay.ui": "kay.ui";
10526
10698
  }>;
10527
10699
  slug: z.ZodLiteral<"endpoints.invoke">;
10528
10700
  envelope: z.ZodObject<{
@@ -10611,6 +10783,13 @@ export declare const PluginCapabilityRefusalV1: z.ZodObject<{
10611
10783
  envelope: z.ZodObject<{
10612
10784
  contributor: z.ZodString;
10613
10785
  }, z.core.$strict>;
10786
+ }, z.core.$strict>, z.ZodObject<{
10787
+ target: z.ZodLiteral<"kay.ui">;
10788
+ slug: z.ZodLiteral<"app-data.read">;
10789
+ envelope: z.ZodObject<{
10790
+ pluginId: z.ZodString;
10791
+ sourceId: z.ZodString;
10792
+ }, z.core.$strict>;
10614
10793
  }, z.core.$strict>, z.ZodObject<{
10615
10794
  target: z.ZodLiteral<"kay.app">;
10616
10795
  slug: z.ZodLiteral<"app-data.register">;
@@ -10761,6 +10940,10 @@ export declare const PluginCapabilityRefusalV1: z.ZodObject<{
10761
10940
  command: z.ZodString;
10762
10941
  args: z.ZodArray<z.ZodString>;
10763
10942
  }, z.core.$strict>], "channel">;
10943
+ }, z.core.$strict>, z.ZodObject<{
10944
+ target: z.ZodLiteral<"kay.agent">;
10945
+ slug: z.ZodLiteral<"family-folder.root">;
10946
+ envelope: z.ZodObject<{}, z.core.$strict>;
10764
10947
  }, z.core.$strict>, z.ZodObject<{
10765
10948
  target: z.ZodEnum<{
10766
10949
  "kay.agent": "kay.agent";
@@ -12148,6 +12331,8 @@ export declare const ReferencePresentationAddress: z.ZodObject<{
12148
12331
  search: z.ZodOptional<z.ZodString>;
12149
12332
  }, z.core.$strict>;
12150
12333
  objectId: z.ZodOptional<z.ZodString>;
12334
+ resourceKind: z.ZodOptional<z.ZodString>;
12335
+ label: z.ZodOptional<z.ZodString>;
12151
12336
  open: z.ZodOptional<z.ZodObject<{
12152
12337
  kind: z.ZodLiteral<"none">;
12153
12338
  }, z.core.$strict>>;
@@ -12167,6 +12352,8 @@ export declare const ReferencePresentationContribution: z.ZodObject<{
12167
12352
  search: z.ZodOptional<z.ZodString>;
12168
12353
  }, z.core.$strict>;
12169
12354
  objectId: z.ZodOptional<z.ZodString>;
12355
+ resourceKind: z.ZodOptional<z.ZodString>;
12356
+ label: z.ZodOptional<z.ZodString>;
12170
12357
  open: z.ZodOptional<z.ZodObject<{
12171
12358
  kind: z.ZodLiteral<"none">;
12172
12359
  }, z.core.$strict>>;
@@ -12922,6 +13109,9 @@ export declare const ResolvedKayAppDataSource: z.ZodObject<{
12922
13109
  schema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
12923
13110
  }, z.core.$strict>;
12924
13111
  }, z.core.$strict>>;
13112
+ messageDraft: z.ZodOptional<z.ZodObject<{
13113
+ schemes: z.ZodArray<z.ZodString>;
13114
+ }, z.core.$strict>>;
12925
13115
  store: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
12926
13116
  shape: z.ZodLiteral<"rows">;
12927
13117
  rowsField: z.ZodString;
@@ -13000,7 +13190,6 @@ export declare type ResolvedKayAppTool = z.infer<typeof ResolvedKayAppTool>;
13000
13190
 
13001
13191
  export declare const ResolvedKayAppWhiteboardType: z.ZodObject<{
13002
13192
  localId: z.ZodString;
13003
- globalId: z.ZodString;
13004
13193
  displayName: z.ZodString;
13005
13194
  schemaVersion: z.ZodNumber;
13006
13195
  storage: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -13012,6 +13201,12 @@ export declare const ResolvedKayAppWhiteboardType: z.ZodObject<{
13012
13201
  bodyField: z.ZodString;
13013
13202
  }, z.core.$strict>], "kind">;
13014
13203
  valueSchema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
13204
+ directory: z.ZodOptional<z.ZodArray<z.ZodString>>;
13205
+ reference: z.ZodOptional<z.ZodObject<{
13206
+ uriTemplate: z.ZodString;
13207
+ }, z.core.$strict>>;
13208
+ handover: z.ZodOptional<z.ZodLiteral<true>>;
13209
+ globalId: z.ZodString;
13015
13210
  }, z.core.$strict>;
13016
13211
 
13017
13212
  export declare type ResolvedKayAppWhiteboardType = z.infer<typeof ResolvedKayAppWhiteboardType>;
@@ -13049,10 +13244,13 @@ export declare const ResolvedKayUiApp: z.ZodObject<{
13049
13244
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
13050
13245
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
13051
13246
  capabilities: z.ZodOptional<z.ZodObject<{
13052
- endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
13247
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13053
13248
  localId: z.ZodString;
13054
13249
  globalId: z.ZodString;
13055
- }, z.core.$strict>>>;
13250
+ }, z.core.$strict>, z.ZodObject<{
13251
+ pluginId: z.ZodString;
13252
+ localId: z.ZodString;
13253
+ }, z.core.$strict>]>>>;
13056
13254
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
13057
13255
  "navigation.open-session": "navigation.open-session";
13058
13256
  "sessions.create": "sessions.create";
@@ -13070,16 +13268,22 @@ export declare const ResolvedKayUiApp: z.ZodObject<{
13070
13268
  "workspace.pane-header": "workspace.pane-header";
13071
13269
  "workspace.arrange": "workspace.arrange";
13072
13270
  }>>>;
13073
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13271
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13272
+ pluginId: z.ZodString;
13273
+ localId: z.ZodString;
13274
+ }, z.core.$strict>]>>>;
13074
13275
  }, z.core.$strict>>;
13075
13276
  }, z.core.$strict>;
13076
13277
 
13077
13278
  export declare type ResolvedKayUiApp = z.infer<typeof ResolvedKayUiApp>;
13078
13279
 
13079
- export declare const ResolvedKayUiAppEndpointCapability: z.ZodObject<{
13280
+ export declare const ResolvedKayUiAppEndpointCapability: z.ZodUnion<readonly [z.ZodObject<{
13080
13281
  localId: z.ZodString;
13081
13282
  globalId: z.ZodString;
13082
- }, z.core.$strict>;
13283
+ }, z.core.$strict>, z.ZodObject<{
13284
+ pluginId: z.ZodString;
13285
+ localId: z.ZodString;
13286
+ }, z.core.$strict>]>;
13083
13287
 
13084
13288
  export declare type ResolvedKayUiAppEndpointCapability = z.infer<typeof ResolvedKayUiAppEndpointCapability>;
13085
13289
 
@@ -14039,6 +14243,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14039
14243
  }, z.core.$strict>>;
14040
14244
  }, z.core.$strict>;
14041
14245
  }, z.core.$strict>>;
14246
+ kayAgentFamilyFolder: z.ZodOptional<z.ZodObject<{
14247
+ scope: z.ZodLiteral<"root">;
14248
+ }, z.core.$strict>>;
14042
14249
  kayAgentUriModules: z.ZodOptional<z.ZodArray<z.ZodObject<{
14043
14250
  revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
14044
14251
  mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
@@ -14502,6 +14709,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14502
14709
  schema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
14503
14710
  }, z.core.$strict>;
14504
14711
  }, z.core.$strict>>;
14712
+ messageDraft: z.ZodOptional<z.ZodObject<{
14713
+ schemes: z.ZodArray<z.ZodString>;
14714
+ }, z.core.$strict>>;
14505
14715
  store: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
14506
14716
  shape: z.ZodLiteral<"rows">;
14507
14717
  rowsField: z.ZodString;
@@ -14512,7 +14722,6 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14512
14722
  }, z.core.$strict>>>;
14513
14723
  kayAppWhiteboardTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
14514
14724
  localId: z.ZodString;
14515
- globalId: z.ZodString;
14516
14725
  displayName: z.ZodString;
14517
14726
  schemaVersion: z.ZodNumber;
14518
14727
  storage: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -14524,6 +14733,12 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14524
14733
  bodyField: z.ZodString;
14525
14734
  }, z.core.$strict>], "kind">;
14526
14735
  valueSchema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
14736
+ directory: z.ZodOptional<z.ZodArray<z.ZodString>>;
14737
+ reference: z.ZodOptional<z.ZodObject<{
14738
+ uriTemplate: z.ZodString;
14739
+ }, z.core.$strict>>;
14740
+ handover: z.ZodOptional<z.ZodLiteral<true>>;
14741
+ globalId: z.ZodString;
14527
14742
  }, z.core.$strict>>>;
14528
14743
  kayAppMcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
14529
14744
  name: z.ZodString;
@@ -14580,6 +14795,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14580
14795
  search: z.ZodOptional<z.ZodString>;
14581
14796
  }, z.core.$strict>;
14582
14797
  objectId: z.ZodOptional<z.ZodString>;
14798
+ resourceKind: z.ZodOptional<z.ZodString>;
14799
+ label: z.ZodOptional<z.ZodString>;
14583
14800
  open: z.ZodOptional<z.ZodObject<{
14584
14801
  kind: z.ZodLiteral<"none">;
14585
14802
  }, z.core.$strict>>;
@@ -14681,10 +14898,13 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14681
14898
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
14682
14899
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
14683
14900
  capabilities: z.ZodOptional<z.ZodObject<{
14684
- endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
14901
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14685
14902
  localId: z.ZodString;
14686
14903
  globalId: z.ZodString;
14687
- }, z.core.$strict>>>;
14904
+ }, z.core.$strict>, z.ZodObject<{
14905
+ pluginId: z.ZodString;
14906
+ localId: z.ZodString;
14907
+ }, z.core.$strict>]>>>;
14688
14908
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14689
14909
  "navigation.open-session": "navigation.open-session";
14690
14910
  "sessions.create": "sessions.create";
@@ -14702,7 +14922,10 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14702
14922
  "workspace.pane-header": "workspace.pane-header";
14703
14923
  "workspace.arrange": "workspace.arrange";
14704
14924
  }>>>;
14705
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
14925
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14926
+ pluginId: z.ZodString;
14927
+ localId: z.ZodString;
14928
+ }, z.core.$strict>]>>>;
14706
14929
  }, z.core.$strict>>;
14707
14930
  }, z.core.$strict>>>;
14708
14931
  }, z.core.$strict>;
@@ -15165,6 +15388,8 @@ export declare const ResolvedReferencePresentation: z.ZodObject<{
15165
15388
  search: z.ZodOptional<z.ZodString>;
15166
15389
  }, z.core.$strict>;
15167
15390
  objectId: z.ZodOptional<z.ZodString>;
15391
+ resourceKind: z.ZodOptional<z.ZodString>;
15392
+ label: z.ZodOptional<z.ZodString>;
15168
15393
  open: z.ZodOptional<z.ZodObject<{
15169
15394
  kind: z.ZodLiteral<"none">;
15170
15395
  }, z.core.$strict>>;
@@ -16559,7 +16784,10 @@ export declare interface TurnPacketMessage {
16559
16784
  }
16560
16785
 
16561
16786
  export declare const UiAppCapabilities: z.ZodObject<{
16562
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
16787
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16788
+ pluginId: z.ZodString;
16789
+ localId: z.ZodString;
16790
+ }, z.core.$strict>]>>>;
16563
16791
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
16564
16792
  "navigation.open-session": "navigation.open-session";
16565
16793
  "sessions.create": "sessions.create";
@@ -16577,11 +16805,21 @@ export declare const UiAppCapabilities: z.ZodObject<{
16577
16805
  "workspace.pane-header": "workspace.pane-header";
16578
16806
  "workspace.arrange": "workspace.arrange";
16579
16807
  }>>>;
16580
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16808
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16809
+ pluginId: z.ZodString;
16810
+ localId: z.ZodString;
16811
+ }, z.core.$strict>]>>>;
16581
16812
  }, z.core.$strict>;
16582
16813
 
16583
16814
  export declare type UiAppCapabilities = z.infer<typeof UiAppCapabilities>;
16584
16815
 
16816
+ export declare const UiAppCapabilityReference: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16817
+ pluginId: z.ZodString;
16818
+ localId: z.ZodString;
16819
+ }, z.core.$strict>]>;
16820
+
16821
+ export declare type UiAppCapabilityReference = z.infer<typeof UiAppCapabilityReference>;
16822
+
16585
16823
  export declare const UiAppContribution: z.ZodObject<{
16586
16824
  localId: z.ZodString;
16587
16825
  displayName: z.ZodString;
@@ -16599,7 +16837,10 @@ export declare const UiAppContribution: z.ZodObject<{
16599
16837
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
16600
16838
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
16601
16839
  capabilities: z.ZodOptional<z.ZodObject<{
16602
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
16840
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16841
+ pluginId: z.ZodString;
16842
+ localId: z.ZodString;
16843
+ }, z.core.$strict>]>>>;
16603
16844
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
16604
16845
  "navigation.open-session": "navigation.open-session";
16605
16846
  "sessions.create": "sessions.create";
@@ -16617,7 +16858,10 @@ export declare const UiAppContribution: z.ZodObject<{
16617
16858
  "workspace.pane-header": "workspace.pane-header";
16618
16859
  "workspace.arrange": "workspace.arrange";
16619
16860
  }>>>;
16620
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16861
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16862
+ pluginId: z.ZodString;
16863
+ localId: z.ZodString;
16864
+ }, z.core.$strict>]>>>;
16621
16865
  }, z.core.$strict>>;
16622
16866
  }, z.core.$strict> | z.ZodPreprocess<z.ZodObject<{
16623
16867
  localId: z.ZodString;
@@ -16636,7 +16880,10 @@ export declare const UiAppContribution: z.ZodObject<{
16636
16880
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
16637
16881
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
16638
16882
  capabilities: z.ZodOptional<z.ZodObject<{
16639
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
16883
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16884
+ pluginId: z.ZodString;
16885
+ localId: z.ZodString;
16886
+ }, z.core.$strict>]>>>;
16640
16887
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
16641
16888
  "navigation.open-session": "navigation.open-session";
16642
16889
  "sessions.create": "sessions.create";
@@ -16654,7 +16901,10 @@ export declare const UiAppContribution: z.ZodObject<{
16654
16901
  "workspace.pane-header": "workspace.pane-header";
16655
16902
  "workspace.arrange": "workspace.arrange";
16656
16903
  }>>>;
16657
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16904
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16905
+ pluginId: z.ZodString;
16906
+ localId: z.ZodString;
16907
+ }, z.core.$strict>]>>>;
16658
16908
  }, z.core.$strict>>;
16659
16909
  }, z.core.$strict>, unknown>;
16660
16910
 
@@ -16719,6 +16969,11 @@ export declare const UiPageContribution: z.ZodObject<{
16719
16969
  title: z.ZodOptional<z.ZodString>;
16720
16970
  icon: z.ZodOptional<z.ZodString>;
16721
16971
  companion: z.ZodOptional<z.ZodBoolean>;
16972
+ sessionBinding: z.ZodOptional<z.ZodEnum<{
16973
+ session: "session";
16974
+ family: "family";
16975
+ }>>;
16976
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
16722
16977
  openedEvent: z.ZodOptional<z.ZodString>;
16723
16978
  }, z.core.$strict>;
16724
16979
 
@@ -17373,8 +17628,8 @@ export declare const WhiteboardEntryInfo: z.ZodObject<{
17373
17628
  authorSessionId: z.ZodNullable<z.ZodString>;
17374
17629
  }, z.core.$strict>>;
17375
17630
  state: z.ZodEnum<{
17376
- unavailable: "unavailable";
17377
17631
  available: "available";
17632
+ unavailable: "unavailable";
17378
17633
  "unsupported-version": "unsupported-version";
17379
17634
  invalid: "invalid";
17380
17635
  }>;
@@ -17395,8 +17650,8 @@ export declare const WhiteboardEntryInspection: z.ZodObject<{
17395
17650
  authorSessionId: z.ZodNullable<z.ZodString>;
17396
17651
  }, z.core.$strict>>;
17397
17652
  state: z.ZodEnum<{
17398
- unavailable: "unavailable";
17399
17653
  available: "available";
17654
+ unavailable: "unavailable";
17400
17655
  "unsupported-version": "unsupported-version";
17401
17656
  invalid: "invalid";
17402
17657
  }>;
@@ -17409,6 +17664,13 @@ export declare const WhiteboardEntryInspection: z.ZodObject<{
17409
17664
 
17410
17665
  export declare type WhiteboardEntryInspection = Readonly<z.infer<typeof WhiteboardEntryInspection>>;
17411
17666
 
17667
+ /** A plugin-owned URI with the entry name encoded into its final path segment. */
17668
+ export declare const WhiteboardEntryReference: z.ZodObject<{
17669
+ uriTemplate: z.ZodString;
17670
+ }, z.core.$strict>;
17671
+
17672
+ export declare type WhiteboardEntryReference = z.infer<typeof WhiteboardEntryReference>;
17673
+
17412
17674
  export declare const WhiteboardEntrySnapshot: z.ZodObject<{
17413
17675
  name: z.ZodString;
17414
17676
  entry: z.ZodObject<{
@@ -17455,6 +17717,11 @@ export declare const WhiteboardTypeContribution: z.ZodObject<{
17455
17717
  bodyField: z.ZodString;
17456
17718
  }, z.core.$strict>], "kind">;
17457
17719
  valueSchema: z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>;
17720
+ directory: z.ZodOptional<z.ZodArray<z.ZodString>>;
17721
+ reference: z.ZodOptional<z.ZodObject<{
17722
+ uriTemplate: z.ZodString;
17723
+ }, z.core.$strict>>;
17724
+ handover: z.ZodOptional<z.ZodLiteral<true>>;
17458
17725
  }, z.core.$strict>;
17459
17726
 
17460
17727
  export declare type WhiteboardTypeContribution = z.infer<typeof WhiteboardTypeContribution>;
@@ -17464,6 +17731,9 @@ export declare const WhiteboardTypeInfo: z.ZodObject<{
17464
17731
  displayName: z.ZodString;
17465
17732
  schemaVersion: z.ZodNumber;
17466
17733
  available: z.ZodBoolean;
17734
+ reference: z.ZodOptional<z.ZodObject<{
17735
+ uriTemplate: z.ZodString;
17736
+ }, z.core.$strict>>;
17467
17737
  }, z.core.$strict>;
17468
17738
 
17469
17739
  export declare type WhiteboardTypeInfo = Readonly<z.infer<typeof WhiteboardTypeInfo>>;