@yaklabs-ai/plugin-protocol 0.48.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -121,6 +121,28 @@ export declare const AgentToolContribution: z.ZodObject<{
121
121
  scheme: z.ZodOptional<z.ZodString>;
122
122
  resourcePrefix: z.ZodOptional<z.ZodString>;
123
123
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
124
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
125
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
126
+ never: "never";
127
+ allow: "allow";
128
+ ask: "ask";
129
+ }>>;
130
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
132
+ arg: z.ZodString;
133
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
134
+ }, z.core.$strict>, z.ZodObject<{
135
+ arg: z.ZodString;
136
+ present: z.ZodBoolean;
137
+ }, z.core.$strict>]>>;
138
+ kind: z.ZodEnum<{
139
+ read: "read";
140
+ mutate: "mutate";
141
+ destructive: "destructive";
142
+ execute: "execute";
143
+ }>;
144
+ ruleKey: z.ZodOptional<z.ZodString>;
145
+ }, z.core.$strict>>>;
124
146
  }, z.core.$strict>>;
125
147
  localId: z.ZodString;
126
148
  toolName: z.ZodString;
@@ -370,6 +392,32 @@ export declare const AppUriModuleContribution: z.ZodObject<{
370
392
  localId: z.ZodString;
371
393
  displayName: z.ZodOptional<z.ZodString>;
372
394
  schemes: z.ZodArray<z.ZodString>;
395
+ screenActions: z.ZodExactOptional<z.ZodObject<{
396
+ scheme: z.ZodString;
397
+ hosts: z.ZodArray<z.ZodString>;
398
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
399
+ apps: z.ZodArray<z.ZodString>;
400
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
401
+ kind: z.ZodLiteral<"exact">;
402
+ description: z.ZodString;
403
+ verb: z.ZodEnum<{
404
+ read: "read";
405
+ write: "write";
406
+ edit: "edit";
407
+ delete: "delete";
408
+ }>;
409
+ uri: z.ZodString;
410
+ }, z.core.$strict>, z.ZodObject<{
411
+ kind: z.ZodLiteral<"catch-all">;
412
+ description: z.ZodString;
413
+ verb: z.ZodEnum<{
414
+ read: "read";
415
+ write: "write";
416
+ edit: "edit";
417
+ delete: "delete";
418
+ }>;
419
+ }, z.core.$strict>], "kind">>;
420
+ }, z.core.$strict>>;
373
421
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
374
422
  kind: z.ZodLiteral<"scheme">;
375
423
  scheme: z.ZodString;
@@ -406,27 +454,27 @@ export declare const AppUriModuleContribution: z.ZodObject<{
406
454
  list: "list";
407
455
  read: "read";
408
456
  write: "write";
409
- help: "help";
410
457
  edit: "edit";
411
458
  delete: "delete";
459
+ help: "help";
412
460
  }>>>;
413
461
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
414
462
  search: "search";
415
463
  list: "list";
416
464
  read: "read";
417
465
  write: "write";
418
- help: "help";
419
466
  edit: "edit";
420
467
  delete: "delete";
468
+ help: "help";
421
469
  }> & z.core.$partial, z.ZodString>>;
422
470
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
423
471
  search: "search";
424
472
  list: "list";
425
473
  read: "read";
426
474
  write: "write";
427
- help: "help";
428
475
  edit: "edit";
429
476
  delete: "delete";
477
+ help: "help";
430
478
  }> & z.core.$partial, z.ZodEnum<{
431
479
  never: "never";
432
480
  allow: "allow";
@@ -1943,6 +1991,32 @@ declare const canonicalContributionSchemas: {
1943
1991
  }, z.core.$strict>>;
1944
1992
  }, z.core.$strict>;
1945
1993
  UriModuleFacts: z.ZodObject<{
1994
+ screenActions: z.ZodExactOptional<z.ZodObject<{
1995
+ scheme: z.ZodString;
1996
+ hosts: z.ZodArray<z.ZodString>;
1997
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1998
+ apps: z.ZodArray<z.ZodString>;
1999
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2000
+ kind: z.ZodLiteral<"exact">;
2001
+ description: z.ZodString;
2002
+ verb: z.ZodEnum<{
2003
+ read: "read";
2004
+ write: "write";
2005
+ edit: "edit";
2006
+ delete: "delete";
2007
+ }>;
2008
+ uri: z.ZodString;
2009
+ }, z.core.$strict>, z.ZodObject<{
2010
+ kind: z.ZodLiteral<"catch-all">;
2011
+ description: z.ZodString;
2012
+ verb: z.ZodEnum<{
2013
+ read: "read";
2014
+ write: "write";
2015
+ edit: "edit";
2016
+ delete: "delete";
2017
+ }>;
2018
+ }, z.core.$strict>], "kind">>;
2019
+ }, z.core.$strict>>;
1946
2020
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1947
2021
  kind: z.ZodLiteral<"scheme">;
1948
2022
  scheme: z.ZodString;
@@ -1979,27 +2053,27 @@ declare const canonicalContributionSchemas: {
1979
2053
  list: "list";
1980
2054
  read: "read";
1981
2055
  write: "write";
1982
- help: "help";
1983
2056
  edit: "edit";
1984
2057
  delete: "delete";
2058
+ help: "help";
1985
2059
  }>>>;
1986
2060
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
1987
2061
  search: "search";
1988
2062
  list: "list";
1989
2063
  read: "read";
1990
2064
  write: "write";
1991
- help: "help";
1992
2065
  edit: "edit";
1993
2066
  delete: "delete";
2067
+ help: "help";
1994
2068
  }> & z.core.$partial, z.ZodString>>;
1995
2069
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
1996
2070
  search: "search";
1997
2071
  list: "list";
1998
2072
  read: "read";
1999
2073
  write: "write";
2000
- help: "help";
2001
2074
  edit: "edit";
2002
2075
  delete: "delete";
2076
+ help: "help";
2003
2077
  }> & z.core.$partial, z.ZodEnum<{
2004
2078
  never: "never";
2005
2079
  allow: "allow";
@@ -2061,9 +2135,9 @@ declare const canonicalContributionSchemas: {
2061
2135
  list: "list";
2062
2136
  read: "read";
2063
2137
  write: "write";
2064
- help: "help";
2065
2138
  edit: "edit";
2066
2139
  delete: "delete";
2140
+ help: "help";
2067
2141
  }>>>;
2068
2142
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
2069
2143
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2074,9 +2148,9 @@ declare const canonicalContributionSchemas: {
2074
2148
  list: "list";
2075
2149
  read: "read";
2076
2150
  write: "write";
2077
- help: "help";
2078
2151
  edit: "edit";
2079
2152
  delete: "delete";
2153
+ help: "help";
2080
2154
  }>>>;
2081
2155
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
2082
2156
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2104,6 +2178,47 @@ declare const canonicalContributionSchemas: {
2104
2178
  }, z.core.$strict>>;
2105
2179
  }, z.core.$strict>;
2106
2180
  ToolContribution: z.ZodObject<{
2181
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
2182
+ executionMode: z.ZodOptional<z.ZodEnum<{
2183
+ sequential: "sequential";
2184
+ parallel: "parallel";
2185
+ }>>;
2186
+ promptSnippet: z.ZodOptional<z.ZodString>;
2187
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
2188
+ permission: z.ZodOptional<z.ZodObject<{
2189
+ kind: z.ZodEnum<{
2190
+ read: "read";
2191
+ mutate: "mutate";
2192
+ destructive: "destructive";
2193
+ execute: "execute";
2194
+ }>;
2195
+ ruleKey: z.ZodOptional<z.ZodString>;
2196
+ scheme: z.ZodOptional<z.ZodString>;
2197
+ resourcePrefix: z.ZodOptional<z.ZodString>;
2198
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2199
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
2200
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
2201
+ never: "never";
2202
+ allow: "allow";
2203
+ ask: "ask";
2204
+ }>>;
2205
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2206
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2207
+ arg: z.ZodString;
2208
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2209
+ }, z.core.$strict>, z.ZodObject<{
2210
+ arg: z.ZodString;
2211
+ present: z.ZodBoolean;
2212
+ }, z.core.$strict>]>>;
2213
+ kind: z.ZodEnum<{
2214
+ read: "read";
2215
+ mutate: "mutate";
2216
+ destructive: "destructive";
2217
+ execute: "execute";
2218
+ }>;
2219
+ ruleKey: z.ZodOptional<z.ZodString>;
2220
+ }, z.core.$strict>>>;
2221
+ }, z.core.$strict>>;
2107
2222
  localId: z.ZodString;
