@yaklabs-ai/plugin-protocol 0.55.7 → 0.55.9

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.55.7"
14
+ "@bonsai/plugin-protocol": "npm:@yaklabs-ai/plugin-protocol@^0.55.9"
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.55.7",
4
+ "version": "0.55.9",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [
package/dist/index.d.ts CHANGED
@@ -3140,6 +3140,7 @@ declare const canonicalContributionSchemas: {
3140
3140
  search: z.ZodOptional<z.ZodString>;
3141
3141
  }, z.core.$strict>;
3142
3142
  kind: z.ZodString;
3143
+ noun: z.ZodOptional<z.ZodString>;
3143
3144
  }, z.core.$strict>>>;
3144
3145
  noun: z.ZodOptional<z.ZodString>;
3145
3146
  target: z.ZodOptional<z.ZodString>;
@@ -3236,6 +3237,7 @@ declare const canonicalContributionSchemas: {
3236
3237
  search: z.ZodOptional<z.ZodString>;
3237
3238
  }, z.core.$strict>;
3238
3239
  kind: z.ZodString;
3240
+ noun: z.ZodOptional<z.ZodString>;
3239
3241
  }, z.core.$strict>>>;
3240
3242
  noun: z.ZodOptional<z.ZodString>;
3241
3243
  target: z.ZodOptional<z.ZodString>;
@@ -4986,8 +4988,16 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
4986
4988
  * 0.55.7 adds `compositionMatched` to the outcome of a forked `app.agents.run`: whether the child
4987
4989
  * composed like its parent, so its first request could read the parent's cached prefix (compaction
4988
4990
  * plan, phase 2). Additive; a plugin reading it declares ^0.55.7.
4991
+ *
4992
+ * 0.55.8 removes `createInvitation` from `BonsaiOrganizationActions`: the Cloud API route it called
4993
+ * was deleted in #16020, so the action had answered 404 since. No plugin can have relied on it, so
4994
+ * 0.55.7 stays compatible and no plugin range changes.
4995
+ *
4996
+ * 0.55.9 lets a reference presentation's `words.kinds` row name its own tally `noun`, so a tally
4997
+ * counts that address shape as something other than the scheme's noun ("Read 1 availability
4998
+ * check", not "Read 1 calendar event"). Additive; a plugin declaring it declares ^0.55.9.
4989
4999
  */
4990
- export declare const KAY_PLUGIN_SDK_VERSION: "0.55.7";
5000
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.55.9";
4991
5001
 
4992
5002
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
4993
5003
 
@@ -6953,6 +6963,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6953
6963
  search: z.ZodOptional<z.ZodString>;
6954
6964
  }, z.core.$strict>;
6955
6965
  kind: z.ZodString;
6966
+ noun: z.ZodOptional<z.ZodString>;
6956
6967
  }, z.core.$strict>>>;
6957
6968
  noun: z.ZodOptional<z.ZodString>;
6958
6969
  target: z.ZodOptional<z.ZodString>;
@@ -8326,6 +8337,7 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8326
8337
  search: z.ZodOptional<z.ZodString>;
8327
8338
  }, z.core.$strict>;
8328
8339
  kind: z.ZodString;
8340
+ noun: z.ZodOptional<z.ZodString>;
8329
8341
  }, z.core.$strict>>>;
8330
8342
  noun: z.ZodOptional<z.ZodString>;
8331
8343
  target: z.ZodOptional<z.ZodString>;
@@ -13068,6 +13080,7 @@ export declare const ReferencePresentationContribution: z.ZodObject<{
13068
13080
  search: z.ZodOptional<z.ZodString>;
13069
13081
  }, z.core.$strict>;
13070
13082
  kind: z.ZodString;
13083
+ noun: z.ZodOptional<z.ZodString>;
13071
13084
  }, z.core.$strict>>>;
13072
13085
  noun: z.ZodOptional<z.ZodString>;
13073
13086
  target: z.ZodOptional<z.ZodString>;
@@ -13185,6 +13198,7 @@ export declare const ReferencePresentationWords: z.ZodObject<{
13185
13198
  search: z.ZodOptional<z.ZodString>;
13186
13199
  }, z.core.$strict>;
13187
13200
  kind: z.ZodString;
13201
+ noun: z.ZodOptional<z.ZodString>;
13188
13202
  }, z.core.$strict>>>;
13189
13203
  noun: z.ZodOptional<z.ZodString>;
13190
13204
  target: z.ZodOptional<z.ZodString>;
@@ -15838,6 +15852,7 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
15838
15852
  search: z.ZodOptional<z.ZodString>;
15839
15853
  }, z.core.$strict>;
15840
15854
  kind: z.ZodString;
15855
+ noun: z.ZodOptional<z.ZodString>;
15841
15856
  }, z.core.$strict>>>;
15842
15857
  noun: z.ZodOptional<z.ZodString>;
15843
15858
  target: z.ZodOptional<z.ZodString>;
@@ -16444,6 +16459,7 @@ export declare const ResolvedReferencePresentation: z.ZodObject<{
16444
16459
  search: z.ZodOptional<z.ZodString>;
16445
16460
  }, z.core.$strict>;
16446
16461
  kind: z.ZodString;
16462
+ noun: z.ZodOptional<z.ZodString>;
16447
16463
  }, z.core.$strict>>>;
16448
16464
  noun: z.ZodOptional<z.ZodString>;
16449
16465
  target: z.ZodOptional<z.ZodString>;
package/dist/index.js CHANGED
@@ -260,8 +260,10 @@ var JsonSchema = z4.record(z4.string(), JsonValue);
260
260
  var KAY_PLUGIN_MANIFEST_SIZE_CAP_BYTES = 1024 * 1024;
261
261
  var KAY_PLUGIN_PROTOCOL_VERSION = "kay.plugin.v1";
262
262
  var KAY_PLUGIN_PROTOCOL_PACKAGE_NAME = "@bonsai/plugin-protocol";
263
- var KAY_PLUGIN_SDK_VERSION = "0.55.7";
263
+ var KAY_PLUGIN_SDK_VERSION = "0.55.9";
264
264
  var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
265
+ "0.55.8",
266
+ "0.55.7",
265
267
  "0.55.6",
266
268
  "0.55.5",
267
269
  "0.55.4",
@@ -4424,11 +4426,13 @@ function createContributionsSchemas(canonical) {
4424
4426
  kind: NonEmptyString3.optional(),
4425
4427
  /**
4426
4428
  * A more specific kind by the address's shape. The first row that matches decides, and an
4427
- * address no row matches reads `kind`.
4429
+ * address no row matches reads `kind`. A row's `noun` is what a tally counts its addresses
4430
+ * as ("availability check"); left out, the tally counts them as `noun` below.
4428
4431
  */
4429
4432
  kinds: z14.array(z14.strictObject({
4430
4433
  pattern: ReferencePresentationUriPattern2,
4431
- kind: NonEmptyString3
4434
+ kind: NonEmptyString3,
4435
+ noun: NonEmptyString3.optional()
4432
4436
  })).min(1).optional(),
4433
4437
  /** What a tally counts one address as ("Slack message"). Left out: `kind`, else "item". */
4434
4438
  noun: NonEmptyString3.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-protocol",
3
- "version": "0.55.7",
3
+ "version": "0.55.9",
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",