@yaklabs-ai/plugin-protocol 0.55.8 → 0.55.10

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.10"
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.10",
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,20 @@ 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.
4999
+ *
5000
+ * 0.55.10 adds two optional fields to the `turn-settled` session event, set only for a plugin
5001
+ * holding the private `compaction.reset-text` claim: `resetTextEligible` (whether the session's
5002
+ * resets may use its reset text: a root conversation a person started, not a fork) and
5003
+ * `compactionThreshold` (the context size at which the session is reset, from the model registry it
5004
+ * compacts with). A plugin preparing a reset text reads them to spend nothing on a session whose
5005
+ * reset would not read it (compaction plan, phase 2, #16713). Additive; a plugin reading them
5006
+ * declares ^0.55.10.
4993
5007
  */
4994
- export declare const KAY_PLUGIN_SDK_VERSION: "0.55.8";
5008
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.55.10";
4995
5009
 
4996
5010
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
4997
5011
 
@@ -6957,6 +6971,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6957
6971
  search: z.ZodOptional<z.ZodString>;
6958
6972
  }, z.core.$strict>;
6959
6973
  kind: z.ZodString;
6974
+ noun: z.ZodOptional<z.ZodString>;
6960
6975
  }, z.core.$strict>>>;
6961
6976
  noun: z.ZodOptional<z.ZodString>;
6962
6977
  target: z.ZodOptional<z.ZodString>;
@@ -8330,6 +8345,7 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8330
8345
  search: z.ZodOptional<z.ZodString>;
8331
8346
  }, z.core.$strict>;
8332
8347
  kind: z.ZodString;
8348
+ noun: z.ZodOptional<z.ZodString>;
8333
8349
  }, z.core.$strict>>>;
8334
8350
  noun: z.ZodOptional<z.ZodString>;
8335
8351
  target: z.ZodOptional<z.ZodString>;
@@ -13072,6 +13088,7 @@ export declare const ReferencePresentationContribution: z.ZodObject<{
13072
13088
  search: z.ZodOptional<z.ZodString>;
13073
13089
  }, z.core.$strict>;
13074
13090
  kind: z.ZodString;
13091
+ noun: z.ZodOptional<z.ZodString>;
13075
13092
  }, z.core.$strict>>>;
13076
13093
  noun: z.ZodOptional<z.ZodString>;
13077
13094
  target: z.ZodOptional<z.ZodString>;
@@ -13189,6 +13206,7 @@ export declare const ReferencePresentationWords: z.ZodObject<{
13189
13206
  search: z.ZodOptional<z.ZodString>;
13190
13207
  }, z.core.$strict>;
13191
13208
  kind: z.ZodString;
13209
+ noun: z.ZodOptional<z.ZodString>;
13192
13210
  }, z.core.$strict>>>;
13193
13211
  noun: z.ZodOptional<z.ZodString>;
13194
13212
  target: z.ZodOptional<z.ZodString>;
@@ -15842,6 +15860,7 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
15842
15860
  search: z.ZodOptional<z.ZodString>;
15843
15861
  }, z.core.$strict>;
15844
15862
  kind: z.ZodString;
15863
+ noun: z.ZodOptional<z.ZodString>;
15845
15864
  }, z.core.$strict>>>;
15846
15865
  noun: z.ZodOptional<z.ZodString>;
15847
15866
  target: z.ZodOptional<z.ZodString>;
@@ -16448,6 +16467,7 @@ export declare const ResolvedReferencePresentation: z.ZodObject<{
16448
16467
  search: z.ZodOptional<z.ZodString>;
16449
16468
  }, z.core.$strict>;
16450
16469
  kind: z.ZodString;
16470
+ noun: z.ZodOptional<z.ZodString>;
16451
16471
  }, z.core.$strict>>>;
16452
16472
  noun: z.ZodOptional<z.ZodString>;
16453
16473
  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.8";
263
+ var KAY_PLUGIN_SDK_VERSION = "0.55.10";
264
264
  var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
265
+ "0.55.9",
266
+ "0.55.8",
265
267
  "0.55.7",
266
268
  "0.55.6",
267
269
  "0.55.5",
@@ -4425,11 +4427,13 @@ function createContributionsSchemas(canonical) {
4425
4427
  kind: NonEmptyString3.optional(),
4426
4428
  /**
4427
4429
  * A more specific kind by the address's shape. The first row that matches decides, and an
4428
- * address no row matches reads `kind`.
4430
+ * address no row matches reads `kind`. A row's `noun` is what a tally counts its addresses
4431
+ * as ("availability check"); left out, the tally counts them as `noun` below.
4429
4432
  */
4430
4433
  kinds: z14.array(z14.strictObject({
4431
4434
  pattern: ReferencePresentationUriPattern2,
4432
- kind: NonEmptyString3
4435
+ kind: NonEmptyString3,
4436
+ noun: NonEmptyString3.optional()
4433
4437
  })).min(1).optional(),
4434
4438
  /** What a tally counts one address as ("Slack message"). Left out: `kind`, else "item". */
4435
4439
  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.10",
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",