@yaklabs-ai/plugin-sdk 0.38.0 → 0.40.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.38.0"
16
+ "@bonsai/plugin-sdk": "npm:@yaklabs-ai/plugin-sdk@^0.40.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.38.0" },
65
+ "compatibility": { "sdk": "^0.40.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.38.0",
4
+ "version": "0.40.0",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [
@@ -2404,8 +2404,18 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2404
2404
  * is then the shared `PluginSignal` v1 with a `related.thread`; a workflow of a plugin the release
2405
2405
  * carries may start on every plugin's signals with `{ kind: "plugin-event", signals: true }` (the
2406
2406
  * private `workflows.signals` claim). Additive: a plugin that declares a signal declares ^0.38.0.
2407
+ *
2408
+ * 0.39.0 lets a plugin word its own addresses (#15750). A reference presentation gains `words`, and
2409
+ * `open` and `resourceKind` become an optional pair, so a module can name its rows, tallies and live
2410
+ * phrases without its addresses opening. Additive. A plugin that declares words declares ^0.39.0.
2411
+ *
2412
+ * 0.40.0 lets a `kay.ui` app list the feeds it reads (#15909). `capabilities.feeds` names each one,
2413
+ * resolved at load to the plugin's own feed by that name or otherwise the daemon's, and a session
2414
+ * feed may now declare a `store`. It removes the `cost.read`, `skills.read`, `memory.read` and
2415
+ * `self-improvement.read` host capabilities, so a manifest still listing one no longer parses and
2416
+ * lists the feed instead. A plugin that lists feeds declares ^0.40.0.
2407
2417
  */
2408
- declare const KAY_PLUGIN_SDK_VERSION: "0.38.0";
2418
+ declare const KAY_PLUGIN_SDK_VERSION: "0.40.0";
2409
2419
 
2410
2420
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2411
2421
 
@@ -2458,8 +2458,18 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2458
2458
  * is then the shared `PluginSignal` v1 with a `related.thread`; a workflow of a plugin the release
2459
2459
  * carries may start on every plugin's signals with `{ kind: "plugin-event", signals: true }` (the
2460
2460
  * private `workflows.signals` claim). Additive: a plugin that declares a signal declares ^0.38.0.
2461
+ *
2462
+ * 0.39.0 lets a plugin word its own addresses (#15750). A reference presentation gains `words`, and
2463
+ * `open` and `resourceKind` become an optional pair, so a module can name its rows, tallies and live
2464
+ * phrases without its addresses opening. Additive. A plugin that declares words declares ^0.39.0.
2465
+ *
2466
+ * 0.40.0 lets a `kay.ui` app list the feeds it reads (#15909). `capabilities.feeds` names each one,
2467
+ * resolved at load to the plugin's own feed by that name or otherwise the daemon's, and a session
2468
+ * feed may now declare a `store`. It removes the `cost.read`, `skills.read`, `memory.read` and
2469
+ * `self-improvement.read` host capabilities, so a manifest still listing one no longer parses and
2470
+ * lists the feed instead. A plugin that lists feeds declares ^0.40.0.
2461
2471
  */
2462
- declare const KAY_PLUGIN_SDK_VERSION: "0.38.0";
2472
+ declare const KAY_PLUGIN_SDK_VERSION: "0.40.0";
2463
2473
 
2464
2474
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2465
2475
 
@@ -5675,6 +5685,7 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5675
5685
  globalId: z.ZodString;
5676
5686
  uriModule: z.ZodOptional<z.ZodString>;
5677
5687
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
5688
+ displayName: z.ZodOptional<z.ZodString>;
5678
5689
  addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
5679
5690
  pattern: z.ZodObject<{
5680
5691
  protocol: z.ZodString;
@@ -5687,15 +5698,15 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5687
5698
  kind: z.ZodLiteral<"none">;
5688
5699
  }, z.core.$strict>>;
5689
5700
  }, z.core.$strict>>>;
5690
- resourceKind: z.ZodString;
5691
- open: z.ZodDiscriminatedUnion<[z.ZodObject<{
5701
+ resourceKind: z.ZodOptional<z.ZodString>;
5702
+ open: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5692
5703
  kind: z.ZodLiteral<"working-document">;
5693
5704
  }, z.core.$strict>, z.ZodObject<{
5694
5705
  kind: z.ZodLiteral<"browser-pane">;
5695
5706
  }, z.core.$strict>, z.ZodObject<{
5696
5707
  kind: z.ZodLiteral<"page">;
5697
5708
  pageId: z.ZodString;
5698
- }, z.core.$strict>], "kind">;
5709
+ }, z.core.$strict>], "kind">>;
5699
5710
  variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5700
5711
  resourceKind: z.ZodString;
5701
5712
  presentationPluginId: z.ZodOptional<z.ZodString>;
@@ -5722,6 +5733,37 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5722
5733
  search: z.ZodOptional<z.ZodString>;
5723
5734
  }, z.core.$strict>;
