@yaklabs-ai/plugin-protocol 0.47.0 → 0.48.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
@@ -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";
@@ -2963,6 +3174,7 @@ declare const canonicalContributionSchemas: {
2963
3174
  KayUiAppHostCapability: z.ZodEnum<{
2964
3175
  "navigation.open-session": "navigation.open-session";
2965
3176
  "sessions.create": "sessions.create";
3177
+ "models.complete": "models.complete";
2966
3178
  "artifacts.read": "artifacts.read";
2967
3179
  "artifacts.preview": "artifacts.preview";
2968
3180
  "markdown.document-view": "markdown.document-view";
@@ -2980,6 +3192,7 @@ declare const canonicalContributionSchemas: {
2980
3192
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2981
3193
  "navigation.open-session": "navigation.open-session";
2982
3194
  "sessions.create": "sessions.create";
3195
+ "models.complete": "models.complete";
2983
3196
  "artifacts.read": "artifacts.read";
2984
3197
  "artifacts.preview": "artifacts.preview";
2985
3198
  "markdown.document-view": "markdown.document-view";
@@ -3051,6 +3264,7 @@ declare const canonicalContributionSchemas: {
3051
3264
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3052
3265
  "navigation.open-session": "navigation.open-session";
3053
3266
  "sessions.create": "sessions.create";
3267
+ "models.complete": "models.complete";
3054
3268
  "artifacts.read": "artifacts.read";
3055
3269
  "artifacts.preview": "artifacts.preview";
3056
3270
  "markdown.document-view": "markdown.document-view";
@@ -3086,6 +3300,7 @@ declare const canonicalContributionSchemas: {
3086
3300
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3087
3301
  "navigation.open-session": "navigation.open-session";
3088
3302
  "sessions.create": "sessions.create";
3303
+ "models.complete": "models.complete";
3089
3304
  "artifacts.read": "artifacts.read";
3090
3305
  "artifacts.preview": "artifacts.preview";
3091
3306
  "markdown.document-view": "markdown.document-view";
@@ -4517,8 +4732,12 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
4517
4732
  * and read the provenance the host captured. Additive: a plugin that imports it declares ^0.46.0.
4518
4733
  *
4519
4734
  * 0.47.0 adds card layouts and builders; successful card submits now require a summary.
4735
+ *
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.
4520
4739
  */
4521
- export declare const KAY_PLUGIN_SDK_VERSION: "0.47.0";
4740
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.48.1";
4522
4741
 
4523
4742
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
4524
4743
 
@@ -4563,6 +4782,28 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4563
4782
  scheme: z.ZodOptional<z.ZodString>;
4564
4783
  resourcePrefix: z.ZodOptional<z.ZodString>;
4565
4784
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
4785
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
4786
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
4787
+ never: "never";
4788
+ allow: "allow";
4789
+ ask: "ask";
4790
+ }>>;
4791
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4792
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4793
+ arg: z.ZodString;
4794
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4795
+ }, z.core.$strict>, z.ZodObject<{
4796
+ arg: z.ZodString;
4797
+ present: z.ZodBoolean;
4798
+ }, z.core.$strict>]>>;
4799
+ kind: z.ZodEnum<{
4800
+ read: "read";
4801
+ mutate: "mutate";
4802
+ destructive: "destructive";
4803
+ execute: "execute";
4804
+ }>;
4805
+ ruleKey: z.ZodOptional<z.ZodString>;
4806
+ }, z.core.$strict>>>;
4566
4807
  }, z.core.$strict>>;
4567
4808
  localId: z.ZodString;
4568
4809
  toolName: z.ZodString;
@@ -4582,6 +4823,32 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4582
4823
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
4583
4824
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
4584
4825
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
4826
+ screenActions: z.ZodExactOptional<z.ZodObject<{
4827
+ scheme: z.ZodString;
4828
+ hosts: z.ZodArray<z.ZodString>;
4829
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
4830
+ apps: z.ZodArray<z.ZodString>;
4831
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
4832
+ kind: z.ZodLiteral<"exact">;
4833
+ description: z.ZodString;
4834
+ verb: z.ZodEnum<{
4835
+ read: "read";
4836
+ write: "write";
4837
+ edit: "edit";
4838
+ delete: "delete";
4839
+ }>;
4840
+ uri: z.ZodString;
4841
+ }, z.core.$strict>, z.ZodObject<{
4842
+ kind: z.ZodLiteral<"catch-all">;
4843
+ description: z.ZodString;
4844
+ verb: z.ZodEnum<{
4845
+ read: "read";
4846
+ write: "write";
4847
+ edit: "edit";
4848
+ delete: "delete";
4849
+ }>;
4850
+ }, z.core.$strict>], "kind">>;
4851
+ }, z.core.$strict>>;
4585
4852
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4586
4853
  kind: z.ZodLiteral<"scheme">;
4587
4854
  scheme: z.ZodString;
@@ -4618,27 +4885,27 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4618
4885
  list: "list";
4619
4886
  read: "read";
4620
4887
  write: "write";
4621
- help: "help";
4622
4888
  edit: "edit";
4623
4889
  delete: "delete";
4890
+ help: "help";
4624
4891
  }>>>;
4625
4892
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4626
4893
  search: "search";
4627
4894
  list: "list";
4628
4895
  read: "read";
4629
4896
  write: "write";
4630
- help: "help";
4631
4897
  edit: "edit";
4632
4898
  delete: "delete";
4899
+ help: "help";
4633
4900
  }> & z.core.$partial, z.ZodString>>;
4634
4901
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4635
4902
  search: "search";
4636
4903
  list: "list";
4637
4904
  read: "read";
4638
4905
  write: "write";
4639
- help: "help";
4640
4906
  edit: "edit";
4641
4907
  delete: "delete";
