@yaklabs-ai/plugin-sdk 0.14.1 → 0.15.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.
@@ -22,8 +22,8 @@
22
22
  * This module's `read` is a pure projection of the URI it was handed — no network, no credential.
23
23
  * Declaring `requiresAuth` anyway would not be a harmless formality: an auth-gated module whose
24
24
  * binding is unsatisfied has its public-web `urlPattern` claims suppressed and its `matches()`
25
- * wrapped to decline `http(s)` (`agent-session.ts` `_suppressPublicUrlClaims`, and
26
- * `authSuppressedCatalogModule` for discovery). A pasted Supabase link would therefore stay
25
+ * wrapped to decline `http(s)` (herd-agent's `uri-catalog-projection.ts`: `suppressPublicUrlClaims`,
26
+ * and `authSuppressedCatalogModule` for discovery). A pasted Supabase link would therefore stay
27
27
  * unbranded for every user who has not yet connected Supabase — which is exactly the user the
28
28
  * branded pill is for. The vendor's MCP tools remain gated on their own, by the MCP host.
29
29
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-sdk",
3
- "version": "0.14.1",
3
+ "version": "0.15.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",
@@ -289,10 +289,10 @@ on the plugin's row (or on the plugin source's row, when the whole source found
289
289
 
290
290
  A directory plugin does not request workflows in its manifest. During `kay.app` activation, call
291
291
  `app.workflows.define(localId, { name, trigger, run })` to put a durable, daemon-scheduled row on
292
- the Automations page. The host raises the `workflows.define` claim for every `kay.app` plugin; a
293
- bundled install holds every grant, while a directory plugin needs the user to add that grant to its
294
- `installs` row. Source class no longer decides workflow authority, and the capability is ABSENT
295
- rather than refused when ungranted, so guard on `app.workflows === undefined`.
292
+ the Automations page. The first `define` raises the `workflows.define` claim, decided once
293
+ `activate()` resolves; a bundled install holds every grant, while a directory plugin needs the user
294
+ to add that grant to its `installs` row, and until then it does not start. Source class no longer
295
+ decides workflow authority. `app.workflows` is absent only for a plugin with no workflow namespace.
296
296
 
297
297
  The product-agent procedure is the builtin skill `create-workflow`
298
298
  (`packages/agent-runtime/src/kay/builtin-skills/`), and the API reference is the "Durable Workflows