@yaklabs-ai/plugin-protocol 0.13.8 → 0.13.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.13.8"
14
+ "@bonsai/plugin-protocol": "npm:@yaklabs-ai/plugin-protocol@^0.13.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.13.8",
4
+ "version": "0.13.9",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [],
package/dist/index.d.ts CHANGED
@@ -2059,7 +2059,7 @@ export declare const KAY_EVENT_PUBLISHER_ID: "kay";
2059
2059
  declare const KAY_PLUGIN_COMPATIBILITY_REFUSAL_CODES: readonly ["unsupported-protocol", "sdk-range-unsatisfied", "sdk-range-unsupported", "host-sdk-version-invalid"];
2060
2060
 
2061
2061
  /** Released SDK contracts still implemented by the host, alongside its current SDK. */
2062
- 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"];
2062
+ 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"];
2063
2063
 
2064
2064
  /** The file whose presence makes a directory a plugin. A directory without one is not a plugin. */
2065
2065
  export declare const KAY_PLUGIN_MANIFEST_FILENAME = "kay-plugin.json";
@@ -2360,8 +2360,13 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2360
2360
  * binds a client that throws `not-served`. `withJev` stays for every compatible plugin. A
2361
2361
  * plugin that calls `systemOne` declares `^0.13.8`, so an older host refuses it at load instead
2362
2362
  * of the member being absent.
2363
+ *
2364
+ * 0.13.9 adds `@bonsai/plugin-sdk/zod`: the host's `z` on an entry with no other import, for
2365
+ * code a `kay.ui` page also loads (`kay-agent` exports the same `z`). Additive: a plugin compiled
2366
+ * against 0.13.8 never imports it. A plugin that imports it declares `^0.13.9`, so an older host
2367
+ * refuses a directory or repository plugin at load instead of the import failing.
2363
2368
  */
2364
- export declare const KAY_PLUGIN_SDK_VERSION: "0.13.8";
2369
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.13.9";
2365
2370
 
2366
2371
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2367
2372
 
@@ -6382,9 +6387,9 @@ export declare type ResolvedKayAppDataSource = z.infer<typeof ResolvedKayAppData
6382
6387
  * always carries its applied default (`"oauth"` when the manifest omits it), matching this file's
6383
6388
  * applied-default posture elsewhere (e.g. `ResolvedPluginWebSession`'s probe `method`). The
6384
6389
  * manifest-local `authService` is resolved to this plugin's namespace-qualified `authServiceId`.
6385
- * Bundled-plugin-only enforcement and cross-plugin `name` collisions are NOT this package's to
6386
- * decide (see ARCHITECTURE.md) — both need the full plugin roster, which a single resolved
6387
- * manifest cannot see.
6390
+ * Whether a server is hosted (the `mcp.host-server` grant) and cross-plugin `name` collisions are
6391
+ * NOT this package's to decide (see ARCHITECTURE.md) — both need the full plugin roster and its
6392
+ * decisions, which a single resolved manifest cannot see.
6388
6393
  */
6389
6394
  export declare const ResolvedKayAppMcpServer: z.ZodObject<{
6390
6395
  name: z.ZodString;
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.13.8";
139
+ var KAY_PLUGIN_SDK_VERSION = "0.13.9";
140
140
  var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
141
141
  "0.8.0",
142
142
  "0.8.1",
@@ -162,7 +162,8 @@ var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
162
162
  "0.13.4",
163
163
  "0.13.5",
164
164
  "0.13.6",
165
- "0.13.7"
165
+ "0.13.7",
166
+ "0.13.8"
166
167
  ];
167
168
  var KAY_PLUGIN_TARGET_NAMES = [
168
169
  "kay.agent",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-protocol",
3
- "version": "0.13.8",
3
+ "version": "0.13.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",