@yaklabs-ai/plugin-sdk 0.32.0 → 0.33.0

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
@@ -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.32.0"
16
+ "@bonsai/plugin-sdk": "npm:@yaklabs-ai/plugin-sdk@^0.33.0"
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.32.0" },
65
+ "compatibility": { "sdk": "^0.33.0" },
66
66
  "targets": {
67
67
  "kay": {
68
68
  "agent": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@yaklabs-ai/plugin-sdk",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [
@@ -2366,8 +2366,13 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2366
2366
  * 0.32.0 lets an app-data source declare its window store as data (#15891). `store` under
2367
2367
  * `contributes.dataSources` replaces a `kay.ui` data materializer, and a change too big for a live
2368
2368
  * update becomes a re-read of the snapshot. A plugin that declares a store declares ^0.32.0.
2369
+ *
2370
+ * 0.33.0 lets a plugin declare a window command with its button and menu item (#15903). `commands`
2371
+ * under `kay.ui` `contributes` names each command's title, icon file, `button`, `menu` and `where`,
2372
+ * and `api.implementCommand(localId, handler)` supplies what it does. `placement` is gone and `icon`
2373
+ * is now a file path: nothing ever read either. A plugin that declares a command declares ^0.33.0.
2369
2374
  */
2370
- declare const KAY_PLUGIN_SDK_VERSION: "0.32.0";
2375
+ declare const KAY_PLUGIN_SDK_VERSION: "0.33.0";
2371
2376
 
2372
2377
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2373
2378
 
@@ -2420,8 +2420,13 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2420
2420
  * 0.32.0 lets an app-data source declare its window store as data (#15891). `store` under
2421
2421
  * `contributes.dataSources` replaces a `kay.ui` data materializer, and a change too big for a live
2422
2422
  * update becomes a re-read of the snapshot. A plugin that declares a store declares ^0.32.0.
2423
+ *
2424
+ * 0.33.0 lets a plugin declare a window command with its button and menu item (#15903). `commands`
2425
+ * under `kay.ui` `contributes` names each command's title, icon file, `button`, `menu` and `where`,
2426
+ * and `api.implementCommand(localId, handler)` supplies what it does. `placement` is gone and `icon`
2427
+ * is now a file path: nothing ever read either. A plugin that declares a command declares ^0.33.0.
2423
2428
  */
2424
- declare const KAY_PLUGIN_SDK_VERSION: "0.32.0";
2429
+ declare const KAY_PLUGIN_SDK_VERSION: "0.33.0";
2425
2430
 
2426
2431
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2427
2432
 
@@ -5697,8 +5702,6 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5697
5702
  "artifacts.preview": "artifacts.preview";
5698
5703
  "cost.read": "cost.read";
5699
5704
  "billing.read": "billing.read";
5700
- "context.read": "context.read";
5701
- "usage.read": "usage.read";
5702
5705
  "self-improvement.read": "self-improvement.read";
5703
5706
  "automations.read": "automations.read";
5704
5707
  "shared-artifacts.read": "shared-artifacts.read";
@@ -2695,8 +2695,13 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2695
2695
  * 0.32.0 lets an app-data source declare its window store as data (#15891). `store` under
2696
2696
  * `contributes.dataSources` replaces a `kay.ui` data materializer, and a change too big for a live
2697
2697
  * update becomes a re-read of the snapshot. A plugin that declares a store declares ^0.32.0.
2698
+ *
2699
+ * 0.33.0 lets a plugin declare a window command with its button and menu item (#15903). `commands`
2700
+ * under `kay.ui` `contributes` names each command's title, icon file, `button`, `menu` and `where`,
2701
+ * and `api.implementCommand(localId, handler)` supplies what it does. `placement` is gone and `icon`
2702
+ * is now a file path: nothing ever read either. A plugin that declares a command declares ^0.33.0.
2698
2703
  */
2699
- declare const KAY_PLUGIN_SDK_VERSION: "0.32.0";
2704
+ declare const KAY_PLUGIN_SDK_VERSION: "0.33.0";
2700
2705
 
2701
2706
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2702
2707
 
package/dist/kay-app.d.ts CHANGED
@@ -2650,8 +2650,13 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2650
2650
  * 0.32.0 lets an app-data source declare its window store as data (#15891). `store` under
2651
2651
  * `contributes.dataSources` replaces a `kay.ui` data materializer, and a change too big for a live
2652
2652
  * update becomes a re-read of the snapshot. A plugin that declares a store declares ^0.32.0.
2653
+ *
2654
+ * 0.33.0 lets a plugin declare a window command with its button and menu item (#15903). `commands`
2655
+ * under `kay.ui` `contributes` names each command's title, icon file, `button`, `menu` and `where`,
2656
+ * and `api.implementCommand(localId, handler)` supplies what it does. `placement` is gone and `icon`
2657
+ * is now a file path: nothing ever read either. A plugin that declares a command declares ^0.33.0.
2653
2658
  */
2654
- declare const KAY_PLUGIN_SDK_VERSION: "0.32.0";
2659
+ declare const KAY_PLUGIN_SDK_VERSION: "0.33.0";
2655
2660
 
2656
2661
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2657
2662
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-sdk",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "The Kay plugin SDK — types and helpers for authoring a Kay directory plugin.",
5
5
  "author": "YakLabs",
6
6
  "type": "module",