@openchamber/sdk 2.6.1-canary.20261102.3 → 2.6.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/DOCUMENTATION.md CHANGED
@@ -24,6 +24,8 @@ Public author pages live in `packages/docs/content/docs/sdk.mdx`, `sdk/host.mdx`
24
24
 
25
25
  ## Invariants
26
26
 
27
+ Notification services can receive kind `pull-request` for a GitHub merge the user requested here. It carries no session identity. The fixed event title and repository reference use the ordinary notification text fields; enterprise mode strips the reference at the host boundary. Services that validate notification kinds with an older SDK must update that parser to accept this additive kind.
28
+
27
29
  - `scripts/bump-version.mjs` refreshes `bun.lock` after bumping package versions; include both in the release commit. Bun resolves `workspace:*` in published archives from lockfile versions, and a frozen install can succeed with stale versions. `scripts/bump-version.test.mjs` covers the bump, frozen install, and packed dependency versions together.
28
30
 
29
31
  - Extension activity uses `useConfigStore.isConnected` plus live status records and directory `sessionStatusReady` authority. `useUIStore.eventStreamStatus` is an unmaintained diagnostic field, not a connection gate; its default `idle` must not hide known running or idle sessions as `unknown`.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Build extensions for [OpenChamber](https://openchamber.dev). An extension can show a panel on the right-hand rail or run actions in the background without a panel. It can read the current project and session, show toasts, put text in the chat box, attach a task to a session, and, once the user approves it, start sessions and send prompts. This package is the contract between the extension and the app.
4
4
 
5
- Full guide: [Build an extension](https://openchamber.dev/docs/sdk/). Reference: [Host API](https://openchamber.dev/docs/sdk/host/) and [UI kit](https://openchamber.dev/docs/sdk/ui/). Extensions with a local process: [GUEST_SERVICES.md](./GUEST_SERVICES.md).
5
+ Full guide: [Build an extension](https://docs.openchamber.dev/sdk/). Reference: [Host API](https://docs.openchamber.dev/sdk/host/) and [UI kit](https://docs.openchamber.dev/sdk/ui/). Extensions with a local process: [GUEST_SERVICES.md](./GUEST_SERVICES.md).
6
6
 
7
7
  Extensions load in OpenChamber web and desktop. VS Code and mobile do not load them yet.
8
8
 
@@ -44,7 +44,7 @@ bunx openchamber-guest-bundle panel/main.ts panel/main.js
44
44
 
45
45
  Then install the folder from Settings → Extensions → Add. Folder installs run from your folder, so edit, rebuild, and reload. A `.zip` or an https git or zip link is copied into OpenChamber's data folder instead; ship the built files only. Git installs can update from Settings → Extensions when the repository's `version` is newer than the installed one, so bump `version` to ship an update; `https://…/panel.git#v1` pins a tag or branch.
46
46
 
47
- A complete three-file example is on the [Build an extension](https://openchamber.dev/docs/sdk/) page. Six examples are at [github.com/openchamber/openchamber/tree/main/packages/sdk/examples](https://github.com/openchamber/openchamber/tree/main/packages/sdk/examples).
47
+ A complete three-file example is on the [Build an extension](https://docs.openchamber.dev/sdk/) page. Six examples are at [github.com/openchamber/openchamber/tree/main/packages/sdk/examples](https://github.com/openchamber/openchamber/tree/main/packages/sdk/examples).
48
48
 
49
49
  ## Manifest
50
50
 
@@ -222,7 +222,7 @@ host.onItem((item) => {
222
222
  });
223
223
  ```
224
224
 
225
- Every method, its limits, and the error codes are on the [Host API](https://openchamber.dev/docs/sdk/host/) page.
225
+ Every method, its limits, and the error codes are on the [Host API](https://docs.openchamber.dev/sdk/host/) page.
226
226
 
227
227
  ## Popovers outside the extension frame
228
228
 
@@ -653,7 +653,7 @@ export declare const notificationsProviderTimeoutMs: (method: NotificationsProvi
653
653
  * `review`: an auto-review ended; the `goal_*` kinds: a session goal settled.
654
654
  * Which kinds reach a channel follows the user's own notification toggles.
655
655
  */
656
- export declare const GUEST_NOTIFICATION_KINDS: readonly ['ready', 'error', 'question', 'permission', 'review', 'goal_complete', 'goal_blocked', 'goal_budget'];
656
+ export declare const GUEST_NOTIFICATION_KINDS: readonly ['ready', 'error', 'question', 'permission', 'review', 'goal_complete', 'goal_blocked', 'goal_budget', 'pull-request'];
657
657
  export type GuestNotificationKind = (typeof GUEST_NOTIFICATION_KINDS)[number];
658
658
  /**
659
659
  * One notification as OpenChamber shows it, after the user's templates. In
@@ -334,7 +334,7 @@ export const notificationsProviderTimeoutMs = (method) => (method === 'notify' ?
334
334
  * `review`: an auto-review ended; the `goal_*` kinds: a session goal settled.
335
335
  * Which kinds reach a channel follows the user's own notification toggles.
336
336
  */
337
- export const GUEST_NOTIFICATION_KINDS = ['ready', 'error', 'question', 'permission', 'review', 'goal_complete', 'goal_blocked', 'goal_budget'];
337
+ export const GUEST_NOTIFICATION_KINDS = ['ready', 'error', 'question', 'permission', 'review', 'goal_complete', 'goal_blocked', 'goal_budget', 'pull-request'];
338
338
  export const isNotificationsProviderMethod = (value) => (NOTIFICATIONS_PROVIDER_METHODS.some((method) => method === value));
339
339
  /** `undefined` is an account that is neither `null` nor `{ id, login }`. */
340
340
  const readNotificationsAccount = (account) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openchamber/sdk",
3
- "version": "2.6.1-canary.20261102.3",
3
+ "version": "2.6.1",
4
4
  "description": "Contract for OpenChamber guests: manifest parse and iframe host bridge.",
5
5
  "private": false,
6
6
  "license": "MIT",