@yaklabs-ai/plugin-protocol 0.51.0 → 0.52.1

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
@@ -389,9 +389,11 @@ export declare type ApprovalTypeContribution = z.infer<typeof ApprovalTypeContri
389
389
 
390
390
  export declare const AppUriModuleContribution: z.ZodObject<{
391
391
  description: z.ZodExactOptional<z.ZodString>;
392
- localId: z.ZodString;
393
392
  displayName: z.ZodOptional<z.ZodString>;
393
+ localId: z.ZodString;
394
394
  schemes: z.ZodArray<z.ZodString>;
395
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
396
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
395
397
  screenActions: z.ZodExactOptional<z.ZodObject<{
396
398
  scheme: z.ZodString;
397
399
  hosts: z.ZodArray<z.ZodString>;
@@ -451,8 +453,8 @@ export declare const AppUriModuleContribution: z.ZodObject<{
451
453
  description: z.ZodString;
452
454
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
453
455
  search: "search";
454
- list: "list";
455
456
  read: "read";
457
+ list: "list";
456
458
  write: "write";
457
459
  edit: "edit";
458
460
  delete: "delete";
@@ -460,8 +462,8 @@ export declare const AppUriModuleContribution: z.ZodObject<{
460
462
  }>>>;
461
463
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
462
464
  search: "search";
463
- list: "list";
464
465
  read: "read";
466
+ list: "list";
465
467
  write: "write";
466
468
  edit: "edit";
467
469
  delete: "delete";
@@ -469,8 +471,8 @@ export declare const AppUriModuleContribution: z.ZodObject<{
469
471
  }> & z.core.$partial, z.ZodString>>;
470
472
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
471
473
  search: "search";
472
- list: "list";
473
474
  read: "read";
475
+ list: "list";
474
476
  write: "write";
475
477
  edit: "edit";
476
478
  delete: "delete";
@@ -1635,6 +1637,19 @@ export declare const AuthGrantFrontDoor: z.ZodObject<{
1635
1637
  }>;
1636
1638
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1637
1639
  successNote: z.ZodOptional<z.ZodString>;
1640
+ round: z.ZodOptional<z.ZodObject<{
1641
+ scopes: z.ZodArray<z.ZodString>;
1642
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
1643
+ redirectParam: z.ZodString;
1644
+ requiresGrantedScope: z.ZodString;
1645
+ supersededByScopes: z.ZodArray<z.ZodString>;
1646
+ purpose: z.ZodString;
1647
+ displayNoun: z.ZodString;
1648
+ }, z.core.$strict>>;
1649
+ completion: z.ZodOptional<z.ZodObject<{
1650
+ pluginId: z.ZodString;
1651
+ moduleId: z.ZodString;
1652
+ }, z.core.$strict>>;
1638
1653
  }, z.core.$strict>>;
1639
1654
  }, z.core.$strict>;
1640
1655
 
@@ -1698,6 +1713,19 @@ export declare const AuthGrantRequest: z.ZodObject<{
1698
1713
  }>;
1699
1714
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1700
1715
  successNote: z.ZodOptional<z.ZodString>;
1716
+ round: z.ZodOptional<z.ZodObject<{
1717
+ scopes: z.ZodArray<z.ZodString>;
1718
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
1719
+ redirectParam: z.ZodString;
1720
+ requiresGrantedScope: z.ZodString;
1721
+ supersededByScopes: z.ZodArray<z.ZodString>;
1722
+ purpose: z.ZodString;
1723
+ displayNoun: z.ZodString;
1724
+ }, z.core.$strict>>;
1725
+ completion: z.ZodOptional<z.ZodObject<{
1726
+ pluginId: z.ZodString;
1727
+ moduleId: z.ZodString;
1728
+ }, z.core.$strict>>;
1701
1729
  }, z.core.$strict>>;
1702
1730
  }, z.core.$strict>>;
1703
1731
  }, z.core.$strict>;
@@ -1809,6 +1837,7 @@ declare namespace authoringContributionSchemas {
1809
1837
  ReferencePresentationWords,
1810
1838
  ReferencePresentationContribution,
1811
1839
  KayUiAppHostCapability,
1840
+ UiAppCapabilityReference,
1812
1841
  UiAppCapabilities,
1813
1842
  UiRailEntryContribution,
1814
1843
  UiToastPreviewContribution,
@@ -1991,6 +2020,8 @@ declare const canonicalContributionSchemas: {
1991
2020
  }, z.core.$strict>>;
1992
2021
  }, z.core.$strict>;
1993
2022
  UriModuleFacts: z.ZodObject<{
2023
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
2024
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
1994
2025
  screenActions: z.ZodExactOptional<z.ZodObject<{
1995
2026
  scheme: z.ZodString;
1996
2027
  hosts: z.ZodArray<z.ZodString>;
@@ -2050,8 +2081,8 @@ declare const canonicalContributionSchemas: {
2050
2081
  description: z.ZodString;
2051
2082
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
2052
2083
  search: "search";
2053
- list: "list";
2054
2084
  read: "read";
2085
+ list: "list";
2055
2086
  write: "write";
2056
2087
  edit: "edit";
2057
2088
  delete: "delete";
@@ -2059,8 +2090,8 @@ declare const canonicalContributionSchemas: {
2059
2090
  }>>>;
2060
2091
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2061
2092
  search: "search";
2062
- list: "list";
2063
2093
  read: "read";
2094
+ list: "list";
2064
2095
  write: "write";
2065
2096
  edit: "edit";
2066
2097
  delete: "delete";
@@ -2068,8 +2099,8 @@ declare const canonicalContributionSchemas: {
2068
2099
  }> & z.core.$partial, z.ZodString>>;
2069
2100
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2070
2101
  search: "search";
2071
- list: "list";
2072
2102
  read: "read";
2103
+ list: "list";
2073
2104
  write: "write";
2074
2105
  edit: "edit";
2075
2106
  delete: "delete";
@@ -2132,8 +2163,8 @@ declare const canonicalContributionSchemas: {
2132
2163
  action: z.ZodString;
2133
2164
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
2134
2165
  search: "search";
2135
- list: "list";
2136
2166
  read: "read";
2167
+ list: "list";
2137
2168
  write: "write";
2138
2169
  edit: "edit";
2139
2170
  delete: "delete";
@@ -2145,8 +2176,8 @@ declare const canonicalContributionSchemas: {
2145
2176
  public: z.ZodLiteral<true>;
2146
2177
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
2147
2178
  search: "search";
2148
- list: "list";
2149
2179
  read: "read";
2180
+ list: "list";
2150
2181
  write: "write";
2151
2182
  edit: "edit";
2152
2183
  delete: "delete";
@@ -2320,6 +2351,8 @@ declare const canonicalContributionSchemas: {
2320
2351
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
2321
2352
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
2322
2353
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
2354
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
2355
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
2323
2356
  screenActions: z.ZodExactOptional<z.ZodObject<{
2324
2357
  scheme: z.ZodString;
2325
2358
  hosts: z.ZodArray<z.ZodString>;
@@ -2379,8 +2412,8 @@ declare const canonicalContributionSchemas: {
2379
2412
  description: z.ZodString;
2380
2413
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
2381
2414
  search: "search";
2382
- list: "list";
2383
2415
  read: "read";
2416
+ list: "list";
2384
2417
  write: "write";
2385
2418
  edit: "edit";
2386
2419
  delete: "delete";
@@ -2388,8 +2421,8 @@ declare const canonicalContributionSchemas: {
2388
2421
  }>>>;
2389
2422
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2390
2423
  search: "search";
2391
- list: "list";
2392
2424
  read: "read";
2425
+ list: "list";
2393
2426
  write: "write";
2394
2427
  edit: "edit";
2395
2428
  delete: "delete";
@@ -2397,8 +2430,8 @@ declare const canonicalContributionSchemas: {
2397
2430
  }> & z.core.$partial, z.ZodString>>;
2398
2431
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2399
2432
  search: "search";
2400
- list: "list";
2401
2433
  read: "read";
2434
+ list: "list";
2402
2435
  write: "write";
2403
2436
  edit: "edit";
2404
2437
  delete: "delete";
@@ -2461,8 +2494,8 @@ declare const canonicalContributionSchemas: {
2461
2494
  action: z.ZodString;
2462
2495
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
2463
2496
  search: "search";
2464
- list: "list";
2465
2497
  read: "read";
2498
+ list: "list";
2466
2499
  write: "write";
2467
2500
  edit: "edit";
2468
2501
  delete: "delete";
@@ -2474,8 +2507,8 @@ declare const canonicalContributionSchemas: {
2474
2507
  public: z.ZodLiteral<true>;
2475
2508
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
2476
2509
  search: "search";
2477
- list: "list";
2478
2510
  read: "read";
2511
+ list: "list";
2479
2512
  write: "write";
2480
2513
  edit: "edit";
2481
2514
  delete: "delete";
@@ -2511,9 +2544,11 @@ declare const canonicalContributionSchemas: {
2511
2544
  }, z.core.$strict>;
2512
2545
  AppUriModuleContribution: z.ZodObject<{
2513
2546
  description: z.ZodExactOptional<z.ZodString>;
2514
- localId: z.ZodString;
2515
2547
  displayName: z.ZodOptional<z.ZodString>;
2548
+ localId: z.ZodString;
2516
2549
  schemes: z.ZodArray<z.ZodString>;
2550
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
2551
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
2517
2552
  screenActions: z.ZodExactOptional<z.ZodObject<{
2518
2553
  scheme: z.ZodString;
2519
2554
  hosts: z.ZodArray<z.ZodString>;
@@ -2573,8 +2608,8 @@ declare const canonicalContributionSchemas: {
2573
2608
  description: z.ZodString;
2574
2609
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
2575
2610
  search: "search";
2576
- list: "list";
2577
2611
  read: "read";
2612
+ list: "list";
2578
2613
  write: "write";
2579
2614
  edit: "edit";
2580
2615
  delete: "delete";
@@ -2582,8 +2617,8 @@ declare const canonicalContributionSchemas: {
2582
2617
  }>>>;
2583
2618
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2584
2619
  search: "search";
2585
- list: "list";
2586
2620
  read: "read";
2621
+ list: "list";
2587
2622
  write: "write";
2588
2623
  edit: "edit";
2589
2624
  delete: "delete";
@@ -2591,8 +2626,8 @@ declare const canonicalContributionSchemas: {
2591
2626
  }> & z.core.$partial, z.ZodString>>;
2592
2627
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2593
2628
  search: "search";
2594
- list: "list";
2595
2629
  read: "read";
2630
+ list: "list";
2596
2631
  write: "write";
2597
2632
  edit: "edit";
2598
2633
  delete: "delete";
@@ -3183,12 +3218,20 @@ declare const canonicalContributionSchemas: {
3183
3218
  "automations.read": "automations.read";
3184
3219
  "automations.run": "automations.run";
3185
3220
  "shared-artifacts.read": "shared-artifacts.read";
3221
+ "projects.manage": "projects.manage";
3186
3222
  "workspace.place-pane": "workspace.place-pane";
3187
3223
  "workspace.pane-header": "workspace.pane-header";
3188
3224
  "workspace.arrange": "workspace.arrange";
3189
3225
  }>;
3226
+ UiAppCapabilityReference: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3227
+ pluginId: z.ZodString;
3228
+ localId: z.ZodString;
3229
+ }, z.core.$strict>]>;
3190
3230
  UiAppCapabilities: z.ZodObject<{
3191
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3231
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3232
+ pluginId: z.ZodString;
3233
+ localId: z.ZodString;
3234
+ }, z.core.$strict>]>>>;
3192
3235
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3193
3236
  "navigation.open-session": "navigation.open-session";
3194
3237
  "sessions.create": "sessions.create";
@@ -3201,11 +3244,15 @@ declare const canonicalContributionSchemas: {
3201
3244
  "automations.read": "automations.read";
3202
3245
  "automations.run": "automations.run";
3203
3246
  "shared-artifacts.read": "shared-artifacts.read";
3247
+ "projects.manage": "projects.manage";
3204
3248
  "workspace.place-pane": "workspace.place-pane";
3205
3249
  "workspace.pane-header": "workspace.pane-header";
3206
3250
  "workspace.arrange": "workspace.arrange";
3207
3251
  }>>>;
3208
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3252
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3253
+ pluginId: z.ZodString;
3254
+ localId: z.ZodString;
3255
+ }, z.core.$strict>]>>>;
3209
3256
  }, z.core.$strict>;
3210
3257
  UiRailEntryContribution: z.ZodObject<{
3211
3258
  id: z.ZodString;
@@ -3266,7 +3313,10 @@ declare const canonicalContributionSchemas: {
3266
3313
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3267
3314
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
3268
3315
  capabilities: z.ZodOptional<z.ZodObject<{
3269
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3316
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3317
+ pluginId: z.ZodString;
3318
+ localId: z.ZodString;
3319
+ }, z.core.$strict>]>>>;
3270
3320
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3271
3321
  "navigation.open-session": "navigation.open-session";
3272
3322
  "sessions.create": "sessions.create";
@@ -3279,11 +3329,15 @@ declare const canonicalContributionSchemas: {
3279
3329
  "automations.read": "automations.read";
3280
3330
  "automations.run": "automations.run";
3281
3331
  "shared-artifacts.read": "shared-artifacts.read";
3332
+ "projects.manage": "projects.manage";
3282
3333
  "workspace.place-pane": "workspace.place-pane";
3283
3334
  "workspace.pane-header": "workspace.pane-header";
3284
3335
  "workspace.arrange": "workspace.arrange";
3285
3336
  }>>>;
3286
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3337
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3338
+ pluginId: z.ZodString;
3339
+ localId: z.ZodString;
3340
+ }, z.core.$strict>]>>>;
3287
3341
  }, z.core.$strict>>;
3288
3342
  }, z.core.$strict> | z.ZodPreprocess<z.ZodObject<{
3289
3343
  localId: z.ZodString;
@@ -3302,7 +3356,10 @@ declare const canonicalContributionSchemas: {
3302
3356
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3303
3357
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
3304
3358
  capabilities: z.ZodOptional<z.ZodObject<{
3305
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
3359
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3360
+ pluginId: z.ZodString;
3361
+ localId: z.ZodString;
3362
+ }, z.core.$strict>]>>>;
3306
3363
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3307
3364
  "navigation.open-session": "navigation.open-session";
3308
3365
  "sessions.create": "sessions.create";
@@ -3315,11 +3372,15 @@ declare const canonicalContributionSchemas: {
3315
3372
  "automations.read": "automations.read";
3316
3373
  "automations.run": "automations.run";
3317
3374
  "shared-artifacts.read": "shared-artifacts.read";
3375
+ "projects.manage": "projects.manage";
3318
3376
  "workspace.place-pane": "workspace.place-pane";
3319
3377
  "workspace.pane-header": "workspace.pane-header";
3320
3378
  "workspace.arrange": "workspace.arrange";
3321
3379
  }>>>;
3322
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3380
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3381
+ pluginId: z.ZodString;
3382
+ localId: z.ZodString;
3383
+ }, z.core.$strict>]>>>;
3323
3384
  }, z.core.$strict>>;
3324
3385
  }, z.core.$strict>, unknown>;
3325
3386
  ThemeContribution: z.ZodObject<{
@@ -3801,8 +3862,8 @@ export declare type EndpointContribution = z.infer<typeof EndpointContribution>;
3801
3862
  export declare const EndpointGrantRequest: z.ZodObject<{
3802
3863
  endpoint: z.ZodString;
3803
3864
  operations: z.ZodArray<z.ZodEnum<{
3804
- register: "register";
3805
3865
  invoke: "invoke";
3866
+ register: "register";
3806
3867
  }>>;
3807
3868
  }, z.core.$strict>;
3808
3869
 
@@ -4752,8 +4813,12 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
4752
4813
  * contract remains served.
4753
4814
  *
4754
4815
  * 0.51.0 adds flag-dependent title, icon and panel presence on rail entries.
4816
+ *
4817
+ * 0.52.0 adds plugin-owned operational facts through existing manifests and registrations.
4818
+ *
4819
+ * 0.52.1 adds owner-qualified page feed and endpoint references and their kay.ui claims.
4755
4820
  */
4756
- export declare const KAY_PLUGIN_SDK_VERSION: "0.51.0";
4821
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.52.1";
4757
4822
 
4758
4823
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
4759
4824
 
@@ -4839,6 +4904,8 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4839
4904
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
4840
4905
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
4841
4906
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
4907
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
4908
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
4842
4909
  screenActions: z.ZodExactOptional<z.ZodObject<{
4843
4910
  scheme: z.ZodString;
4844
4911
  hosts: z.ZodArray<z.ZodString>;
@@ -4898,8 +4965,8 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4898
4965
  description: z.ZodString;
4899
4966
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
4900
4967
  search: "search";
4901
- list: "list";
4902
4968
  read: "read";
4969
+ list: "list";
4903
4970
  write: "write";
4904
4971
  edit: "edit";
4905
4972
  delete: "delete";
@@ -4907,8 +4974,8 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4907
4974
  }>>>;
4908
4975
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4909
4976
  search: "search";
4910
- list: "list";
4911
4977
  read: "read";
4978
+ list: "list";
4912
4979
  write: "write";
4913
4980
  edit: "edit";
4914
4981
  delete: "delete";
@@ -4916,8 +4983,8 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4916
4983
  }> & z.core.$partial, z.ZodString>>;
4917
4984
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4918
4985
  search: "search";
4919
- list: "list";
4920
4986
  read: "read";
4987
+ list: "list";
4921
4988
  write: "write";
4922
4989
  edit: "edit";
4923
4990
  delete: "delete";
@@ -4980,8 +5047,8 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4980
5047
  action: z.ZodString;
4981
5048
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
4982
5049
  search: "search";
4983
- list: "list";
4984
5050
  read: "read";
5051
+ list: "list";
4985
5052
  write: "write";
4986
5053
  edit: "edit";
4987
5054
  delete: "delete";
@@ -4993,8 +5060,8 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4993
5060
  public: z.ZodLiteral<true>;
4994
5061
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
4995
5062
  search: "search";
4996
- list: "list";
4997
5063
  read: "read";
5064
+ list: "list";
4998
5065
  write: "write";
4999
5066
  edit: "edit";
5000
5067
  delete: "delete";
@@ -5208,9 +5275,11 @@ export declare const KayAppTargetManifest: z.ZodObject<{
5208
5275
  }, z.core.$strict>>>;
5209
5276
  uriModules: z.ZodOptional<z.ZodArray<z.ZodObject<{
5210
5277
  description: z.ZodExactOptional<z.ZodString>;
5211
- localId: z.ZodString;
5212
5278
  displayName: z.ZodOptional<z.ZodString>;
5279
+ localId: z.ZodString;
5213
5280
  schemes: z.ZodArray<z.ZodString>;
5281
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
5282
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
5214
5283
  screenActions: z.ZodExactOptional<z.ZodObject<{
5215
5284
  scheme: z.ZodString;
5216
5285
  hosts: z.ZodArray<z.ZodString>;
@@ -5270,8 +5339,8 @@ export declare const KayAppTargetManifest: z.ZodObject<{
5270
5339
  description: z.ZodString;
5271
5340
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
5272
5341
  search: "search";
5273
- list: "list";
5274
5342
  read: "read";
5343
+ list: "list";
5275
5344
  write: "write";
5276
5345
  edit: "edit";
5277
5346
  delete: "delete";
@@ -5279,8 +5348,8 @@ export declare const KayAppTargetManifest: z.ZodObject<{
5279
5348
  }>>>;
5280
5349
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5281
5350
  search: "search";
5282
- list: "list";
5283
5351
  read: "read";
5352
+ list: "list";
5284
5353
  write: "write";
5285
5354
  edit: "edit";
5286
5355
  delete: "delete";
@@ -5288,8 +5357,8 @@ export declare const KayAppTargetManifest: z.ZodObject<{
5288
5357
  }> & z.core.$partial, z.ZodString>>;
5289
5358
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5290
5359
  search: "search";
5291
- list: "list";
5292
5360
  read: "read";
5361
+ list: "list";
5293
5362
  write: "write";
5294
5363
  edit: "edit";
5295
5364
  delete: "delete";
@@ -5756,6 +5825,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5756
5825
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
5757
5826
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
5758
5827
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
5828
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
5829
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
5759
5830
  screenActions: z.ZodExactOptional<z.ZodObject<{
5760
5831
  scheme: z.ZodString;
5761
5832
  hosts: z.ZodArray<z.ZodString>;
@@ -5815,8 +5886,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5815
5886
  description: z.ZodString;
5816
5887
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
5817
5888
  search: "search";
5818
- list: "list";
5819
5889
  read: "read";
5890
+ list: "list";
5820
5891
  write: "write";
5821
5892
  edit: "edit";
5822
5893
  delete: "delete";
@@ -5824,8 +5895,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5824
5895
  }>>>;
5825
5896
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5826
5897
  search: "search";
5827
- list: "list";
5828
5898
  read: "read";
5899
+ list: "list";
5829
5900
  write: "write";
5830
5901
  edit: "edit";
5831
5902
  delete: "delete";
@@ -5833,8 +5904,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5833
5904
  }> & z.core.$partial, z.ZodString>>;
5834
5905
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5835
5906
  search: "search";
5836
- list: "list";
5837
5907
  read: "read";
5908
+ list: "list";
5838
5909
  write: "write";
5839
5910
  edit: "edit";
5840
5911
  delete: "delete";
@@ -5897,8 +5968,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5897
5968
  action: z.ZodString;
5898
5969
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
5899
5970
  search: "search";
5900
- list: "list";
5901
5971
  read: "read";
5972
+ list: "list";
5902
5973
  write: "write";
5903
5974
  edit: "edit";
5904
5975
  delete: "delete";
@@ -5910,8 +5981,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5910
5981
  public: z.ZodLiteral<true>;
5911
5982
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
5912
5983
  search: "search";
5913
- list: "list";
5914
5984
  read: "read";
5985
+ list: "list";
5915
5986
  write: "write";
5916
5987
  edit: "edit";
5917
5988
  delete: "delete";
@@ -6122,9 +6193,11 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6122
6193
  }, z.core.$strict>>>;
6123
6194
  uriModules: z.ZodOptional<z.ZodArray<z.ZodObject<{
6124
6195
  description: z.ZodExactOptional<z.ZodString>;
6125
- localId: z.ZodString;
6126
6196
  displayName: z.ZodOptional<z.ZodString>;
6197
+ localId: z.ZodString;
6127
6198
  schemes: z.ZodArray<z.ZodString>;
6199
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
6200
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
6128
6201
  screenActions: z.ZodExactOptional<z.ZodObject<{
6129
6202
  scheme: z.ZodString;
6130
6203
  hosts: z.ZodArray<z.ZodString>;
@@ -6184,8 +6257,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6184
6257
  description: z.ZodString;
6185
6258
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
6186
6259
  search: "search";
6187
- list: "list";
6188
6260
  read: "read";
6261
+ list: "list";
6189
6262
  write: "write";
6190
6263
  edit: "edit";
6191
6264
  delete: "delete";
@@ -6193,8 +6266,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6193
6266
  }>>>;
6194
6267
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
6195
6268
  search: "search";
6196
- list: "list";
6197
6269
  read: "read";
6270
+ list: "list";
6198
6271
  write: "write";
6199
6272
  edit: "edit";
6200
6273
  delete: "delete";
@@ -6202,8 +6275,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6202
6275
  }> & z.core.$partial, z.ZodString>>;
6203
6276
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
6204
6277
  search: "search";
6205
- list: "list";
6206
6278
  read: "read";
6279
+ list: "list";
6207
6280
  write: "write";
6208
6281
  edit: "edit";
6209
6282
  delete: "delete";
@@ -6650,7 +6723,10 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6650
6723
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
6651
6724
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
6652
6725
  capabilities: z.ZodOptional<z.ZodObject<{
6653
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
6726
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6727
+ pluginId: z.ZodString;
6728
+ localId: z.ZodString;
6729
+ }, z.core.$strict>]>>>;
6654
6730
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6655
6731
  "navigation.open-session": "navigation.open-session";
6656
6732
  "sessions.create": "sessions.create";
@@ -6663,11 +6739,15 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6663
6739
  "automations.read": "automations.read";
6664
6740
  "automations.run": "automations.run";
6665
6741
  "shared-artifacts.read": "shared-artifacts.read";
6742
+ "projects.manage": "projects.manage";
6666
6743
  "workspace.place-pane": "workspace.place-pane";
6667
6744
  "workspace.pane-header": "workspace.pane-header";
6668
6745
  "workspace.arrange": "workspace.arrange";
6669
6746
  }>>>;