4908
+ help: "help";
4642
4909
  }> & z.core.$partial, z.ZodEnum<{
4643
4910
  never: "never";
4644
4911
  allow: "allow";
@@ -4700,9 +4967,9 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4700
4967
  list: "list";
4701
4968
  read: "read";
4702
4969
  write: "write";
4703
- help: "help";
4704
4970
  edit: "edit";
4705
4971
  delete: "delete";
4972
+ help: "help";
4706
4973
  }>>>;
4707
4974
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
4708
4975
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4713,9 +4980,9 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
4713
4980
  list: "list";
4714
4981
  read: "read";
4715
4982
  write: "write";
4716
- help: "help";
4717
4983
  edit: "edit";
4718
4984
  delete: "delete";
4985
+ help: "help";
4719
4986
  }>>>;
4720
4987
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
4721
4988
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4857,6 +5124,47 @@ export declare const KayAppTargetManifest: z.ZodObject<{
4857
5124
  }, z.core.$strict>>;
4858
5125
  contributes: z.ZodOptional<z.ZodObject<{
4859
5126
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
5127
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
5128
+ executionMode: z.ZodOptional<z.ZodEnum<{
5129
+ sequential: "sequential";
5130
+ parallel: "parallel";
5131
+ }>>;
5132
+ promptSnippet: z.ZodOptional<z.ZodString>;
5133
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
5134
+ permission: z.ZodOptional<z.ZodObject<{
5135
+ kind: z.ZodEnum<{
5136
+ read: "read";
5137
+ mutate: "mutate";
5138
+ destructive: "destructive";
5139
+ execute: "execute";
5140
+ }>;
5141
+ ruleKey: z.ZodOptional<z.ZodString>;
5142
+ scheme: z.ZodOptional<z.ZodString>;
5143
+ resourcePrefix: z.ZodOptional<z.ZodString>;
5144
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
5145
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
5146
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
5147
+ never: "never";
5148
+ allow: "allow";
5149
+ ask: "ask";
5150
+ }>>;
5151
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
5152
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5153
+ arg: z.ZodString;
5154
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5155
+ }, z.core.$strict>, z.ZodObject<{
5156
+ arg: z.ZodString;
5157
+ present: z.ZodBoolean;
5158
+ }, z.core.$strict>]>>;
5159
+ kind: z.ZodEnum<{
5160
+ read: "read";
5161
+ mutate: "mutate";
5162
+ destructive: "destructive";
5163
+ execute: "execute";
5164
+ }>;
5165
+ ruleKey: z.ZodOptional<z.ZodString>;
5166
+ }, z.core.$strict>>>;
5167
+ }, z.core.$strict>>;
4860
5168
  localId: z.ZodString;
4861
5169
  toolName: z.ZodString;
4862
5170
  displayName: z.ZodOptional<z.ZodString>;
@@ -4887,6 +5195,32 @@ export declare const KayAppTargetManifest: z.ZodObject<{
4887
5195
  localId: z.ZodString;
4888
5196
  displayName: z.ZodOptional<z.ZodString>;
4889
5197
  schemes: z.ZodArray<z.ZodString>;
5198
+ screenActions: z.ZodExactOptional<z.ZodObject<{
5199
+ scheme: z.ZodString;
5200
+ hosts: z.ZodArray<z.ZodString>;
5201
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
5202
+ apps: z.ZodArray<z.ZodString>;
5203
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5204
+ kind: z.ZodLiteral<"exact">;
5205
+ description: z.ZodString;
5206
+ verb: z.ZodEnum<{
5207
+ read: "read";
5208
+ write: "write";
5209
+ edit: "edit";
5210
+ delete: "delete";
5211
+ }>;
5212
+ uri: z.ZodString;
5213
+ }, z.core.$strict>, z.ZodObject<{
5214
+ kind: z.ZodLiteral<"catch-all">;
5215
+ description: z.ZodString;
5216
+ verb: z.ZodEnum<{
5217
+ read: "read";
5218
+ write: "write";
5219
+ edit: "edit";
5220
+ delete: "delete";
5221
+ }>;
5222
+ }, z.core.$strict>], "kind">>;
5223
+ }, z.core.$strict>>;
4890
5224
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4891
5225
  kind: z.ZodLiteral<"scheme">;
4892
5226
  scheme: z.ZodString;
@@ -4923,27 +5257,27 @@ export declare const KayAppTargetManifest: z.ZodObject<{
4923
5257
  list: "list";
4924
5258
  read: "read";
4925
5259
  write: "write";
4926
- help: "help";
4927
5260
  edit: "edit";
4928
5261
  delete: "delete";
5262
+ help: "help";
4929
5263
  }>>>;
4930
5264
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4931
5265
  search: "search";
4932
5266
  list: "list";
4933
5267
  read: "read";
4934
5268
  write: "write";
4935
- help: "help";
4936
5269
  edit: "edit";
4937
5270
  delete: "delete";
5271
+ help: "help";
4938
5272
  }> & z.core.$partial, z.ZodString>>;
4939
5273
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
4940
5274
  search: "search";
4941
5275
  list: "list";
4942
5276
  read: "read";
4943
5277
  write: "write";
4944
- help: "help";
4945
5278
  edit: "edit";
4946
5279
  delete: "delete";
5280
+ help: "help";
4947
5281
  }> & z.core.$partial, z.ZodEnum<{
4948
5282
  never: "never";
4949
5283
  allow: "allow";
@@ -5365,6 +5699,28 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5365
5699
  scheme: z.ZodOptional<z.ZodString>;
5366
5700
  resourcePrefix: z.ZodOptional<z.ZodString>;
5367
5701
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
5702
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
5703
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
5704
+ never: "never";
5705
+ allow: "allow";
5706
+ ask: "ask";
5707
+ }>>;
5708
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
5709
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5710
+ arg: z.ZodString;
5711
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5712
+ }, z.core.$strict>, z.ZodObject<{
5713
+ arg: z.ZodString;
5714
+ present: z.ZodBoolean;
5715
+ }, z.core.$strict>]>>;
5716
+ kind: z.ZodEnum<{
5717
+ read: "read";
5718
+ mutate: "mutate";
5719
+ destructive: "destructive";
5720
+ execute: "execute";
5721
+ }>;
5722
+ ruleKey: z.ZodOptional<z.ZodString>;
5723
+ }, z.core.$strict>>>;
5368
5724
  }, z.core.$strict>>;
