@openchamber/sdk 2.6.1-canary.20261103.5 → 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`.
|
|
@@ -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) => {
|