@yaklabs-ai/plugin-sdk 0.27.0 → 0.27.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 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.27.0"
16
+ "@bonsai/plugin-sdk": "npm:@yaklabs-ai/plugin-sdk@^0.27.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.27.0" },
65
+ "compatibility": { "sdk": "^0.27.1" },
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.27.0",
4
+ "version": "0.27.1",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [
@@ -2312,8 +2312,14 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2312
2312
  * `write`. `app.approvals`, its `prepare`, `finalize` and `resolveResource` are gone, and a write can
2313
2313
  * refuse in the person's words with `UriProviderError.refusalMessage`. No plugin outside this repo
2314
2314
  * declared a card, so 0.26.3 stays served. A plugin that declares a card declares ^0.27.0.
2315
+ *
2316
+ * 0.27.1 lets a manifest URI module name the exact sign-in scheme its calls use, as a tool can
2317
+ * (#14928): `authScheme`, a scheme of the module's `authService`, local or another plugin's. A
2318
+ * hosted module's code and manifest must agree on it, and the daemon reads it to find an
2319
+ * external-CLI scheme without running the module. A module that runs in the daemon is unchanged,
2320
+ * so this is additive; a plugin whose manifest sets `authScheme` declares ^0.27.1.
2315
2321
  */
2316
- declare const KAY_PLUGIN_SDK_VERSION: "0.27.0";
2322
+ declare const KAY_PLUGIN_SDK_VERSION: "0.27.1";
2317
2323
 
2318
2324
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2319
2325
 
@@ -2366,8 +2366,14 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2366
2366
  * `write`. `app.approvals`, its `prepare`, `finalize` and `resolveResource` are gone, and a write can
2367
2367
  * refuse in the person's words with `UriProviderError.refusalMessage`. No plugin outside this repo
2368
2368
  * declared a card, so 0.26.3 stays served. A plugin that declares a card declares ^0.27.0.
2369
+ *
2370
+ * 0.27.1 lets a manifest URI module name the exact sign-in scheme its calls use, as a tool can
2371
+ * (#14928): `authScheme`, a scheme of the module's `authService`, local or another plugin's. A
2372
+ * hosted module's code and manifest must agree on it, and the daemon reads it to find an
2373
+ * external-CLI scheme without running the module. A module that runs in the daemon is unchanged,
2374
+ * so this is additive; a plugin whose manifest sets `authScheme` declares ^0.27.1.
2369
2375
  */
2370
- declare const KAY_PLUGIN_SDK_VERSION: "0.27.0";
2376
+ declare const KAY_PLUGIN_SDK_VERSION: "0.27.1";
2371
2377
 
2372
2378
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2373
2379
 
@@ -5366,6 +5372,7 @@ declare const ResolvedPluginContractV1: z.ZodObject<{
5366
5372
  schemes: z.ZodArray<z.ZodString>;
5367
5373
  displayName: z.ZodOptional<z.ZodString>;
5368
5374
  authServiceId: z.ZodOptional<z.ZodString>;
5375
+ authSchemeId: z.ZodOptional<z.ZodString>;
5369
5376
  knownResources: z.ZodOptional<z.ZodLiteral<true>>;
5370
5377
  describesOperations: z.ZodOptional<z.ZodLiteral<true>>;
5371
5378
  }, z.core.$strict>>>;
@@ -2641,8 +2641,14 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2641
2641
  * `write`. `app.approvals`, its `prepare`, `finalize` and `resolveResource` are gone, and a write can
2642
2642
  * refuse in the person's words with `UriProviderError.refusalMessage`. No plugin outside this repo
2643
2643
  * declared a card, so 0.26.3 stays served. A plugin that declares a card declares ^0.27.0.
2644
+ *
2645
+ * 0.27.1 lets a manifest URI module name the exact sign-in scheme its calls use, as a tool can
2646
+ * (#14928): `authScheme`, a scheme of the module's `authService`, local or another plugin's. A
2647
+ * hosted module's code and manifest must agree on it, and the daemon reads it to find an
2648
+ * external-CLI scheme without running the module. A module that runs in the daemon is unchanged,
2649
+ * so this is additive; a plugin whose manifest sets `authScheme` declares ^0.27.1.
2644
2650
  */
2645
- declare const KAY_PLUGIN_SDK_VERSION: "0.27.0";
2651
+ declare const KAY_PLUGIN_SDK_VERSION: "0.27.1";
2646
2652
 
2647
2653
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2648
2654
 
package/dist/kay-app.d.ts CHANGED
@@ -2612,8 +2612,14 @@ declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
2612
2612
  * `write`. `app.approvals`, its `prepare`, `finalize` and `resolveResource` are gone, and a write can
2613
2613
  * refuse in the person's words with `UriProviderError.refusalMessage`. No plugin outside this repo
2614
2614
  * declared a card, so 0.26.3 stays served. A plugin that declares a card declares ^0.27.0.
2615
+ *
2616
+ * 0.27.1 lets a manifest URI module name the exact sign-in scheme its calls use, as a tool can
2617
+ * (#14928): `authScheme`, a scheme of the module's `authService`, local or another plugin's. A
2618
+ * hosted module's code and manifest must agree on it, and the daemon reads it to find an
2619
+ * external-CLI scheme without running the module. A module that runs in the daemon is unchanged,
2620
+ * so this is additive; a plugin whose manifest sets `authScheme` declares ^0.27.1.
2615
2621
  */
2616
- declare const KAY_PLUGIN_SDK_VERSION: "0.27.0";
2622
+ declare const KAY_PLUGIN_SDK_VERSION: "0.27.1";
2617
2623
 
2618
2624
  declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
2619
2625
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-sdk",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "description": "The Kay plugin SDK — types and helpers for authoring a Kay directory plugin.",
5
5
  "author": "YakLabs",
6
6
  "type": "module",