6670
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6747
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6748
+ pluginId: z.ZodString;
6749
+ localId: z.ZodString;
6750
+ }, z.core.$strict>]>>>;
6671
6751
  }, z.core.$strict>>;
6672
6752
  }, z.core.$strict> | z.ZodPreprocess<z.ZodObject<{
6673
6753
  localId: z.ZodString;
@@ -6686,7 +6766,10 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6686
6766
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
6687
6767
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
6688
6768
  capabilities: z.ZodOptional<z.ZodObject<{
6689
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
6769
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6770
+ pluginId: z.ZodString;
6771
+ localId: z.ZodString;
6772
+ }, z.core.$strict>]>>>;
6690
6773
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6691
6774
  "navigation.open-session": "navigation.open-session";
6692
6775
  "sessions.create": "sessions.create";
@@ -6699,11 +6782,15 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6699
6782
  "automations.read": "automations.read";
6700
6783
  "automations.run": "automations.run";
6701
6784
  "shared-artifacts.read": "shared-artifacts.read";
6785
+ "projects.manage": "projects.manage";
6702
6786
  "workspace.place-pane": "workspace.place-pane";
6703
6787
  "workspace.pane-header": "workspace.pane-header";
6704
6788
  "workspace.arrange": "workspace.arrange";
6705
6789
  }>>>;
6706
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6790
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6791
+ pluginId: z.ZodString;
6792
+ localId: z.ZodString;
6793
+ }, z.core.$strict>]>>>;
6707
6794
  }, z.core.$strict>>;
6708
6795
  }, z.core.$strict>, unknown>>>;
6709
6796
  railEntries: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -6787,8 +6874,22 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6787
6874
  dataDir: z.ZodOptional<z.ZodObject<{
6788
6875
  enabled: z.ZodBoolean;
6789
6876
  ownerTarget: z.ZodOptional<z.ZodLiteral<"kay.app">>;
6877
+ sharedWith: z.ZodOptional<z.ZodString>;
6790
6878
  }, z.core.$strict>>;
6791
6879
  }, z.core.$strict>>;
6880
+ workloadPurposes: z.ZodOptional<z.ZodArray<z.ZodObject<{
6881
+ purpose: z.ZodString;
6882
+ workloadClass: z.ZodEnum<{
6883
+ dreaming: "dreaming";
6884
+ hindsight: "hindsight";
6885
+ }>;
6886
+ }, z.core.$strict>>>;
6887
+ shellCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
6888
+ name: z.ZodString;
6889
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
6890
+ endpoint: z.ZodString;
6891
+ usage: z.ZodString;
6892
+ }, z.core.$strict>>>;
6792
6893
  auth: z.ZodOptional<z.ZodObject<{
6793
6894
  services: z.ZodOptional<z.ZodArray<z.ZodObject<{
6794
6895
  localId: z.ZodString;
@@ -6798,6 +6899,30 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6798
6899
  localId: z.ZodString;
6799
6900
  kind: z.ZodLiteral<"oauth2">;
6800
6901
  exchange: z.ZodLiteral<"pkce">;
6902
+ byoocProfile: z.ZodOptional<z.ZodObject<{
6903
+ displayName: z.ZodString;
6904
+ fields: z.ZodArray<z.ZodObject<{
6905
+ id: z.ZodString;
6906
+ label: z.ZodString;
6907
+ optional: z.ZodOptional<z.ZodBoolean>;
6908
+ validation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6909
+ kind: z.ZodLiteral<"uuid">;
6910
+ }, z.core.$strict>, z.ZodObject<{
6911
+ kind: z.ZodLiteral<"suffix">;
6912
+ value: z.ZodString;
6913
+ }, z.core.$strict>], "kind">>;
6914
+ failureMessage: z.ZodOptional<z.ZodString>;
6915
+ }, z.core.$strict>>;
6916
+ setup: z.ZodObject<{
6917
+ steps: z.ZodArray<z.ZodString>;
6918
+ notes: z.ZodArray<z.ZodString>;
6919
+ url: z.ZodURL;
6920
+ }, z.core.$strict>;
6921
+ endpointTemplates: z.ZodOptional<z.ZodObject<{
6922
+ authorizationUrl: z.ZodString;
6923
+ tokenUrl: z.ZodString;
6924
+ }, z.core.$strict>>;
6925
+ }, z.core.$strict>>;
6801
6926
  clientId: z.ZodOptional<z.ZodString>;
6802
6927
  clientSecret: z.ZodOptional<z.ZodString>;
6803
6928
  account: z.ZodOptional<z.ZodLiteral<"lookup">>;
@@ -6998,6 +7123,19 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6998
7123
  }>;
6999
7124
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
7000
7125
  successNote: z.ZodOptional<z.ZodString>;
7126
+ round: z.ZodOptional<z.ZodObject<{
7127
+ scopes: z.ZodArray<z.ZodString>;
7128
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
7129
+ redirectParam: z.ZodString;
7130
+ requiresGrantedScope: z.ZodString;
7131
+ supersededByScopes: z.ZodArray<z.ZodString>;
7132
+ purpose: z.ZodString;
7133
+ displayNoun: z.ZodString;
7134
+ }, z.core.$strict>>;
7135
+ completion: z.ZodOptional<z.ZodObject<{
7136
+ pluginId: z.ZodString;
7137
+ moduleId: z.ZodString;
7138
+ }, z.core.$strict>>;
7001
7139
  }, z.core.$strict>>;
7002
7140
  }, z.core.$strict>>;
7003
7141
  }, z.core.$strict>>>;
@@ -7007,9 +7145,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7007
7145
  dataDir: "dataDir";
7008
7146
  }>;
7009
7147
  operations: z.ZodArray<z.ZodEnum<{
7010
- open: "open";
7011
7148
  read: "read";
7012
7149
  write: "write";
7150
+ open: "open";
7013
7151
  }>>;