5369
5725
  localId: z.ZodString;
5370
5726
  toolName: z.ZodString;
@@ -5384,6 +5740,32 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5384
5740
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
5385
5741
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
5386
5742
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
5743
+ screenActions: z.ZodExactOptional<z.ZodObject<{
5744
+ scheme: z.ZodString;
5745
+ hosts: z.ZodArray<z.ZodString>;
5746
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
5747
+ apps: z.ZodArray<z.ZodString>;
5748
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5749
+ kind: z.ZodLiteral<"exact">;
5750
+ description: z.ZodString;
5751
+ verb: z.ZodEnum<{
5752
+ read: "read";
5753
+ write: "write";
5754
+ edit: "edit";
5755
+ delete: "delete";
5756
+ }>;
5757
+ uri: z.ZodString;
5758
+ }, z.core.$strict>, z.ZodObject<{
5759
+ kind: z.ZodLiteral<"catch-all">;
5760
+ description: z.ZodString;
5761
+ verb: z.ZodEnum<{
5762
+ read: "read";
5763
+ write: "write";
5764
+ edit: "edit";
5765
+ delete: "delete";
5766
+ }>;
5767
+ }, z.core.$strict>], "kind">>;
5768
+ }, z.core.$strict>>;
5387
5769
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5388
5770
  kind: z.ZodLiteral<"scheme">;
5389
5771
  scheme: z.ZodString;
@@ -5420,27 +5802,27 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5420
5802
  list: "list";
5421
5803
  read: "read";
5422
5804
  write: "write";
5423
- help: "help";
5424
5805
  edit: "edit";
5425
5806
  delete: "delete";
5807
+ help: "help";
5426
5808
  }>>>;
5427
5809
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5428
5810
  search: "search";
5429
5811
  list: "list";
5430
5812
  read: "read";
5431
5813
  write: "write";
5432
- help: "help";
5433
5814
  edit: "edit";
5434
5815
  delete: "delete";
5816
+ help: "help";
5435
5817
  }> & z.core.$partial, z.ZodString>>;
5436
5818
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5437
5819
  search: "search";
5438
5820
  list: "list";
5439
5821
  read: "read";
5440
5822
  write: "write";
5441
- help: "help";
5442
5823
  edit: "edit";
5443
5824
  delete: "delete";
5825
+ help: "help";
5444
5826
  }> & z.core.$partial, z.ZodEnum<{
5445
5827
  never: "never";
5446
5828
  allow: "allow";
@@ -5502,9 +5884,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5502
5884
  list: "list";
5503
5885
  read: "read";
5504
5886
  write: "write";
5505
- help: "help";
5506
5887
  edit: "edit";
5507
5888
  delete: "delete";
5889
+ help: "help";
5508
5890
  }>>>;
5509
5891
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
5510
5892
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5515,9 +5897,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5515
5897
  list: "list";
5516
5898
  read: "read";
5517
5899
  write: "write";
5518
- help: "help";
5519
5900
  edit: "edit";
5520
5901
  delete: "delete";
5902
+ help: "help";
5521
5903
  }>>>;
5522
5904
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
5523
5905
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5656,6 +6038,47 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5656
6038
  }, z.core.$strict>>;
5657
6039
  contributes: z.ZodOptional<z.ZodObject<{
5658
6040
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
6041
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
6042
+ executionMode: z.ZodOptional<z.ZodEnum<{
6043
+ sequential: "sequential";
6044
+ parallel: "parallel";
6045
+ }>>;
6046
+ promptSnippet: z.ZodOptional<z.ZodString>;
6047
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
6048
+ permission: z.ZodOptional<z.ZodObject<{
6049
+ kind: z.ZodEnum<{
6050
+ read: "read";
6051
+ mutate: "mutate";
6052
+ destructive: "destructive";
6053
+ execute: "execute";
6054
+ }>;
6055
+ ruleKey: z.ZodOptional<z.ZodString>;
6056
+ scheme: z.ZodOptional<z.ZodString>;
6057
+ resourcePrefix: z.ZodOptional<z.ZodString>;
6058
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
6059
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
6060
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
6061
+ never: "never";
6062
+ allow: "allow";
6063
+ ask: "ask";
6064
+ }>>;
6065
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
6066
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6067
+ arg: z.ZodString;
6068
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
6069
+ }, z.core.$strict>, z.ZodObject<{
6070
+ arg: z.ZodString;
6071
+ present: z.ZodBoolean;
6072
+ }, z.core.$strict>]>>;
6073
+ kind: z.ZodEnum<{
6074
+ read: "read";
6075
+ mutate: "mutate";
6076
+ destructive: "destructive";
6077
+ execute: "execute";
6078
+ }>;
6079
+ ruleKey: z.ZodOptional<z.ZodString>;
6080
+ }, z.core.$strict>>>;
6081
+ }, z.core.$strict>>;
5659
6082
  localId: z.ZodString;
5660
6083
  toolName: z.ZodString;
5661
6084
  displayName: z.ZodOptional<z.ZodString>;
@@ -5686,6 +6109,32 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5686
6109
  localId: z.ZodString;
5687
6110
  displayName: z.ZodOptional<z.ZodString>;
5688
6111
  schemes: z.ZodArray<z.ZodString>;
