@yaklabs-ai/plugin-sdk 0.52.0 → 0.52.1
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 +5 -5
- package/THIRD-PARTY-INVENTORY.json +1 -1
- package/dist/disclosure.d.ts +5 -1
- package/dist/kay-agent-testing.d.ts +14 -4
- package/dist/kay-agent.d.ts +13 -1
- package/dist/kay-app.d.ts +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ it under the name your plugin code actually imports:
|
|
|
13
13
|
```json
|
|
14
14
|
{
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@bonsai/plugin-sdk": "npm:@yaklabs-ai/plugin-sdk@^0.52.
|
|
16
|
+
"@bonsai/plugin-sdk": "npm:@yaklabs-ai/plugin-sdk@^0.52.1"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
```
|
|
@@ -62,7 +62,7 @@ Every tool the entrypoint registers is declared in the manifest too:
|
|
|
62
62
|
"description": "Greets people by name.",
|
|
63
63
|
"version": "0.1.0",
|
|
64
64
|
"namespace": "widgets",
|
|
65
|
-
"compatibility": { "sdk": "^0.52.
|
|
65
|
+
"compatibility": { "sdk": "^0.52.1" },
|
|
66
66
|
"targets": {
|
|
67
67
|
"kay": {
|
|
68
68
|
"agent": {
|
|
@@ -151,7 +151,7 @@ naming both versions, instead of loading it and finding no `activate`.
|
|
|
151
151
|
| `@bonsai/plugin-sdk/system-one` | The types and error class for `api.systemOne` / `app.systemOne`, from 0.13.8 |
|
|
152
152
|
| `@bonsai/plugin-sdk/zod` | `z` (the host's in the daemon), on an entry with no other import, from 0.13.9 |
|
|
153
153
|
|
|
154
|
-
A plugin that imports these subpaths declares the current supported SDK range (`^0.52.
|
|
154
|
+
A plugin that imports these subpaths declares the current supported SDK range (`^0.52.1`).
|
|
155
155
|
The rows record when each subpath appeared, not retained runtime compatibility. `vendored-mcp` builds the plugin's URI module (its link cards and help); hosting the
|
|
156
156
|
vendor's MCP server itself is a separate host decision: Bonsai hosts it once a person approves
|
|
157
157
|
the plugin's `mcp.host-server` grant for that server's name and URL. A server that needs an OAuth
|
|
@@ -159,7 +159,7 @@ sign-in names one of the plugin's auth services in `authService`; that service m
|
|
|
159
159
|
one `delegated` scheme, which Bonsai uses to sign the person in to the server. Bonsai declares that
|
|
160
160
|
scheme at runtime; the plugin's code must not declare it again. From 0.16.2 a plugin's code can also
|
|
161
161
|
call the server's tools through `api.vendoredMcp.port(<server>)`, typed by this subpath's
|
|
162
|
-
`VendoredMcpPort` and `VendoredMcpOutcome` (declare `^0.52.
|
|
162
|
+
`VendoredMcpPort` and `VendoredMcpOutcome` (declare `^0.52.1`).
|
|
163
163
|
|
|
164
164
|
From 0.13.10 the manifest schema carries two facts Bonsai reads for its own plugins only; another
|
|
165
165
|
plugin's are ignored, with a load diagnostic. An `external-cli` auth scheme's `cli` says how Bonsai
|
|
@@ -241,7 +241,7 @@ Provider schemas remain authoritative; declaring a dependency grants no authorit
|
|
|
241
241
|
through `app.uri`, parse returned Markdown in the consuming plugin, and retain the read's
|
|
242
242
|
revision (or `contentDigest` from `/uri`) for edits. The old `memory.read` and `memory.write`
|
|
243
243
|
grants do not authorize the replacement scheme-and-verb calls. Contracts before 0.49.0 are
|
|
244
|
-
refused; migrate and declare `^0.52.
|
|
244
|
+
refused; migrate and declare `^0.52.1`. The current host also serves the 0.49.0 resource contract.
|
|
245
245
|
|
|
246
246
|
## What this package is, and is not, at runtime
|
|
247
247
|
|
package/dist/disclosure.d.ts
CHANGED
|
@@ -2458,8 +2458,12 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
|
|
|
2458
2458
|
* contract remains served.
|
|
2459
2459
|
*
|
|
2460
2460
|
* 0.51.0 adds flag-dependent title, icon and panel presence on rail entries.
|
|
2461
|
+
*
|
|
2462
|
+
* 0.52.0 adds plugin-owned operational facts through existing manifests and registrations.
|
|
2463
|
+
*
|
|
2464
|
+
* 0.52.1 adds owner-qualified page feed and endpoint references and their kay.ui claims.
|
|
2461
2465
|
*/
|
|
2462
|
-
declare const KAY_PLUGIN_SDK_VERSION: "0.52.
|
|
2466
|
+
declare const KAY_PLUGIN_SDK_VERSION: "0.52.1";
|
|
2463
2467
|
|
|
2464
2468
|
declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
|
|
2465
2469
|
|
|
@@ -2512,8 +2512,12 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
|
|
|
2512
2512
|
* contract remains served.
|
|
2513
2513
|
*
|
|
2514
2514
|
* 0.51.0 adds flag-dependent title, icon and panel presence on rail entries.
|
|
2515
|
+
*
|
|
2516
|
+
* 0.52.0 adds plugin-owned operational facts through existing manifests and registrations.
|
|
2517
|
+
*
|
|
2518
|
+
* 0.52.1 adds owner-qualified page feed and endpoint references and their kay.ui claims.
|
|
2515
2519
|
*/
|
|
2516
|
-
declare const KAY_PLUGIN_SDK_VERSION: "0.52.
|
|
2520
|
+
declare const KAY_PLUGIN_SDK_VERSION: "0.52.1";
|
|
2517
2521
|
|
|
2518
2522
|
declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
|
|
2519
2523
|
|
|
@@ -6110,10 +6114,13 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
|
|
|
6110
6114
|
styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6111
6115
|
assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6112
6116
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
6113
|
-
endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6117
|
+
endpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
6114
6118
|
localId: z.ZodString;
|
|
6115
6119
|
globalId: z.ZodString;
|
|
6116
|
-
}, z.core.$strict
|
|
6120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6121
|
+
pluginId: z.ZodString;
|
|
6122
|
+
localId: z.ZodString;
|
|
6123
|
+
}, z.core.$strict>]>>>;
|
|
6117
6124
|
host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6118
6125
|
"navigation.open-session": "navigation.open-session";
|
|
6119
6126
|
"sessions.create": "sessions.create";
|
|
@@ -6131,7 +6138,10 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
|
|
|
6131
6138
|
"workspace.pane-header": "workspace.pane-header";
|
|
6132
6139
|
"workspace.arrange": "workspace.arrange";
|
|
6133
6140
|
}>>>;
|
|
6134
|
-
feeds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
6141
|
+
feeds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6142
|
+
pluginId: z.ZodString;
|
|
6143
|
+
localId: z.ZodString;
|
|
6144
|
+
}, z.core.$strict>]>>>;
|
|
6135
6145
|
}, z.core.$strict>>;
|
|
6136
6146
|
}, z.core.$strict>>>;
|
|
6137
6147
|
}, z.core.$strict>;
|
package/dist/kay-agent.d.ts
CHANGED
|
@@ -2791,8 +2791,12 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
|
|
|
2791
2791
|
* contract remains served.
|
|
2792
2792
|
*
|
|
2793
2793
|
* 0.51.0 adds flag-dependent title, icon and panel presence on rail entries.
|
|
2794
|
+
*
|
|
2795
|
+
* 0.52.0 adds plugin-owned operational facts through existing manifests and registrations.
|
|
2796
|
+
*
|
|
2797
|
+
* 0.52.1 adds owner-qualified page feed and endpoint references and their kay.ui claims.
|
|
2794
2798
|
*/
|
|
2795
|
-
declare const KAY_PLUGIN_SDK_VERSION: "0.52.
|
|
2799
|
+
declare const KAY_PLUGIN_SDK_VERSION: "0.52.1";
|
|
2796
2800
|
|
|
2797
2801
|
declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
|
|
2798
2802
|
|
|
@@ -5103,6 +5107,7 @@ declare const PluginCapabilityRefusalV1: z.ZodObject<{
|
|
|
5103
5107
|
target: z.ZodEnum<{
|
|
5104
5108
|
"kay.agent": "kay.agent";
|
|
5105
5109
|
"kay.app": "kay.app";
|
|
5110
|
+
"kay.ui": "kay.ui";
|
|
5106
5111
|
}>;
|
|
5107
5112
|
slug: z.ZodLiteral<"endpoints.invoke">;
|
|
5108
5113
|
envelope: z.ZodObject<{
|
|
@@ -5191,6 +5196,13 @@ declare const PluginCapabilityRefusalV1: z.ZodObject<{
|
|
|
5191
5196
|
envelope: z.ZodObject<{
|
|
5192
5197
|
contributor: z.ZodString;
|
|
5193
5198
|
}, z.core.$strict>;
|
|
5199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5200
|
+
target: z.ZodLiteral<"kay.ui">;
|
|
5201
|
+
slug: z.ZodLiteral<"app-data.read">;
|
|
5202
|
+
envelope: z.ZodObject<{
|
|
5203
|
+
pluginId: z.ZodString;
|
|
5204
|
+
sourceId: z.ZodString;
|
|
5205
|
+
}, z.core.$strict>;
|
|
5194
5206
|
}, z.core.$strict>, z.ZodObject<{
|
|
5195
5207
|
target: z.ZodLiteral<"kay.app">;
|
|
5196
5208
|
slug: z.ZodLiteral<"app-data.register">;
|
package/dist/kay-app.d.ts
CHANGED
|
@@ -2907,8 +2907,12 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
|
|
|
2907
2907
|
* contract remains served.
|
|
2908
2908
|
*
|
|
2909
2909
|
* 0.51.0 adds flag-dependent title, icon and panel presence on rail entries.
|
|
2910
|
+
*
|
|
2911
|
+
* 0.52.0 adds plugin-owned operational facts through existing manifests and registrations.
|
|
2912
|
+
*
|
|
2913
|
+
* 0.52.1 adds owner-qualified page feed and endpoint references and their kay.ui claims.
|
|
2910
2914
|
*/
|
|
2911
|
-
declare const KAY_PLUGIN_SDK_VERSION: "0.52.
|
|
2915
|
+
declare const KAY_PLUGIN_SDK_VERSION: "0.52.1";
|
|
2912
2916
|
|
|
2913
2917
|
declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
|
|
2914
2918
|
|