@yaklabs-ai/plugin-protocol 0.14.0 → 0.14.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 CHANGED
@@ -11,7 +11,7 @@ flow.
11
11
  ```json
12
12
  {
13
13
  "dependencies": {
14
- "@bonsai/plugin-protocol": "npm:@yaklabs-ai/plugin-protocol@^0.14.0"
14
+ "@bonsai/plugin-protocol": "npm:@yaklabs-ai/plugin-protocol@^0.14.1"
15
15
  }
16
16
  }
17
17
  ```
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@yaklabs-ai/plugin-protocol",
4
- "version": "0.14.0",
4
+ "version": "0.14.1",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [],
package/dist/index.d.ts CHANGED
@@ -1273,6 +1273,7 @@ export declare type AuthGrantFrontDoor = z.infer<typeof AuthGrantFrontDoor>;
1273
1273
 
1274
1274
  export declare const AuthGrantOperation: z.ZodEnum<{
1275
1275
  status: "status";
1276
+ list: "list";
1276
1277
  connect: "connect";
1277
1278
  disconnect: "disconnect";
1278
1279
  resolve: "resolve";
@@ -1285,6 +1286,7 @@ export declare const AuthGrantRequest: z.ZodObject<{
1285
1286
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1286
1287
  operations: z.ZodArray<z.ZodEnum<{
1287
1288
  status: "status";
1289
+ list: "list";
1288
1290
  connect: "connect";
1289
1291
  disconnect: "disconnect";
1290
1292
  resolve: "resolve";
@@ -2095,7 +2097,7 @@ export declare const KAY_EVENT_PUBLISHER_ID: "kay";
2095
2097
  declare const KAY_PLUGIN_COMPATIBILITY_REFUSAL_CODES: readonly ["unsupported-protocol", "sdk-range-unsatisfied", "sdk-range-unsupported", "host-sdk-version-invalid"];
2096
2098
 
2097
2099
  /** Released SDK contracts still implemented by the host, alongside its current SDK. */
2098
- export declare const KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS: readonly ["0.8.0", "0.8.1", "0.8.2", "0.8.3", "0.8.4", "0.8.5", "0.9.0", "0.9.1", "0.10.0", "0.11.0", "0.11.1", "0.12.0", "0.12.1", "0.12.2", "0.12.3", "0.12.4", "0.12.5", "0.13.0", "0.13.1", "0.13.2", "0.13.3", "0.13.4", "0.13.5", "0.13.6", "0.13.7", "0.13.8", "0.13.9", "0.13.10"];
2100
+ export declare const KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS: readonly ["0.8.0", "0.8.1", "0.8.2", "0.8.3", "0.8.4", "0.8.5", "0.9.0", "0.9.1", "0.10.0", "0.11.0", "0.11.1", "0.12.0", "0.12.1", "0.12.2", "0.12.3", "0.12.4", "0.12.5", "0.13.0", "0.13.1", "0.13.2", "0.13.3", "0.13.4", "0.13.5", "0.13.6", "0.13.7", "0.13.8", "0.13.9", "0.13.10", "0.14.0"];
2099
2101
 
2100
2102
  /** The file whose presence makes a directory a plugin. A directory without one is not a plugin. */
2101
2103
  export declare const KAY_PLUGIN_MANIFEST_FILENAME = "kay-plugin.json";
@@ -2419,8 +2421,12 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2419
2421
  * every earlier release stays in the retention list, so a plugin compiled against 0.13.x that
2420
2422
  * reads `api.withJev` gets `undefined` at the call, and one that imports a value from
2421
2423
  * `@bonsai/plugin-sdk/jev` fails at load. No plugin used either.
2424
+ *
2425
+ * 0.14.1 adds the owned-service `kay.app` auth list operation and `listAccounts`.
2426
+ * Existing resolve-only `has` callers retain account bounds and now probe metadata without
2427
+ * resolving credentials. Plugins using list declare `^0.14.1` so older hosts refuse at load.
2422
2428
  */
2423
- export declare const KAY_PLUGIN_SDK_VERSION: "0.14.0";
2429
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.14.1";
2424
2430
 
2425
2431
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2426
2432
 
@@ -3363,6 +3369,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
3363
3369
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3364
3370
  operations: z.ZodArray<z.ZodEnum<{
3365
3371
  status: "status";
3372
+ list: "list";
3366
3373
  connect: "connect";
3367
3374
  disconnect: "disconnect";
3368
3375
  resolve: "resolve";
@@ -3457,6 +3464,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
3457
3464
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3458
3465
  operations: z.ZodArray<z.ZodEnum<{
3459
3466
  status: "status";
3467
+ list: "list";
3460
3468
  connect: "connect";
3461
3469
  disconnect: "disconnect";
3462
3470
  resolve: "resolve";
@@ -3551,6 +3559,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
3551
3559
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3552
3560
  operations: z.ZodArray<z.ZodEnum<{
3553
3561
  status: "status";
3562
+ list: "list";
3554
3563
  connect: "connect";
3555
3564
  disconnect: "disconnect";
3556
3565
  resolve: "resolve";
@@ -5794,6 +5803,7 @@ export declare const PluginPermissionManifest: z.ZodObject<{
5794
5803
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
5795
5804
  operations: z.ZodArray<z.ZodEnum<{
5796
5805
  status: "status";
5806
+ list: "list";
5797
5807
  connect: "connect";
5798
5808
  disconnect: "disconnect";
5799
5809
  resolve: "resolve";
@@ -5888,6 +5898,7 @@ export declare const PluginPermissionManifest: z.ZodObject<{
5888
5898
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
5889
5899
  operations: z.ZodArray<z.ZodEnum<{
5890
5900
  status: "status";
5901
+ list: "list";
5891
5902
  connect: "connect";
5892
5903
  disconnect: "disconnect";
5893
5904
  resolve: "resolve";
@@ -5982,6 +5993,7 @@ export declare const PluginPermissionManifest: z.ZodObject<{
5982
5993
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
5983
5994
  operations: z.ZodArray<z.ZodEnum<{
5984
5995
  status: "status";
5996
+ list: "list";
5985
5997
  connect: "connect";
5986
5998
  disconnect: "disconnect";
5987
5999
  resolve: "resolve";
@@ -6443,6 +6455,7 @@ export declare function resolveAdapterId(globalId: GlobalContributionId, declare
6443
6455
  export declare const ResolvedAuthGrantRequest: z.ZodObject<{
6444
6456
  operations: z.ZodArray<z.ZodEnum<{
6445
6457
  status: "status";
6458
+ list: "list";
6446
6459
  connect: "connect";
6447
6460
  disconnect: "disconnect";
6448
6461
  resolve: "resolve";
@@ -7213,6 +7226,7 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
7213
7226
  auth: z.ZodOptional<z.ZodArray<z.ZodObject<{
7214
7227
  operations: z.ZodArray<z.ZodEnum<{
7215
7228
  status: "status";
7229
+ list: "list";
7216
7230
  connect: "connect";
7217
7231
  disconnect: "disconnect";
7218
7232
  resolve: "resolve";
@@ -7307,6 +7321,7 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
7307
7321
  auth: z.ZodOptional<z.ZodArray<z.ZodObject<{
7308
7322
  operations: z.ZodArray<z.ZodEnum<{
7309
7323
  status: "status";
7324
+ list: "list";
7310
7325
  connect: "connect";
7311
7326
  disconnect: "disconnect";
7312
7327
  resolve: "resolve";
@@ -7401,6 +7416,7 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
7401
7416
  auth: z.ZodOptional<z.ZodArray<z.ZodObject<{
7402
7417
  operations: z.ZodArray<z.ZodEnum<{
7403
7418
  status: "status";
7419
+ list: "list";
7404
7420
  connect: "connect";
7405
7421
  disconnect: "disconnect";
7406
7422
  resolve: "resolve";
@@ -7734,6 +7750,7 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
7734
7750
  auth: z.ZodOptional<z.ZodArray<z.ZodObject<{
7735
7751
  operations: z.ZodArray<z.ZodEnum<{
7736
7752
  status: "status";
7753
+ list: "list";
7737
7754
  connect: "connect";
7738
7755
  disconnect: "disconnect";
7739
7756
  resolve: "resolve";
@@ -7828,6 +7845,7 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
7828
7845
  auth: z.ZodOptional<z.ZodArray<z.ZodObject<{
7829
7846
  operations: z.ZodArray<z.ZodEnum<{
7830
7847
  status: "status";
7848
+ list: "list";
7831
7849
  connect: "connect";
7832
7850
  disconnect: "disconnect";
7833
7851
  resolve: "resolve";
@@ -7922,6 +7940,7 @@ export declare const ResolvedPluginGrants: z.ZodObject<{
7922
7940
  auth: z.ZodOptional<z.ZodArray<z.ZodObject<{
7923
7941
  operations: z.ZodArray<z.ZodEnum<{
7924
7942
  status: "status";
7943
+ list: "list";
7925
7944
  connect: "connect";
7926
7945
  disconnect: "disconnect";
7927
7946
  resolve: "resolve";
@@ -8123,6 +8142,7 @@ export declare const ResolvedTargetGrantSet: z.ZodObject<{
8123
8142
  auth: z.ZodOptional<z.ZodArray<z.ZodObject<{
8124
8143
  operations: z.ZodArray<z.ZodEnum<{
8125
8144
  status: "status";
8145
+ list: "list";
8126
8146
  connect: "connect";
8127
8147
  disconnect: "disconnect";
8128
8148
  resolve: "resolve";
@@ -8873,6 +8893,7 @@ export declare const TargetPermissionSet: z.ZodPreprocess<z.ZodObject<{
8873
8893
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
8874
8894
  operations: z.ZodArray<z.ZodEnum<{
8875
8895
  status: "status";
8896
+ list: "list";
8876
8897
  connect: "connect";
8877
8898
  disconnect: "disconnect";
8878
8899
  resolve: "resolve";
@@ -8999,6 +9020,7 @@ export declare const TargetPermissionWiring: z.ZodObject<{
8999
9020
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
9000
9021
  operations: z.ZodArray<z.ZodEnum<{
9001
9022
  status: "status";
9023
+ list: "list";
9002
9024
  connect: "connect";
9003
9025
  disconnect: "disconnect";
9004
9026
  resolve: "resolve";
package/dist/index.js CHANGED
@@ -136,7 +136,7 @@ var JsonSchema = z2.record(z2.string(), JsonValue);
136
136
  // packages/plugin-protocol/dist/common.js
137
137
  var KAY_PLUGIN_PROTOCOL_VERSION = "kay.plugin.v1";
138
138
  var KAY_PLUGIN_PROTOCOL_PACKAGE_NAME = "@bonsai/plugin-protocol";
139
- var KAY_PLUGIN_SDK_VERSION = "0.14.0";
139
+ var KAY_PLUGIN_SDK_VERSION = "0.14.1";
140
140
  var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
141
141
  "0.8.0",
142
142
  "0.8.1",
@@ -165,7 +165,8 @@ var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
165
165
  "0.13.7",
166
166
  "0.13.8",
167
167
  "0.13.9",
168
- "0.13.10"
168
+ "0.13.10",
169
+ "0.14.0"
169
170
  ];
170
171
  var KAY_PLUGIN_TARGET_NAMES = [
171
172
  "kay.agent",
@@ -1122,6 +1123,7 @@ function resolveAdapterId(globalId, declaredAdapterId) {
1122
1123
  // packages/plugin-protocol/dist/permissions.js
1123
1124
  var AuthGrantOperation = z7.enum([
1124
1125
  "status",
1126
+ "list",
1125
1127
  "connect",
1126
1128
  "disconnect",
1127
1129
  "resolve"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-protocol",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "The Kay plugin manifest schema (`kay.plugin.v1`) — parse and validate a kay-plugin.json.",
5
5
  "author": "YakLabs",
6
6
  "type": "module",