@yaklabs-ai/plugin-protocol 0.12.4 → 0.12.5
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"];
|
|
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"];
|
|
1977
1977
|
|
|
1978
1978
|
export declare const KAY_PLUGIN_PROTOCOL_PACKAGE_NAME: "@kay/plugin-protocol";
|
|
1979
1979
|
|
|
@@ -2170,8 +2170,15 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
|
|
|
2170
2170
|
* answering `unknown` rather than throwing. Always present and ungated, like `app.paths`. Additive:
|
|
2171
2171
|
* a plugin compiled against 0.12.3 never reads it. A plugin that calls it declares `^0.12.4`, so an
|
|
2172
2172
|
* older host refuses a directory or repository plugin at load instead of the call failing.
|
|
2173
|
+
*
|
|
2174
|
+
* 0.12.5 adds `userFiles` (`KayAppUserFiles`) on both `app` and the `kay.agent` api: stat, read,
|
|
2175
|
+
* list, walk, realpath, write, mkdir and rename in user folders, run by the host on its own worker
|
|
2176
|
+
* threads under a deadline and answering a typed result rather than throwing. Always present and
|
|
2177
|
+
* ungated, like `app.paths`. Additive: a plugin compiled against 0.12.4 never reads it. A plugin
|
|
2178
|
+
* that calls it declares `^0.12.5`, so an older host refuses a directory or repository plugin at
|
|
2179
|
+
* load instead of the call failing.
|
|
2173
2180
|
*/
|
|
2174
|
-
export declare const KAY_PLUGIN_SDK_VERSION: "0.12.
|
|
2181
|
+
export declare const KAY_PLUGIN_SDK_VERSION: "0.12.5";
|
|
2175
2182
|
|
|
2176
2183
|
export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
|
|
2177
2184
|
|
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 = "@kay/plugin-protocol";
|
|
118
|
-
var KAY_PLUGIN_SDK_VERSION = "0.12.
|
|
118
|
+
var KAY_PLUGIN_SDK_VERSION = "0.12.5";
|
|
119
119
|
var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
|
|
120
120
|
"0.8.0",
|
|
121
121
|
"0.8.1",
|
|
@@ -131,7 +131,8 @@ var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
|
|
|
131
131
|
"0.12.0",
|
|
132
132
|
"0.12.1",
|
|
133
133
|
"0.12.2",
|
|
134
|
-
"0.12.3"
|
|
134
|
+
"0.12.3",
|
|
135
|
+
"0.12.4"
|
|
135
136
|
];
|
|
136
137
|
var KAY_PLUGIN_TARGET_NAMES = [
|
|
137
138
|
"kay.agent",
|
package/package.json
CHANGED