@capybara-hq/plugin-sdk 0.1.0-rc.87 → 0.1.0-rc.89

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
@@ -18,6 +18,8 @@ npm install @capybara-hq/plugin-sdk
18
18
  in capybara-hq/plugins and its reference plugin [plugins/example-counter](https://github.com/capybara-hq/plugins/tree/main/plugins/example-counter).
19
19
  - Writing a plugin (manifest, skills, connector templates, dependencies, marketplaces):
20
20
  [.agents/skills/writing-plugins](https://github.com/capybara-hq/core/tree/main/.agents/skills/writing-plugins).
21
+ - The public API report: `api/plugin-sdk.api.md` in this package (generated by API Extractor),
22
+ every exported name and its exact type in one file.
21
23
  - The repository: [capybara-hq/core](https://github.com/capybara-hq/core).
22
24
 
23
25
  Capybara is on 0.x: the SDK may change in breaking ways between minor versions, and each release's
@@ -122,8 +122,9 @@ ctx.setup.check("bot-token", {
122
122
  - The `run.lifecycle` hook (`permissions.hooks`) tells the extension each phase of a run of a
123
123
  conversation about its subject: `started`, `waiting` (on a person), `resumed` (that wait
124
124
  cleared), `finished`, `failed` or `aborted`; and that directed work was not run
125
- (`offer_declined`, `reason` `off`, `declined`, `paused`, `expired` or `undelivered`). It is
126
- delivered at least once: make the handler idempotent and treat it as a hint. For events about
125
+ (`offer_declined`, `reason` `off`, `declined`, `paused`, `expired` or `undelivered`, with the
126
+ event's `eventId` and your `dedupeKey`, so you can tell a stale decline from one for your latest
127
+ event). It is delivered at least once: make the handler idempotent and treat it as a hint. For events about
127
128
  your subjects see `trigger-source`.
128
129
 
129
130
  ## Extension points