5724
5735
  }, z.core.$strict>>;
5736
+ words: z.ZodOptional<z.ZodObject<{
5737
+ glyph: z.ZodOptional<z.ZodEnum<{
5738
+ file: "file";
5739
+ terminal: "terminal";
5740
+ note: "note";
5741
+ search: "search";
5742
+ person: "person";
5743
+ session: "session";
5744
+ browser: "browser";
5745
+ folder: "folder";
5746
+ repo: "repo";
5747
+ clock: "clock";
5748
+ robot: "robot";
5749
+ globe: "globe";
5750
+ skill: "skill";
5751
+ memory: "memory";
5752
+ plan: "plan";
5753
+ download: "download";
5754
+ attachment: "attachment";
5755
+ settings: "settings";
5756
+ catalog: "catalog";
5757
+ model: "model";
5758
+ doc: "doc";
5759
+ feedback: "feedback";
5760
+ plugin: "plugin";
5761
+ }>>;
5762
+ kind: z.ZodOptional<z.ZodString>;
5763
+ noun: z.ZodOptional<z.ZodString>;
5764
+ target: z.ZodOptional<z.ZodString>;
5765
+ kindNamesSource: z.ZodOptional<z.ZodLiteral<true>>;
5766
+ }, z.core.$strict>>;
5725
5767
  }, z.core.$strict>>>;
5726
5768
  kayUiApps: z.ZodOptional<z.ZodArray<z.ZodObject<{
5727
5769
  localId: z.ZodString;
@@ -5751,11 +5793,7 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5751
5793
  "artifacts.read": "artifacts.read";
5752
5794
  "artifacts.preview": "artifacts.preview";
5753
5795
  "markdown.document-view": "markdown.document-view";
5754
- "cost.read": "cost.read";
5755
5796
  "billing.read": "billing.read";
5756
- "skills.read": "skills.read";
5757
- "memory.read": "memory.read";
5758
- "self-improvement.read": "self-improvement.read";
5759
5797
  "automations.read": "automations.read";
5760
5798
  "automations.run": "automations.run";
5761
5799
  "shared-artifacts.read": "shared-artifacts.read";
@@ -5763,6 +5801,7 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5763
5801
  "workspace.pane-header": "workspace.pane-header";
5764
5802
  "workspace.arrange": "workspace.arrange";
5765
5803
  }>>>;
5804
+ feeds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5766
5805
  }, z.core.$strict>>;
5767
5806
  }, z.core.$strict>>>;
5768
5807
  }, z.core.$strict>;
@@ -2733,8 +2733,18 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2733
2733
  * is then the shared `PluginSignal` v1 with a `related.thread`; a workflow of a plugin the release
2734
2734
  * carries may start on every plugin's signals with `{ kind: "plugin-event", signals: true }` (the