6112
+ screenActions: z.ZodExactOptional<z.ZodObject<{
6113
+ scheme: z.ZodString;
6114
+ hosts: z.ZodArray<z.ZodString>;
6115
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
6116
+ apps: z.ZodArray<z.ZodString>;
6117
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
6118
+ kind: z.ZodLiteral<"exact">;
6119
+ description: z.ZodString;
6120
+ verb: z.ZodEnum<{
6121
+ read: "read";
6122
+ write: "write";
6123
+ edit: "edit";
6124
+ delete: "delete";
6125
+ }>;
6126
+ uri: z.ZodString;
6127
+ }, z.core.$strict>, z.ZodObject<{
6128
+ kind: z.ZodLiteral<"catch-all">;
6129
+ description: z.ZodString;
6130
+ verb: z.ZodEnum<{
6131
+ read: "read";
6132
+ write: "write";
6133
+ edit: "edit";
6134
+ delete: "delete";
6135
+ }>;
6136
+ }, z.core.$strict>], "kind">>;
6137
+ }, z.core.$strict>>;
5689
6138
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5690
6139
  kind: z.ZodLiteral<"scheme">;
5691
6140
  scheme: z.ZodString;
@@ -5722,27 +6171,27 @@ export declare const KayPluginManifestV1: z.ZodObject<{
5722
6171
  list: "list";
5723
6172
  read: "read";
5724
6173
  write: "write";
5725
- help: "help";
5726
6174
  edit: "edit";
5727
6175
  delete: "delete";
6176
+ help: "help";
5728
6177
  }>>>;
5729
6178
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5730
6179
  search: "search";
5731
6180
  list: "list";
5732
6181
  read: "read";
5733
6182
  write: "write";
5734
- help: "help";
5735
6183
  edit: "edit";
5736
6184
  delete: "delete";
6185
+ help: "help";
5737
6186
  }> & z.core.$partial, z.ZodString>>;
5738
6187
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
5739
6188
  search: "search";
5740
6189
  list: "list";
5741
6190
  read: "read";
5742
6191
  write: "write";
5743
- help: "help";
5744
6192
  edit: "edit";
5745
6193
  delete: "delete";
6194
+ help: "help";
5746
6195
  }> & z.core.$partial, z.ZodEnum<{
5747
6196
  never: "never";
5748
6197
  allow: "allow";
@@ -6189,6 +6638,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6189
6638
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6190
6639
  "navigation.open-session": "navigation.open-session";
6191
6640
  "sessions.create": "sessions.create";
6641
+ "models.complete": "models.complete";
6192
6642
  "artifacts.read": "artifacts.read";
6193
6643
  "artifacts.preview": "artifacts.preview";
6194
6644
  "markdown.document-view": "markdown.document-view";
@@ -6224,6 +6674,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6224
6674
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6225
6675
  "navigation.open-session": "navigation.open-session";
6226
6676
  "sessions.create": "sessions.create";
6677
+ "models.complete": "models.complete";
6227
6678
  "artifacts.read": "artifacts.read";
6228
6679
  "artifacts.preview": "artifacts.preview";
6229
6680
  "markdown.document-view": "markdown.document-view";
@@ -7094,6 +7545,7 @@ export declare interface KayPluginTreeReader {
7094
7545
  export declare const KayUiAppHostCapability: z.ZodEnum<{
7095
7546
  "navigation.open-session": "navigation.open-session";
7096
7547
  "sessions.create": "sessions.create";
7548
+ "models.complete": "models.complete";
7097
7549
  "artifacts.read": "artifacts.read";
7098
7550
  "artifacts.preview": "artifacts.preview";
7099
7551
  "markdown.document-view": "markdown.document-view";
@@ -7367,6 +7819,7 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7367
7819
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7368
7820
  "navigation.open-session": "navigation.open-session";
7369
7821
  "sessions.create": "sessions.create";
7822
+ "models.complete": "models.complete";
7370
7823
  "artifacts.read": "artifacts.read";
7371
7824
  "artifacts.preview": "artifacts.preview";
7372
7825
  "markdown.document-view": "markdown.document-view";
@@ -7402,6 +7855,7 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7402
7855
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7403
7856
  "navigation.open-session": "navigation.open-session";
7404
7857
  "sessions.create": "sessions.create";
7858
+ "models.complete": "models.complete";
7405
7859
  "artifacts.read": "artifacts.read";
7406
7860
  "artifacts.preview": "artifacts.preview";
7407
7861
  "markdown.document-view": "markdown.document-view";
@@ -11620,6 +12074,28 @@ export declare const ResolvedKayAgentTool: z.ZodObject<{
11620
12074
  scheme: z.ZodOptional<z.ZodString>;
11621
12075
  resourcePrefix: z.ZodOptional<z.ZodString>;
11622
12076
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
12077
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
12078
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
12079
+ never: "never";
12080
+ allow: "allow";
12081
+ ask: "ask";
12082
+ }>>;
12083
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
12084
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12085
+ arg: z.ZodString;
12086
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
12087
+ }, z.core.$strict>, z.ZodObject<{
12088
+ arg: z.ZodString;
12089
+ present: z.ZodBoolean;
12090
+ }, z.core.$strict>]>>;
12091
+ kind: z.ZodEnum<{
12092
+ read: "read";
12093
+ mutate: "mutate";
12094
+ destructive: "destructive";
12095
+ execute: "execute";
12096
+ }>;
12097
+ ruleKey: z.ZodOptional<z.ZodString>;
12098
+ }, z.core.$strict>>>;
11623
12099
  }, z.core.$strict>>;
11624
12100
  localId: z.ZodString;
11625
12101
  globalId: z.ZodString;
@@ -11629,6 +12105,32 @@ export declare const ResolvedKayAgentTool: z.ZodObject<{
11629
12105
  export declare type ResolvedKayAgentTool = z.infer<typeof ResolvedKayAgentTool>;
11630
12106
 
11631
12107
  export declare const ResolvedKayAgentUriModule: z.ZodObject<{
12108
+ screenActions: z.ZodExactOptional<z.ZodObject<{
12109
+ scheme: z.ZodString;
12110
+ hosts: z.ZodArray<z.ZodString>;
12111
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
12112
+ apps: z.ZodArray<z.ZodString>;
12113
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
12114
+ kind: z.ZodLiteral<"exact">;
12115
+ description: z.ZodString;
12116
+ verb: z.ZodEnum<{
12117
+ read: "read";
12118
+ write: "write";
12119
+ edit: "edit";
12120
+ delete: "delete";
12121
+ }>;
12122
+ uri: z.ZodString;
12123
+ }, z.core.$strict>, z.ZodObject<{
12124
+ kind: z.ZodLiteral<"catch-all">;
12125
+ description: z.ZodString;
12126
+ verb: z.ZodEnum<{
12127
+ read: "read";
12128
+ write: "write";
12129
+ edit: "edit";
12130
+ delete: "delete";
12131
+ }>;
12132
+ }, z.core.$strict>], "kind">>;
12133
+ }, z.core.$strict>>;
11632
12134
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
11633
12135
  kind: z.ZodLiteral<"scheme">;
