@yaklabs-ai/plugin-protocol 0.55.8 → 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.8"
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.8",
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>;
@@ -4990,8 +4992,12 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
4990
4992
  * 0.55.8 removes `createInvitation` from `BonsaiOrganizationActions`: the Cloud API route it called
4991
4993
  * was deleted in #16020, so the action had answered 404 since. No plugin can have relied on it, so
4992
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.
4993
4999
  */
4994
- export declare const KAY_PLUGIN_SDK_VERSION: "0.55.8";
5000
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.55.9";
4995
5001
 
4996
5002
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
4997
5003
 
@@ -6957,6 +6963,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6957
6963
  search: z.ZodOptional<z.ZodString>;
6958
6964
  }, z.core.$strict>;
6959
6965
  kind: z.ZodString;
6966
+ noun: z.ZodOptional<z.ZodString>;
6960
6967
  }, z.core.$strict>>>;
6961
6968
  noun: z.ZodOptional<z.ZodString>;
6962
6969
  target: z.ZodOptional<z.ZodString>;
@@ -8330,6 +8337,7 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8330
8337
  search: z.ZodOptional<z.ZodString>;
8331
8338
  }, z.core.$strict>;
8332
8339
  kind: z.ZodString;
8340
+ noun: z.ZodOptional<z.ZodString>;
8333
8341
  }, z.core.$strict>>>;
8334
8342
  noun: z.ZodOptional<z.ZodString>;
8335
8343
  target: z.ZodOptional<z.ZodString>;
@@ -13072,6 +13080,7 @@ export declare const ReferencePresentationContribution: z.ZodObject<{
13072
13080
  search: z.ZodOptional<z.ZodString>;
13073
13081
  }, z.core.$strict>;
13074
13082
  kind: z.ZodString;
13083
+ noun: z.ZodOptional<z.ZodString>;
13075
13084
  }, z.core.$strict>>>;
13076
13085
  noun: z.ZodOptional<z.ZodString>;
13077
13086
  target: z.ZodOptional<z.ZodString>;
@@ -13189,6 +13198,7 @@ export declare const ReferencePresentationWords: z.ZodObject<{
13189
13198
  search: z.ZodOptional<z.ZodString>;
13190
13199
  }, z.core.$strict>;
13191
13200
  kind: z.ZodString;
13201
+ noun: z.ZodOptional<z.ZodString>;
13192
13202
  }, z.core.$strict>>>;
13193
13203
  noun: z.ZodOptional<z.ZodString>;
13194
13204
  target: z.ZodOptional<z.ZodString>;
@@ -15842,6 +15852,7 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
15842
15852
  search: z.ZodOptional<z.ZodString>;
15843
15853
  }, z.core.$strict>;
15844
15854
  kind: z.ZodString;
15855
+ noun: z.ZodOptional<z.ZodString>;
15845
15856
  }, z.core.$strict>>>;
15846
15857
  noun: z.ZodOptional<z.ZodString>;
15847
15858
  target: z.ZodOptional<z.ZodString>;
@@ -16448,6 +16459,7 @@ export declare const ResolvedReferencePresentation: z.ZodObject<{
16448
16459
  search: z.ZodOptional<z.ZodString>;
16449
16460
  }, z.core.$strict>;
16450
16461
  kind: z.ZodString;
16462
+ noun: z.ZodOptional<z.ZodString>;
16451
16463
  }, z.core.$strict>>>;
16452
16464
  noun: z.ZodOptional<z.ZodString>;
16453
16465
  target: z.ZodOptional<z.ZodString>;
package/dist/index.js CHANGED
@@ -260,8 +260,9 @@ 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.8";
263
+ var KAY_PLUGIN_SDK_VERSION = "0.55.9";
264
264
  var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
265
+ "0.55.8",
265
266
  "0.55.7",
266
267
  "0.55.6",
267
268
  "0.55.5",
@@ -4425,11 +4426,13 @@ function createContributionsSchemas(canonical) {
4425
4426
  kind: NonEmptyString3.optional(),
4426
4427
  /**
4427
4428
  * A more specific kind by the address's shape. The first row that matches decides, and an
4428
- * 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.
4429
4431
  */
4430
4432
  kinds: z14.array(z14.strictObject({
4431
4433
  pattern: ReferencePresentationUriPattern2,
4432
- kind: NonEmptyString3
4434
+ kind: NonEmptyString3,
4435
+ noun: NonEmptyString3.optional()
4433
4436
  })).min(1).optional(),
4434
4437
  /** What a tally counts one address as ("Slack message"). Left out: `kind`, else "item". */
4435
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.8",
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",