2108
2223
  toolName: z.ZodString;
2109
2224
  displayName: z.ZodOptional<z.ZodString>;
@@ -2120,6 +2235,28 @@ declare const canonicalContributionSchemas: {
2120
2235
  scheme: z.ZodOptional<z.ZodString>;
2121
2236
  resourcePrefix: z.ZodOptional<z.ZodString>;
2122
2237
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2238
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
2239
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
2240
+ never: "never";
2241
+ allow: "allow";
2242
+ ask: "ask";
2243
+ }>>;
2244
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2245
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2246
+ arg: z.ZodString;
2247
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2248
+ }, z.core.$strict>, z.ZodObject<{
2249
+ arg: z.ZodString;
2250
+ present: z.ZodBoolean;
2251
+ }, z.core.$strict>]>>;
2252
+ kind: z.ZodEnum<{
2253
+ read: "read";
2254
+ mutate: "mutate";
2255
+ destructive: "destructive";
2256
+ execute: "execute";
2257
+ }>;
2258
+ ruleKey: z.ZodOptional<z.ZodString>;
2259
+ }, z.core.$strict>>>;
2123
2260
  }, z.core.$strict>;
2124
2261
  AgentToolContribution: z.ZodObject<{
2125
2262
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
@@ -2142,6 +2279,28 @@ declare const canonicalContributionSchemas: {
2142
2279
  scheme: z.ZodOptional<z.ZodString>;
2143
2280
  resourcePrefix: z.ZodOptional<z.ZodString>;
2144
2281
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2282
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
2283
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
2284
+ never: "never";
2285
+ allow: "allow";
2286
+ ask: "ask";
2287
+ }>>;
2288
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2289
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2290
+ arg: z.ZodString;
2291
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2292
+ }, z.core.$strict>, z.ZodObject<{
2293
+ arg: z.ZodString;
2294
+ present: z.ZodBoolean;
2295
+ }, z.core.$strict>]>>;
2296
+ kind: z.ZodEnum<{
2297
+ read: "read";
2298
+ mutate: "mutate";
2299
+ destructive: "destructive";
2300
+ execute: "execute";
2301
+ }>;
2302
+ ruleKey: z.ZodOptional<z.ZodString>;
2303
+ }, z.core.$strict>>>;
2145
2304
  }, z.core.$strict>>;
2146
2305
  localId: z.ZodString;
2147
2306
  toolName: z.ZodString;
@@ -2161,6 +2320,32 @@ declare const canonicalContributionSchemas: {
2161
2320
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
2162
2321
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
2163
2322
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
2323
+ screenActions: z.ZodExactOptional<z.ZodObject<{
2324
+ scheme: z.ZodString;
2325
+ hosts: z.ZodArray<z.ZodString>;
2326
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
2327
+ apps: z.ZodArray<z.ZodString>;
2328
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2329
+ kind: z.ZodLiteral<"exact">;
2330
+ description: z.ZodString;
2331
+ verb: z.ZodEnum<{
2332
+ read: "read";
2333
+ write: "write";
2334
+ edit: "edit";
2335
+ delete: "delete";
2336
+ }>;
2337
+ uri: z.ZodString;
2338
+ }, z.core.$strict>, z.ZodObject<{
2339
+ kind: z.ZodLiteral<"catch-all">;
2340
+ description: z.ZodString;
2341
+ verb: z.ZodEnum<{
2342
+ read: "read";
2343
+ write: "write";
2344
+ edit: "edit";
2345
+ delete: "delete";
2346
+ }>;
2347
+ }, z.core.$strict>], "kind">>;
2348
+ }, z.core.$strict>>;
2164
2349
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2165
2350
  kind: z.ZodLiteral<"scheme">;
2166
2351
  scheme: z.ZodString;
@@ -2197,27 +2382,27 @@ declare const canonicalContributionSchemas: {
2197
2382
  list: "list";
2198
2383
  read: "read";
2199
2384
  write: "write";
2200
- help: "help";
2201
2385
  edit: "edit";
2202
2386
  delete: "delete";
2387
+ help: "help";
2203
2388
  }>>>;
2204
2389
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2205
2390
  search: "search";
2206
2391
  list: "list";
2207
2392
  read: "read";
2208
2393
  write: "write";
2209
- help: "help";
2210
2394
  edit: "edit";
2211
2395
  delete: "delete";
2396
+ help: "help";
2212
2397
  }> & z.core.$partial, z.ZodString>>;
2213
2398
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2214
2399
  search: "search";
2215
2400
  list: "list";
2216
2401
  read: "read";
2217
2402
  write: "write";
2218
- help: "help";
2219
2403
  edit: "edit";
2220
2404
  delete: "delete";
2405
+ help: "help";
2221
2406
  }> & z.core.$partial, z.ZodEnum<{
2222
2407
  never: "never";
2223
2408
  allow: "allow";
@@ -2279,9 +2464,9 @@ declare const canonicalContributionSchemas: {
2279
2464
  list: "list";
2280
2465
  read: "read";
2281
2466
  write: "write";
2282
- help: "help";
2283
2467
  edit: "edit";
2284
2468
  delete: "delete";
2469
+ help: "help";
2285
2470
  }>>>;
2286
2471
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
2287
2472
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2292,9 +2477,9 @@ declare const canonicalContributionSchemas: {
2292
2477
  list: "list";
2293
2478
  read: "read";
2294
2479
  write: "write";
2295
- help: "help";
2296
2480
  edit: "edit";
2297
2481
  delete: "delete";
2482
+ help: "help";
2298
2483
  }>>>;
2299
2484
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
2300
2485
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2329,6 +2514,32 @@ declare const canonicalContributionSchemas: {
2329
2514
  localId: z.ZodString;
2330
2515
  displayName: z.ZodOptional<z.ZodString>;
2331
2516
  schemes: z.ZodArray<z.ZodString>;
2517
+ screenActions: z.ZodExactOptional<z.ZodObject<{
2518
+ scheme: z.ZodString;
2519
+ hosts: z.ZodArray<z.ZodString>;
2520
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
2521
+ apps: z.ZodArray<z.ZodString>;
2522
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2523
+ kind: z.ZodLiteral<"exact">;
2524
+ description: z.ZodString;
2525
+ verb: z.ZodEnum<{
2526
+ read: "read";
2527
+ write: "write";
2528
+ edit: "edit";
2529
+ delete: "delete";
2530
+ }>;
2531
+ uri: z.ZodString;
2532
+ }, z.core.$strict>, z.ZodObject<{
2533
+ kind: z.ZodLiteral<"catch-all">;
2534
+ description: z.ZodString;
2535
+ verb: z.ZodEnum<{
2536
+ read: "read";
2537
+ write: "write";
2538
+ edit: "edit";
2539
+ delete: "delete";
2540
+ }>;
2541
+ }, z.core.$strict>], "kind">>;
2542
+ }, z.core.$strict>>;
2332
2543
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2333
2544
  kind: z.ZodLiteral<"scheme">;
2334
2545
  scheme: z.ZodString;
@@ -2365,27 +2576,27 @@ declare const canonicalContributionSchemas: {
2365
2576
  list: "list";
2366
2577
  read: "read";
2367
2578
  write: "write";
2368
- help: "help";
2369
2579
  edit: "edit";
2370
2580
  delete: "delete";
2581
+ help: "help";
2371
2582
  }>>>;
2372
2583
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2373
2584
  search: "search";
2374
2585
  list: "list";
2375
2586
  read: "read";
2376
2587
  write: "write";
2377
- help: "help";
2378
2588
  edit: "edit";
2379
2589
  delete: "delete";
2590
+ help: "help";
2380
2591
  }> & z.core.$partial, z.ZodString>>;
2381
2592
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
2382
2593
  search: "search";
2383
2594
  list: "list";
2384
2595
  read: "read";
2385
2596
  write: "write";
2386
- help: "help";
2387
2597
  edit: "edit";
2388
2598
  delete: "delete";