11634
12136
  scheme: z.ZodString;
@@ -11665,27 +12167,27 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
11665
12167
  list: "list";
11666
12168
  read: "read";
11667
12169
  write: "write";
11668
- help: "help";
11669
12170
  edit: "edit";
11670
12171
  delete: "delete";
12172
+ help: "help";
11671
12173
  }>>>;
11672
12174
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
11673
12175
  search: "search";
11674
12176
  list: "list";
11675
12177
  read: "read";
11676
12178
  write: "write";
11677
- help: "help";
11678
12179
  edit: "edit";
11679
12180
  delete: "delete";
12181
+ help: "help";
11680
12182
  }> & z.core.$partial, z.ZodString>>;
11681
12183
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
11682
12184
  search: "search";
11683
12185
  list: "list";
11684
12186
  read: "read";
11685
12187
  write: "write";
11686
- help: "help";
11687
12188
  edit: "edit";
11688
12189
  delete: "delete";
12190
+ help: "help";
11689
12191
  }> & z.core.$partial, z.ZodEnum<{
11690
12192
  never: "never";
11691
12193
  allow: "allow";
@@ -11747,9 +12249,9 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
11747
12249
  list: "list";
11748
12250
  read: "read";
11749
12251
  write: "write";
11750
- help: "help";
11751
12252
  edit: "edit";
11752
12253
  delete: "delete";
12254
+ help: "help";
11753
12255
  }>>>;
11754
12256
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
11755
12257
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -11760,9 +12262,9 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
11760
12262
  list: "list";
11761
12263
  read: "read";
11762
12264
  write: "write";
11763
- help: "help";
11764
12265
  edit: "edit";
11765
12266
  delete: "delete";
12267
+ help: "help";
11766
12268
  }>>>;
11767
12269
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
11768
12270
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -11939,9 +12441,52 @@ export declare const ResolvedKayAppMcpServer: z.ZodObject<{
11939
12441
  export declare type ResolvedKayAppMcpServer = z.infer<typeof ResolvedKayAppMcpServer>;
11940
12442
 
11941
12443
  export declare const ResolvedKayAppTool: z.ZodObject<{
12444
+ description: z.ZodOptional<z.ZodString>;
11942
12445
  localId: z.ZodString;
11943
- globalId: z.ZodString;
12446
+ displayName: z.ZodOptional<z.ZodString>;
11944
12447
  toolName: z.ZodString;
12448
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
12449
+ executionMode: z.ZodOptional<z.ZodEnum<{
12450
+ sequential: "sequential";
12451
+ parallel: "parallel";
12452
+ }>>;
12453
+ promptSnippet: z.ZodOptional<z.ZodString>;
12454
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
12455
+ permission: z.ZodOptional<z.ZodObject<{
12456
+ kind: z.ZodEnum<{
12457
+ read: "read";
12458
+ mutate: "mutate";
12459
+ destructive: "destructive";
12460
+ execute: "execute";
12461
+ }>;
12462
+ ruleKey: z.ZodOptional<z.ZodString>;
12463
+ scheme: z.ZodOptional<z.ZodString>;
12464
+ resourcePrefix: z.ZodOptional<z.ZodString>;
12465
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
12466
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
12467
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
12468
+ never: "never";
12469
+ allow: "allow";
12470
+ ask: "ask";
12471
+ }>>;
12472
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
12473
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12474
+ arg: z.ZodString;
12475
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
12476
+ }, z.core.$strict>, z.ZodObject<{
12477
+ arg: z.ZodString;
12478
+ present: z.ZodBoolean;
12479
+ }, z.core.$strict>]>>;
12480
+ kind: z.ZodEnum<{
12481
+ read: "read";
12482
+ mutate: "mutate";
12483
+ destructive: "destructive";
12484
+ execute: "execute";
12485
+ }>;
12486
+ ruleKey: z.ZodOptional<z.ZodString>;
12487
+ }, z.core.$strict>>>;
12488
+ }, z.core.$strict>>;
12489
+ globalId: z.ZodString;
11945
12490
  }, z.core.$strict>;
11946
12491
 
11947
12492
  export declare type ResolvedKayAppTool = z.infer<typeof ResolvedKayAppTool>;
@@ -12004,6 +12549,7 @@ export declare const ResolvedKayUiApp: z.ZodObject<{
12004
12549
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
12005
12550
  "navigation.open-session": "navigation.open-session";
12006
12551
  "sessions.create": "sessions.create";
12552
+ "models.complete": "models.complete";
12007
12553
  "artifacts.read": "artifacts.read";
12008
12554
  "artifacts.preview": "artifacts.preview";
12009
12555
  "markdown.document-view": "markdown.document-view";
@@ -12861,6 +13407,32 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
12861
13407
  }, z.core.$strict>;
12862
13408
  }, z.core.$strict>>;
