@yaklabs-ai/plugin-protocol 0.48.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/README.md +1 -1
- package/THIRD-PARTY-INVENTORY.json +1 -1
- package/dist/index.d.ts +795 -55
- package/dist/index.js +113 -4
- package/package.json +1 -1
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,10 @@ 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.
|
|
4526
4739
|
*/
|
|
4527
|
-
export declare const KAY_PLUGIN_SDK_VERSION: "0.48.
|
|
4740
|
+
export declare const KAY_PLUGIN_SDK_VERSION: "0.48.1";
|
|
4528
4741
|
|
|
4529
4742
|
export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
|
|
4530
4743
|
|
|
@@ -4569,6 +4782,28 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
|
|
|
4569
4782
|
scheme: z.ZodOptional<z.ZodString>;
|
|
4570
4783
|
resourcePrefix: z.ZodOptional<z.ZodString>;
|
|
4571
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>>>;
|
|
4572
4807
|
}, z.core.$strict>>;
|
|
4573
4808
|
localId: z.ZodString;
|
|
4574
4809
|
toolName: z.ZodString;
|
|
@@ -4588,6 +4823,32 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
|
|
|
4588
4823
|
knownResources: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4589
4824
|
describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4590
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>>;
|
|
4591
4852
|
claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4592
4853
|
kind: z.ZodLiteral<"scheme">;
|
|
4593
4854
|
scheme: z.ZodString;
|
|
@@ -4624,27 +4885,27 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
|
|
|
4624
4885
|
list: "list";
|
|
4625
4886
|
read: "read";
|
|
4626
4887
|
write: "write";
|
|
4627
|
-
help: "help";
|
|
4628
4888
|
edit: "edit";
|
|
4629
4889
|
delete: "delete";
|
|
4890
|
+
help: "help";
|
|
4630
4891
|
}>>>;
|
|
4631
4892
|
operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
4632
4893
|
search: "search";
|
|
4633
4894
|
list: "list";
|
|
4634
4895
|
read: "read";
|
|
4635
4896
|
write: "write";
|
|
4636
|
-
help: "help";
|
|
4637
4897
|
edit: "edit";
|
|
4638
4898
|
delete: "delete";
|
|
4899
|
+
help: "help";
|
|
4639
4900
|
}> & z.core.$partial, z.ZodString>>;
|
|
4640
4901
|
operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
4641
4902
|
search: "search";
|
|
4642
4903
|
list: "list";
|
|
4643
4904
|
read: "read";
|
|
4644
4905
|
write: "write";
|
|
4645
|
-
help: "help";
|
|
4646
4906
|
edit: "edit";
|
|
4647
4907
|
delete: "delete";
|
|
4908
|
+
help: "help";
|
|
4648
4909
|
}> & z.core.$partial, z.ZodEnum<{
|
|
4649
4910
|
never: "never";
|
|
4650
4911
|
allow: "allow";
|
|
@@ -4706,9 +4967,9 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
|
|
|
4706
4967
|
list: "list";
|
|
4707
4968
|
read: "read";
|
|
4708
4969
|
write: "write";
|
|
4709
|
-
help: "help";
|
|
4710
4970
|
edit: "edit";
|
|
4711
4971
|
delete: "delete";
|
|
4972
|
+
help: "help";
|
|
4712
4973
|
}>>>;
|
|
4713
4974
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
4714
4975
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -4719,9 +4980,9 @@ export declare const KayAgentTargetManifest: z.ZodObject<{
|
|
|
4719
4980
|
list: "list";
|
|
4720
4981
|
read: "read";
|
|
4721
4982
|
write: "write";
|
|
4722
|
-
help: "help";
|
|
4723
4983
|
edit: "edit";
|
|
4724
4984
|
delete: "delete";
|
|
4985
|
+
help: "help";
|
|
4725
4986
|
}>>>;
|
|
4726
4987
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
4727
4988
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -4863,6 +5124,47 @@ export declare const KayAppTargetManifest: z.ZodObject<{
|
|
|
4863
5124
|
}, z.core.$strict>>;
|
|
4864
5125
|
contributes: z.ZodOptional<z.ZodObject<{
|
|
4865
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>>;
|
|
4866
5168
|
localId: z.ZodString;
|
|
4867
5169
|
toolName: z.ZodString;
|
|
4868
5170
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -4893,6 +5195,32 @@ export declare const KayAppTargetManifest: z.ZodObject<{
|
|
|
4893
5195
|
localId: z.ZodString;
|
|
4894
5196
|
displayName: z.ZodOptional<z.ZodString>;
|
|
4895
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>>;
|
|
4896
5224
|
claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4897
5225
|
kind: z.ZodLiteral<"scheme">;
|
|
4898
5226
|
scheme: z.ZodString;
|
|
@@ -4929,27 +5257,27 @@ export declare const KayAppTargetManifest: z.ZodObject<{
|
|
|
4929
5257
|
list: "list";
|
|
4930
5258
|
read: "read";
|
|
4931
5259
|
write: "write";
|
|
4932
|
-
help: "help";
|
|
4933
5260
|
edit: "edit";
|
|
4934
5261
|
delete: "delete";
|
|
5262
|
+
help: "help";
|
|
4935
5263
|
}>>>;
|
|
4936
5264
|
operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
4937
5265
|
search: "search";
|
|
4938
5266
|
list: "list";
|
|
4939
5267
|
read: "read";
|
|
4940
5268
|
write: "write";
|
|
4941
|
-
help: "help";
|
|
4942
5269
|
edit: "edit";
|
|
4943
5270
|
delete: "delete";
|
|
5271
|
+
help: "help";
|
|
4944
5272
|
}> & z.core.$partial, z.ZodString>>;
|
|
4945
5273
|
operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
4946
5274
|
search: "search";
|
|
4947
5275
|
list: "list";
|
|
4948
5276
|
read: "read";
|
|
4949
5277
|
write: "write";
|
|
4950
|
-
help: "help";
|
|
4951
5278
|
edit: "edit";
|
|
4952
5279
|
delete: "delete";
|
|
5280
|
+
help: "help";
|
|
4953
5281
|
}> & z.core.$partial, z.ZodEnum<{
|
|
4954
5282
|
never: "never";
|
|
4955
5283
|
allow: "allow";
|
|
@@ -5371,6 +5699,28 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
5371
5699
|
scheme: z.ZodOptional<z.ZodString>;
|
|
5372
5700
|
resourcePrefix: z.ZodOptional<z.ZodString>;
|
|
5373
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>>>;
|
|
5374
5724
|
}, z.core.$strict>>;
|
|
5375
5725
|
localId: z.ZodString;
|
|
5376
5726
|
toolName: z.ZodString;
|
|
@@ -5390,6 +5740,32 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
5390
5740
|
knownResources: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5391
5741
|
describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5392
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>>;
|
|
5393
5769
|
claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5394
5770
|
kind: z.ZodLiteral<"scheme">;
|
|
5395
5771
|
scheme: z.ZodString;
|
|
@@ -5426,27 +5802,27 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
5426
5802
|
list: "list";
|
|
5427
5803
|
read: "read";
|
|
5428
5804
|
write: "write";
|
|
5429
|
-
help: "help";
|
|
5430
5805
|
edit: "edit";
|
|
5431
5806
|
delete: "delete";
|
|
5807
|
+
help: "help";
|
|
5432
5808
|
}>>>;
|
|
5433
5809
|
operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
5434
5810
|
search: "search";
|
|
5435
5811
|
list: "list";
|
|
5436
5812
|
read: "read";
|
|
5437
5813
|
write: "write";
|
|
5438
|
-
help: "help";
|
|
5439
5814
|
edit: "edit";
|
|
5440
5815
|
delete: "delete";
|
|
5816
|
+
help: "help";
|
|
5441
5817
|
}> & z.core.$partial, z.ZodString>>;
|
|
5442
5818
|
operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
5443
5819
|
search: "search";
|
|
5444
5820
|
list: "list";
|
|
5445
5821
|
read: "read";
|
|
5446
5822
|
write: "write";
|
|
5447
|
-
help: "help";
|
|
5448
5823
|
edit: "edit";
|
|
5449
5824
|
delete: "delete";
|
|
5825
|
+
help: "help";
|
|
5450
5826
|
}> & z.core.$partial, z.ZodEnum<{
|
|
5451
5827
|
never: "never";
|
|
5452
5828
|
allow: "allow";
|
|
@@ -5508,9 +5884,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
5508
5884
|
list: "list";
|
|
5509
5885
|
read: "read";
|
|
5510
5886
|
write: "write";
|
|
5511
|
-
help: "help";
|
|
5512
5887
|
edit: "edit";
|
|
5513
5888
|
delete: "delete";
|
|
5889
|
+
help: "help";
|
|
5514
5890
|
}>>>;
|
|
5515
5891
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
5516
5892
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -5521,9 +5897,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
5521
5897
|
list: "list";
|
|
5522
5898
|
read: "read";
|
|
5523
5899
|
write: "write";
|
|
5524
|
-
help: "help";
|
|
5525
5900
|
edit: "edit";
|
|
5526
5901
|
delete: "delete";
|
|
5902
|
+
help: "help";
|
|
5527
5903
|
}>>>;
|
|
5528
5904
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
5529
5905
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -5662,6 +6038,47 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
5662
6038
|
}, z.core.$strict>>;
|
|
5663
6039
|
contributes: z.ZodOptional<z.ZodObject<{
|
|
5664
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>>;
|
|
5665
6082
|
localId: z.ZodString;
|
|
5666
6083
|
toolName: z.ZodString;
|
|
5667
6084
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -5692,6 +6109,32 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
5692
6109
|
localId: z.ZodString;
|
|
5693
6110
|
displayName: z.ZodOptional<z.ZodString>;
|
|
5694
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>>;
|
|
5695
6138
|
claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5696
6139
|
kind: z.ZodLiteral<"scheme">;
|
|
5697
6140
|
scheme: z.ZodString;
|
|
@@ -5728,27 +6171,27 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
5728
6171
|
list: "list";
|
|
5729
6172
|
read: "read";
|
|
5730
6173
|
write: "write";
|
|
5731
|
-
help: "help";
|
|
5732
6174
|
edit: "edit";
|
|
5733
6175
|
delete: "delete";
|
|
6176
|
+
help: "help";
|
|
5734
6177
|
}>>>;
|
|
5735
6178
|
operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
5736
6179
|
search: "search";
|
|
5737
6180
|
list: "list";
|
|
5738
6181
|
read: "read";
|
|
5739
6182
|
write: "write";
|
|
5740
|
-
help: "help";
|
|
5741
6183
|
edit: "edit";
|
|
5742
6184
|
delete: "delete";
|
|
6185
|
+
help: "help";
|
|
5743
6186
|
}> & z.core.$partial, z.ZodString>>;
|
|
5744
6187
|
operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
5745
6188
|
search: "search";
|
|
5746
6189
|
list: "list";
|
|
5747
6190
|
read: "read";
|
|
5748
6191
|
write: "write";
|
|
5749
|
-
help: "help";
|
|
5750
6192
|
edit: "edit";
|
|
5751
6193
|
delete: "delete";
|
|
6194
|
+
help: "help";
|
|
5752
6195
|
}> & z.core.$partial, z.ZodEnum<{
|
|
5753
6196
|
never: "never";
|
|
5754
6197
|
allow: "allow";
|
|
@@ -11631,6 +12074,28 @@ export declare const ResolvedKayAgentTool: z.ZodObject<{
|
|
|
11631
12074
|
scheme: z.ZodOptional<z.ZodString>;
|
|
11632
12075
|
resourcePrefix: z.ZodOptional<z.ZodString>;
|
|
11633
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>>>;
|
|
11634
12099
|
}, z.core.$strict>>;
|
|
11635
12100
|
localId: z.ZodString;
|
|
11636
12101
|
globalId: z.ZodString;
|
|
@@ -11640,6 +12105,32 @@ export declare const ResolvedKayAgentTool: z.ZodObject<{
|
|
|
11640
12105
|
export declare type ResolvedKayAgentTool = z.infer<typeof ResolvedKayAgentTool>;
|
|
11641
12106
|
|
|
11642
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>>;
|
|
11643
12134
|
claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11644
12135
|
kind: z.ZodLiteral<"scheme">;
|
|
11645
12136
|
scheme: z.ZodString;
|
|
@@ -11676,27 +12167,27 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
|
|
|
11676
12167
|
list: "list";
|
|
11677
12168
|
read: "read";
|
|
11678
12169
|
write: "write";
|
|
11679
|
-
help: "help";
|
|
11680
12170
|
edit: "edit";
|
|
11681
12171
|
delete: "delete";
|
|
12172
|
+
help: "help";
|
|
11682
12173
|
}>>>;
|
|
11683
12174
|
operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
11684
12175
|
search: "search";
|
|
11685
12176
|
list: "list";
|
|
11686
12177
|
read: "read";
|
|
11687
12178
|
write: "write";
|
|
11688
|
-
help: "help";
|
|
11689
12179
|
edit: "edit";
|
|
11690
12180
|
delete: "delete";
|
|
12181
|
+
help: "help";
|
|
11691
12182
|
}> & z.core.$partial, z.ZodString>>;
|
|
11692
12183
|
operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
11693
12184
|
search: "search";
|
|
11694
12185
|
list: "list";
|
|
11695
12186
|
read: "read";
|
|
11696
12187
|
write: "write";
|
|
11697
|
-
help: "help";
|
|
11698
12188
|
edit: "edit";
|
|
11699
12189
|
delete: "delete";
|
|
12190
|
+
help: "help";
|
|
11700
12191
|
}> & z.core.$partial, z.ZodEnum<{
|
|
11701
12192
|
never: "never";
|
|
11702
12193
|
allow: "allow";
|
|
@@ -11758,9 +12249,9 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
|
|
|
11758
12249
|
list: "list";
|
|
11759
12250
|
read: "read";
|
|
11760
12251
|
write: "write";
|
|
11761
|
-
help: "help";
|
|
11762
12252
|
edit: "edit";
|
|
11763
12253
|
delete: "delete";
|
|
12254
|
+
help: "help";
|
|
11764
12255
|
}>>>;
|
|
11765
12256
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
11766
12257
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -11771,9 +12262,9 @@ export declare const ResolvedKayAgentUriModule: z.ZodObject<{
|
|
|
11771
12262
|
list: "list";
|
|
11772
12263
|
read: "read";
|
|
11773
12264
|
write: "write";
|
|
11774
|
-
help: "help";
|
|
11775
12265
|
edit: "edit";
|
|
11776
12266
|
delete: "delete";
|
|
12267
|
+
help: "help";
|
|
11777
12268
|
}>>>;
|
|
11778
12269
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
11779
12270
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -11950,9 +12441,52 @@ export declare const ResolvedKayAppMcpServer: z.ZodObject<{
|
|
|
11950
12441
|
export declare type ResolvedKayAppMcpServer = z.infer<typeof ResolvedKayAppMcpServer>;
|
|
11951
12442
|
|
|
11952
12443
|
export declare const ResolvedKayAppTool: z.ZodObject<{
|
|
12444
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11953
12445
|
localId: z.ZodString;
|
|
11954
|
-
|
|
12446
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
11955
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;
|
|
11956
12490
|
}, z.core.$strict>;
|
|
11957
12491
|
|
|
11958
12492
|
export declare type ResolvedKayAppTool = z.infer<typeof ResolvedKayAppTool>;
|
|
@@ -12873,6 +13407,32 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
|
|
|
12873
13407
|
}, z.core.$strict>;
|
|
12874
13408
|
}, z.core.$strict>>;
|
|
12875
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>>;
|
|
12876
13436
|
claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12877
13437
|
kind: z.ZodLiteral<"scheme">;
|
|
12878
13438
|
scheme: z.ZodString;
|
|
@@ -12909,27 +13469,27 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
|
|
|
12909
13469
|
list: "list";
|
|
12910
13470
|
read: "read";
|
|
12911
13471
|
write: "write";
|
|
12912
|
-
help: "help";
|
|
12913
13472
|
edit: "edit";
|
|
12914
13473
|
delete: "delete";
|
|
13474
|
+
help: "help";
|
|
12915
13475
|
}>>>;
|
|
12916
13476
|
operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
12917
13477
|
search: "search";
|
|
12918
13478
|
list: "list";
|
|
12919
13479
|
read: "read";
|
|
12920
13480
|
write: "write";
|
|
12921
|
-
help: "help";
|
|
12922
13481
|
edit: "edit";
|
|
12923
13482
|
delete: "delete";
|
|
13483
|
+
help: "help";
|
|
12924
13484
|
}> & z.core.$partial, z.ZodString>>;
|
|
12925
13485
|
operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
12926
13486
|
search: "search";
|
|
12927
13487
|
list: "list";
|
|
12928
13488
|
read: "read";
|
|
12929
13489
|
write: "write";
|
|
12930
|
-
help: "help";
|
|
12931
13490
|
edit: "edit";
|
|
12932
13491
|
delete: "delete";
|
|
13492
|
+
help: "help";
|
|
12933
13493
|
}> & z.core.$partial, z.ZodEnum<{
|
|
12934
13494
|
never: "never";
|
|
12935
13495
|
allow: "allow";
|
|
@@ -12991,9 +13551,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
|
|
|
12991
13551
|
list: "list";
|
|
12992
13552
|
read: "read";
|
|
12993
13553
|
write: "write";
|
|
12994
|
-
help: "help";
|
|
12995
13554
|
edit: "edit";
|
|
12996
13555
|
delete: "delete";
|
|
13556
|
+
help: "help";
|
|
12997
13557
|
}>>>;
|
|
12998
13558
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
12999
13559
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -13004,9 +13564,9 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
|
|
|
13004
13564
|
list: "list";
|
|
13005
13565
|
read: "read";
|
|
13006
13566
|
write: "write";
|
|
13007
|
-
help: "help";
|
|
13008
13567
|
edit: "edit";
|
|
13009
13568
|
delete: "delete";
|
|
13569
|
+
help: "help";
|
|
13010
13570
|
}>>>;
|
|
13011
13571
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
13012
13572
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -13095,15 +13655,80 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
|
|
|
13095
13655
|
scheme: z.ZodOptional<z.ZodString>;
|
|
13096
13656
|
resourcePrefix: z.ZodOptional<z.ZodString>;
|
|
13097
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>>>;
|
|
13098
13680
|
}, z.core.$strict>>;
|
|
13099
13681
|
localId: z.ZodString;
|
|
13100
13682
|
globalId: z.ZodString;
|
|
13101
13683
|
toolName: z.ZodString;
|
|
13102
13684
|
}, z.core.$strict>>>;
|
|
13103
13685
|
kayAppTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13686
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13104
13687
|
localId: z.ZodString;
|
|
13105
|
-
|
|
13688
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
13106
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;
|
|
13107
13732
|
}, z.core.$strict>>>;
|
|
13108
13733
|
kayAppApprovalTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13109
13734
|
kind: z.ZodLiteral<"message">;
|
|
@@ -14999,6 +15624,47 @@ export declare type ThemeContribution = z.infer<typeof ThemeContribution>;
|
|
|
14999
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"];
|
|
15000
15625
|
|
|
15001
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>>;
|
|
15002
15668
|
localId: z.ZodString;
|
|
15003
15669
|
toolName: z.ZodString;
|
|
15004
15670
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -15021,6 +15687,28 @@ export declare const ToolPermission: z.ZodObject<{
|
|
|
15021
15687
|
scheme: z.ZodOptional<z.ZodString>;
|
|
15022
15688
|
resourcePrefix: z.ZodOptional<z.ZodString>;
|
|
15023
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>>>;
|
|
15024
15712
|
}, z.core.$strict>;
|
|
15025
15713
|
|
|
15026
15714
|
export declare type ToolPermission = z.infer<typeof ToolPermission>;
|
|
@@ -15314,6 +16002,32 @@ export declare const UriModuleContribution: z.ZodObject<{
|
|
|
15314
16002
|
knownResources: z.ZodOptional<z.ZodLiteral<true>>;
|
|
15315
16003
|
describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
|
|
15316
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>>;
|
|
15317
16031
|
claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15318
16032
|
kind: z.ZodLiteral<"scheme">;
|
|
15319
16033
|
scheme: z.ZodString;
|
|
@@ -15350,27 +16064,27 @@ export declare const UriModuleContribution: z.ZodObject<{
|
|
|
15350
16064
|
list: "list";
|
|
15351
16065
|
read: "read";
|
|
15352
16066
|
write: "write";
|
|
15353
|
-
help: "help";
|
|
15354
16067
|
edit: "edit";
|
|
15355
16068
|
delete: "delete";
|
|
16069
|
+
help: "help";
|
|
15356
16070
|
}>>>;
|
|
15357
16071
|
operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
15358
16072
|
search: "search";
|
|
15359
16073
|
list: "list";
|
|
15360
16074
|
read: "read";
|
|
15361
16075
|
write: "write";
|
|
15362
|
-
help: "help";
|
|
15363
16076
|
edit: "edit";
|
|
15364
16077
|
delete: "delete";
|
|
16078
|
+
help: "help";
|
|
15365
16079
|
}> & z.core.$partial, z.ZodString>>;
|
|
15366
16080
|
operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
15367
16081
|
search: "search";
|
|
15368
16082
|
list: "list";
|
|
15369
16083
|
read: "read";
|
|
15370
16084
|
write: "write";
|
|
15371
|
-
help: "help";
|
|
15372
16085
|
edit: "edit";
|
|
15373
16086
|
delete: "delete";
|
|
16087
|
+
help: "help";
|
|
15374
16088
|
}> & z.core.$partial, z.ZodEnum<{
|
|
15375
16089
|
never: "never";
|
|
15376
16090
|
allow: "allow";
|
|
@@ -15432,9 +16146,9 @@ export declare const UriModuleContribution: z.ZodObject<{
|
|
|
15432
16146
|
list: "list";
|
|
15433
16147
|
read: "read";
|
|
15434
16148
|
write: "write";
|
|
15435
|
-
help: "help";
|
|
15436
16149
|
edit: "edit";
|
|
15437
16150
|
delete: "delete";
|
|
16151
|
+
help: "help";
|
|
15438
16152
|
}>>>;
|
|
15439
16153
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
15440
16154
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -15445,9 +16159,9 @@ export declare const UriModuleContribution: z.ZodObject<{
|
|
|
15445
16159
|
list: "list";
|
|
15446
16160
|
read: "read";
|
|
15447
16161
|
write: "write";
|
|
15448
|
-
help: "help";
|
|
15449
16162
|
edit: "edit";
|
|
15450
16163
|
delete: "delete";
|
|
16164
|
+
help: "help";
|
|
15451
16165
|
}>>>;
|
|
15452
16166
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
15453
16167
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -15481,6 +16195,32 @@ export declare const UriModuleContribution: z.ZodObject<{
|
|
|
15481
16195
|
export declare type UriModuleContribution = z.infer<typeof UriModuleContribution>;
|
|
15482
16196
|
|
|
15483
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>>;
|
|
15484
16224
|
claims: z.ZodExactOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15485
16225
|
kind: z.ZodLiteral<"scheme">;
|
|
15486
16226
|
scheme: z.ZodString;
|
|
@@ -15517,27 +16257,27 @@ declare const UriModuleFacts: z.ZodObject<{
|
|
|
15517
16257
|
list: "list";
|
|
15518
16258
|
read: "read";
|
|
15519
16259
|
write: "write";
|
|
15520
|
-
help: "help";
|
|
15521
16260
|
edit: "edit";
|
|
15522
16261
|
delete: "delete";
|
|
16262
|
+
help: "help";
|
|
15523
16263
|
}>>>;
|
|
15524
16264
|
operationDocs: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
15525
16265
|
search: "search";
|
|
15526
16266
|
list: "list";
|
|
15527
16267
|
read: "read";
|
|
15528
16268
|
write: "write";
|
|
15529
|
-
help: "help";
|
|
15530
16269
|
edit: "edit";
|
|
15531
16270
|
delete: "delete";
|
|
16271
|
+
help: "help";
|
|
15532
16272
|
}> & z.core.$partial, z.ZodString>>;
|
|
15533
16273
|
operationDefaults: z.ZodExactOptional<z.ZodRecord<z.ZodEnum<{
|
|
15534
16274
|
search: "search";
|
|
15535
16275
|
list: "list";
|
|
15536
16276
|
read: "read";
|
|
15537
16277
|
write: "write";
|
|
15538
|
-
help: "help";
|
|
15539
16278
|
edit: "edit";
|
|
15540
16279
|
delete: "delete";
|
|
16280
|
+
help: "help";
|
|
15541
16281
|
}> & z.core.$partial, z.ZodEnum<{
|
|
15542
16282
|
never: "never";
|
|
15543
16283
|
allow: "allow";
|
|
@@ -15599,9 +16339,9 @@ declare const UriModuleFacts: z.ZodObject<{
|
|
|
15599
16339
|
list: "list";
|
|
15600
16340
|
read: "read";
|
|
15601
16341
|
write: "write";
|
|
15602
|
-
help: "help";
|
|
15603
16342
|
edit: "edit";
|
|
15604
16343
|
delete: "delete";
|
|
16344
|
+
help: "help";
|
|
15605
16345
|
}>>>;
|
|
15606
16346
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
15607
16347
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -15612,9 +16352,9 @@ declare const UriModuleFacts: z.ZodObject<{
|
|
|
15612
16352
|
list: "list";
|
|
15613
16353
|
read: "read";
|
|
15614
16354
|
write: "write";
|
|
15615
|
-
help: "help";
|
|
15616
16355
|
edit: "edit";
|
|
15617
16356
|
delete: "delete";
|
|
16357
|
+
help: "help";
|
|
15618
16358
|
}>>>;
|
|
15619
16359
|
routes: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
15620
16360
|
query: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|