2599
+ help: "help";
2389
2600
  }> & z.core.$partial, z.ZodEnum<{
2390
2601
  never: "never";
2391
2602
  allow: "allow";
@@ -4523,8 +4734,15 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
4523
4734
  * 0.47.0 adds card layouts and builders; successful card submits now require a summary.
4524
4735
  *
4525
4736
  * 0.48.0 adds the models.complete UI capability.
4737
+ *
4738
+ * 0.48.1 adds app-tool metadata, conditional tool permissions and screen-action declarations.
4739
+ *
4740
+ * 0.49.0 adds sessionless URI calls on both backend targets. It removes app.memory and its note
4741
+ * types; callers use the resource surface instead. Previously admitted SDK contracts are no
4742
+ * longer served because they included app.memory on notebook hosts. No compatibility alias
4743
+ * restores it; callers migrate and declare ^0.49.0.
4526
4744
  */
4527
- export declare const KAY_PLUGIN_SDK_VERSION: "0.48.0";
4745
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.49.0";
4528
4746
 
4529
4747
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
4530
4748
 
@@ -4569,6 +4787,28 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4569
4787
  scheme: z.ZodOptional<z.ZodString>;
4570
4788
  resourcePrefix: z.ZodOptional<z.ZodString>;
4571
4789
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
4790
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
4791
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
4792
+ never: "never";
4793
+ allow: "allow";
4794
+ ask: "ask";
4795
+ }>>;
4796
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4797
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4798
+ arg: z.ZodString;
4799
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4800
+ }, z.core.$strict>, z.ZodObject<{
4801
+ arg: z.ZodString;
4802
+ present: z.ZodBoolean;
4803
+ }, z.core.$strict>]>>;
4804
+ kind: z.ZodEnum<{
4805
+ read: "read";
4806
+ mutate: "mutate";
4807
+ destructive: "destructive";
4808
+ execute: "execute";
4809
+ }>;
4810
+ ruleKey: z.ZodOptional<z.ZodString>;
4811
+ }, z.core.$strict>>>;
4572
4812
  }, z.core.$strict>>;
4573
4813
  localId: z.ZodString;
4574
4814
  toolName: z.ZodString;
@@ -4588,6 +4828,32 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4588
4828
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
4589
4829
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
4590
4830
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
4831
+ screenActions: z.ZodExactOptional<z.ZodObject<{
4832
+ scheme: z.ZodString;
4833
+ hosts: z.ZodArray<z.ZodString>;
4834
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
4835
+ apps: z.ZodArray<z.ZodString>;
4836
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
4837
+ kind: z.ZodLiteral<"exact">;
4838
+ description: z.ZodString;
4839
+ verb: z.ZodEnum<{
4840
+ read: "read";
4841
+ write: "write";
4842
+ edit: "edit";
4843
+ delete: "delete";
4844
+ }>;
4845
+ uri: z.ZodString;
4846
+ }, z.core.$strict>, z.ZodObject<{
4847
+ kind: z.ZodLiteral<"catch-all">;
4848
+ description: z.ZodString;
4849
+ verb: z.ZodEnum<{
4850
+ read: "read";
4851
+ write: "write";
4852
+ edit: "edit";
4853
+ delete: "delete";
4854
+ }>;
4855
+ }, z.core.$strict>], "kind">>;
4856
+ }, z.core.$strict>>;
4591
4857
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4592
4858
  kind: z.ZodLiteral<"scheme">;
4593
4859
  scheme: z.ZodString;
@@ -4624,27 +4890,27 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4624
4890
  list: "list";
4625
4891
  read: "read";
4626
4892
  write: "write";
4627
- help: "help";
4628
4893
  edit: "edit";
4629
4894
  delete: "delete";
4895
+ help: "help";
4630
4896
  }>>>;
4631
4897
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4632
4898
  search: "search";
4633
4899
  list: "list";
4634
4900
  read: "read";
4635
4901
  write: "write";
4636
- help: "help";
4637
4902
  edit: "edit";
4638
4903
  delete: "delete";
4904
+ help: "help";
4639
4905
  }> & z.core.$partial, z.ZodString>>;
4640
4906
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4641
4907
  search: "search";
4642
4908
  list: "list";
4643
4909
  read: "read";
4644
4910
  write: "write";
4645
- help: "help";
4646
4911
  edit: "edit";
4647
4912
  delete: "delete";
4913
+ help: "help";
4648
4914
  }> & z.core.$partial, z.ZodEnum<{
4649
4915
  never: "never";
4650
4916
  allow: "allow";
@@ -4706,9 +4972,9 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4706
4972
  list: "list";
4707
4973
  read: "read";
4708
4974
  write: "write";
4709
- help: "help";
4710
4975
  edit: "edit";
4711
4976
  delete: "delete";
4977
+ help: "help";
4712
4978
  }>>>;
4713
4979
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
4714
4980
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4719,9 +4985,9 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4719
4985
  list: "list";
4720
4986
  read: "read";
4721
4987
  write: "write";
4722
- help: "help";
4723
4988
  edit: "edit";
4724
4989
  delete: "delete";
4990
+ help: "help";
4725
4991
  }>>>;
4726
4992
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
4727
4993
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4863,6 +5129,47 @@ export declare const KayAppTargetManifest: z.ZodObject<{
4863
5129
  }, z.core.$strict>>;
4864
5130
  contributes: z.ZodOptional<z.ZodObject<{
4865
5131
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
5132
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
5133
+ executionMode: z.ZodOptional<z.ZodEnum<{
5134
+ sequential: "sequential";
5135
+ parallel: "parallel";
5136
+ }>>;
5137
+ promptSnippet: z.ZodOptional<z.ZodString>;
5138
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
5139
+ permission: z.ZodOptional<z.ZodObject<{
5140
+ kind: z.ZodEnum<{
5141
+ read: "read";
5142
+ mutate: "mutate";
5143
+ destructive: "destructive";
5144
+ execute: "execute";
5145
+ }>;
5146
+ ruleKey: z.ZodOptional<z.ZodString>;
5147
+ scheme: z.ZodOptional<z.ZodString>;
5148
+ resourcePrefix: z.ZodOptional<z.ZodString>;
5149
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
5150
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
5151
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
5152
+ never: "never";
5153
+ allow: "allow";
5154
+ ask: "ask";
5155
+ }>>;
5156
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
5157
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5158
+ arg: z.ZodString;
5159
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5160
+ }, z.core.$strict>, z.ZodObject<{
5161
+ arg: z.ZodString;
5162
+ present: z.ZodBoolean;
5163
+ }, z.core.$strict>]>>;
5164
+ kind: z.ZodEnum<{
5165
+ read: "read";
5166
+ mutate: "mutate";
5167
+ destructive: "destructive";
5168
+ execute: "execute";
5169
+ }>;
5170
+ ruleKey: z.ZodOptional<z.ZodString>;
5171
+ }, z.core.$strict>>>;
5172
+ }, z.core.$strict>>;
4866
5173
  localId: z.ZodString;
4867
5174
  toolName: z.ZodString;
4868
5175
  displayName: z.ZodOptional<z.ZodString>;
@@ -4893,6 +5200,32 @@ export declare const KayAppTargetManifest: z.ZodObject<{
4893
5200
  localId: z.ZodString;
4894
5201
  displayName: z.ZodOptional<z.ZodString>;
4895
5202
  schemes: z.ZodArray<z.ZodString>;
5203
+ screenActions: z.ZodExactOptional<z.ZodObject<{
5204
+ scheme: z.ZodString;
5205
+ hosts: z.ZodArray<z.ZodString>;
5206
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
5207
+ apps: z.ZodArray<z.ZodString>;
5208
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5209
+ kind: z.ZodLiteral<"exact">;
5210
+ description: z.ZodString;
5211
+ verb: z.ZodEnum<{
5212
+ read: "read";
5213
+ write: "write";
5214
+ edit: "edit";
5215
+ delete: "delete";
5216
+ }>;
5217
+ uri: z.ZodString;
5218
+ }, z.core.$strict>, z.ZodObject<{
5219
+ kind: z.ZodLiteral<"catch-all">;
5220
+ description: z.ZodString;
5221
+ verb: z.ZodEnum<{
5222
+ read: "read";
5223
+ write: "write";
5224
+ edit: "edit";
5225
+ delete: "delete";
5226
+ }>;
5227
+ }, z.core.$strict>], "kind">>;
5228
+ }, z.core.$strict>>;
4896
5229
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4897
5230
  kind: z.ZodLiteral<"scheme">;
4898
5231
  scheme: z.ZodString;
@@ -4929,27 +5262,27 @@ export declare const KayAppTargetManifest: z.ZodObject<{
4929
5262
  list: "list";
4930
5263
  read: "read";
4931
5264
  write: "write";
4932
- help: "help";
4933
5265
  edit: "edit";
4934
5266
  delete: "delete";
5267
+ help: "help";
4935
5268
  }>>>;