7014
7152
  }, z.core.$strict>>>;
7015
7153
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7022,8 +7160,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7022
7160
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
7023
7161
  endpoint: z.ZodString;
7024
7162
  operations: z.ZodArray<z.ZodEnum<{
7025
- register: "register";
7026
7163
  invoke: "invoke";
7164
+ register: "register";
7027
7165
  }>>;
7028
7166
  }, z.core.$strict>>>;
7029
7167
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7092,6 +7230,19 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7092
7230
  }>;
7093
7231
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
7094
7232
  successNote: z.ZodOptional<z.ZodString>;
7233
+ round: z.ZodOptional<z.ZodObject<{
7234
+ scopes: z.ZodArray<z.ZodString>;
7235
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
7236
+ redirectParam: z.ZodString;
7237
+ requiresGrantedScope: z.ZodString;
7238
+ supersededByScopes: z.ZodArray<z.ZodString>;
7239
+ purpose: z.ZodString;
7240
+ displayNoun: z.ZodString;
7241
+ }, z.core.$strict>>;
7242
+ completion: z.ZodOptional<z.ZodObject<{
7243
+ pluginId: z.ZodString;
7244
+ moduleId: z.ZodString;
7245
+ }, z.core.$strict>>;
7095
7246
  }, z.core.$strict>>;
7096
7247
  }, z.core.$strict>>;
7097
7248
  }, z.core.$strict>>>;
@@ -7101,9 +7252,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7101
7252
  dataDir: "dataDir";
7102
7253
  }>;
7103
7254
  operations: z.ZodArray<z.ZodEnum<{
7104
- open: "open";
7105
7255
  read: "read";
7106
7256
  write: "write";
7257
+ open: "open";
7107
7258
  }>>;
7108
7259
  }, z.core.$strict>>>;
7109
7260
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7116,8 +7267,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7116
7267
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
7117
7268
  endpoint: z.ZodString;
7118
7269
  operations: z.ZodArray<z.ZodEnum<{
7119
- register: "register";
7120
7270
  invoke: "invoke";
7271
+ register: "register";
7121
7272
  }>>;
7122
7273
  }, z.core.$strict>>>;
7123
7274
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7187,6 +7338,19 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7187
7338
  }>;
7188
7339
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
7189
7340
  successNote: z.ZodOptional<z.ZodString>;
7341
+ round: z.ZodOptional<z.ZodObject<{
7342
+ scopes: z.ZodArray<z.ZodString>;
7343
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
7344
+ redirectParam: z.ZodString;
7345
+ requiresGrantedScope: z.ZodString;
7346
+ supersededByScopes: z.ZodArray<z.ZodString>;
7347
+ purpose: z.ZodString;
7348
+ displayNoun: z.ZodString;
7349
+ }, z.core.$strict>>;
7350
+ completion: z.ZodOptional<z.ZodObject<{
7351
+ pluginId: z.ZodString;
7352
+ moduleId: z.ZodString;
7353
+ }, z.core.$strict>>;
7190
7354
  }, z.core.$strict>>;
7191
7355
  }, z.core.$strict>>;
7192
7356
  }, z.core.$strict>>>;
@@ -7196,9 +7360,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7196
7360
  dataDir: "dataDir";
7197
7361
  }>;
7198
7362
  operations: z.ZodArray<z.ZodEnum<{
7199
- open: "open";
7200
7363
  read: "read";
7201
7364
  write: "write";
7365
+ open: "open";
7202
7366
  }>>;
7203
7367
  }, z.core.$strict>>>;
7204
7368
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7211,8 +7375,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7211
7375
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
7212
7376
  endpoint: z.ZodString;
7213
7377
  operations: z.ZodArray<z.ZodEnum<{
7214
- register: "register";
7215
7378
  invoke: "invoke";
7379
+ register: "register";
7216
7380
  }>>;
7217
7381
  }, z.core.$strict>>>;
7218
7382
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7281,6 +7445,19 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7281
7445
  }>;
7282
7446
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
7283
7447
  successNote: z.ZodOptional<z.ZodString>;
7448
+ round: z.ZodOptional<z.ZodObject<{
7449
+ scopes: z.ZodArray<z.ZodString>;
7450
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
7451
+ redirectParam: z.ZodString;
7452
+ requiresGrantedScope: z.ZodString;
7453
+ supersededByScopes: z.ZodArray<z.ZodString>;
7454
+ purpose: z.ZodString;
7455
+ displayNoun: z.ZodString;
7456
+ }, z.core.$strict>>;
7457
+ completion: z.ZodOptional<z.ZodObject<{
7458
+ pluginId: z.ZodString;
7459
+ moduleId: z.ZodString;
7460
+ }, z.core.$strict>>;
7284
7461
  }, z.core.$strict>>;
7285
7462
  }, z.core.$strict>>;
7286
7463
  }, z.core.$strict>>>;
@@ -7290,9 +7467,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7290
7467
  dataDir: "dataDir";
7291
7468
  }>;
7292
7469
  operations: z.ZodArray<z.ZodEnum<{
7293
- open: "open";
7294
7470
  read: "read";
7295
7471
  write: "write";
7472
+ open: "open";
7296
7473
  }>>;
7297
7474
  }, z.core.$strict>>>;
7298
7475
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7305,8 +7482,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7305
7482
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
7306
7483
  endpoint: z.ZodString;
7307
7484
  operations: z.ZodArray<z.ZodEnum<{
7308
- register: "register";
7309
7485
  invoke: "invoke";
7486
+ register: "register";
7310
7487
  }>>;
7311
7488
  }, z.core.$strict>>>;
7312
7489
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7376,6 +7553,19 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7376
7553
  }>;
7377
7554
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
7378
7555
  successNote: z.ZodOptional<z.ZodString>;
7556
+ round: z.ZodOptional<z.ZodObject<{
7557
+ scopes: z.ZodArray<z.ZodString>;
7558
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
7559
+ redirectParam: z.ZodString;
7560
+ requiresGrantedScope: z.ZodString;
7561
+ supersededByScopes: z.ZodArray<z.ZodString>;
7562
+ purpose: z.ZodString;
7563
+ displayNoun: z.ZodString;
7564
+ }, z.core.$strict>>;
7565
+ completion: z.ZodOptional<z.ZodObject<{
7566
+ pluginId: z.ZodString;
7567
+ moduleId: z.ZodString;
7568
+ }, z.core.$strict>>;
7379
7569
  }, z.core.$strict>>;
7380
7570
  }, z.core.$strict>>;
7381
7571
  }, z.core.$strict>>>;
@@ -7385,9 +7575,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7385
7575
  dataDir: "dataDir";
7386
7576
  }>;
7387
7577
  operations: z.ZodArray<z.ZodEnum<{
7388
- open: "open";
7389
7578
  read: "read";
7390
7579
  write: "write";
7580
+ open: "open";
7391
7581
  }>>;
7392
7582
  }, z.core.$strict>>>;
7393
7583
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7400,8 +7590,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7400
7590
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
7401
7591
  endpoint: z.ZodString;
7402
7592
  operations: z.ZodArray<z.ZodEnum<{
7403
- register: "register";
7404
7593
  invoke: "invoke";
7594
+ register: "register";
7405
7595
  }>>;
7406
7596
  }, z.core.$strict>>>;
7407
7597
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7470,6 +7660,19 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7470
7660
  }>;
7471
7661
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
7472
7662
  successNote: z.ZodOptional<z.ZodString>;
7663
+ round: z.ZodOptional<z.ZodObject<{
7664
+ scopes: z.ZodArray<z.ZodString>;
7665
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
7666
+ redirectParam: z.ZodString;
7667
+ requiresGrantedScope: z.ZodString;
7668
+ supersededByScopes: z.ZodArray<z.ZodString>;
7669
+ purpose: z.ZodString;
7670
+ displayNoun: z.ZodString;
7671
+ }, z.core.$strict>>;
7672
+ completion: z.ZodOptional<z.ZodObject<{
7673
+ pluginId: z.ZodString;
7674
+ moduleId: z.ZodString;
7675
+ }, z.core.$strict>>;
7473
7676
  }, z.core.$strict>>;
7474
7677
  }, z.core.$strict>>;
7475
7678
  }, z.core.$strict>>>;
@@ -7479,9 +7682,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7479
7682
  dataDir: "dataDir";
7480
7683
  }>;
7481
7684
  operations: z.ZodArray<z.ZodEnum<{
7482
- open: "open";
7483
7685
  read: "read";
7484
7686
  write: "write";
7687
+ open: "open";
7485
7688
  }>>;
7486
7689
  }, z.core.$strict>>>;
7487
7690
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7494,8 +7697,8 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7494
7697
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
7495
7698
  endpoint: z.ZodString;
7496
7699
  operations: z.ZodArray<z.ZodEnum<{
7497
- register: "register";
7498
7700
  invoke: "invoke";
7701
+ register: "register";
7499
7702
  }>>;
7500
7703
  }, z.core.$strict>>>;
7501
7704
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7576,6 +7779,7 @@ export declare const KayUiAppHostCapability: z.ZodEnum<{
7576
7779
  "automations.read": "automations.read";
7577
7780
  "automations.run": "automations.run";
7578
7781
  "shared-artifacts.read": "shared-artifacts.read";
7782
+ "projects.manage": "projects.manage";
7579
7783
  "workspace.place-pane": "workspace.place-pane";
7580
7784
  "workspace.pane-header": "workspace.pane-header";
7581
7785
  "workspace.arrange": "workspace.arrange";
@@ -7837,7 +8041,10 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7837
8041
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
7838
8042
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
7839
8043
  capabilities: z.ZodOptional<z.ZodObject<{
7840
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
8044
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
8045
+ pluginId: z.ZodString;
8046
+ localId: z.ZodString;
8047
+ }, z.core.$strict>]>>>;
7841
8048
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7842
8049
  "navigation.open-session": "navigation.open-session";
7843
8050
  "sessions.create": "sessions.create";
@@ -7850,11 +8057,15 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7850
8057
  "automations.read": "automations.read";
7851
8058
  "automations.run": "automations.run";
7852
8059
  "shared-artifacts.read": "shared-artifacts.read";
8060
+ "projects.manage": "projects.manage";
7853
8061
  "workspace.place-pane": "workspace.place-pane";
7854
8062
  "workspace.pane-header": "workspace.pane-header";
7855
8063
  "workspace.arrange": "workspace.arrange";
7856
8064
  }>>>;
7857
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8065
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
8066
+ pluginId: z.ZodString;
8067
+ localId: z.ZodString;
8068
+ }, z.core.$strict>]>>>;
7858
8069
  }, z.core.$strict>>;
7859
8070
  }, z.core.$strict> | z.ZodPreprocess<z.ZodObject<{
7860
8071
  localId: z.ZodString;
@@ -7873,7 +8084,10 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7873
8084
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
7874
8085
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
7875
8086
  capabilities: z.ZodOptional<z.ZodObject<{
7876
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
8087
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
8088
+ pluginId: z.ZodString;
8089
+ localId: z.ZodString;
8090
+ }, z.core.$strict>]>>>;
7877
8091
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7878
8092
  "navigation.open-session": "navigation.open-session";
7879
8093
  "sessions.create": "sessions.create";
@@ -7886,11 +8100,15 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7886
8100
  "automations.read": "automations.read";
7887
8101
  "automations.run": "automations.run";
7888
8102
  "shared-artifacts.read": "shared-artifacts.read";
8103
+ "projects.manage": "projects.manage";
7889
8104
  "workspace.place-pane": "workspace.place-pane";
7890
8105
  "workspace.pane-header": "workspace.pane-header";
7891
8106
  "workspace.arrange": "workspace.arrange";
7892
8107
  }>>>;
7893
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8108
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
8109
+ pluginId: z.ZodString;
8110
+ localId: z.ZodString;
8111
+ }, z.core.$strict>]>>>;
7894
8112
  }, z.core.$strict>>;
7895
8113
  }, z.core.$strict>, unknown>>>;
7896
8114
  railEntries: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8150,7 +8368,7 @@ export declare function parseSemver(value: string): ParsedSemver | undefined;
8150
8368
  export declare function parseWhere(source: string, keyTypes?: WhereKeyTypes): WhereParseResult;
8151
8369
 
8152
8370
  /** Every capability slug {@link PluginCapabilityClaimV1} can express, for exhaustive table checks. */
8153
- 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"];
8371
+ 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", "whiteboard.discover", "whiteboard.read", "whiteboard.create", "whiteboard.update", "whiteboard.remove", "model-selection.register", "system-prompt.register"];
8154
8372
 
8155
8373
  /** Diagnostic messages carry plugin-controlled text (parse errors, module errors); bound it so a
8156
8374
  * hostile or accidental multi-megabyte error can never blow up a log line or a render surface. */
@@ -8219,6 +8437,30 @@ export declare const PluginAuthManifest: z.ZodObject<{
8219
8437
  localId: z.ZodString;
8220
8438
  kind: z.ZodLiteral<"oauth2">;
8221
8439
  exchange: z.ZodLiteral<"pkce">;
8440
+ byoocProfile: z.ZodOptional<z.ZodObject<{
8441
+ displayName: z.ZodString;
8442
+ fields: z.ZodArray<z.ZodObject<{
8443
+ id: z.ZodString;
8444
+ label: z.ZodString;
8445
+ optional: z.ZodOptional<z.ZodBoolean>;
8446
+ validation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8447
+ kind: z.ZodLiteral<"uuid">;
8448
+ }, z.core.$strict>, z.ZodObject<{
8449
+ kind: z.ZodLiteral<"suffix">;
8450
+ value: z.ZodString;
8451
+ }, z.core.$strict>], "kind">>;
8452
+ failureMessage: z.ZodOptional<z.ZodString>;
8453
+ }, z.core.$strict>>;
8454
+ setup: z.ZodObject<{
8455
+ steps: z.ZodArray<z.ZodString>;
8456
+ notes: z.ZodArray<z.ZodString>;
8457
+ url: z.ZodURL;
8458
+ }, z.core.$strict>;
8459
+ endpointTemplates: z.ZodOptional<z.ZodObject<{
8460
+ authorizationUrl: z.ZodString;
8461
+ tokenUrl: z.ZodString;
8462
+ }, z.core.$strict>>;
8463
+ }, z.core.$strict>>;
8222
8464
  clientId: z.ZodOptional<z.ZodString>;
8223
8465
  clientSecret: z.ZodOptional<z.ZodString>;
8224
8466
  account: z.ZodOptional<z.ZodLiteral<"lookup">>;