12863
13409
  kayAgentUriModules: z.ZodOptional<z.ZodArray<z.ZodObject<{
13410
+ screenActions: z.ZodExactOptional<z.ZodObject<{
13411
+ scheme: z.ZodString;
13412
+ hosts: z.ZodArray<z.ZodString>;
13413
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
13414
+ apps: z.ZodArray<z.ZodString>;
13415
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
13416
+ kind: z.ZodLiteral<"exact">;
13417
+ description: z.ZodString;
13418
+ verb: z.ZodEnum<{
13419
+ read: "read";
13420
+ write: "write";
13421
+ edit: "edit";
13422
+ delete: "delete";
13423
+ }>;
13424
+ uri: z.ZodString;
13425
+ }, z.core.$strict>, z.ZodObject<{
13426
+ kind: z.ZodLiteral<"catch-all">;
13427
+ description: z.ZodString;
13428
+ verb: z.ZodEnum<{
13429
+ read: "read";
13430
+ write: "write";
13431
+ edit: "edit";
13432
+ delete: "delete";
13433
+ }>;
13434
+ }, z.core.$strict>], "kind">>;
13435
+ }, z.core.$strict>>;
12864
13436
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
12865
13437
  kind: z.ZodLiteral<"scheme">;
12866
13438
  scheme: z.ZodString;
@@ -12897,27 +13469,27 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
12897
13469
  list: "list";
12898
13470
  read: "read";
12899
13471
  write: "write";
12900
- help: "help";
12901
13472
  edit: "edit";
12902
13473
  delete: "delete";
13474
+ help: "help";
12903
13475
  }>>>;
12904
13476
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
12905
13477
  search: "search";
12906
13478
  list: "list";
12907
13479
  read: "read";
12908
13480
  write: "write";
12909
- help: "help";
12910
13481
  edit: "edit";
12911
13482
  delete: "delete";
13483
+ help: "help";
12912
13484
  }> & z.core.$partial, z.ZodString>>;
12913
13485
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
12914
13486
  search: "search";
12915
13487
  list: "list";
12916
13488
  read: "read";
12917
13489
  write: "write";
12918
- help: "help";
12919
13490
  edit: "edit";
12920
13491
  delete: "delete";
13492
+ help: "help";
12921
13493
  }> & z.core.$partial, z.ZodEnum<{
12922
13494
  never: "never";
12923
13495
  allow: "allow";
@@ -12979,9 +13551,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
12979
13551
  list: "list";
12980
13552
  read: "read";
12981
13553
  write: "write";
12982
- help: "help";
12983
13554
  edit: "edit";
12984
13555
  delete: "delete";
13556
+ help: "help";
12985
13557
  }>>>;
12986
13558
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
12987
13559
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -12992,9 +13564,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
12992
13564
  list: "list";
12993
13565
  read: "read";
12994
13566
  write: "write";
12995
- help: "help";
12996
13567
  edit: "edit";
12997
13568
  delete: "delete";
13569
+ help: "help";
12998
13570
  }>>>;
12999
13571
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
13000
13572
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -13083,15 +13655,80 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13083
13655
  scheme: z.ZodOptional<z.ZodString>;
13084
13656
  resourcePrefix: z.ZodOptional<z.ZodString>;
13085
13657
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
13658
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
13659
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
13660
+ never: "never";
13661
+ allow: "allow";
13662
+ ask: "ask";
13663
+ }>>;
13664
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
13665
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13666
+ arg: z.ZodString;
13667
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
13668
+ }, z.core.$strict>, z.ZodObject<{
13669
+ arg: z.ZodString;
13670
+ present: z.ZodBoolean;
13671
+ }, z.core.$strict>]>>;
13672
+ kind: z.ZodEnum<{
13673
+ read: "read";
13674
+ mutate: "mutate";
13675
+ destructive: "destructive";
13676
+ execute: "execute";
13677
+ }>;
13678
+ ruleKey: z.ZodOptional<z.ZodString>;
13679
+ }, z.core.$strict>>>;
13086
13680
  }, z.core.$strict>>;
13087
13681
  localId: z.ZodString;
13088
13682
  globalId: z.ZodString;
13089
13683
  toolName: z.ZodString;
13090
13684
  }, z.core.$strict>>>;
13091
13685
  kayAppTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
13686
+ description: z.ZodOptional<z.ZodString>;
13092
13687
  localId: z.ZodString;
13093
- globalId: z.ZodString;
13688
+ displayName: z.ZodOptional<z.ZodString>;
13094
13689
  toolName: z.ZodString;
13690
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
13691
+ executionMode: z.ZodOptional<z.ZodEnum<{
13692
+ sequential: "sequential";
13693
+ parallel: "parallel";
13694
+ }>>;
13695
+ promptSnippet: z.ZodOptional<z.ZodString>;
13696
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
13697
+ permission: z.ZodOptional<z.ZodObject<{
13698
+ kind: z.ZodEnum<{
13699
+ read: "read";
13700
+ mutate: "mutate";
13701
+ destructive: "destructive";
13702
+ execute: "execute";
13703
+ }>;
13704
+ ruleKey: z.ZodOptional<z.ZodString>;
13705
+ scheme: z.ZodOptional<z.ZodString>;
13706
+ resourcePrefix: z.ZodOptional<z.ZodString>;
13707
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
13708
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
13709
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
13710
+ never: "never";
13711
+ allow: "allow";
13712
+ ask: "ask";
13713
+ }>>;
13714
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
13715
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13716
+ arg: z.ZodString;
13717
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
13718
+ }, z.core.$strict>, z.ZodObject<{
13719
+ arg: z.ZodString;
13720
+ present: z.ZodBoolean;
13721
+ }, z.core.$strict>]>>;
13722
+ kind: z.ZodEnum<{
13723
+ read: "read";
13724
+ mutate: "mutate";
13725
+ destructive: "destructive";
13726
+ execute: "execute";
13727
+ }>;
13728
+ ruleKey: z.ZodOptional<z.ZodString>;
13729
+ }, z.core.$strict>>>;
13730
+ }, z.core.$strict>>;
13731
+ globalId: z.ZodString;
13095
13732
  }, z.core.$strict>>>;
13096
13733
  kayAppApprovalTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
13097
13734
  kind: z.ZodLiteral<"message">;
@@ -13416,6 +14053,7 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13416
14053
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
13417
14054
  "navigation.open-session": "navigation.open-session";
13418
14055
  "sessions.create": "sessions.create";
14056
+ "models.complete": "models.complete";
13419
14057
  "artifacts.read": "artifacts.read";