4936
5269
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4937
5270
  search: "search";
4938
5271
  list: "list";
4939
5272
  read: "read";
4940
5273
  write: "write";
4941
- help: "help";
4942
5274
  edit: "edit";
4943
5275
  delete: "delete";
5276
+ help: "help";
4944
5277
  }> & z.core.$partial, z.ZodString>>;
4945
5278
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4946
5279
  search: "search";
4947
5280
  list: "list";
4948
5281
  read: "read";
4949
5282
  write: "write";
4950
- help: "help";
4951
5283
  edit: "edit";
4952
5284
  delete: "delete";
5285
+ help: "help";
4953
5286
  }> & z.core.$partial, z.ZodEnum<{
4954
5287
  never: "never";
4955
5288
  allow: "allow";
@@ -5371,6 +5704,28 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5371
5704
  scheme: z.ZodOptional<z.ZodString>;
5372
5705
  resourcePrefix: z.ZodOptional<z.ZodString>;
5373
5706
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
5707
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
5708
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
5709
+ never: "never";
5710
+ allow: "allow";
5711
+ ask: "ask";
5712
+ }>>;
5713
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
5714
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5715
+ arg: z.ZodString;
5716
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5717
+ }, z.core.$strict>, z.ZodObject<{
5718
+ arg: z.ZodString;
5719
+ present: z.ZodBoolean;
5720
+ }, z.core.$strict>]>>;
5721
+ kind: z.ZodEnum<{
5722
+ read: "read";
5723
+ mutate: "mutate";
5724
+ destructive: "destructive";
5725
+ execute: "execute";
5726
+ }>;
5727
+ ruleKey: z.ZodOptional<z.ZodString>;
5728
+ }, z.core.$strict>>>;
5374
5729
  }, z.core.$strict>>;
5375
5730
  localId: z.ZodString;
5376
5731
  toolName: z.ZodString;
@@ -5390,6 +5745,32 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5390
5745
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
5391
5746
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
5392
5747
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
5748
+ screenActions: z.ZodExactOptional<z.ZodObject<{
5749
+ scheme: z.ZodString;
5750
+ hosts: z.ZodArray<z.ZodString>;
5751
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
5752
+ apps: z.ZodArray<z.ZodString>;
5753
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5754
+ kind: z.ZodLiteral<"exact">;
5755
+ description: z.ZodString;
5756
+ verb: z.ZodEnum<{
5757
+ read: "read";
5758
+ write: "write";
5759
+ edit: "edit";
5760
+ delete: "delete";
5761
+ }>;
5762
+ uri: z.ZodString;
5763
+ }, z.core.$strict>, z.ZodObject<{
5764
+ kind: z.ZodLiteral<"catch-all">;
5765
+ description: z.ZodString;
5766
+ verb: z.ZodEnum<{
5767
+ read: "read";
5768
+ write: "write";
5769
+ edit: "edit";
5770
+ delete: "delete";
5771
+ }>;
5772
+ }, z.core.$strict>], "kind">>;
5773
+ }, z.core.$strict>>;
5393
5774
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5394
5775
  kind: z.ZodLiteral<"scheme">;
5395
5776
  scheme: z.ZodString;
@@ -5426,27 +5807,27 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5426
5807
  list: "list";
5427
5808
  read: "read";
5428
5809
  write: "write";
5429
- help: "help";
5430
5810
  edit: "edit";
5431
5811
  delete: "delete";
5812
+ help: "help";
5432
5813
  }>>>;
5433
5814
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5434
5815
  search: "search";
5435
5816
  list: "list";
5436
5817
  read: "read";
5437
5818
  write: "write";
5438
- help: "help";
5439
5819
  edit: "edit";
5440
5820
  delete: "delete";
5821
+ help: "help";
5441
5822
  }> & z.core.$partial, z.ZodString>>;
5442
5823
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5443
5824
  search: "search";
5444
5825
  list: "list";
5445
5826
  read: "read";
5446
5827
  write: "write";
5447
- help: "help";
5448
5828
  edit: "edit";
5449
5829
  delete: "delete";
5830
+ help: "help";
5450
5831
  }> & z.core.$partial, z.ZodEnum<{
5451
5832
  never: "never";
5452
5833
  allow: "allow";
@@ -5508,9 +5889,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5508
5889
  list: "list";
5509
5890
  read: "read";
5510
5891
  write: "write";
5511
- help: "help";
5512
5892
  edit: "edit";
5513
5893
  delete: "delete";
5894
+ help: "help";
5514
5895
  }>>>;
5515
5896
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
5516
5897
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5521,9 +5902,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5521
5902
  list: "list";
5522
5903
  read: "read";
5523
5904
  write: "write";
5524
- help: "help";
5525
5905
  edit: "edit";
5526
5906
  delete: "delete";
5907
+ help: "help";
5527
5908
  }>>>;
5528
5909
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
5529
5910
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5662,6 +6043,47 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5662
6043
  }, z.core.$strict>>;
5663
6044
  contributes: z.ZodOptional<z.ZodObject<{
5664
6045
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
6046
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
6047
+ executionMode: z.ZodOptional<z.ZodEnum<{
6048
+ sequential: "sequential";
6049
+ parallel: "parallel";
6050
+ }>>;
6051
+ promptSnippet: z.ZodOptional<z.ZodString>;
6052
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
6053
+ permission: z.ZodOptional<z.ZodObject<{
6054
+ kind: z.ZodEnum<{
6055
+ read: "read";
6056
+ mutate: "mutate";
6057
+ destructive: "destructive";
6058
+ execute: "execute";
6059
+ }>;
6060
+ ruleKey: z.ZodOptional<z.ZodString>;
6061
+ scheme: z.ZodOptional<z.ZodString>;
6062
+ resourcePrefix: z.ZodOptional<z.ZodString>;
6063
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
6064
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
6065
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
6066
+ never: "never";
6067
+ allow: "allow";
6068
+ ask: "ask";
6069
+ }>>;
6070
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
6071
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6072
+ arg: z.ZodString;
6073
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6074
+ }, z.core.$strict>, z.ZodObject<{
6075
+ arg: z.ZodString;
6076
+ present: z.ZodBoolean;
6077
+ }, z.core.$strict>]>>;
6078
+ kind: z.ZodEnum<{
6079
+ read: "read";
6080
+ mutate: "mutate";
6081
+ destructive: "destructive";
6082
+ execute: "execute";
6083
+ }>;
6084
+ ruleKey: z.ZodOptional<z.ZodString>;
6085
+ }, z.core.$strict>>>;
6086
+ }, z.core.$strict>>;
5665
6087
  localId: z.ZodString;
5666
6088
  toolName: z.ZodString;
5667
6089
  displayName: z.ZodOptional<z.ZodString>;
@@ -5692,6 +6114,32 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5692
6114
  localId: z.ZodString;
5693
6115
  displayName: z.ZodOptional<z.ZodString>;
5694
6116
  schemes: z.ZodArray<z.ZodString>;
6117
+ screenActions: z.ZodExactOptional<z.ZodObject<{
6118
+ scheme: z.ZodString;
6119
+ hosts: z.ZodArray<z.ZodString>;
6120
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
6121
+ apps: z.ZodArray<z.ZodString>;
6122
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
6123
+ kind: z.ZodLiteral<"exact">;
6124
+ description: z.ZodString;
6125
+ verb: z.ZodEnum<{
6126
+ read: "read";
6127
+ write: "write";
6128
+ edit: "edit";
6129
+ delete: "delete";
6130
+ }>;
6131
+ uri: z.ZodString;
6132
+ }, z.core.$strict>, z.ZodObject<{
6133
+ kind: z.ZodLiteral<"catch-all">;
6134
+ description: z.ZodString;
6135
+ verb: z.ZodEnum<{
6136
+ read: "read";
6137
+ write: "write";
6138
+ edit: "edit";
6139
+ delete: "delete";
6140
+ }>;
6141
+ }, z.core.$strict>], "kind">>;
6142
+ }, z.core.$strict>>;
5695
6143
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5696
6144
  kind: z.ZodLiteral<"scheme">;
5697
6145
  scheme: z.ZodString;
@@ -5728,27 +6176,27 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5728
6176
  list: "list";
5729
6177
  read: "read";
5730
6178
  write: "write";