@@ -8375,6 +8617,30 @@ export declare const PluginAuthScheme: z.ZodDiscriminatedUnion<[z.ZodDiscriminat
8375
8617
  localId: z.ZodString;
8376
8618
  kind: z.ZodLiteral<"oauth2">;
8377
8619
  exchange: z.ZodLiteral<"pkce">;
8620
+ byoocProfile: z.ZodOptional<z.ZodObject<{
8621
+ displayName: z.ZodString;
8622
+ fields: z.ZodArray<z.ZodObject<{
8623
+ id: z.ZodString;
8624
+ label: z.ZodString;
8625
+ optional: z.ZodOptional<z.ZodBoolean>;
8626
+ validation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8627
+ kind: z.ZodLiteral<"uuid">;
8628
+ }, z.core.$strict>, z.ZodObject<{
8629
+ kind: z.ZodLiteral<"suffix">;
8630
+ value: z.ZodString;
8631
+ }, z.core.$strict>], "kind">>;
8632
+ failureMessage: z.ZodOptional<z.ZodString>;
8633
+ }, z.core.$strict>>;
8634
+ setup: z.ZodObject<{
8635
+ steps: z.ZodArray<z.ZodString>;
8636
+ notes: z.ZodArray<z.ZodString>;
8637
+ url: z.ZodURL;
8638
+ }, z.core.$strict>;
8639
+ endpointTemplates: z.ZodOptional<z.ZodObject<{
8640
+ authorizationUrl: z.ZodString;
8641
+ tokenUrl: z.ZodString;
8642
+ }, z.core.$strict>>;
8643
+ }, z.core.$strict>>;
8378
8644
  clientId: z.ZodOptional<z.ZodString>;
8379
8645
  clientSecret: z.ZodOptional<z.ZodString>;
8380
8646
  account: z.ZodOptional<z.ZodLiteral<"lookup">>;
@@ -8511,6 +8777,30 @@ export declare const PluginAuthService: z.ZodObject<{
8511
8777
  localId: z.ZodString;
8512
8778
  kind: z.ZodLiteral<"oauth2">;
8513
8779
  exchange: z.ZodLiteral<"pkce">;
8780
+ byoocProfile: z.ZodOptional<z.ZodObject<{
8781
+ displayName: z.ZodString;
8782
+ fields: z.ZodArray<z.ZodObject<{
8783
+ id: z.ZodString;
8784
+ label: z.ZodString;
8785
+ optional: z.ZodOptional<z.ZodBoolean>;
8786
+ validation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8787
+ kind: z.ZodLiteral<"uuid">;
8788
+ }, z.core.$strict>, z.ZodObject<{
8789
+ kind: z.ZodLiteral<"suffix">;
8790
+ value: z.ZodString;
8791
+ }, z.core.$strict>], "kind">>;
8792
+ failureMessage: z.ZodOptional<z.ZodString>;
8793
+ }, z.core.$strict>>;
8794
+ setup: z.ZodObject<{
8795
+ steps: z.ZodArray<z.ZodString>;
8796
+ notes: z.ZodArray<z.ZodString>;
8797
+ url: z.ZodURL;
8798
+ }, z.core.$strict>;
8799
+ endpointTemplates: z.ZodOptional<z.ZodObject<{
8800
+ authorizationUrl: z.ZodString;
8801
+ tokenUrl: z.ZodString;
8802
+ }, z.core.$strict>>;
8803
+ }, z.core.$strict>>;
8514
8804
  clientId: z.ZodOptional<z.ZodString>;
8515
8805
  clientSecret: z.ZodOptional<z.ZodString>;
8516
8806
  account: z.ZodOptional<z.ZodLiteral<"lookup">>;
@@ -8662,6 +8952,33 @@ export declare const PluginAuthService: z.ZodObject<{
8662
8952
 
8663
8953
  export declare type PluginAuthService = z.infer<typeof PluginAuthService>;
8664
8954
 
8955
+ export declare const PluginByoocProfile: z.ZodObject<{
8956
+ displayName: z.ZodString;
8957
+ fields: z.ZodArray<z.ZodObject<{
8958
+ id: z.ZodString;
8959
+ label: z.ZodString;
8960
+ optional: z.ZodOptional<z.ZodBoolean>;
8961
+ validation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8962
+ kind: z.ZodLiteral<"uuid">;
8963
+ }, z.core.$strict>, z.ZodObject<{
8964
+ kind: z.ZodLiteral<"suffix">;
8965
+ value: z.ZodString;
8966
+ }, z.core.$strict>], "kind">>;
8967
+ failureMessage: z.ZodOptional<z.ZodString>;
8968
+ }, z.core.$strict>>;
8969
+ setup: z.ZodObject<{
8970
+ steps: z.ZodArray<z.ZodString>;
8971
+ notes: z.ZodArray<z.ZodString>;
8972
+ url: z.ZodURL;
8973
+ }, z.core.$strict>;
8974
+ endpointTemplates: z.ZodOptional<z.ZodObject<{
8975
+ authorizationUrl: z.ZodString;
8976
+ tokenUrl: z.ZodString;
8977
+ }, z.core.$strict>>;
8978
+ }, z.core.$strict>;
8979
+
8980
+ export declare type PluginByoocProfile = z.infer<typeof PluginByoocProfile>;
8981
+
8665
8982
  /** Admit claim input without normalization; its owner normalizes before comparing or storing it. */
8666
8983
  export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
8667
8984
  target: "kay.agent" | "kay.app";
@@ -8713,10 +9030,10 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
8713
9030
  slug: "uri.call";
8714
9031
  envelope: {
8715
9032
  scheme: string;
8716
- verb: "search" | "list" | "read" | "write" | "edit" | "delete";
9033
+ verb: "search" | "read" | "list" | "write" | "edit" | "delete";
8717
9034
  };
8718
9035
  } | {
8719
- target: "kay.agent" | "kay.app";
9036
+ target: "kay.agent" | "kay.app" | "kay.ui";
8720
9037
  slug: "endpoints.invoke";
8721
9038
  envelope: {
8722
9039
  pluginId: string;
@@ -8804,6 +9121,13 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
8804
9121
  envelope: {
8805
9122
  contributor: string;
8806
9123
  };
9124
+ } | {
9125
+ target: "kay.ui";
9126
+ slug: "app-data.read";
9127
+ envelope: {
9128
+ pluginId: string;
9129
+ sourceId: string;
9130
+ };
8807
9131
  } | {
8808
9132
  target: "kay.app";
8809
9133
  slug: "app-data.register";
@@ -8980,10 +9304,10 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
8980
9304
  slug: "uri.call";
8981
9305
  envelope: {
8982
9306
  scheme: string;
8983
- verb: "search" | "list" | "read" | "write" | "edit" | "delete";
9307
+ verb: "search" | "read" | "list" | "write" | "edit" | "delete";
8984
9308
  };
8985
9309
  } | {
8986
- target: "kay.agent" | "kay.app";
9310
+ target: "kay.agent" | "kay.app" | "kay.ui";
8987
9311
  slug: "endpoints.invoke";
8988
9312
  envelope: {
8989
9313
  pluginId: string;
@@ -9071,6 +9395,13 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
9071
9395
  envelope: {
9072
9396
  contributor: string;
9073
9397
  };
9398
+ } | {
9399
+ target: "kay.ui";
9400
+ slug: "app-data.read";
9401
+ envelope: {
9402
+ pluginId: string;
9403
+ sourceId: string;
9404
+ };
9074
9405
  } | {
9075
9406
  target: "kay.app";
9076
9407
  slug: "app-data.register";
@@ -9248,8 +9579,8 @@ export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObje
9248
9579
  scheme: z.ZodString;
9249
9580
  verb: z.ZodEnum<{
9250
9581
  search: "search";
9251
- list: "list";
9252
9582
  read: "read";
9583
+ list: "list";
9253
9584
  write: "write";
9254
9585
  edit: "edit";
9255
9586
  delete: "delete";
@@ -9259,6 +9590,7 @@ export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObje
9259
9590
  target: z.ZodEnum<{
9260
9591
  "kay.agent": "kay.agent";
9261
9592
  "kay.app": "kay.app";
9593
+ "kay.ui": "kay.ui";
9262
9594
  }>;
9263
9595
  slug: z.ZodLiteral<"endpoints.invoke">;
9264
9596
  envelope: z.ZodObject<{
@@ -9347,6 +9679,13 @@ export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObje
9347
9679
  envelope: z.ZodObject<{
9348
9680
  contributor: z.ZodString;
9349
9681
  }, z.core.$strict>;
9682
+ }, z.core.$strict>, z.ZodObject<{
9683
+ target: z.ZodLiteral<"kay.ui">;
9684
+ slug: z.ZodLiteral<"app-data.read">;
9685
+ envelope: z.ZodObject<{
9686
+ pluginId: z.ZodString;
9687
+ sourceId: z.ZodString;
9688
+ }, z.core.$strict>;
9350
9689
  }, z.core.$strict>, z.ZodObject<{
9351
9690
  target: z.ZodLiteral<"kay.app">;
9352
9691
  slug: z.ZodLiteral<"app-data.register">;
@@ -9570,8 +9909,8 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9570
9909
  scheme: z.ZodString;
9571
9910
  verb: z.ZodEnum<{
9572
9911
  search: "search";
9573
- list: "list";
9574
9912
  read: "read";
9913
+ list: "list";
9575
9914
  write: "write";
9576
9915
  edit: "edit";
9577
9916
  delete: "delete";
@@ -9581,6 +9920,7 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9581
9920
  target: z.ZodEnum<{
9582
9921
  "kay.agent": "kay.agent";
9583
9922
  "kay.app": "kay.app";
9923
+ "kay.ui": "kay.ui";
9584
9924
  }>;
9585
9925
  slug: z.ZodLiteral<"endpoints.invoke">;
9586
9926
  envelope: z.ZodObject<{
@@ -9669,6 +10009,13 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9669
10009
  envelope: z.ZodObject<{
9670
10010
  contributor: z.ZodString;
9671
10011
  }, z.core.$strict>;
10012
+ }, z.core.$strict>, z.ZodObject<{
10013
+ target: z.ZodLiteral<"kay.ui">;
10014
+ slug: z.ZodLiteral<"app-data.read">;
10015
+ envelope: z.ZodObject<{
10016
+ pluginId: z.ZodString;
10017
+ sourceId: z.ZodString;
10018
+ }, z.core.$strict>;
9672
10019
  }, z.core.$strict>, z.ZodObject<{
9673
10020
  target: z.ZodLiteral<"kay.app">;
9674
10021
  slug: z.ZodLiteral<"app-data.register">;
@@ -9891,8 +10238,8 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9891
10238
  scheme: z.ZodString;
9892
10239
  verb: z.ZodEnum<{
9893
10240
  search: "search";
9894
- list: "list";
9895
10241
  read: "read";
10242
+ list: "list";
9896
10243
  write: "write";
9897
10244
  edit: "edit";
9898
10245
  delete: "delete";
@@ -9902,6 +10249,7 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9902
10249
  target: z.ZodEnum<{
9903
10250
  "kay.agent": "kay.agent";
9904
10251
  "kay.app": "kay.app";
10252
+ "kay.ui": "kay.ui";
9905
10253
  }>;
9906
10254
  slug: z.ZodLiteral<"endpoints.invoke">;
9907
10255
  envelope: z.ZodObject<{
@@ -9990,6 +10338,13 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9990
10338
  envelope: z.ZodObject<{
9991
10339
  contributor: z.ZodString;
9992
10340
  }, z.core.$strict>;
10341
+ }, z.core.$strict>, z.ZodObject<{
10342
+ target: z.ZodLiteral<"kay.ui">;
10343
+ slug: z.ZodLiteral<"app-data.read">;
10344
+ envelope: z.ZodObject<{
10345
+ pluginId: z.ZodString;
10346
+ sourceId: z.ZodString;
10347
+ }, z.core.$strict>;
9993
10348
  }, z.core.$strict>, z.ZodObject<{
9994
10349
  target: z.ZodLiteral<"kay.app">;
9995
10350
  slug: z.ZodLiteral<"app-data.register">;
@@ -10246,8 +10601,8 @@ export declare const PluginCapabilityRefusalV1: z.ZodObject<{
10246
10601
  scheme: z.ZodString;
10247
10602
  verb: z.ZodEnum<{
10248
10603
  search: "search";
10249
- list: "list";
10250
10604
  read: "read";
10605
+ list: "list";
10251
10606
  write: "write";
10252
10607
  edit: "edit";
10253
10608
  delete: "delete";
@@ -10257,6 +10612,7 @@ export declare const PluginCapabilityRefusalV1: z.ZodObject<{
10257
10612
  target: z.ZodEnum<{
10258
10613
  "kay.agent": "kay.agent";
10259
10614
  "kay.app": "kay.app";
10615
+ "kay.ui": "kay.ui";
10260
10616
  }>;
10261
10617
  slug: z.ZodLiteral<"endpoints.invoke">;
10262
10618
  envelope: z.ZodObject<{
@@ -10345,6 +10701,13 @@ export declare const PluginCapabilityRefusalV1: z.ZodObject<{
10345
10701
  envelope: z.ZodObject<{
10346
10702
  contributor: z.ZodString;
10347
10703
  }, z.core.$strict>;
10704
+ }, z.core.$strict>, z.ZodObject<{
10705
+ target: z.ZodLiteral<"kay.ui">;
10706
+ slug: z.ZodLiteral<"app-data.read">;
10707
+ envelope: z.ZodObject<{
10708
+ pluginId: z.ZodString;
10709
+ sourceId: z.ZodString;
10710
+ }, z.core.$strict>;
10348
10711
  }, z.core.$strict>, z.ZodObject<{
10349
10712
  target: z.ZodLiteral<"kay.app">;
10350
10713
  slug: z.ZodLiteral<"app-data.register">;
@@ -10918,6 +11281,19 @@ export declare const PluginPermissionManifest: z.ZodObject<{
10918
11281
  }>;
10919
11282
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
10920
11283
  successNote: z.ZodOptional<z.ZodString>;
11284
+ round: z.ZodOptional<z.ZodObject<{
11285
+ scopes: z.ZodArray<z.ZodString>;
11286
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
11287
+ redirectParam: z.ZodString;
11288
+ requiresGrantedScope: z.ZodString;
11289
+ supersededByScopes: z.ZodArray<z.ZodString>;
11290
+ purpose: z.ZodString;
11291
+ displayNoun: z.ZodString;
11292
+ }, z.core.$strict>>;
11293
+ completion: z.ZodOptional<z.ZodObject<{
11294
+ pluginId: z.ZodString;
11295
+ moduleId: z.ZodString;
11296
+ }, z.core.$strict>>;
10921
11297
  }, z.core.$strict>>;
10922
11298
  }, z.core.$strict>>;
10923
11299
  }, z.core.$strict>>>;
@@ -10927,9 +11303,9 @@ export declare const PluginPermissionManifest: z.ZodObject<{
10927
11303
  dataDir: "dataDir";
10928
11304
  }>;
10929
11305
  operations: z.ZodArray<z.ZodEnum<{
10930
- open: "open";
10931
11306
  read: "read";
10932
11307
  write: "write";
11308
+ open: "open";
10933
11309
  }>>;
10934
11310
  }, z.core.$strict>>>;
10935
11311
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -10942,8 +11318,8 @@ export declare const PluginPermissionManifest: z.ZodObject<{
10942
11318
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
10943
11319
  endpoint: z.ZodString;
10944
11320
  operations: z.ZodArray<z.ZodEnum<{
10945
- register: "register";
10946
11321
  invoke: "invoke";
11322
+ register: "register";
10947
11323
  }>>;
10948
11324
  }, z.core.$strict>>>;
10949
11325
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11012,8 +11388,21 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11012
11388
  }>;
11013
11389
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
11014
11390
  successNote: z.ZodOptional<z.ZodString>;
11015
- }, z.core.$strict>>;
11016
- }, z.core.$strict>>;
11391
+ round: z.ZodOptional<z.ZodObject<{
11392
+ scopes: z.ZodArray<z.ZodString>;
11393
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
11394
+ redirectParam: z.ZodString;
11395
+ requiresGrantedScope: z.ZodString;
11396
+ supersededByScopes: z.ZodArray<z.ZodString>;
11397
+ purpose: z.ZodString;
11398
+ displayNoun: z.ZodString;
11399
+ }, z.core.$strict>>;
11400
+ completion: z.ZodOptional<z.ZodObject<{
11401
+ pluginId: z.ZodString;
11402
+ moduleId: z.ZodString;
11403
+ }, z.core.$strict>>;
11404
+ }, z.core.$strict>>;
11405
+ }, z.core.$strict>>;
11017
11406
  }, z.core.$strict>>>;
11018
11407
  storage: z.ZodOptional<z.ZodArray<z.ZodObject<{
11019
11408
  kind: z.ZodEnum<{
@@ -11021,9 +11410,9 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11021
11410
  dataDir: "dataDir";
11022
11411
  }>;
11023
11412
  operations: z.ZodArray<z.ZodEnum<{
11024
- open: "open";
11025
11413
  read: "read";
11026
11414
  write: "write";
11415
+ open: "open";
11027
11416
  }>>;
11028
11417
  }, z.core.$strict>>>;
11029
11418
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11036,8 +11425,8 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11036
11425
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
11037
11426
  endpoint: z.ZodString;
11038
11427
  operations: z.ZodArray<z.ZodEnum<{
11039
- register: "register";
11040
11428
  invoke: "invoke";
11429
+ register: "register";
11041
11430
  }>>;
11042
11431
  }, z.core.$strict>>>;
11043
11432
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11107,6 +11496,19 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11107
11496
  }>;
11108
11497
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
11109
11498
  successNote: z.ZodOptional<z.ZodString>;
11499
+ round: z.ZodOptional<z.ZodObject<{
11500
+ scopes: z.ZodArray<z.ZodString>;
11501
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
11502
+ redirectParam: z.ZodString;
11503
+ requiresGrantedScope: z.ZodString;
11504
+ supersededByScopes: z.ZodArray<z.ZodString>;
11505
+ purpose: z.ZodString;
11506
+ displayNoun: z.ZodString;
11507
+ }, z.core.$strict>>;
11508
+ completion: z.ZodOptional<z.ZodObject<{
11509
+ pluginId: z.ZodString;
11510
+ moduleId: z.ZodString;
11511
+ }, z.core.$strict>>;
11110
11512
  }, z.core.$strict>>;
11111
11513
  }, z.core.$strict>>;