13420
14058
  "artifacts.preview": "artifacts.preview";
13421
14059
  "markdown.document-view": "markdown.document-view";
@@ -14986,6 +15624,47 @@ export declare type ThemeContribution = z.infer<typeof ThemeContribution>;
14986
15624
  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"];
14987
15625
 
14988
15626
  export declare const ToolContribution: z.ZodObject<{
15627
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<authoringCommonSchemas.JsonValue, unknown, z.core.$ZodTypeInternals<authoringCommonSchemas.JsonValue, unknown>>>>;
15628
+ executionMode: z.ZodOptional<z.ZodEnum<{
15629
+ sequential: "sequential";
15630
+ parallel: "parallel";
15631
+ }>>;
15632
+ promptSnippet: z.ZodOptional<z.ZodString>;
15633
+ promptGuidelines: z.ZodOptional<z.ZodArray<z.ZodString>>;
15634
+ permission: z.ZodOptional<z.ZodObject<{
15635
+ kind: z.ZodEnum<{
15636
+ read: "read";
15637
+ mutate: "mutate";
15638
+ destructive: "destructive";
15639
+ execute: "execute";
15640
+ }>;
15641
+ ruleKey: z.ZodOptional<z.ZodString>;
15642
+ scheme: z.ZodOptional<z.ZodString>;
15643
+ resourcePrefix: z.ZodOptional<z.ZodString>;
15644
+ resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
15645
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
15646
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
15647
+ never: "never";
15648
+ allow: "allow";
15649
+ ask: "ask";
15650
+ }>>;
15651
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
15652
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15653
+ arg: z.ZodString;
15654
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
15655
+ }, z.core.$strict>, z.ZodObject<{
15656
+ arg: z.ZodString;
15657
+ present: z.ZodBoolean;
15658
+ }, z.core.$strict>]>>;
15659
+ kind: z.ZodEnum<{
15660
+ read: "read";
15661
+ mutate: "mutate";
15662
+ destructive: "destructive";
15663
+ execute: "execute";
15664
+ }>;
15665
+ ruleKey: z.ZodOptional<z.ZodString>;
15666
+ }, z.core.$strict>>>;
15667
+ }, z.core.$strict>>;
14989
15668
  localId: z.ZodString;
14990
15669
  toolName: z.ZodString;
14991
15670
  displayName: z.ZodOptional<z.ZodString>;
@@ -15008,6 +15687,28 @@ export declare const ToolPermission: z.ZodObject<{
15008
15687
  scheme: z.ZodOptional<z.ZodString>;
15009
15688
  resourcePrefix: z.ZodOptional<z.ZodString>;
15010
15689
  resourceArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
15690
+ resourceTrim: z.ZodOptional<z.ZodLiteral<true>>;
15691
+ defaultPermission: z.ZodOptional<z.ZodEnum<{
15692
+ never: "never";
15693
+ allow: "allow";
15694
+ ask: "ask";
15695
+ }>>;
15696
+ classificationRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
15697
+ when: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
15698
+ arg: z.ZodString;
15699
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
15700
+ }, z.core.$strict>, z.ZodObject<{
15701
+ arg: z.ZodString;
15702
+ present: z.ZodBoolean;
15703
+ }, z.core.$strict>]>>;
15704
+ kind: z.ZodEnum<{
15705
+ read: "read";
15706
+ mutate: "mutate";
15707
+ destructive: "destructive";
15708
+ execute: "execute";
15709
+ }>;
15710
+ ruleKey: z.ZodOptional<z.ZodString>;
15711
+ }, z.core.$strict>>>;
15011
15712
  }, z.core.$strict>;
15012
15713
 
15013
15714
  export declare type ToolPermission = z.infer<typeof ToolPermission>;