5731
- help: "help";
5732
6179
  edit: "edit";
5733
6180
  delete: "delete";
6181
+ help: "help";
5734
6182
  }>>>;
5735
6183
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5736
6184
  search: "search";
5737
6185
  list: "list";
5738
6186
  read: "read";
5739
6187
  write: "write";
5740
- help: "help";
5741
6188
  edit: "edit";
5742
6189
  delete: "delete";
6190
+ help: "help";
5743
6191
  }> & z.core.$partial, z.ZodString>>;
5744
6192
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5745
6193
  search: "search";
5746
6194
  list: "list";
5747
6195
  read: "read";
5748
6196
  write: "write";
5749
- help: "help";
5750
6197
  edit: "edit";
5751
6198
  delete: "delete";
6199
+ help: "help";
5752
6200
  }> & z.core.$partial, z.ZodEnum<{
5753
6201
  never: "never";
5754
6202
  allow: "allow";
@@ -7679,7 +8127,7 @@ export declare function parseSemver(value: string): ParsedSemver | undefined;
7679
8127
  export declare function parseWhere(source: string, keyTypes?: WhereKeyTypes): WhereParseResult;
7680
8128
 
7681
8129
  /** Every capability slug {@link PluginCapabilityClaimV1} can express, for exhaustive table checks. */
7682
- export declare const PLUGIN_CAPABILITY_SLUGS: readonly ["sessions.run", "network.connect", "web-session.request", "web-session.download", "process.spawn", "sessions.read", "signals.read", "memory.read", "memory.write", "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"];
8130
+ 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", "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"];
7683
8131
 
7684
8132
  /** Diagnostic messages carry plugin-controlled text (parse errors, module errors); bound it so a
7685
8133
  * hostile or accidental multi-megabyte error can never blow up a log line or a render surface. */
@@ -8238,13 +8686,12 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
8238
8686
  slug: "signals.read";
8239
8687
  envelope: Record<string, never>;
8240
8688
  } | {
8241
- target: "kay.app";
8242
- slug: "memory.read";
8243
- envelope: Record<string, never>;
8244
- } | {
8245
- target: "kay.app";
8246
- slug: "memory.write";
8247
- envelope: Record<string, never>;
8689
+ target: "kay.agent" | "kay.app";
8690
+ slug: "uri.call";
8691
+ envelope: {
8692
+ scheme: string;
8693
+ verb: "search" | "list" | "read" | "write" | "edit" | "delete";
8694
+ };
8248
8695
  } | {
8249
8696
  target: "kay.app";
8250
8697
  slug: "skills.read";
@@ -8499,13 +8946,12 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
8499
8946
  slug: "signals.read";
8500
8947
  envelope: Record<string, never>;
8501
8948
  } | {
8502
- target: "kay.app";
8503
- slug: "memory.read";
8504
- envelope: Record<string, never>;
8505
- } | {
8506
- target: "kay.app";
8507
- slug: "memory.write";
8508
- envelope: Record<string, never>;
8949
+ target: "kay.agent" | "kay.app";
8950
+ slug: "uri.call";
8951
+ envelope: {
8952
+ scheme: string;
8953
+ verb: "search" | "list" | "read" | "write" | "edit" | "delete";
8954
+ };
8509
8955
  } | {
8510
8956
  target: "kay.app";
8511
8957
  slug: "skills.read";
@@ -8756,13 +9202,22 @@ export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObje
8756
9202
  slug: z.ZodLiteral<"signals.read">;
8757
9203
  envelope: z.ZodObject<{}, z.core.$strict>;
8758
9204
  }, z.core.$strict>, z.ZodObject<{
8759
- target: z.ZodLiteral<"kay.app">;
8760
- slug: z.ZodLiteral<"memory.read">;
8761
- envelope: z.ZodObject<{}, z.core.$strict>;
8762
- }, z.core.$strict>, z.ZodObject<{
8763
- target: z.ZodLiteral<"kay.app">;
8764
- slug: z.ZodLiteral<"memory.write">;
8765
- envelope: z.ZodObject<{}, z.core.$strict>;
9205
+ target: z.ZodEnum<{
9206
+ "kay.agent": "kay.agent";
9207
+ "kay.app": "kay.app";
9208
+ }>;
9209
+ slug: z.ZodLiteral<"uri.call">;
9210
+ envelope: z.ZodObject<{
9211
+ scheme: z.ZodString;
9212
+ verb: z.ZodEnum<{
9213
+ search: "search";
9214
+ list: "list";
9215
+ read: "read";
9216
+ write: "write";
9217
+ edit: "edit";
9218
+ delete: "delete";
9219
+ }>;
9220
+ }, z.core.$strict>;
8766
9221
  }, z.core.$strict>, z.ZodObject<{
8767
9222
  target: z.ZodLiteral<"kay.app">;
8768
9223
  slug: z.ZodLiteral<"skills.read">;
@@ -9059,13 +9514,22 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9059
9514
  slug: z.ZodLiteral<"signals.read">;
9060
9515
  envelope: z.ZodObject<{}, z.core.$strict>;
9061
9516
  }, z.core.$strict>, z.ZodObject<{
9062
- target: z.ZodLiteral<"kay.app">;
9063
- slug: z.ZodLiteral<"memory.read">;
9064
- envelope: z.ZodObject<{}, z.core.$strict>;
9065
- }, z.core.$strict>, z.ZodObject<{
9066
- target: z.ZodLiteral<"kay.app">;
9067
- slug: z.ZodLiteral<"memory.write">;
9068
- envelope: z.ZodObject<{}, z.core.$strict>;
9517
+ target: z.ZodEnum<{
9518
+ "kay.agent": "kay.agent";
9519
+ "kay.app": "kay.app";
9520
+ }>;
9521
+ slug: z.ZodLiteral<"uri.call">;
9522
+ envelope: z.ZodObject<{
9523
+ scheme: z.ZodString;
9524
+ verb: z.ZodEnum<{
9525
+ search: "search";
9526
+ list: "list";
9527
+ read: "read";
9528
+ write: "write";
9529
+ edit: "edit";
9530
+ delete: "delete";
9531
+ }>;
9532
+ }, z.core.$strict>;
9069
9533
  }, z.core.$strict>, z.ZodObject<{
9070
9534
  target: z.ZodLiteral<"kay.app">;
9071
9535
  slug: z.ZodLiteral<"skills.read">;
@@ -9361,13 +9825,22 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
9361
9825
  slug: z.ZodLiteral<"signals.read">;
9362
9826
  envelope: z.ZodObject<{}, z.core.$strict>;
9363
9827
  }, z.core.$strict>, z.ZodObject<{
9364
- target: z.ZodLiteral<"kay.app">;
9365
- slug: z.ZodLiteral<"memory.read">;
9366
- envelope: z.ZodObject<{}, z.core.$strict>;
9367
- }, z.core.$strict>, z.ZodObject<{
9368
- target: z.ZodLiteral<"kay.app">;
9369
- slug: z.ZodLiteral<"memory.write">;
9370
- envelope: z.ZodObject<{}, z.core.$strict>;
9828
+ target: z.ZodEnum<{
9829
+ "kay.agent": "kay.agent";
9830
+ "kay.app": "kay.app";
9831
+ }>;
9832
+ slug: z.ZodLiteral<"uri.call">;
9833
+ envelope: z.ZodObject<{
9834
+ scheme: z.ZodString;
9835
+ verb: z.ZodEnum<{
9836
+ search: "search";
9837
+ list: "list";
9838
+ read: "read";
9839
+ write: "write";
9840
+ edit: "edit";
9841
+ delete: "delete";
9842
+ }>;
9843
+ }, z.core.$strict>;
9371
9844
  }, z.core.$strict>, z.ZodObject<{
9372
9845
  target: z.ZodLiteral<"kay.app">;
9373
9846
  slug: z.ZodLiteral<"skills.read">;
@@ -9697,13 +10170,22 @@ export declare const PluginCapabilityRefusalV1: z.ZodObject<{
9697
10170
  slug: z.ZodLiteral<"signals.read">;
9698
10171
  envelope: z.ZodObject<{}, z.core.$strict>;
9699
10172
  }, z.core.$strict>, z.ZodObject<{
9700
- target: z.ZodLiteral<"kay.app">;
9701
- slug: z.ZodLiteral<"memory.read">;
9702
- envelope: z.ZodObject<{}, z.core.$strict>;
9703
- }, z.core.$strict>, z.ZodObject<{
9704
- target: z.ZodLiteral<"kay.app">;
9705
- slug: z.ZodLiteral<"memory.write">;
9706
- envelope: z.ZodObject<{}, z.core.$strict>;
10173
+ target: z.ZodEnum<{
10174
+ "kay.agent": "kay.agent";
10175
+ "kay.app": "kay.app";
10176
+ }>;
10177
+ slug: z.ZodLiteral<"uri.call">;
10178
+ envelope: z.ZodObject<{
10179
+ scheme: z.ZodString;
10180
+ verb: z.ZodEnum<{
10181
+ search: "search";
10182
+ list: "list";
10183
+ read: "read";
10184
+ write: "write";
10185
+ edit: "edit";
10186
+ delete: "delete";
10187
+ }>;
10188
+ }, z.core.$strict>;
9707
10189
  }, z.core.$strict>, z.ZodObject<{
9708
10190
  target: z.ZodLiteral<"kay.app">;
9709
10191
  slug: z.ZodLiteral<"skills.read">;
@@ -11631,6 +12113,28 @@ export declare const ResolvedKayAgentTool: z.ZodObject<{
11631
12113
  scheme: z.ZodOptional<z.ZodString>;
11632
12114
  resourcePrefix: z.ZodOptional<z.ZodString>;
11633
12115
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
12116
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
12117
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
12118
+ never: "never";
12119
+ allow: "allow";
12120
+ ask: "ask";
12121
+ }>>;
12122
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
12123
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12124
+ arg: z.ZodString;
12125
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
12126
+ }, z.core.$strict>, z.ZodObject<{
12127
+ arg: z.ZodString;
12128
+ present: z.ZodBoolean;
12129
+ }, z.core.$strict>]>>;
12130
+ kind: z.ZodEnum<{
12131
+ read: "read";
12132
+ mutate: "mutate";
12133
+ destructive: "destructive";
12134
+ execute: "execute";
12135
+ }>;
12136
+ ruleKey: z.ZodOptional<z.ZodString>;
12137
+ }, z.core.$strict>>>;
11634
12138
  }, z.core.$strict>>;
