@yaklabs-ai/plugin-protocol 0.13.3 → 0.13.4
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 +1 -1
- package/THIRD-PARTY-INVENTORY.json +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1973,7 +1973,7 @@ export declare const KAY_APP_DATA_SNAPSHOT_MAX_BYTES: number;
|
|
|
1973
1973
|
export declare const KAY_EVENT_PUBLISHER_ID: "kay";
|
|
1974
1974
|
|
|
1975
1975
|
/** Released SDK contracts still implemented by the host, alongside its current SDK. */
|
|
1976
|
-
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"];
|
|
1976
|
+
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"];
|
|
1977
1977
|
|
|
1978
1978
|
export declare const KAY_PLUGIN_PROTOCOL_PACKAGE_NAME: "@bonsai/plugin-protocol";
|
|
1979
1979
|
|
|
@@ -2222,8 +2222,15 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
|
|
|
2222
2222
|
* 0.13.2 never reads the member or sets the field. A plugin that calls `app.usage` or declares
|
|
2223
2223
|
* `maintains` declares `^0.13.3`, so an older host refuses a directory or repository plugin at
|
|
2224
2224
|
* load; an older host's strict definition schema would refuse a definition that sets `maintains`.
|
|
2225
|
+
*
|
|
2226
|
+
* 0.13.4 caps reads through `@bonsai/plugin-sdk/fs`: a whole-file `readFile` (a file handle's too)
|
|
2227
|
+
* and a single `read` reject past 64 MiB with `EFBIG` instead of copying the bytes into the daemon.
|
|
2228
|
+
* No API changes: a plugin compiled against 0.13.3 runs unchanged unless it reads more than 64 MiB
|
|
2229
|
+
* in one call, and such a plugin reads in bounded chunks (a file handle's `read`,
|
|
2230
|
+
* `createReadStream`, `readLines`), which work on every 0.13 host. File calls sent to a host worker
|
|
2231
|
+
* that fail are also logged to the daemon log as `runtime.user-files.*` events.
|
|
2225
2232
|
*/
|
|
2226
|
-
export declare const KAY_PLUGIN_SDK_VERSION: "0.13.
|
|
2233
|
+
export declare const KAY_PLUGIN_SDK_VERSION: "0.13.4";
|
|
2227
2234
|
|
|
2228
2235
|
export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
|
|
2229
2236
|
|
package/dist/index.js
CHANGED
|
@@ -115,7 +115,7 @@ import { z as z2 } from "zod";
|
|
|
115
115
|
import { z } from "zod";
|
|
116
116
|
var KAY_PLUGIN_PROTOCOL_VERSION = "kay.plugin.v1";
|
|
117
117
|
var KAY_PLUGIN_PROTOCOL_PACKAGE_NAME = "@bonsai/plugin-protocol";
|
|
118
|
-
var KAY_PLUGIN_SDK_VERSION = "0.13.
|
|
118
|
+
var KAY_PLUGIN_SDK_VERSION = "0.13.4";
|
|
119
119
|
var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
|
|
120
120
|
"0.8.0",
|
|
121
121
|
"0.8.1",
|
|
@@ -136,7 +136,8 @@ var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
|
|
|
136
136
|
"0.12.5",
|
|
137
137
|
"0.13.0",
|
|
138
138
|
"0.13.1",
|
|
139
|
-
"0.13.2"
|
|
139
|
+
"0.13.2",
|
|
140
|
+
"0.13.3"
|
|
140
141
|
];
|
|
141
142
|
var KAY_PLUGIN_TARGET_NAMES = [
|
|
142
143
|
"kay.agent",
|
package/package.json
CHANGED