@@ -15094,6 +15795,7 @@ export declare const UiAppCapabilities: z.ZodObject<{
15094
15795
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15095
15796
  "navigation.open-session": "navigation.open-session";
15096
15797
  "sessions.create": "sessions.create";
15798
+ "models.complete": "models.complete";
15097
15799
  "artifacts.read": "artifacts.read";
15098
15800
  "artifacts.preview": "artifacts.preview";
15099
15801
  "markdown.document-view": "markdown.document-view";
@@ -15132,6 +15834,7 @@ export declare const UiAppContribution: z.ZodObject<{
15132
15834
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15133
15835
  "navigation.open-session": "navigation.open-session";
15134
15836
  "sessions.create": "sessions.create";
15837
+ "models.complete": "models.complete";
15135
15838
  "artifacts.read": "artifacts.read";
15136
15839
  "artifacts.preview": "artifacts.preview";
15137
15840
  "markdown.document-view": "markdown.document-view";
@@ -15167,6 +15870,7 @@ export declare const UiAppContribution: z.ZodObject<{
15167
15870
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15168
15871
  "navigation.open-session": "navigation.open-session";
15169
15872
  "sessions.create": "sessions.create";
15873
+ "models.complete": "models.complete";
15170
15874
  "artifacts.read": "artifacts.read";
15171
15875
  "artifacts.preview": "artifacts.preview";
15172
15876
  "markdown.document-view": "markdown.document-view";
@@ -15298,6 +16002,32 @@ export declare const UriModuleContribution: z.ZodObject<{
15298
16002
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
15299
16003
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
15300
16004
  looksUpWebLinks: z.ZodOptional<z.ZodLiteral<true>>;
16005
+ screenActions: z.ZodExactOptional<z.ZodObject<{
16006
+ scheme: z.ZodString;
16007
+ hosts: z.ZodArray<z.ZodString>;
16008
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
16009
+ apps: z.ZodArray<z.ZodString>;
16010
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
16011
+ kind: z.ZodLiteral<"exact">;
16012
+ description: z.ZodString;
16013
+ verb: z.ZodEnum<{
16014
+ read: "read";
16015
+ write: "write";
16016
+ edit: "edit";
16017
+ delete: "delete";
16018
+ }>;
16019
+ uri: z.ZodString;
16020
+ }, z.core.$strict>, z.ZodObject<{
16021
+ kind: z.ZodLiteral<"catch-all">;
16022
+ description: z.ZodString;
16023
+ verb: z.ZodEnum<{
16024
+ read: "read";
16025
+ write: "write";
16026
+ edit: "edit";
16027
+ delete: "delete";
16028
+ }>;
16029
+ }, z.core.$strict>], "kind">>;
16030
+ }, z.core.$strict>>;
15301
16031
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15302
16032
  kind: z.ZodLiteral<"scheme">;
15303
16033
  scheme: z.ZodString;
@@ -15334,27 +16064,27 @@ export declare const UriModuleContribution: z.ZodObject<{
15334
16064
  list: "list";
15335
16065
  read: "read";
15336
16066
  write: "write";
15337
- help: "help";
15338
16067
  edit: "edit";
15339
16068
  delete: "delete";
16069
+ help: "help";
15340
16070
  }>>>;
15341
16071
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
15342
16072
  search: "search";
15343
16073
  list: "list";
15344
16074
  read: "read";
15345
16075
  write: "write";
15346
- help: "help";
15347
16076
  edit: "edit";
15348
16077
  delete: "delete";
16078
+ help: "help";
15349
16079
  }> & z.core.$partial, z.ZodString>>;
15350
16080
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
15351
16081
  search: "search";
15352
16082
  list: "list";
15353
16083
  read: "read";
15354
16084
  write: "write";
15355
- help: "help";
15356
16085
  edit: "edit";
15357
16086
  delete: "delete";
16087
+ help: "help";
15358
16088
  }> & z.core.$partial, z.ZodEnum<{
15359
16089
  never: "never";
15360
16090
  allow: "allow";
@@ -15416,9 +16146,9 @@ export declare const UriModuleContribution: z.ZodObject<{
15416
16146
  list: "list";
15417
16147
  read: "read";
15418
16148
  write: "write";
15419
- help: "help";
15420
16149
  edit: "edit";
15421
16150
  delete: "delete";
16151
+ help: "help";
15422
16152
  }>>>;
15423
16153
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
15424
16154
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15429,9 +16159,9 @@ export declare const UriModuleContribution: z.ZodObject<{
15429
16159
  list: "list";
15430
16160
  read: "read";
15431
16161
  write: "write";
15432
- help: "help";
15433
16162
  edit: "edit";
15434
16163
  delete: "delete";
16164
+ help: "help";
15435
16165
  }>>>;
15436
16166
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
15437
16167
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15465,6 +16195,32 @@ export declare const UriModuleContribution: z.ZodObject<{
15465
16195
  export declare type UriModuleContribution = z.infer<typeof UriModuleContribution>;
15466
16196
 
15467
16197
  declare const UriModuleFacts: z.ZodObject<{
16198
+ screenActions: z.ZodExactOptional<z.ZodObject<{
16199
+ scheme: z.ZodString;
16200
+ hosts: z.ZodArray<z.ZodString>;
16201
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
16202
+ apps: z.ZodArray<z.ZodString>;
16203
+ options: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
16204
+ kind: z.ZodLiteral<"exact">;
16205
+ description: z.ZodString;
16206
+ verb: z.ZodEnum<{
16207
+ read: "read";
16208
+ write: "write";
16209
+ edit: "edit";
16210
+ delete: "delete";
16211
+ }>;
16212
+ uri: z.ZodString;
16213
+ }, z.core.$strict>, z.ZodObject<{
16214
+ kind: z.ZodLiteral<"catch-all">;
16215
+ description: z.ZodString;
16216
+ verb: z.ZodEnum<{
16217
+ read: "read";
16218
+ write: "write";
16219
+ edit: "edit";
16220
+ delete: "delete";
16221
+ }>;
16222
+ }, z.core.$strict>], "kind">>;
16223
+ }, z.core.$strict>>;
15468
16224
  claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
15469
16225
  kind: z.ZodLiteral<"scheme">;
15470
16226
  scheme: z.ZodString;
@@ -15501,27 +16257,27 @@ declare const UriModuleFacts: z.ZodObject<{
15501
16257
  list: "list";
15502
16258
  read: "read";
15503
16259
  write: "write";
15504
- help: "help";
15505
16260
  edit: "edit";
15506
16261
  delete: "delete";
16262
+ help: "help";
15507
16263
  }>>>;
15508
16264
  operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
15509
16265
  search: "search";
15510
16266
  list: "list";
15511
16267
  read: "read";
15512
16268
  write: "write";
15513
- help: "help";
15514
16269
  edit: "edit";
15515
16270
  delete: "delete";
16271
+ help: "help";
15516
16272
  }> & z.core.$partial, z.ZodString>>;
15517
16273
  operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
15518
16274
  search: "search";
15519
16275
  list: "list";
15520
16276
  read: "read";
15521
16277
  write: "write";
15522
- help: "help";
15523
16278
  edit: "edit";
15524
16279
  delete: "delete";
16280
+ help: "help";
15525
16281
  }> & z.core.$partial, z.ZodEnum<{
15526
16282
  never: "never";
15527
16283
  allow: "allow";
@@ -15583,9 +16339,9 @@ declare const UriModuleFacts: z.ZodObject<{
15583
16339
  list: "list";
15584
16340
  read: "read";
15585
16341
  write: "write";
15586
- help: "help";
15587
16342
  edit: "edit";
15588
16343
  delete: "delete";
16344
+ help: "help";
15589
16345
  }>>>;
15590
16346
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
15591
16347
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -15596,9 +16352,9 @@ declare const UriModuleFacts: z.ZodObject<{
15596
16352
  list: "list";
15597
16353
  read: "read";
15598
16354
  write: "write";
15599
- help: "help";
15600
16355
  edit: "edit";
15601
16356
  delete: "delete";
16357
+ help: "help";
15602
16358
  }>>>;
15603
16359
  routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
15604
16360
  query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;