11112
11514
  }, z.core.$strict>>>;
@@ -11116,9 +11518,9 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11116
11518
  dataDir: "dataDir";
11117
11519
  }>;
11118
11520
  operations: z.ZodArray<z.ZodEnum<{
11119
- open: "open";
11120
11521
  read: "read";
11121
11522
  write: "write";
11523
+ open: "open";
11122
11524
  }>>;
11123
11525
  }, z.core.$strict>>>;
11124
11526
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11131,8 +11533,8 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11131
11533
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
11132
11534
  endpoint: z.ZodString;
11133
11535
  operations: z.ZodArray<z.ZodEnum<{
11134
- register: "register";
11135
11536
  invoke: "invoke";
11537
+ register: "register";
11136
11538
  }>>;
11137
11539
  }, z.core.$strict>>>;
11138
11540
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11201,6 +11603,19 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11201
11603
  }>;
11202
11604
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
11203
11605
  successNote: z.ZodOptional<z.ZodString>;
11606
+ round: z.ZodOptional<z.ZodObject<{
11607
+ scopes: z.ZodArray<z.ZodString>;
11608
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
11609
+ redirectParam: z.ZodString;
11610
+ requiresGrantedScope: z.ZodString;
11611
+ supersededByScopes: z.ZodArray<z.ZodString>;
11612
+ purpose: z.ZodString;
11613
+ displayNoun: z.ZodString;
11614
+ }, z.core.$strict>>;
11615
+ completion: z.ZodOptional<z.ZodObject<{
11616
+ pluginId: z.ZodString;
11617
+ moduleId: z.ZodString;
11618
+ }, z.core.$strict>>;
11204
11619
  }, z.core.$strict>>;
11205
11620
  }, z.core.$strict>>;
11206
11621
  }, z.core.$strict>>>;
@@ -11210,9 +11625,9 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11210
11625
  dataDir: "dataDir";
11211
11626
  }>;
11212
11627
  operations: z.ZodArray<z.ZodEnum<{
11213
- open: "open";
11214
11628
  read: "read";
11215
11629
  write: "write";
11630
+ open: "open";
11216
11631
  }>>;
11217
11632
  }, z.core.$strict>>>;
11218
11633
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11225,8 +11640,8 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11225
11640
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
11226
11641
  endpoint: z.ZodString;
11227
11642
  operations: z.ZodArray<z.ZodEnum<{
11228
- register: "register";
11229
11643
  invoke: "invoke";
11644
+ register: "register";
11230
11645
  }>>;
11231
11646
  }, z.core.$strict>>>;
11232
11647
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11296,6 +11711,19 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11296
11711
  }>;
11297
11712
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
11298
11713
  successNote: z.ZodOptional<z.ZodString>;
11714
+ round: z.ZodOptional<z.ZodObject<{
11715
+ scopes: z.ZodArray<z.ZodString>;
11716
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
11717
+ redirectParam: z.ZodString;
11718
+ requiresGrantedScope: z.ZodString;
11719
+ supersededByScopes: z.ZodArray<z.ZodString>;
11720
+ purpose: z.ZodString;
11721
+ displayNoun: z.ZodString;
11722
+ }, z.core.$strict>>;
11723
+ completion: z.ZodOptional<z.ZodObject<{
11724
+ pluginId: z.ZodString;
11725
+ moduleId: z.ZodString;
11726
+ }, z.core.$strict>>;
11299
11727
  }, z.core.$strict>>;
11300
11728
  }, z.core.$strict>>;
11301
11729
  }, z.core.$strict>>>;
@@ -11305,9 +11733,9 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11305
11733
  dataDir: "dataDir";
11306
11734
  }>;
11307
11735
  operations: z.ZodArray<z.ZodEnum<{
11308
- open: "open";
11309
11736
  read: "read";
11310
11737
  write: "write";
11738
+ open: "open";
11311
11739
  }>>;
11312
11740
  }, z.core.$strict>>>;
11313
11741
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11320,8 +11748,8 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11320
11748
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
11321
11749
  endpoint: z.ZodString;
11322
11750
  operations: z.ZodArray<z.ZodEnum<{
11323
- register: "register";
11324
11751
  invoke: "invoke";
11752
+ register: "register";
11325
11753
  }>>;
11326
11754
  }, z.core.$strict>>>;
11327
11755
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11390,6 +11818,19 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11390
11818
  }>;
11391
11819
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
11392
11820
  successNote: z.ZodOptional<z.ZodString>;
11821
+ round: z.ZodOptional<z.ZodObject<{
11822
+ scopes: z.ZodArray<z.ZodString>;
11823
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
11824
+ redirectParam: z.ZodString;
11825
+ requiresGrantedScope: z.ZodString;
11826
+ supersededByScopes: z.ZodArray<z.ZodString>;
11827
+ purpose: z.ZodString;
11828
+ displayNoun: z.ZodString;
11829
+ }, z.core.$strict>>;
11830
+ completion: z.ZodOptional<z.ZodObject<{
11831
+ pluginId: z.ZodString;
11832
+ moduleId: z.ZodString;
11833
+ }, z.core.$strict>>;
11393
11834
  }, z.core.$strict>>;
11394
11835
  }, z.core.$strict>>;
11395
11836
  }, z.core.$strict>>>;
@@ -11399,9 +11840,9 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11399
11840
  dataDir: "dataDir";
11400
11841
  }>;
11401
11842
  operations: z.ZodArray<z.ZodEnum<{
11402
- open: "open";
11403
11843
  read: "read";
11404
11844
  write: "write";
11845
+ open: "open";
11405
11846
  }>>;
11406
11847
  }, z.core.$strict>>>;
11407
11848
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11414,8 +11855,8 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11414
11855
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
11415
11856
  endpoint: z.ZodString;
11416
11857
  operations: z.ZodArray<z.ZodEnum<{
11417
- register: "register";
11418
11858
  invoke: "invoke";
11859
+ register: "register";
11419
11860
  }>>;
11420
11861
  }, z.core.$strict>>>;