11635
12139
  localId: z.ZodString;
11636
12140
  globalId: z.ZodString;
@@ -11640,6 +12144,32 @@ export declare const ResolvedKayAgentTool: z.ZodObject<{
11640
12144
  export declare type ResolvedKayAgentTool = z.infer<typeof ResolvedKayAgentTool>;
11641
12145
 
11642
12146
  export declare const ResolvedKayAgentUriModule: z.ZodObject<{
12147
+ screenActions: z.ZodExactOptional<z.ZodObject<{
12148
+ scheme: z.ZodString;
12149
+ hosts: z.ZodArray<z.ZodString>;
12150
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
12151
+ apps: z.ZodArray<z.ZodString>;
12152
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
12153
+ kind: z.ZodLiteral<"exact">;
12154
+ description: z.ZodString;
12155
+ verb: z.ZodEnum<{
12156
+ read: "read";
12157
+ write: "write";
12158
+ edit: "edit";
12159
+ delete: "delete";
12160
+ }>;
12161
+ uri: z.ZodString;
12162
+ }, z.core.$strict>, z.ZodObject<{
12163
+ kind: z.ZodLiteral<"catch-all">;
12164
+ description: z.ZodString;
12165
+ verb: z.ZodEnum<{
12166
+ read: "read";
12167
+ write: "write";
12168
+ edit: "edit";
12169
+ delete: "delete";
12170
+ }>;
12171
+ }, z.core.$strict>], "kind">>;
12172
+ }, z.core.$strict>>;
11643
12173
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
11644
12174
  kind: z.ZodLiteral<"scheme">;
11645
12175
  scheme: z.ZodString;
@@ -11676,27 +12206,27 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
11676
12206
  list: "list";
11677
12207
  read: "read";
11678
12208
  write: "write";
11679
- help: "help";
11680
12209
  edit: "edit";
11681
12210
  delete: "delete";
12211
+ help: "help";
11682
12212
  }>>>;
11683
12213
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
11684
12214
  search: "search";
11685
12215
  list: "list";
11686
12216
  read: "read";
11687
12217
  write: "write";
11688
- help: "help";
11689
12218
  edit: "edit";
11690
12219
  delete: "delete";
12220
+ help: "help";
11691
12221
  }> & z.core.$partial, z.ZodString>>;
11692
12222
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
11693
12223
  search: "search";
11694
12224
  list: "list";
11695
12225
  read: "read";
11696
12226
  write: "write";
11697
- help: "help";
11698
12227
  edit: "edit";
11699
12228
  delete: "delete";
12229
+ help: "help";
11700
12230
  }> & z.core.$partial, z.ZodEnum<{
11701
12231
  never: "never";
11702
12232
  allow: "allow";
@@ -11758,9 +12288,9 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
11758
12288
  list: "list";
11759
12289
  read: "read";
11760
12290
  write: "write";
11761
- help: "help";
11762
12291
  edit: "edit";
11763
12292
  delete: "delete";
12293
+ help: "help";
11764
12294
  }>>>;
11765
12295
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
11766
12296
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -11771,9 +12301,9 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
11771
12301
  list: "list";
11772
12302
  read: "read";
11773
12303
  write: "write";
11774
- help: "help";
11775
12304
  edit: "edit";
11776
12305
  delete: "delete";
12306
+ help: "help";
11777
12307
  }>>>;
11778
12308
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
11779
12309
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -11950,9 +12480,52 @@ export declare const ResolvedKayAppMcpServer: z.ZodObject<{
11950
12480
  export declare type ResolvedKayAppMcpServer = z.infer<typeof ResolvedKayAppMcpServer>;
11951
12481
 
11952
12482
  export declare const ResolvedKayAppTool: z.ZodObject<{
12483
+ description: z.ZodOptional<z.ZodString>;
11953
12484
  localId: z.ZodString;
11954
- globalId: z.ZodString;
12485
+ displayName: z.ZodOptional<z.ZodString>;
11955
12486
  toolName: z.ZodString;
12487
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
12488
+ executionMode: z.ZodOptional<z.ZodEnum<{
12489
+ sequential: "sequential";
12490
+ parallel: "parallel";
12491
+ }>>;
12492
+ promptSnippet: z.ZodOptional<z.ZodString>;
12493
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
12494
+ permission: z.ZodOptional<z.ZodObject<{
12495
+ kind: z.ZodEnum<{
12496
+ read: "read";
12497
+ mutate: "mutate";
12498
+ destructive: "destructive";
12499
+ execute: "execute";
12500
+ }>;
12501
+ ruleKey: z.ZodOptional<z.ZodString>;
12502
+ scheme: z.ZodOptional<z.ZodString>;
12503
+ resourcePrefix: z.ZodOptional<z.ZodString>;
12504
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
12505
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
12506
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
12507
+ never: "never";
12508
+ allow: "allow";
12509
+ ask: "ask";
12510
+ }>>;
12511
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
12512
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12513
+ arg: z.ZodString;
12514
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
12515
+ }, z.core.$strict>, z.ZodObject<{
12516
+ arg: z.ZodString;
12517
+ present: z.ZodBoolean;
12518
+ }, z.core.$strict>]>>;
12519
+ kind: z.ZodEnum<{
12520
+ read: "read";
12521
+ mutate: "mutate";
12522
+ destructive: "destructive";
12523
+ execute: "execute";
12524
+ }>;
12525
+ ruleKey: z.ZodOptional<z.ZodString>;
12526
+ }, z.core.$strict>>>;
12527
+ }, z.core.$strict>>;
12528
+ globalId: z.ZodString;
11956
12529
  }, z.core.$strict>;
11957
12530
 
11958
12531
  export declare type ResolvedKayAppTool = z.infer<typeof ResolvedKayAppTool>;
@@ -12873,6 +13446,32 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
12873
13446
  }, z.core.$strict>;
12874
13447
  }, z.core.$strict>>;
