@yaklabs-ai/plugin-sdk 0.38.0 → 0.39.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.39.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.39.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.39.0",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [
@@ -2404,8 +2404,12 @@ 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.
2407
2411
  */
2408
- declare const KAY_PLUGIN_SDK_VERSION: "0.38.0";
2412
+ declare const KAY_PLUGIN_SDK_VERSION: "0.39.0";
2409
2413
 
2410
2414
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2411
2415
 
@@ -2458,8 +2458,12 @@ 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.
2461
2465
  */
2462
- declare const KAY_PLUGIN_SDK_VERSION: "0.38.0";
2466
+ declare const KAY_PLUGIN_SDK_VERSION: "0.39.0";
2463
2467
 
2464
2468
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2465
2469
 
@@ -5675,6 +5679,7 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5675
5679
  globalId: z.ZodString;
5676
5680
  uriModule: z.ZodOptional<z.ZodString>;
5677
5681
  schemes: z.ZodOptional<z.ZodArray<z.ZodString>>;
5682
+ displayName: z.ZodOptional<z.ZodString>;
5678
5683
  addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
5679
5684
  pattern: z.ZodObject<{
5680
5685
  protocol: z.ZodString;
@@ -5687,15 +5692,15 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5687
5692
  kind: z.ZodLiteral<"none">;
5688
5693
  }, z.core.$strict>>;
5689
5694
  }, z.core.$strict>>>;
5690
- resourceKind: z.ZodString;
5691
- open: z.ZodDiscriminatedUnion<[z.ZodObject<{
5695
+ resourceKind: z.ZodOptional<z.ZodString>;
5696
+ open: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5692
5697
  kind: z.ZodLiteral<"working-document">;
5693
5698
  }, z.core.$strict>, z.ZodObject<{
5694
5699
  kind: z.ZodLiteral<"browser-pane">;
5695
5700
  }, z.core.$strict>, z.ZodObject<{
5696
5701
  kind: z.ZodLiteral<"page">;
5697
5702
  pageId: z.ZodString;
5698
- }, z.core.$strict>], "kind">;
5703
+ }, z.core.$strict>], "kind">>;
5699
5704
  variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5700
5705
  resourceKind: z.ZodString;
5701
5706
  presentationPluginId: z.ZodOptional<z.ZodString>;
@@ -5722,6 +5727,37 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5722
5727
  search: z.ZodOptional<z.ZodString>;
5723
5728
  }, z.core.$strict>;
5724
5729
  }, z.core.$strict>>;
5730
+ words: z.ZodOptional<z.ZodObject<{
5731
+ glyph: z.ZodOptional<z.ZodEnum<{
5732
+ file: "file";
5733
+ terminal: "terminal";
5734
+ note: "note";
5735
+ search: "search";
5736
+ person: "person";
5737
+ session: "session";
5738
+ browser: "browser";
5739
+ folder: "folder";
5740
+ repo: "repo";
5741
+ clock: "clock";
5742
+ robot: "robot";
5743
+ globe: "globe";
5744
+ skill: "skill";
5745
+ memory: "memory";
5746
+ plan: "plan";
5747
+ download: "download";
5748
+ attachment: "attachment";
5749
+ settings: "settings";
5750
+ catalog: "catalog";
5751
+ model: "model";
5752
+ doc: "doc";
5753
+ feedback: "feedback";
5754
+ plugin: "plugin";
5755
+ }>>;
5756
+ kind: z.ZodOptional<z.ZodString>;
5757
+ noun: z.ZodOptional<z.ZodString>;
5758
+ target: z.ZodOptional<z.ZodString>;
5759
+ kindNamesSource: z.ZodOptional<z.ZodLiteral<true>>;
5760
+ }, z.core.$strict>>;
5725
5761
  }, z.core.$strict>>>;
5726
5762
  kayUiApps: z.ZodOptional<z.ZodArray<z.ZodObject<{
5727
5763
  localId: z.ZodString;
@@ -2733,8 +2733,12 @@ 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.
2736
2740
  */
2737
- declare const KAY_PLUGIN_SDK_VERSION: "0.38.0";
2741
+ declare const KAY_PLUGIN_SDK_VERSION: "0.39.0";
2738
2742
 
2739
2743
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2740
2744
 
@@ -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,12 @@ 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.
2712
2716
  */
2713
- declare const KAY_PLUGIN_SDK_VERSION: "0.38.0";
2717
+ declare const KAY_PLUGIN_SDK_VERSION: "0.39.0";
2714
2718
 
2715
2719
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2716
2720
 
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.39.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",