11421
11862
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11441,6 +11882,18 @@ export declare const PluginPermissionManifest: z.ZodObject<{
11441
11882
 
11442
11883
  export declare type PluginPermissionManifest = z.infer<typeof PluginPermissionManifest>;
11443
11884
 
11885
+ export declare const PluginPickerRound: z.ZodObject<{
11886
+ scopes: z.ZodArray<z.ZodString>;
11887
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
11888
+ redirectParam: z.ZodString;
11889
+ requiresGrantedScope: z.ZodString;
11890
+ supersededByScopes: z.ZodArray<z.ZodString>;
11891
+ purpose: z.ZodString;
11892
+ displayNoun: z.ZodString;
11893
+ }, z.core.$strict>;
11894
+
11895
+ export declare type PluginPickerRound = z.infer<typeof PluginPickerRound>;
11896
+
11444
11897
  export declare const PluginProductEventContribution: z.ZodUnion<readonly [z.ZodObject<{
11445
11898
  name: z.ZodString;
11446
11899
  description: z.ZodOptional<z.ZodString>;
@@ -11523,6 +11976,15 @@ export declare const PluginProvisioningRequirement: z.ZodObject<{
11523
11976
 
11524
11977
  export declare type PluginProvisioningRequirement = z.infer<typeof PluginProvisioningRequirement>;
11525
11978
 
11979
+ export declare const PluginShellCommand: z.ZodObject<{
11980
+ name: z.ZodString;
11981
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
11982
+ endpoint: z.ZodString;
11983
+ usage: z.ZodString;
11984
+ }, z.core.$strict>;
11985
+
11986
+ export declare type PluginShellCommand = z.infer<typeof PluginShellCommand>;
11987
+
11526
11988
  export declare const PluginSignal: z.ZodObject<{
11527
11989
  kind: z.ZodEnum<{
11528
11990
  message: "message";
@@ -11645,6 +12107,7 @@ export declare const PluginStorageManifest: z.ZodObject<{
11645
12107
  dataDir: z.ZodOptional<z.ZodObject<{
11646
12108
  enabled: z.ZodBoolean;
11647
12109
  ownerTarget: z.ZodOptional<z.ZodLiteral<"kay.app">>;
12110
+ sharedWith: z.ZodOptional<z.ZodString>;
11648
12111
  }, z.core.$strict>>;
11649
12112
  }, z.core.$strict>;
11650
12113
 
@@ -11697,6 +12160,16 @@ export declare const PluginWebSessionProbe: z.ZodObject<{
11697
12160
 
11698
12161
  export declare type PluginWebSessionProbe = z.infer<typeof PluginWebSessionProbe>;
11699
12162
 
12163
+ export declare const PluginWorkloadPurpose: z.ZodObject<{
12164
+ purpose: z.ZodString;
12165
+ workloadClass: z.ZodEnum<{
12166
+ dreaming: "dreaming";
12167
+ hindsight: "hindsight";
12168
+ }>;
12169
+ }, z.core.$strict>;
12170
+
12171
+ export declare type PluginWorkloadPurpose = z.infer<typeof PluginWorkloadPurpose>;
12172
+
11700
12173
  /**
11701
12174
  * The person's messages that precede a packet's opener on the same branch: the last `count`
11702
12175
  * human-verified `role: "user"` messages before it, oldest first. Openers and steers of earlier
@@ -12091,6 +12564,19 @@ export declare const ResolvedAuthGrantRequest: z.ZodObject<{
12091
12564
  }>;
12092
12565
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
12093
12566
  successNote: z.ZodOptional<z.ZodString>;
12567
+ round: z.ZodOptional<z.ZodObject<{
12568
+ scopes: z.ZodArray<z.ZodString>;
12569
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
12570
+ redirectParam: z.ZodString;
12571
+ requiresGrantedScope: z.ZodString;
12572
+ supersededByScopes: z.ZodArray<z.ZodString>;
12573
+ purpose: z.ZodString;
12574
+ displayNoun: z.ZodString;
12575
+ }, z.core.$strict>>;
12576
+ completion: z.ZodOptional<z.ZodObject<{
12577
+ pluginId: z.ZodString;
12578
+ moduleId: z.ZodString;
12579
+ }, z.core.$strict>>;
12094
12580
  }, z.core.$strict>>;
12095
12581
  }, z.core.$strict>>;
12096
12582
  service: z.ZodString;
@@ -12110,8 +12596,8 @@ export declare type ResolvedAuthGrantRequest = z.infer<typeof ResolvedAuthGrantR
12110
12596
 
12111
12597
  export declare const ResolvedEndpointGrantRequest: z.ZodObject<{
12112
12598
  operations: z.ZodArray<z.ZodEnum<{
12113
- register: "register";
12114
12599
  invoke: "invoke";
12600
+ register: "register";
12115
12601
  }>>;
12116
12602
  endpoint: z.ZodString;
12117
12603
  }, z.core.$strict>;
@@ -12221,6 +12707,8 @@ export declare const ResolvedKayAgentTool: z.ZodObject<{
12221
12707
  export declare type ResolvedKayAgentTool = z.infer<typeof ResolvedKayAgentTool>;
12222
12708
 
12223
12709
  export declare const ResolvedKayAgentUriModule: z.ZodObject<{
12710
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
12711
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
12224
12712
  screenActions: z.ZodExactOptional<z.ZodObject<{
12225
12713
  scheme: z.ZodString;
12226
12714
  hosts: z.ZodArray<z.ZodString>;
@@ -12280,8 +12768,8 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
12280
12768
  description: z.ZodString;
12281
12769
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
12282
12770
  search: "search";
12283
- list: "list";
12284
12771
  read: "read";
12772
+ list: "list";
12285
12773
  write: "write";
12286
12774
  edit: "edit";
12287
12775
  delete: "delete";
@@ -12289,8 +12777,8 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
12289
12777
  }>>>;
12290
12778
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
12291
12779
  search: "search";
12292
- list: "list";
12293
12780
  read: "read";
12781
+ list: "list";
12294
12782
  write: "write";
12295
12783
  edit: "edit";
12296
12784
  delete: "delete";
@@ -12298,8 +12786,8 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
12298
12786
  }> & z.core.$partial, z.ZodString>>;
12299
12787
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
12300
12788
  search: "search";
12301
- list: "list";
12302
12789
  read: "read";
12790
+ list: "list";
12303
12791
  write: "write";
12304
12792
  edit: "edit";
12305
12793
  delete: "delete";
@@ -12362,8 +12850,8 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
12362
12850
  action: z.ZodString;
12363
12851
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
12364
12852
  search: "search";
12365
- list: "list";
12366
12853
  read: "read";
12854
+ list: "list";
12367
12855
  write: "write";
12368
12856
  edit: "edit";
12369
12857
  delete: "delete";
@@ -12375,8 +12863,8 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
12375
12863
  public: z.ZodLiteral<true>;
12376
12864
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
12377
12865
  search: "search";
12378
- list: "list";
12379
12866
  read: "read";
12867
+ list: "list";
12380
12868
  write: "write";
12381
12869
  edit: "edit";
12382
12870
  delete: "delete";
@@ -12421,9 +12909,6 @@ export declare type ResolvedKayAgentUriModule = z.infer<typeof ResolvedKayAgentU
12421
12909
 
12422
12910
  export declare const ResolvedKayAppApprovalType: z.ZodObject<{
12423
12911
  kind: z.ZodLiteral<"message">;
12424
- localId: z.ZodString;
12425
- provider: z.ZodString;
12426
- unknownMessage: z.ZodString;
12427
12912
  fields: z.ZodObject<{
12428
12913
  body: z.ZodObject<{
12429
12914
  key: z.ZodString;
@@ -12434,6 +12919,9 @@ export declare const ResolvedKayAppApprovalType: z.ZodObject<{
12434
12919
  max: z.ZodNumber;
12435
12920
  }, z.core.$strict>>;
12436
12921
  }, z.core.$strict>;
12922
+ localId: z.ZodString;
12923
+ provider: z.ZodString;
12924
+ unknownMessage: z.ZodString;
12437
12925
  presentation: z.ZodObject<{
12438
12926
  showAccount: z.ZodBoolean;
12439
12927
  recipient: z.ZodEnum<{
@@ -12558,9 +13046,9 @@ export declare type ResolvedKayAppMcpServer = z.infer<typeof ResolvedKayAppMcpSe
12558
13046
 
12559
13047
  export declare const ResolvedKayAppTool: z.ZodObject<{
12560
13048
  description: z.ZodOptional<z.ZodString>;
12561
- localId: z.ZodString;
12562
- displayName: z.ZodOptional<z.ZodString>;
12563
13049
  toolName: z.ZodString;
13050
+ displayName: z.ZodOptional<z.ZodString>;
13051
+ localId: z.ZodString;
12564
13052
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
12565
13053
  executionMode: z.ZodOptional<z.ZodEnum<{
12566
13054
  sequential: "sequential";
@@ -12658,10 +13146,13 @@ export declare const ResolvedKayUiApp: z.ZodObject<{
12658
13146
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
12659
13147
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
12660
13148
  capabilities: z.ZodOptional<z.ZodObject<{
12661
- endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
13149
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12662
13150
  localId: z.ZodString;
12663
13151
  globalId: z.ZodString;
12664
- }, z.core.$strict>>>;
13152
+ }, z.core.$strict>, z.ZodObject<{
13153
+ pluginId: z.ZodString;
13154
+ localId: z.ZodString;
13155
+ }, z.core.$strict>]>>>;
12665
13156
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
12666
13157
  "navigation.open-session": "navigation.open-session";
12667
13158
  "sessions.create": "sessions.create";
@@ -12674,25 +13165,56 @@ export declare const ResolvedKayUiApp: z.ZodObject<{
12674
13165
  "automations.read": "automations.read";
12675
13166
  "automations.run": "automations.run";
12676
13167
  "shared-artifacts.read": "shared-artifacts.read";
13168
+ "projects.manage": "projects.manage";
12677
13169
  "workspace.place-pane": "workspace.place-pane";
12678
13170
  "workspace.pane-header": "workspace.pane-header";
12679
13171
  "workspace.arrange": "workspace.arrange";
12680
13172
  }>>>;
12681
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13173
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13174
+ pluginId: z.ZodString;
13175
+ localId: z.ZodString;
13176
+ }, z.core.$strict>]>>>;
12682
13177
  }, z.core.$strict>>;
12683
13178
  }, z.core.$strict>;
12684
13179
 
12685
13180
  export declare type ResolvedKayUiApp = z.infer<typeof ResolvedKayUiApp>;
12686
13181
 
12687
- export declare const ResolvedKayUiAppEndpointCapability: z.ZodObject<{
13182
+ export declare const ResolvedKayUiAppEndpointCapability: z.ZodUnion<readonly [z.ZodObject<{
12688
13183
  localId: z.ZodString;
12689
13184
  globalId: z.ZodString;
12690
- }, z.core.$strict>;
13185
+ }, z.core.$strict>, z.ZodObject<{
13186
+ pluginId: z.ZodString;
13187
+ localId: z.ZodString;
13188
+ }, z.core.$strict>]>;
12691
13189
 
12692
13190
  export declare type ResolvedKayUiAppEndpointCapability = z.infer<typeof ResolvedKayUiAppEndpointCapability>;
12693
13191
 
12694
13192
  export declare const ResolvedPluginAuthScheme: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
12695
13193
  exchange: z.ZodLiteral<"pkce">;
13194
+ byoocProfile: z.ZodOptional<z.ZodObject<{
13195
+ displayName: z.ZodString;
13196
+ fields: z.ZodArray<z.ZodObject<{
13197
+ id: z.ZodString;
13198
+ label: z.ZodString;
13199
+ optional: z.ZodOptional<z.ZodBoolean>;
13200
+ validation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
13201
+ kind: z.ZodLiteral<"uuid">;
13202
+ }, z.core.$strict>, z.ZodObject<{
13203
+ kind: z.ZodLiteral<"suffix">;
13204
+ value: z.ZodString;
13205
+ }, z.core.$strict>], "kind">>;
13206
+ failureMessage: z.ZodOptional<z.ZodString>;
13207
+ }, z.core.$strict>>;
13208
+ setup: z.ZodObject<{
13209
+ steps: z.ZodArray<z.ZodString>;
13210
+ notes: z.ZodArray<z.ZodString>;
13211
+ url: z.ZodURL;
13212
+ }, z.core.$strict>;
13213
+ endpointTemplates: z.ZodOptional<z.ZodObject<{
13214
+ authorizationUrl: z.ZodString;
13215
+ tokenUrl: z.ZodString;
13216
+ }, z.core.$strict>>;
13217
+ }, z.core.$strict>>;
12696
13218
  clientSuppliers: z.ZodArray<z.ZodEnum<{
12697
13219
  user: "user";
12698
13220
  kay: "kay";
@@ -12838,6 +13360,30 @@ export declare const ResolvedPluginAuthService: z.ZodObject<{
12838
13360
  summary: z.ZodOptional<z.ZodString>;
12839
13361
  schemes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
12840
13362
  exchange: z.ZodLiteral<"pkce">;
13363
+ byoocProfile: z.ZodOptional<z.ZodObject<{
13364
+ displayName: z.ZodString;
13365
+ fields: z.ZodArray<z.ZodObject<{
13366
+ id: z.ZodString;
13367
+ label: z.ZodString;
13368
+ optional: z.ZodOptional<z.ZodBoolean>;
13369
+ validation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
13370
+ kind: z.ZodLiteral<"uuid">;
13371
+ }, z.core.$strict>, z.ZodObject<{
13372
+ kind: z.ZodLiteral<"suffix">;
13373
+ value: z.ZodString;
13374
+ }, z.core.$strict>], "kind">>;
13375
+ failureMessage: z.ZodOptional<z.ZodString>;
13376
+ }, z.core.$strict>>;
13377
+ setup: z.ZodObject<{
13378
+ steps: z.ZodArray<z.ZodString>;
13379
+ notes: z.ZodArray<z.ZodString>;
13380
+ url: z.ZodURL;
13381
+ }, z.core.$strict>;
13382
+ endpointTemplates: z.ZodOptional<z.ZodObject<{
13383
+ authorizationUrl: z.ZodString;
13384
+ tokenUrl: z.ZodString;
13385
+ }, z.core.$strict>>;
13386
+ }, z.core.$strict>>;
12841
13387
  clientSuppliers: z.ZodArray<z.ZodEnum<{
12842
13388
  user: "user";
12843
13389
  kay: "kay";
@@ -13068,6 +13614,20 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13068
13614
  }, z.core.$strict>>;
13069
13615
  consumesAuthServices: z.ZodArray<z.ZodString>;
13070
13616
  explicitDependencies: z.ZodArray<z.ZodString>;
13617
+ dataDirSharedWith: z.ZodOptional<z.ZodString>;
13618
+ workloadPurposes: z.ZodOptional<z.ZodArray<z.ZodObject<{
13619
+ purpose: z.ZodString;
13620
+ workloadClass: z.ZodEnum<{
13621
+ dreaming: "dreaming";
13622
+ hindsight: "hindsight";
13623
+ }>;
13624
+ }, z.core.$strict>>>;
13625
+ shellCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
13626
+ name: z.ZodString;
13627
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
13628
+ usage: z.ZodString;
13629
+ endpointId: z.ZodString;
13630
+ }, z.core.$strict>>>;
13071
13631
  authServices: z.ZodArray<z.ZodObject<{
13072
13632
  localId: z.ZodString;
13073
13633
  globalId: z.ZodString;
@@ -13075,6 +13635,30 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13075
13635
  summary: z.ZodOptional<z.ZodString>;
13076
13636
  schemes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
13077
13637
  exchange: z.ZodLiteral<"pkce">;
13638
+ byoocProfile: z.ZodOptional<z.ZodObject<{
13639
+ displayName: z.ZodString;
13640
+ fields: z.ZodArray<z.ZodObject<{
13641
+ id: z.ZodString;
13642
+ label: z.ZodString;
13643
+ optional: z.ZodOptional<z.ZodBoolean>;
13644
+ validation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
13645
+ kind: z.ZodLiteral<"uuid">;
13646
+ }, z.core.$strict>, z.ZodObject<{
13647
+ kind: z.ZodLiteral<"suffix">;
13648
+ value: z.ZodString;
13649
+ }, z.core.$strict>], "kind">>;
13650
+ failureMessage: z.ZodOptional<z.ZodString>;
13651
+ }, z.core.$strict>>;
13652
+ setup: z.ZodObject<{
13653
+ steps: z.ZodArray<z.ZodString>;
13654
+ notes: z.ZodArray<z.ZodString>;
13655
+ url: z.ZodURL;
13656
+ }, z.core.$strict>;
13657
+ endpointTemplates: z.ZodOptional<z.ZodObject<{
13658
+ authorizationUrl: z.ZodString;
13659
+ tokenUrl: z.ZodString;
13660
+ }, z.core.$strict>>;
13661
+ }, z.core.$strict>>;
13078
13662
  clientSuppliers: z.ZodArray<z.ZodEnum<{
13079
13663
  user: "user";
13080
13664
  kay: "kay";
@@ -13273,6 +13857,19 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13273
13857
  }>;
13274
13858
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
13275
13859
  successNote: z.ZodOptional<z.ZodString>;
13860
+ round: z.ZodOptional<z.ZodObject<{
13861
+ scopes: z.ZodArray<z.ZodString>;
13862
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
13863
+ redirectParam: z.ZodString;
13864
+ requiresGrantedScope: z.ZodString;
13865
+ supersededByScopes: z.ZodArray<z.ZodString>;
13866
+ purpose: z.ZodString;
13867
+ displayNoun: z.ZodString;
13868
+ }, z.core.$strict>>;
13869
+ completion: z.ZodOptional<z.ZodObject<{
13870
+ pluginId: z.ZodString;
13871
+ moduleId: z.ZodString;
13872
+ }, z.core.$strict>>;
13276
13873
  }, z.core.$strict>>;
13277
13874
  }, z.core.$strict>>;
13278
13875
  service: z.ZodString;
@@ -13293,9 +13890,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13293
13890
  dataDir: "dataDir";
13294
13891
  }>;
13295
13892
  operations: z.ZodArray<z.ZodEnum<{
13296
- open: "open";
13297
13893
  read: "read";
13298
13894
  write: "write";
13895
+ open: "open";
13299
13896
  }>>;
13300
13897
  }, z.core.$strict>>>;
13301
13898
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -13307,8 +13904,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13307
13904
  }, z.core.$strict>>>;
13308
13905
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
13309
13906
  operations: z.ZodArray<z.ZodEnum<{
13310
- register: "register";
13311
13907
  invoke: "invoke";
13908
+ register: "register";
13312
13909
  }>>;
13313
13910
  endpoint: z.ZodString;
13314
13911
  }, z.core.$strict>>>;
@@ -13368,6 +13965,19 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13368
13965
  }>;
13369
13966
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
13370
13967
  successNote: z.ZodOptional<z.ZodString>;
13968
+ round: z.ZodOptional<z.ZodObject<{
13969
+ scopes: z.ZodArray<z.ZodString>;
13970
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
13971
+ redirectParam: z.ZodString;
13972
+ requiresGrantedScope: z.ZodString;
13973
+ supersededByScopes: z.ZodArray<z.ZodString>;
13974
+ purpose: z.ZodString;
13975
+ displayNoun: z.ZodString;
13976
+ }, z.core.$strict>>;
13977
+ completion: z.ZodOptional<z.ZodObject<{
13978
+ pluginId: z.ZodString;
13979
+ moduleId: z.ZodString;
13980
+ }, z.core.$strict>>;
13371
13981
  }, z.core.$strict>>;
13372
13982
  }, z.core.$strict>>;
13373
13983
  service: z.ZodString;
@@ -13388,9 +13998,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13388
13998
  dataDir: "dataDir";
13389
13999
  }>;
13390
14000
  operations: z.ZodArray<z.ZodEnum<{
13391
- open: "open";
13392
14001
  read: "read";
13393
14002
  write: "write";
14003
+ open: "open";
13394
14004
  }>>;
13395
14005
  }, z.core.$strict>>>;
13396
14006
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -13402,8 +14012,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13402
14012
  }, z.core.$strict>>>;
13403
14013
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
13404
14014
  operations: z.ZodArray<z.ZodEnum<{
13405
- register: "register";
13406
14015
  invoke: "invoke";
14016
+ register: "register";
13407
14017
  }>>;
13408
14018
  endpoint: z.ZodString;
13409
14019
  }, z.core.$strict>>>;
@@ -13463,6 +14073,19 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13463
14073
  }>;
13464
14074
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
13465
14075
  successNote: z.ZodOptional<z.ZodString>;
14076
+ round: z.ZodOptional<z.ZodObject<{
14077
+ scopes: z.ZodArray<z.ZodString>;
14078
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
14079
+ redirectParam: z.ZodString;
14080
+ requiresGrantedScope: z.ZodString;
14081
+ supersededByScopes: z.ZodArray<z.ZodString>;
14082
+ purpose: z.ZodString;
14083
+ displayNoun: z.ZodString;
14084
+ }, z.core.$strict>>;
14085
+ completion: z.ZodOptional<z.ZodObject<{
14086
+ pluginId: z.ZodString;
14087
+ moduleId: z.ZodString;
14088
+ }, z.core.$strict>>;
13466
14089
  }, z.core.$strict>>;
13467
14090
  }, z.core.$strict>>;
13468
14091
  service: z.ZodString;
@@ -13483,9 +14106,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13483
14106
  dataDir: "dataDir";
13484
14107
  }>;
13485
14108
  operations: z.ZodArray<z.ZodEnum<{
13486
- open: "open";
13487
14109
  read: "read";
13488
14110
  write: "write";
14111
+ open: "open";
13489
14112
  }>>;
13490
14113
  }, z.core.$strict>>>;
13491
14114
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -13497,8 +14120,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13497
14120
  }, z.core.$strict>>>;
13498
14121
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
13499
14122
  operations: z.ZodArray<z.ZodEnum<{
13500
- register: "register";
13501
14123
  invoke: "invoke";
14124
+ register: "register";
13502
14125
  }>>;
13503
14126
  endpoint: z.ZodString;
13504
14127
  }, z.core.$strict>>>;
@@ -13523,6 +14146,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13523
14146
  }, z.core.$strict>;
13524
14147
  }, z.core.$strict>>;
13525
14148
  kayAgentUriModules: z.ZodOptional<z.ZodArray<z.ZodObject<{
14149
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
14150
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
13526
14151
  screenActions: z.ZodExactOptional<z.ZodObject<{
13527
14152
  scheme: z.ZodString;
13528
14153
  hosts: z.ZodArray<z.ZodString>;
@@ -13582,8 +14207,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13582
14207
  description: z.ZodString;
13583
14208
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
13584
14209
  search: "search";
13585
- list: "list";
13586
14210
  read: "read";
14211
+ list: "list";
13587
14212
  write: "write";
13588
14213
  edit: "edit";
13589
14214
  delete: "delete";
@@ -13591,8 +14216,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13591
14216
  }>>>;
13592
14217
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
13593
14218
  search: "search";
13594
- list: "list";
13595
14219
  read: "read";
14220
+ list: "list";
13596
14221
  write: "write";
13597
14222
  edit: "edit";
13598
14223
  delete: "delete";
@@ -13600,8 +14225,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13600
14225
  }> & z.core.$partial, z.ZodString>>;
13601
14226
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
13602
14227
  search: "search";
13603
- list: "list";
13604
14228
  read: "read";
14229
+ list: "list";
13605
14230
  write: "write";
13606
14231
  edit: "edit";
13607
14232
  delete: "delete";
@@ -13664,8 +14289,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13664
14289
  action: z.ZodString;
13665
14290
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
13666
14291
  search: "search";
13667
- list: "list";
13668
14292
  read: "read";
14293
+ list: "list";
13669
14294
  write: "write";
13670
14295
  edit: "edit";
13671
14296
  delete: "delete";
@@ -13677,8 +14302,8 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13677
14302
  public: z.ZodLiteral<true>;
13678
14303
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
13679
14304
  search: "search";
13680
- list: "list";
13681
14305
  read: "read";
14306
+ list: "list";
13682
14307
  write: "write";
13683
14308
  edit: "edit";
13684
14309
  delete: "delete";
@@ -13800,9 +14425,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13800
14425
  }, z.core.$strict>>>;
13801
14426
  kayAppTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
13802
14427
  description: z.ZodOptional<z.ZodString>;
13803
- localId: z.ZodString;
13804
- displayName: z.ZodOptional<z.ZodString>;
13805
14428
  toolName: z.ZodString;
14429
+ displayName: z.ZodOptional<z.ZodString>;
14430
+ localId: z.ZodString;
13806
14431
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
13807
14432
  executionMode: z.ZodOptional<z.ZodEnum<{
13808
14433
  sequential: "sequential";
@@ -13848,9 +14473,6 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13848
14473
  }, z.core.$strict>>>;
13849
14474
  kayAppApprovalTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
13850
14475
  kind: z.ZodLiteral<"message">;
13851
- localId: z.ZodString;
13852
- provider: z.ZodString;
13853
- unknownMessage: z.ZodString;
13854
14476
  fields: z.ZodObject<{
13855
14477
  body: z.ZodObject<{
13856
14478
  key: z.ZodString;
@@ -13861,6 +14483,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13861
14483
  max: z.ZodNumber;
13862
14484
  }, z.core.$strict>>;
13863
14485
  }, z.core.$strict>;
14486
+ localId: z.ZodString;
14487
+ provider: z.ZodString;
14488
+ unknownMessage: z.ZodString;
13864
14489
  presentation: z.ZodObject<{
13865
14490
  showAccount: z.ZodBoolean;
13866
14491
  recipient: z.ZodEnum<{
@@ -14162,10 +14787,13 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14162
14787
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
14163
14788
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
14164
14789
  capabilities: z.ZodOptional<z.ZodObject<{
14165
- endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
14790
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14166
14791
  localId: z.ZodString;
14167
14792
  globalId: z.ZodString;
14168
- }, z.core.$strict>>>;
14793
+ }, z.core.$strict>, z.ZodObject<{
14794
+ pluginId: z.ZodString;
14795
+ localId: z.ZodString;
14796
+ }, z.core.$strict>]>>>;
14169
14797
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
14170
14798
  "navigation.open-session": "navigation.open-session";
14171
14799
  "sessions.create": "sessions.create";
@@ -14178,11 +14806,15 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
14178
14806
  "automations.read": "automations.read";
14179
14807
  "automations.run": "automations.run";
14180
14808
  "shared-artifacts.read": "shared-artifacts.read";
14809
+ "projects.manage": "projects.manage";
14181
14810
  "workspace.place-pane": "workspace.place-pane";
14182
14811
  "workspace.pane-header": "workspace.pane-header";
14183
14812
  "workspace.arrange": "workspace.arrange";
14184
14813
  }>>>;
14185
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
14814
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14815
+ pluginId: z.ZodString;
14816
+ localId: z.ZodString;
14817
+ }, z.core.$strict>]>>>;
14186
14818
  }, z.core.$strict>>;
14187
14819
  }, z.core.$strict>>>;
14188
14820
  }, z.core.$strict>;
@@ -14276,6 +14908,19 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14276
14908
  }>;
14277
14909
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
14278
14910
  successNote: z.ZodOptional<z.ZodString>;
14911
+ round: z.ZodOptional<z.ZodObject<{
14912
+ scopes: z.ZodArray<z.ZodString>;
14913
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
14914
+ redirectParam: z.ZodString;
14915
+ requiresGrantedScope: z.ZodString;
14916
+ supersededByScopes: z.ZodArray<z.ZodString>;
14917
+ purpose: z.ZodString;
14918
+ displayNoun: z.ZodString;
14919
+ }, z.core.$strict>>;
14920
+ completion: z.ZodOptional<z.ZodObject<{
14921
+ pluginId: z.ZodString;
14922
+ moduleId: z.ZodString;
14923
+ }, z.core.$strict>>;
14279
14924
  }, z.core.$strict>>;
14280
14925
  }, z.core.$strict>>;
14281
14926
  service: z.ZodString;
@@ -14296,9 +14941,9 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14296
14941
  dataDir: "dataDir";
14297
14942
  }>;
14298
14943
  operations: z.ZodArray<z.ZodEnum<{
14299
- open: "open";
14300
14944
  read: "read";
14301
14945
  write: "write";
14946
+ open: "open";
14302
14947
  }>>;
14303
14948
  }, z.core.$strict>>>;
14304
14949
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14310,8 +14955,8 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14310
14955
  }, z.core.$strict>>>;
14311
14956
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
14312
14957
  operations: z.ZodArray<z.ZodEnum<{
14313
- register: "register";
14314
14958
  invoke: "invoke";
14959
+ register: "register";
14315
14960
  }>>;
14316
14961
  endpoint: z.ZodString;
14317
14962
  }, z.core.$strict>>>;
@@ -14371,6 +15016,19 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14371
15016
  }>;
14372
15017
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
14373
15018
  successNote: z.ZodOptional<z.ZodString>;
15019
+ round: z.ZodOptional<z.ZodObject<{
15020
+ scopes: z.ZodArray<z.ZodString>;
15021
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
15022
+ redirectParam: z.ZodString;
15023
+ requiresGrantedScope: z.ZodString;
15024
+ supersededByScopes: z.ZodArray<z.ZodString>;
15025
+ purpose: z.ZodString;
15026
+ displayNoun: z.ZodString;
15027
+ }, z.core.$strict>>;
15028
+ completion: z.ZodOptional<z.ZodObject<{
15029
+ pluginId: z.ZodString;
15030
+ moduleId: z.ZodString;
15031
+ }, z.core.$strict>>;
14374
15032
  }, z.core.$strict>>;
14375
15033
  }, z.core.$strict>>;
14376
15034
  service: z.ZodString;
@@ -14391,9 +15049,9 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14391
15049
  dataDir: "dataDir";
14392
15050
  }>;
14393
15051
  operations: z.ZodArray<z.ZodEnum<{
14394
- open: "open";
14395
15052
  read: "read";
14396
15053
  write: "write";
15054
+ open: "open";
14397
15055
  }>>;
14398
15056
  }, z.core.$strict>>>;
14399
15057
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14405,8 +15063,8 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14405
15063
  }, z.core.$strict>>>;
14406
15064
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
14407
15065
  operations: z.ZodArray<z.ZodEnum<{
14408
- register: "register";
14409
15066
  invoke: "invoke";
15067
+ register: "register";
14410
15068
  }>>;
14411
15069
  endpoint: z.ZodString;
14412
15070
  }, z.core.$strict>>>;
@@ -14466,6 +15124,19 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14466
15124
  }>;
14467
15125
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
14468
15126
  successNote: z.ZodOptional<z.ZodString>;
15127
+ round: z.ZodOptional<z.ZodObject<{
15128
+ scopes: z.ZodArray<z.ZodString>;
15129
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
15130
+ redirectParam: z.ZodString;
15131
+ requiresGrantedScope: z.ZodString;
15132
+ supersededByScopes: z.ZodArray<z.ZodString>;
15133
+ purpose: z.ZodString;
15134
+ displayNoun: z.ZodString;
15135
+ }, z.core.$strict>>;
15136
+ completion: z.ZodOptional<z.ZodObject<{
15137
+ pluginId: z.ZodString;
15138
+ moduleId: z.ZodString;
15139
+ }, z.core.$strict>>;
14469
15140
  }, z.core.$strict>>;
14470
15141
  }, z.core.$strict>>;
14471
15142
  service: z.ZodString;
@@ -14486,9 +15157,9 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14486
15157
  dataDir: "dataDir";
14487
15158
  }>;
14488
15159
  operations: z.ZodArray<z.ZodEnum<{
14489
- open: "open";
14490
15160
  read: "read";
14491
15161
  write: "write";
15162
+ open: "open";
14492
15163
  }>>;
14493
15164
  }, z.core.$strict>>>;
14494
15165
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14500,8 +15171,8 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
14500
15171
  }, z.core.$strict>>>;
14501
15172
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
14502
15173
  operations: z.ZodArray<z.ZodEnum<{
14503
- register: "register";
14504
15174
  invoke: "invoke";
15175
+ register: "register";
14505
15176
  }>>;
14506
15177
  endpoint: z.ZodString;
14507
15178
  }, z.core.$strict>>>;
@@ -14735,6 +15406,19 @@ export declare const ResolvedTargetGrantSet: z.ZodObject<{
14735
15406
  }>;
14736
15407
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
14737
15408
  successNote: z.ZodOptional<z.ZodString>;
15409
+ round: z.ZodOptional<z.ZodObject<{
15410
+ scopes: z.ZodArray<z.ZodString>;
15411
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
15412
+ redirectParam: z.ZodString;
15413
+ requiresGrantedScope: z.ZodString;
15414
+ supersededByScopes: z.ZodArray<z.ZodString>;
15415
+ purpose: z.ZodString;
15416
+ displayNoun: z.ZodString;
15417
+ }, z.core.$strict>>;
15418
+ completion: z.ZodOptional<z.ZodObject<{
15419
+ pluginId: z.ZodString;
15420
+ moduleId: z.ZodString;
15421
+ }, z.core.$strict>>;
14738
15422
  }, z.core.$strict>>;
14739
15423
  }, z.core.$strict>>;
14740
15424
  service: z.ZodString;
@@ -14755,9 +15439,9 @@ export declare const ResolvedTargetGrantSet: z.ZodObject<{
14755
15439
  dataDir: "dataDir";
14756
15440
  }>;
14757
15441
  operations: z.ZodArray<z.ZodEnum<{
14758
- open: "open";
14759
15442
  read: "read";
14760
15443
  write: "write";
15444
+ open: "open";
14761
15445
  }>>;
14762
15446
  }, z.core.$strict>>>;
14763
15447
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14769,8 +15453,8 @@ export declare const ResolvedTargetGrantSet: z.ZodObject<{
14769
15453
  }, z.core.$strict>>>;
14770
15454
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
14771
15455
  operations: z.ZodArray<z.ZodEnum<{
14772
- register: "register";
14773
15456
  invoke: "invoke";
15457
+ register: "register";
14774
15458
  }>>;
14775
15459
  endpoint: z.ZodString;
14776
15460
  }, z.core.$strict>>>;
@@ -15333,6 +16017,47 @@ export declare const SessionRelationship: z.ZodDiscriminatedUnion<[z.ZodObject<{
15333
16017
 
15334
16018
  export declare type SessionRelationship = z.infer<typeof SessionRelationship>;
15335
16019
 
16020
+ export declare const ShellCommandOutcome: z.ZodObject<{
16021
+ exitCode: z.ZodNumber;
16022
+ envelope: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
16023
+ result: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
16024
+ }, z.core.$strict>;
16025
+
16026
+ export declare type ShellCommandOutcome = z.infer<typeof ShellCommandOutcome>;
16027
+
16028
+ export declare const ShellCommandRequest: z.ZodObject<{
16029
+ argv: z.ZodArray<z.ZodString>;
16030
+ cwd: z.ZodString;
16031
+ outcomes: z.ZodArray<z.ZodObject<{
16032
+ exitCode: z.ZodNumber;
16033
+ envelope: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
16034
+ result: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
16035
+ }, z.core.$strict>>;
16036
+ }, z.core.$strict>;
16037
+
16038
+ export declare type ShellCommandRequest = z.infer<typeof ShellCommandRequest>;
16039
+
16040
+ export declare const ShellCommandStep: z.ZodDiscriminatedUnion<[z.ZodObject<{
16041
+ kind: z.ZodLiteral<"invoke">;
16042
+ toolName: z.ZodEnum<{
16043
+ search: "search";
16044
+ read: "read";
16045
+ list: "list";
16046
+ write: "write";
16047
+ edit: "edit";
16048
+ delete: "delete";
16049
+ help: "help";
16050
+ }>;
16051
+ input: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
16052
+ flags: z.ZodRecord<z.ZodString, z.ZodString>;
16053
+ }, z.core.$strict>, z.ZodObject<{
16054
+ kind: z.ZodLiteral<"finish">;
16055
+ exitCode: z.ZodNumber;
16056
+ stdout: z.ZodString;
16057
+ }, z.core.$strict>], "kind">;
16058
+
16059
+ export declare type ShellCommandStep = z.infer<typeof ShellCommandStep>;
16060
+
15336
16061
  export declare const SignedInStatusCode: z.ZodNumber;
15337
16062
 
15338
16063
  export declare type SignedInStatusCode = z.infer<typeof SignedInStatusCode>;
@@ -15418,9 +16143,9 @@ export declare const StorageGrantRequest: z.ZodObject<{
15418
16143
  dataDir: "dataDir";
15419
16144
  }>;
15420
16145
  operations: z.ZodArray<z.ZodEnum<{
15421
- open: "open";
15422
16146
  read: "read";
15423
16147
  write: "write";
16148
+ open: "open";
15424
16149
  }>>;
15425
16150
  }, z.core.$strict>;
15426
16151
 
@@ -15485,6 +16210,19 @@ export declare const TargetPermissionSet: z.ZodObject<{
15485
16210
  }>;
15486
16211
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
15487
16212
  successNote: z.ZodOptional<z.ZodString>;
16213
+ round: z.ZodOptional<z.ZodObject<{
16214
+ scopes: z.ZodArray<z.ZodString>;
16215
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
16216
+ redirectParam: z.ZodString;
16217
+ requiresGrantedScope: z.ZodString;
16218
+ supersededByScopes: z.ZodArray<z.ZodString>;
16219
+ purpose: z.ZodString;
16220
+ displayNoun: z.ZodString;
16221
+ }, z.core.$strict>>;
16222
+ completion: z.ZodOptional<z.ZodObject<{
16223
+ pluginId: z.ZodString;
16224
+ moduleId: z.ZodString;
16225
+ }, z.core.$strict>>;
15488
16226
  }, z.core.$strict>>;
15489
16227
  }, z.core.$strict>>;
15490
16228
  }, z.core.$strict>>>;
@@ -15494,9 +16232,9 @@ export declare const TargetPermissionSet: z.ZodObject<{
15494
16232
  dataDir: "dataDir";
15495
16233
  }>;
15496
16234
  operations: z.ZodArray<z.ZodEnum<{
15497
- open: "open";
15498
16235
  read: "read";
15499
16236
  write: "write";
16237
+ open: "open";
15500
16238
  }>>;
15501
16239
  }, z.core.$strict>>>;
15502
16240
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15509,8 +16247,8 @@ export declare const TargetPermissionSet: z.ZodObject<{
15509
16247
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
15510
16248
  endpoint: z.ZodString;
15511
16249
  operations: z.ZodArray<z.ZodEnum<{
15512
- register: "register";
15513
16250
  invoke: "invoke";
16251
+ register: "register";
15514
16252
  }>>;
15515
16253
  }, z.core.$strict>>>;
15516
16254
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15579,6 +16317,19 @@ export declare const TargetPermissionSet: z.ZodObject<{
15579
16317
  }>;
15580
16318
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
15581
16319
  successNote: z.ZodOptional<z.ZodString>;
16320
+ round: z.ZodOptional<z.ZodObject<{
16321
+ scopes: z.ZodArray<z.ZodString>;
16322
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
16323
+ redirectParam: z.ZodString;
16324
+ requiresGrantedScope: z.ZodString;
16325
+ supersededByScopes: z.ZodArray<z.ZodString>;
16326
+ purpose: z.ZodString;
16327
+ displayNoun: z.ZodString;
16328
+ }, z.core.$strict>>;
16329
+ completion: z.ZodOptional<z.ZodObject<{
16330
+ pluginId: z.ZodString;
16331
+ moduleId: z.ZodString;
16332
+ }, z.core.$strict>>;
15582
16333
  }, z.core.$strict>>;
15583
16334
  }, z.core.$strict>>;
15584
16335
  }, z.core.$strict>>>;
@@ -15588,9 +16339,9 @@ export declare const TargetPermissionSet: z.ZodObject<{
15588
16339
  dataDir: "dataDir";
15589
16340
  }>;
15590
16341
  operations: z.ZodArray<z.ZodEnum<{
15591
- open: "open";
15592
16342
  read: "read";
15593
16343
  write: "write";
16344
+ open: "open";
15594
16345
  }>>;
15595
16346
  }, z.core.$strict>>>;
15596
16347
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15603,8 +16354,8 @@ export declare const TargetPermissionSet: z.ZodObject<{
15603
16354
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
15604
16355
  endpoint: z.ZodString;
15605
16356
  operations: z.ZodArray<z.ZodEnum<{
15606
- register: "register";
15607
16357
  invoke: "invoke";
16358
+ register: "register";
15608
16359
  }>>;
15609
16360
  }, z.core.$strict>>>;
15610
16361
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15677,6 +16428,19 @@ export declare const TargetPermissionWiring: z.ZodObject<{
15677
16428
  }>;
15678
16429
  mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
15679
16430
  successNote: z.ZodOptional<z.ZodString>;
16431
+ round: z.ZodOptional<z.ZodObject<{
16432
+ scopes: z.ZodArray<z.ZodString>;
16433
+ extraAuthorizeParams: z.ZodRecord<z.ZodString, z.ZodString>;
16434
+ redirectParam: z.ZodString;
16435
+ requiresGrantedScope: z.ZodString;
16436
+ supersededByScopes: z.ZodArray<z.ZodString>;
16437
+ purpose: z.ZodString;
16438
+ displayNoun: z.ZodString;
16439
+ }, z.core.$strict>>;
16440
+ completion: z.ZodOptional<z.ZodObject<{
16441
+ pluginId: z.ZodString;
16442
+ moduleId: z.ZodString;
16443
+ }, z.core.$strict>>;
15680
16444
  }, z.core.$strict>>;
15681
16445
  }, z.core.$strict>>;
15682
16446
  }, z.core.$strict>>>;
@@ -15686,9 +16450,9 @@ export declare const TargetPermissionWiring: z.ZodObject<{
15686
16450
  dataDir: "dataDir";
15687
16451
  }>;
15688
16452
  operations: z.ZodArray<z.ZodEnum<{
15689
- open: "open";
15690
16453
  read: "read";
15691
16454
  write: "write";
16455
+ open: "open";
15692
16456
  }>>;
15693
16457
  }, z.core.$strict>>>;
15694
16458
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15701,8 +16465,8 @@ export declare const TargetPermissionWiring: z.ZodObject<{
15701
16465
  endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
15702
16466
  endpoint: z.ZodString;
15703
16467
  operations: z.ZodArray<z.ZodEnum<{
15704
- register: "register";
15705
16468
  invoke: "invoke";
16469
+ register: "register";
15706
16470
  }>>;
15707
16471
  }, z.core.$strict>>>;
15708
16472
  webSession: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15907,7 +16671,10 @@ export declare interface TurnPacketMessage {
15907
16671
  }
15908
16672
 
15909
16673
  export declare const UiAppCapabilities: z.ZodObject<{
15910
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
16674
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16675
+ pluginId: z.ZodString;
16676
+ localId: z.ZodString;
16677
+ }, z.core.$strict>]>>>;
15911
16678
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15912
16679
  "navigation.open-session": "navigation.open-session";
15913
16680
  "sessions.create": "sessions.create";
@@ -15920,15 +16687,26 @@ export declare const UiAppCapabilities: z.ZodObject<{
15920
16687
  "automations.read": "automations.read";
15921
16688
  "automations.run": "automations.run";
15922
16689
  "shared-artifacts.read": "shared-artifacts.read";
16690
+ "projects.manage": "projects.manage";
15923
16691
  "workspace.place-pane": "workspace.place-pane";
15924
16692
  "workspace.pane-header": "workspace.pane-header";
15925
16693
  "workspace.arrange": "workspace.arrange";
15926
16694
  }>>>;
15927
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16695
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16696
+ pluginId: z.ZodString;
16697
+ localId: z.ZodString;
16698
+ }, z.core.$strict>]>>>;
15928
16699
  }, z.core.$strict>;
15929
16700
 
15930
16701
  export declare type UiAppCapabilities = z.infer<typeof UiAppCapabilities>;
15931
16702
 
16703
+ export declare const UiAppCapabilityReference: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16704
+ pluginId: z.ZodString;
16705
+ localId: z.ZodString;
16706
+ }, z.core.$strict>]>;
16707
+
16708
+ export declare type UiAppCapabilityReference = z.infer<typeof UiAppCapabilityReference>;
16709
+
15932
16710
  export declare const UiAppContribution: z.ZodObject<{
15933
16711
  localId: z.ZodString;
15934
16712
  displayName: z.ZodString;
@@ -15946,7 +16724,10 @@ export declare const UiAppContribution: z.ZodObject<{
15946
16724
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
15947
16725
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
15948
16726
  capabilities: z.ZodOptional<z.ZodObject<{
15949
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
16727
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16728
+ pluginId: z.ZodString;
16729
+ localId: z.ZodString;
16730
+ }, z.core.$strict>]>>>;
15950
16731
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15951
16732
  "navigation.open-session": "navigation.open-session";
15952
16733
  "sessions.create": "sessions.create";
@@ -15959,11 +16740,15 @@ export declare const UiAppContribution: z.ZodObject<{
15959
16740
  "automations.read": "automations.read";
15960
16741
  "automations.run": "automations.run";
15961
16742
  "shared-artifacts.read": "shared-artifacts.read";
16743
+ "projects.manage": "projects.manage";
15962
16744
  "workspace.place-pane": "workspace.place-pane";
15963
16745
  "workspace.pane-header": "workspace.pane-header";
15964
16746
  "workspace.arrange": "workspace.arrange";
15965
16747
  }>>>;
15966
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16748
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16749
+ pluginId: z.ZodString;
16750
+ localId: z.ZodString;
16751
+ }, z.core.$strict>]>>>;
15967
16752
  }, z.core.$strict>>;
15968
16753
  }, z.core.$strict> | z.ZodPreprocess<z.ZodObject<{
15969
16754
  localId: z.ZodString;
@@ -15982,7 +16767,10 @@ export declare const UiAppContribution: z.ZodObject<{
15982
16767
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
15983
16768
  assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
15984
16769
  capabilities: z.ZodOptional<z.ZodObject<{
15985
- endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
16770
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16771
+ pluginId: z.ZodString;
16772
+ localId: z.ZodString;
16773
+ }, z.core.$strict>]>>>;
15986
16774
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15987
16775
  "navigation.open-session": "navigation.open-session";
15988
16776
  "sessions.create": "sessions.create";
@@ -15995,11 +16783,15 @@ export declare const UiAppContribution: z.ZodObject<{
15995
16783
  "automations.read": "automations.read";
15996
16784
  "automations.run": "automations.run";
15997
16785
  "shared-artifacts.read": "shared-artifacts.read";
16786
+ "projects.manage": "projects.manage";
15998
16787
  "workspace.place-pane": "workspace.place-pane";
15999
16788
  "workspace.pane-header": "workspace.pane-header";
16000
16789
  "workspace.arrange": "workspace.arrange";
16001
16790
  }>>>;
16002
- feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16791
+ feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16792
+ pluginId: z.ZodString;
16793
+ localId: z.ZodString;
16794
+ }, z.core.$strict>]>>>;
16003
16795
  }, z.core.$strict>>;
16004
16796
  }, z.core.$strict>, unknown>;
16005
16797
 
@@ -16124,6 +16916,8 @@ export declare const UriModuleContribution: z.ZodObject<{
16124
16916
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
16125
16917
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
16126
16918
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
16919
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
16920
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
16127
16921
  screenActions: z.ZodExactOptional<z.ZodObject<{
16128
16922
  scheme: z.ZodString;
16129
16923
  hosts: z.ZodArray<z.ZodString>;
@@ -16183,8 +16977,8 @@ export declare const UriModuleContribution: z.ZodObject<{
16183
16977
  description: z.ZodString;
16184
16978
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
16185
16979
  search: "search";
16186
- list: "list";
16187
16980
  read: "read";
16981
+ list: "list";
16188
16982
  write: "write";
16189
16983
  edit: "edit";
16190
16984
  delete: "delete";
@@ -16192,8 +16986,8 @@ export declare const UriModuleContribution: z.ZodObject<{
16192
16986
  }>>>;
16193
16987
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
16194
16988
  search: "search";
16195
- list: "list";
16196
16989
  read: "read";
16990
+ list: "list";
16197
16991
  write: "write";
16198
16992
  edit: "edit";
16199
16993
  delete: "delete";
@@ -16201,8 +16995,8 @@ export declare const UriModuleContribution: z.ZodObject<{
16201
16995
  }> & z.core.$partial, z.ZodString>>;
16202
16996
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
16203
16997
  search: "search";
16204
- list: "list";
16205
16998
  read: "read";
16999
+ list: "list";
16206
17000
  write: "write";
16207
17001
  edit: "edit";
16208
17002
  delete: "delete";
@@ -16265,8 +17059,8 @@ export declare const UriModuleContribution: z.ZodObject<{
16265
17059
  action: z.ZodString;
16266
17060
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
16267
17061
  search: "search";
16268
- list: "list";
16269
17062
  read: "read";
17063
+ list: "list";
16270
17064
  write: "write";
16271
17065
  edit: "edit";
16272
17066
  delete: "delete";
@@ -16278,8 +17072,8 @@ export declare const UriModuleContribution: z.ZodObject<{
16278
17072
  public: z.ZodLiteral<true>;
16279
17073
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
16280
17074
  search: "search";
16281
- list: "list";
16282
17075
  read: "read";
17076
+ list: "list";
16283
17077
  write: "write";
16284
17078
  edit: "edit";
16285
17079
  delete: "delete";
@@ -16317,6 +17111,8 @@ export declare const UriModuleContribution: z.ZodObject<{
16317
17111
  export declare type UriModuleContribution = z.infer<typeof UriModuleContribution>;
16318
17112
 
16319
17113
  declare const UriModuleFacts: z.ZodObject<{
17114
+ revisionBacked: z.ZodOptional<z.ZodLiteral<true>>;
17115
+ mailCalibrationSource: z.ZodOptional<z.ZodLiteral<true>>;
16320
17116
  screenActions: z.ZodExactOptional<z.ZodObject<{
16321
17117
  scheme: z.ZodString;
16322
17118
  hosts: z.ZodArray<z.ZodString>;
@@ -16376,8 +17172,8 @@ declare const UriModuleFacts: z.ZodObject<{
16376
17172
  description: z.ZodString;
16377
17173
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
16378
17174
  search: "search";
16379
- list: "list";
16380
17175
  read: "read";
17176
+ list: "list";
16381
17177
  write: "write";
16382
17178
  edit: "edit";
16383
17179
  delete: "delete";
@@ -16385,8 +17181,8 @@ declare const UriModuleFacts: z.ZodObject<{
16385
17181
  }>>>;
16386
17182
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
16387
17183
  search: "search";
16388
- list: "list";
16389
17184
  read: "read";
17185
+ list: "list";
16390
17186
  write: "write";
16391
17187
  edit: "edit";
16392
17188
  delete: "delete";
@@ -16394,8 +17190,8 @@ declare const UriModuleFacts: z.ZodObject<{
16394
17190
  }> & z.core.$partial, z.ZodString>>;
16395
17191
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
16396
17192
  search: "search";
16397
- list: "list";
16398
17193
  read: "read";
17194
+ list: "list";
16399
17195
  write: "write";
16400
17196
  edit: "edit";
16401
17197
  delete: "delete";
@@ -16458,8 +17254,8 @@ declare const UriModuleFacts: z.ZodObject<{
16458
17254
  action: z.ZodString;
16459
17255
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
16460
17256
  search: "search";
16461
- list: "list";
16462
17257
  read: "read";
17258
+ list: "list";
16463
17259
  write: "write";
16464
17260
  edit: "edit";
16465
17261
  delete: "delete";
@@ -16471,8 +17267,8 @@ declare const UriModuleFacts: z.ZodObject<{
16471
17267
  public: z.ZodLiteral<true>;
16472
17268
  operations: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
16473
17269
  search: "search";
16474
- list: "list";
16475
17270
  read: "read";
17271
+ list: "list";
16476
17272
  write: "write";
16477
17273
  edit: "edit";
16478
17274
  delete: "delete";