12875
13448
  kayAgentUriModules: z.ZodOptional<z.ZodArray<z.ZodObject<{
13449
+ screenActions: z.ZodExactOptional<z.ZodObject<{
13450
+ scheme: z.ZodString;
13451
+ hosts: z.ZodArray<z.ZodString>;
13452
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
13453
+ apps: z.ZodArray<z.ZodString>;
13454
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
13455
+ kind: z.ZodLiteral<"exact">;
13456
+ description: z.ZodString;
13457
+ verb: z.ZodEnum<{
13458
+ read: "read";
13459
+ write: "write";
13460
+ edit: "edit";
13461
+ delete: "delete";
13462
+ }>;
13463
+ uri: z.ZodString;
13464
+ }, z.core.$strict>, z.ZodObject<{
13465
+ kind: z.ZodLiteral<"catch-all">;
13466
+ description: z.ZodString;
13467
+ verb: z.ZodEnum<{
13468
+ read: "read";
13469
+ write: "write";
13470
+ edit: "edit";
13471
+ delete: "delete";
13472
+ }>;
13473
+ }, z.core.$strict>], "kind">>;
13474
+ }, z.core.$strict>>;
12876
13475
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
12877
13476
  kind: z.ZodLiteral<"scheme">;
12878
13477
  scheme: z.ZodString;
@@ -12909,27 +13508,27 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
12909
13508
  list: "list";
12910
13509
  read: "read";
12911
13510
  write: "write";
12912
- help: "help";
12913
13511
  edit: "edit";
12914
13512
  delete: "delete";
13513
+ help: "help";
12915
13514
  }>>>;
12916
13515
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
12917
13516
  search: "search";
12918
13517
  list: "list";
12919
13518
  read: "read";
12920
13519
  write: "write";
12921
- help: "help";
12922
13520
  edit: "edit";
12923
13521
  delete: "delete";
13522
+ help: "help";
12924
13523
  }> & z.core.$partial, z.ZodString>>;
12925
13524
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
12926
13525
  search: "search";
12927
13526
  list: "list";
12928
13527
  read: "read";
12929
13528
  write: "write";
12930
- help: "help";
12931
13529
  edit: "edit";
12932
13530
  delete: "delete";
13531
+ help: "help";
12933
13532
  }> & z.core.$partial, z.ZodEnum<{
12934
13533
  never: "never";
12935
13534
  allow: "allow";
@@ -12991,9 +13590,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
12991
13590
  list: "list";
12992
13591
  read: "read";
12993
13592
  write: "write";
12994
- help: "help";
12995
13593
  edit: "edit";
12996
13594
  delete: "delete";
13595
+ help: "help";
12997
13596
  }>>>;
12998
13597
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
12999
13598
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -13004,9 +13603,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13004
13603
  list: "list";
13005
13604
  read: "read";
13006
13605
  write: "write";
13007
- help: "help";
13008
13606
  edit: "edit";
13009
13607
  delete: "delete";
13608
+ help: "help";
13010
13609
  }>>>;
13011
13610
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
13012
13611
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -13095,15 +13694,80 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13095
13694
  scheme: z.ZodOptional<z.ZodString>;
13096
13695
  resourcePrefix: z.ZodOptional<z.ZodString>;
13097
13696
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
13697
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
13698
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
13699
+ never: "never";
13700
+ allow: "allow";
13701
+ ask: "ask";
13702
+ }>>;
13703
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
13704
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13705
+ arg: z.ZodString;
13706
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
13707
+ }, z.core.$strict>, z.ZodObject<{
13708
+ arg: z.ZodString;
13709
+ present: z.ZodBoolean;
13710
+ }, z.core.$strict>]>>;
13711
+ kind: z.ZodEnum<{
13712
+ read: "read";
13713
+ mutate: "mutate";
13714
+ destructive: "destructive";
13715
+ execute: "execute";
13716
+ }>;
13717
+ ruleKey: z.ZodOptional<z.ZodString>;
13718
+ }, z.core.$strict>>>;
13098
13719
  }, z.core.$strict>>;
13099
13720
  localId: z.ZodString;
13100
13721
  globalId: z.ZodString;
13101
13722
  toolName: z.ZodString;
13102
13723
  }, z.core.$strict>>>;
13103
13724
  kayAppTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
13725
+ description: z.ZodOptional<z.ZodString>;
13104
13726
  localId: z.ZodString;
13105
- globalId: z.ZodString;
13727
+ displayName: z.ZodOptional<z.ZodString>;
13106
13728
  toolName: z.ZodString;
13729
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
13730
+ executionMode: z.ZodOptional<z.ZodEnum<{
13731
+ sequential: "sequential";
13732
+ parallel: "parallel";
13733
+ }>>;
13734
+ promptSnippet: z.ZodOptional<z.ZodString>;
13735
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
13736
+ permission: z.ZodOptional<z.ZodObject<{
13737
+ kind: z.ZodEnum<{
13738
+ read: "read";
13739
+ mutate: "mutate";
13740
+ destructive: "destructive";
13741
+ execute: "execute";
13742
+ }>;
13743
+ ruleKey: z.ZodOptional<z.ZodString>;
13744
+ scheme: z.ZodOptional<z.ZodString>;
13745
+ resourcePrefix: z.ZodOptional<z.ZodString>;
13746
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
13747
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
13748
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
13749
+ never: "never";
13750
+ allow: "allow";
13751
+ ask: "ask";
13752
+ }>>;
13753
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
13754
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13755
+ arg: z.ZodString;
13756
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
13757
+ }, z.core.$strict>, z.ZodObject<{
13758
+ arg: z.ZodString;
13759
+ present: z.ZodBoolean;
13760
+ }, z.core.$strict>]>>;
13761
+ kind: z.ZodEnum<{
13762
+ read: "read";
13763
+ mutate: "mutate";
13764
+ destructive: "destructive";
13765
+ execute: "execute";
13766
+ }>;
13767
+ ruleKey: z.ZodOptional<z.ZodString>;
13768
+ }, z.core.$strict>>>;
13769
+ }, z.core.$strict>>;
13770
+ globalId: z.ZodString;
13107
13771
  }, z.core.$strict>>>;
13108
13772
  kayAppApprovalTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
13109
13773
  kind: z.ZodLiteral<"message">;
@@ -14118,8 +14782,8 @@ export declare const RETIRED_COMPATIBILITY_KEYS: readonly ["policy"];
14118
14782
  */
14119
14783
  export declare const RETIRED_PERMISSION_ASK_KEYS: readonly ["network", "process", "filesystem", "corpus", "paths", "workspace", "sessions", "automations", "hindsight", "agents", "dynamicContext", "appData", "toolInterception", "account", "device", "config", "workflows", "whiteboard"];
14120
14784
 
14121
- /** Capability slugs retired in SDK 0.13.0; a stored grant naming one is ignored, never refused. */
14122
- export declare const RETIRED_PLUGIN_CAPABILITY_SLUGS: readonly ["filesystem.read", "filesystem.write"];
14785
+ /** Retired capability slugs; a stored grant naming one is ignored, never refused. */
14786
+ export declare const RETIRED_PLUGIN_CAPABILITY_SLUGS: readonly ["filesystem.read", "filesystem.write", "memory.read", "memory.write"];
14123
14787
 