2735
2735
  * private `workflows.signals` claim). Additive: a plugin that declares a signal declares ^0.38.0.
2736
+ *
2737
+ * 0.39.0 lets a plugin word its own addresses (#15750). A reference presentation gains `words`, and
2738
+ * `open` and `resourceKind` become an optional pair, so a module can name its rows, tallies and live
2739
+ * phrases without its addresses opening. Additive. A plugin that declares words declares ^0.39.0.
2740
+ *
2741
+ * 0.40.0 lets a `kay.ui` app list the feeds it reads (#15909). `capabilities.feeds` names each one,
2742
+ * resolved at load to the plugin's own feed by that name or otherwise the daemon's, and a session
2743
+ * feed may now declare a `store`. It removes the `cost.read`, `skills.read`, `memory.read` and
2744
+ * `self-improvement.read` host capabilities, so a manifest still listing one no longer parses and
2745
+ * lists the feed instead. A plugin that lists feeds declares ^0.40.0.
2736
2746
  */
2737
- declare const KAY_PLUGIN_SDK_VERSION: "0.38.0";
2747
+ declare const KAY_PLUGIN_SDK_VERSION: "0.40.0";
2738
2748
 
2739
2749
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2740
2750
 
@@ -453,8 +453,8 @@ declare const CorpusResourceInvocationQuery: z.ZodObject<{
453
453
  }, z.core.$strict>>;
454
454
  limit: z.ZodOptional<z.ZodNumber>;
455
455
  rootCreatedByKind: z.ZodOptional<z.ZodEnum<{
456
- agent: "agent";
457
456
  plugin: "plugin";
457
+ agent: "agent";
458
458
  human: "human";
459
459
  trigger: "trigger";
460
460
  daemon: "daemon";
package/dist/kay-app.d.ts CHANGED
@@ -795,8 +795,8 @@ export declare const CorpusResourceInvocationQuery: z.ZodObject<{
795
795
  }, z.core.$strict>>;
796
796
  limit: z.ZodOptional<z.ZodNumber>;
797
797
  rootCreatedByKind: z.ZodOptional<z.ZodEnum<{
798
- agent: "agent";
799
798
  plugin: "plugin";
799
+ agent: "agent";
800
800
  human: "human";
801
801
  trigger: "trigger";
802
802
  daemon: "daemon";
@@ -2709,8 +2709,18 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2709
2709
  * is then the shared `PluginSignal` v1 with a `related.thread`; a workflow of a plugin the release
2710
2710
  * carries may start on every plugin's signals with `{ kind: "plugin-event", signals: true }` (the
2711
2711
  * private `workflows.signals` claim). Additive: a plugin that declares a signal declares ^0.38.0.
2712
+ *
2713
+ * 0.39.0 lets a plugin word its own addresses (#15750). A reference presentation gains `words`, and
2714
+ * `open` and `resourceKind` become an optional pair, so a module can name its rows, tallies and live
2715
+ * phrases without its addresses opening. Additive. A plugin that declares words declares ^0.39.0.
2716
+ *
2717
+ * 0.40.0 lets a `kay.ui` app list the feeds it reads (#15909). `capabilities.feeds` names each one,
2718
+ * resolved at load to the plugin's own feed by that name or otherwise the daemon's, and a session
2719
+ * feed may now declare a `store`. It removes the `cost.read`, `skills.read`, `memory.read` and
2720
+ * `self-improvement.read` host capabilities, so a manifest still listing one no longer parses and
2721
+ * lists the feed instead. A plugin that lists feeds declares ^0.40.0.
2712
2722
  */
2713
- declare const KAY_PLUGIN_SDK_VERSION: "0.38.0";
2723
+ declare const KAY_PLUGIN_SDK_VERSION: "0.40.0";
2714
2724
 
2715
2725
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2716
2726
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-sdk",
3
- "version": "0.38.0",
3
+ "version": "0.40.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",