14124
14788
  /**
14125
14789
  * The one retired FIELD inside a surviving row: a `webSession` row's `operations` only ever fed the
@@ -14999,6 +15663,47 @@ export declare type ThemeContribution = z.infer<typeof ThemeContribution>;
14999
15663
  export declare const TOOL_GLYPHS: readonly ["terminal", "file", "search", "folder", "person", "repo", "clock", "robot", "globe", "browser", "skill", "memory", "session", "plan", "download", "attachment", "settings", "catalog", "model", "doc", "feedback", "plugin", "note"];
15000
15664
 
15001
15665
  export declare const ToolContribution: z.ZodObject<{
15666
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
15667
+ executionMode: z.ZodOptional<z.ZodEnum<{
15668
+ sequential: "sequential";
15669
+ parallel: "parallel";
15670
+ }>>;
15671
+ promptSnippet: z.ZodOptional<z.ZodString>;
15672
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
15673
+ permission: z.ZodOptional<z.ZodObject<{
15674
+ kind: z.ZodEnum<{
15675
+ read: "read";
15676
+ mutate: "mutate";
15677
+ destructive: "destructive";
15678
+ execute: "execute";
15679
+ }>;
15680
+ ruleKey: z.ZodOptional<z.ZodString>;
15681
+ scheme: z.ZodOptional<z.ZodString>;
15682
+ resourcePrefix: z.ZodOptional<z.ZodString>;
15683
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
15684
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
15685
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
15686
+ never: "never";
15687
+ allow: "allow";
15688
+ ask: "ask";
15689
+ }>>;
15690
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
15691
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15692
+ arg: z.ZodString;
15693
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
15694
+ }, z.core.$strict>, z.ZodObject<{
15695
+ arg: z.ZodString;
15696
+ present: z.ZodBoolean;
15697
+ }, z.core.$strict>]>>;
15698
+ kind: z.ZodEnum<{
15699
+ read: "read";
15700
+ mutate: "mutate";
15701
+ destructive: "destructive";
15702
+ execute: "execute";
15703
+ }>;
15704
+ ruleKey: z.ZodOptional<z.ZodString>;
15705
+ }, z.core.$strict>>>;
15706
+ }, z.core.$strict>>;
15002
15707
  localId: z.ZodString;
15003
15708
  toolName: z.ZodString;
15004
15709
  displayName: z.ZodOptional<z.ZodString>;
@@ -15021,6 +15726,28 @@ export declare const ToolPermission: z.ZodObject<{
15021
15726
  scheme: z.ZodOptional<z.ZodString>;
15022
15727
  resourcePrefix: z.ZodOptional<z.ZodString>;
15023
15728
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
15729
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
15730
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
15731
+ never: "never";
15732
+ allow: "allow";
15733
+ ask: "ask";
15734
+ }>>;
15735
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
15736
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15737
+ arg: z.ZodString;
15738
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
15739
+ }, z.core.$strict>, z.ZodObject<{
15740
+ arg: z.ZodString;
15741
+ present: z.ZodBoolean;
15742
+ }, z.core.$strict>]>>;
15743
+ kind: z.ZodEnum<{
15744
+ read: "read";
15745
+ mutate: "mutate";
15746
+ destructive: "destructive";
15747
+ execute: "execute";
15748
+ }>;
15749
+ ruleKey: z.ZodOptional<z.ZodString>;
15750
+ }, z.core.$strict>>>;
15024
15751
  }, z.core.$strict>;
15025
15752
 
15026
15753
  export declare type ToolPermission = z.infer<typeof ToolPermission>;
@@ -15314,6 +16041,32 @@ export declare const UriModuleContribution: z.ZodObject<{
15314
16041
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
15315
16042
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
15316
16043
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
16044
+ screenActions: z.ZodExactOptional<z.ZodObject<{
16045
+ scheme: z.ZodString;
16046
+ hosts: z.ZodArray<z.ZodString>;
16047
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
16048
+ apps: z.ZodArray<z.ZodString>;
16049
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
16050
+ kind: z.ZodLiteral<"exact">;
16051
+ description: z.ZodString;
16052
+ verb: z.ZodEnum<{
16053
+ read: "read";
16054
+ write: "write";
16055
+ edit: "edit";
16056
+ delete: "delete";
16057
+ }>;
16058
+ uri: z.ZodString;
16059
+ }, z.core.$strict>, z.ZodObject<{
16060
+ kind: z.ZodLiteral<"catch-all">;
16061
+ description: z.ZodString;
16062
+ verb: z.ZodEnum<{
16063
+ read: "read";
16064
+ write: "write";
16065
+ edit: "edit";
16066
+ delete: "delete";
16067
+ }>;
16068
+ }, z.core.$strict>], "kind">>;
16069
+ }, z.core.$strict>>;
15317
16070
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15318
16071
  kind: z.ZodLiteral<"scheme">;
15319
16072
  scheme: z.ZodString;
@@ -15350,27 +16103,27 @@ export declare const UriModuleContribution: z.ZodObject<{
15350
16103
  list: "list";
15351
16104
  read: "read";
15352
16105
  write: "write";
15353
- help: "help";
15354
16106
  edit: "edit";
15355
16107
  delete: "delete";
16108
+ help: "help";
15356
16109
  }>>>;
15357
16110
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
15358
16111
  search: "search";
15359
16112
  list: "list";
15360
16113
  read: "read";
15361
16114
  write: "write";
15362
- help: "help";
15363
16115
  edit: "edit";
15364
16116
  delete: "delete";
16117
+ help: "help";
15365
16118
  }> & z.core.$partial, z.ZodString>>;
15366
16119
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
15367
16120
  search: "search";
15368
16121
  list: "list";
15369
16122
  read: "read";
15370
16123
  write: "write";
15371
- help: "help";
15372
16124
  edit: "edit";
15373
16125
  delete: "delete";
16126
+ help: "help";
15374
16127
  }> & z.core.$partial, z.ZodEnum<{
15375
16128
  never: "never";
15376
16129
  allow: "allow";
@@ -15432,9 +16185,9 @@ export declare const UriModuleContribution: z.ZodObject<{
15432
16185
  list: "list";
15433
16186
  read: "read";
15434
16187
  write: "write";
15435
- help: "help";
15436
16188
  edit: "edit";
15437
16189
  delete: "delete";
16190
+ help: "help";
15438
16191
  }>>>;
15439
16192
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
15440
16193
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15445,9 +16198,9 @@ export declare const UriModuleContribution: z.ZodObject<{
15445
16198
  list: "list";
15446
16199
  read: "read";
15447
16200
  write: "write";
15448
- help: "help";
15449
16201
  edit: "edit";
15450
16202
  delete: "delete";
16203
+ help: "help";
15451
16204
  }>>>;
15452
16205
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
15453
16206
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15481,6 +16234,32 @@ export declare const UriModuleContribution: z.ZodObject<{
15481
16234
  export declare type UriModuleContribution = z.infer<typeof UriModuleContribution>;
15482
16235
 
15483
16236
  declare const UriModuleFacts: z.ZodObject<{
16237
+ screenActions: z.ZodExactOptional<z.ZodObject<{
16238
+ scheme: z.ZodString;
16239
+ hosts: z.ZodArray<z.ZodString>;
16240
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
16241
+ apps: z.ZodArray<z.ZodString>;
16242
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
16243
+ kind: z.ZodLiteral<"exact">;
16244
+ description: z.ZodString;
16245
+ verb: z.ZodEnum<{
16246
+ read: "read";
16247
+ write: "write";
16248
+ edit: "edit";
16249
+ delete: "delete";
16250
+ }>;
16251
+ uri: z.ZodString;
16252
+ }, z.core.$strict>, z.ZodObject<{
16253
+ kind: z.ZodLiteral<"catch-all">;
16254
+ description: z.ZodString;
16255
+ verb: z.ZodEnum<{
16256
+ read: "read";
16257
+ write: "write";
16258
+ edit: "edit";
16259
+ delete: "delete";
16260
+ }>;
16261
+ }, z.core.$strict>], "kind">>;
16262
+ }, z.core.$strict>>;
15484
16263
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15485
16264
  kind: z.ZodLiteral<"scheme">;
15486
16265
  scheme: z.ZodString;
@@ -15517,27 +16296,27 @@ declare const UriModuleFacts: z.ZodObject<{
15517
16296
  list: "list";
15518
16297
  read: "read";
15519
16298
  write: "write";
15520
- help: "help";
15521
16299
  edit: "edit";
15522
16300
  delete: "delete";
16301
+ help: "help";
15523
16302
  }>>>;
15524
16303
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
15525
16304
  search: "search";
15526
16305
  list: "list";
15527
16306
  read: "read";
15528
16307
  write: "write";
15529
- help: "help";
15530
16308
  edit: "edit";
15531
16309
  delete: "delete";
16310
+ help: "help";
15532
16311
  }> & z.core.$partial, z.ZodString>>;
15533
16312
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
15534
16313
  search: "search";
15535
16314
  list: "list";
15536
16315
  read: "read";
15537
16316
  write: "write";
15538
- help: "help";
15539
16317
  edit: "edit";
15540
16318
  delete: "delete";
16319
+ help: "help";
15541
16320
  }> & z.core.$partial, z.ZodEnum<{
15542
16321
  never: "never";
15543
16322
  allow: "allow";
@@ -15599,9 +16378,9 @@ declare const UriModuleFacts: z.ZodObject<{
15599
16378
  list: "list";
15600
16379
  read: "read";
15601
16380
  write: "write";
15602
- help: "help";
15603
16381
  edit: "edit";
15604
16382
  delete: "delete";
16383
+ help: "help";
15605
16384
  }>>>;
15606
16385
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
15607
16386
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15612,9 +16391,9 @@ declare const UriModuleFacts: z.ZodObject<{
15612
16391
  list: "list";
15613
16392
  read: "read";
15614
16393
  write: "write";
15615
- help: "help";
15616
16394
  edit: "edit";
15617
16395
  delete: "delete";
16396
+ help: "help";
15618
16397
  }>>>;
15619
16398
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
15620
16399
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;