@q9labsai/chalk-client 4.1.17 → 5.0.0

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.
Files changed (177) hide show
  1. package/README.md +60 -42
  2. package/dist/access/grant.d.ts +0 -10
  3. package/dist/access/grant.d.ts.map +1 -1
  4. package/dist/access/manager.d.ts.map +1 -1
  5. package/dist/{chunk-ZRMGKMX4.js → chunk-2HJIJVE2.js} +552 -3651
  6. package/dist/{chunk-CZUJNAUI.js → chunk-AVXJ4HQU.js} +142 -49
  7. package/dist/{chunk-A7BVZEFM.js → chunk-CMVO7USN.js} +2 -8
  8. package/dist/{chunk-AUQTQOLR.js → chunk-IPAN4LUZ.js} +627 -2434
  9. package/dist/{chunk-2DZUHV6I.js → chunk-O2NOZKJP.js} +129 -721
  10. package/dist/client.d.ts +2559 -5303
  11. package/dist/client.d.ts.map +1 -1
  12. package/dist/collaboration/types.d.ts +21 -1
  13. package/dist/collaboration/types.d.ts.map +1 -1
  14. package/dist/collaboration/wire.d.ts +8 -1
  15. package/dist/collaboration/wire.d.ts.map +1 -1
  16. package/dist/connection/dependencies.d.ts +7 -13
  17. package/dist/connection/dependencies.d.ts.map +1 -1
  18. package/dist/connection/index.d.ts +1 -6
  19. package/dist/connection/index.d.ts.map +1 -1
  20. package/dist/connection/lifecycle.d.ts.map +1 -1
  21. package/dist/connection/media-devices.d.ts +11 -0
  22. package/dist/connection/media-devices.d.ts.map +1 -1
  23. package/dist/connection/production.d.ts +1 -1
  24. package/dist/connection/production.d.ts.map +1 -1
  25. package/dist/connection/types.d.ts +4 -4
  26. package/dist/connection/types.d.ts.map +1 -1
  27. package/dist/effect.d.ts +0 -4
  28. package/dist/effect.d.ts.map +1 -1
  29. package/dist/effect.js +53 -776
  30. package/dist/generated/http-api.d.ts +2603 -5293
  31. package/dist/generated/http-api.d.ts.map +1 -1
  32. package/dist/generated/schemas.d.ts +1893 -6870
  33. package/dist/generated/schemas.d.ts.map +1 -1
  34. package/dist/generated/sync.d.ts +191 -28
  35. package/dist/generated/sync.d.ts.map +1 -1
  36. package/dist/generated/whiteboard-v1.d.ts +0 -7
  37. package/dist/generated/whiteboard-v1.d.ts.map +1 -1
  38. package/dist/index.d.ts +0 -4
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js +10 -119
  41. package/dist/media/client.d.ts +6 -5
  42. package/dist/media/client.d.ts.map +1 -1
  43. package/dist/media/index.d.ts +1 -2
  44. package/dist/media/index.d.ts.map +1 -1
  45. package/dist/media/index.js +1 -7
  46. package/dist/media/plane.d.ts +12 -1
  47. package/dist/media/plane.d.ts.map +1 -1
  48. package/dist/media/target.d.ts +4 -2
  49. package/dist/media/target.d.ts.map +1 -1
  50. package/dist/media/tracks.d.ts +2 -2
  51. package/dist/media/tracks.d.ts.map +1 -1
  52. package/dist/media/transport.d.ts.map +1 -1
  53. package/dist/media/types.d.ts +4 -11
  54. package/dist/media/types.d.ts.map +1 -1
  55. package/dist/public-invites/client.d.ts.map +1 -1
  56. package/dist/public-invites/index.d.ts +2 -2
  57. package/dist/public-invites/index.d.ts.map +1 -1
  58. package/dist/public-invites/index.js +2 -5
  59. package/dist/public-invites/types.d.ts +2 -6
  60. package/dist/public-invites/types.d.ts.map +1 -1
  61. package/dist/server/client.d.ts.map +1 -1
  62. package/dist/server/index.cjs +12 -112
  63. package/dist/server/index.d.cts +1 -1
  64. package/dist/server/index.d.ts +1 -1
  65. package/dist/server/index.d.ts.map +1 -1
  66. package/dist/server/index.js +9 -109
  67. package/dist/server/types.d.cts +0 -7
  68. package/dist/server/types.d.ts +0 -7
  69. package/dist/server/types.d.ts.map +1 -1
  70. package/dist/space-client/chat-controller-helpers.d.ts.map +1 -1
  71. package/dist/space-client/chat-controller.d.ts +2 -3
  72. package/dist/space-client/chat-controller.d.ts.map +1 -1
  73. package/dist/space-client/controller-effects.d.ts +0 -3
  74. package/dist/space-client/controller-effects.d.ts.map +1 -1
  75. package/dist/space-client/core.d.ts +3 -18
  76. package/dist/space-client/core.d.ts.map +1 -1
  77. package/dist/space-client/core.test.helpers.d.ts.map +1 -1
  78. package/dist/space-client/effect.d.ts +0 -2
  79. package/dist/space-client/effect.d.ts.map +1 -1
  80. package/dist/space-client/index.d.ts +1 -2
  81. package/dist/space-client/index.d.ts.map +1 -1
  82. package/dist/space-client/media-controller.d.ts +4 -4
  83. package/dist/space-client/media-controller.d.ts.map +1 -1
  84. package/dist/space-client/offline-actions-storage.d.ts +18 -3
  85. package/dist/space-client/offline-actions-storage.d.ts.map +1 -1
  86. package/dist/space-client/offline-actions.d.ts +1 -0
  87. package/dist/space-client/offline-actions.d.ts.map +1 -1
  88. package/dist/space-client/participants-controller.d.ts +2 -3
  89. package/dist/space-client/participants-controller.d.ts.map +1 -1
  90. package/dist/space-client/reactions-controller.d.ts +2 -3
  91. package/dist/space-client/reactions-controller.d.ts.map +1 -1
  92. package/dist/space-client/recording-controller.d.ts +2 -3
  93. package/dist/space-client/recording-controller.d.ts.map +1 -1
  94. package/dist/space-client/space-client.d.ts.map +1 -1
  95. package/dist/space-client/store.d.ts.map +1 -1
  96. package/dist/space-client/terminal.test.helpers.d.ts +33 -12
  97. package/dist/space-client/terminal.test.helpers.d.ts.map +1 -1
  98. package/dist/space-client/types.d.ts +15 -8
  99. package/dist/space-client/types.d.ts.map +1 -1
  100. package/dist/sync/index.d.ts +1 -1
  101. package/dist/sync/index.d.ts.map +1 -1
  102. package/dist/sync/index.js +1 -3
  103. package/dist/sync/v1-client.d.ts +4 -3
  104. package/dist/sync/v1-client.d.ts.map +1 -1
  105. package/dist/sync/v1-collaboration-state.d.ts +10 -3
  106. package/dist/sync/v1-collaboration-state.d.ts.map +1 -1
  107. package/dist/sync/v1-types.d.ts +10 -9
  108. package/dist/sync/v1-types.d.ts.map +1 -1
  109. package/dist/whiteboard/file-download-transport.d.ts +8 -0
  110. package/dist/whiteboard/file-download-transport.d.ts.map +1 -0
  111. package/dist/whiteboard/index.d.ts +1 -1
  112. package/dist/whiteboard/index.d.ts.map +1 -1
  113. package/dist/whiteboard/types.d.ts +12 -15
  114. package/dist/whiteboard/types.d.ts.map +1 -1
  115. package/dist/whiteboard/v1-client.d.ts.map +1 -1
  116. package/package.json +4 -16
  117. package/dist/access/episode-diagnostic-credential.d.ts +0 -11
  118. package/dist/access/episode-diagnostic-credential.d.ts.map +0 -1
  119. package/dist/chunk-EWTITNJ3.js +0 -1163
  120. package/dist/chunk-HW5TTZL2.js +0 -99
  121. package/dist/chunk-PBSYXPNJ.js +0 -23
  122. package/dist/chunk-RCDXIDCN.js +0 -33
  123. package/dist/connection/snapshot.d.ts +0 -23
  124. package/dist/connection/snapshot.d.ts.map +0 -1
  125. package/dist/feedback/collector.d.ts +0 -14
  126. package/dist/feedback/collector.d.ts.map +0 -1
  127. package/dist/feedback/context.d.ts +0 -38
  128. package/dist/feedback/context.d.ts.map +0 -1
  129. package/dist/feedback/controller.d.ts +0 -4
  130. package/dist/feedback/controller.d.ts.map +0 -1
  131. package/dist/feedback/index.d.ts +0 -7
  132. package/dist/feedback/index.d.ts.map +0 -1
  133. package/dist/feedback/transport.d.ts +0 -29
  134. package/dist/feedback/transport.d.ts.map +0 -1
  135. package/dist/feedback/types.d.ts +0 -202
  136. package/dist/feedback/types.d.ts.map +0 -1
  137. package/dist/feedback/validation.d.ts +0 -30
  138. package/dist/feedback/validation.d.ts.map +0 -1
  139. package/dist/media/rtk.d.ts +0 -101
  140. package/dist/media/rtk.d.ts.map +0 -1
  141. package/dist/space-client/episode-diagnostic-registry.d.ts +0 -13
  142. package/dist/space-client/episode-diagnostic-registry.d.ts.map +0 -1
  143. package/dist/space-client/episode-diagnostic-render-registry.d.ts +0 -4
  144. package/dist/space-client/episode-diagnostic-render-registry.d.ts.map +0 -1
  145. package/dist/space-client/episode-diagnostic-runtime.d.ts +0 -105
  146. package/dist/space-client/episode-diagnostic-runtime.d.ts.map +0 -1
  147. package/dist/telemetry/attributes.d.ts +0 -7
  148. package/dist/telemetry/attributes.d.ts.map +0 -1
  149. package/dist/telemetry/client.d.ts +0 -44
  150. package/dist/telemetry/client.d.ts.map +0 -1
  151. package/dist/telemetry/delivery.d.ts +0 -107
  152. package/dist/telemetry/delivery.d.ts.map +0 -1
  153. package/dist/telemetry/exporter.d.ts +0 -38
  154. package/dist/telemetry/exporter.d.ts.map +0 -1
  155. package/dist/telemetry/index.d.ts +0 -7
  156. package/dist/telemetry/index.d.ts.map +0 -1
  157. package/dist/telemetry/index.js +0 -50
  158. package/dist/telemetry/journey.d.ts +0 -52
  159. package/dist/telemetry/journey.d.ts.map +0 -1
  160. package/dist/telemetry/random.d.ts +0 -18
  161. package/dist/telemetry/random.d.ts.map +0 -1
  162. package/dist/telemetry/reconnect.d.ts +0 -7
  163. package/dist/telemetry/reconnect.d.ts.map +0 -1
  164. package/dist/telemetry/rtc.d.ts +0 -41
  165. package/dist/telemetry/rtc.d.ts.map +0 -1
  166. package/dist/telemetry/storage.d.ts +0 -22
  167. package/dist/telemetry/storage.d.ts.map +0 -1
  168. package/dist/telemetry/sync.d.ts +0 -10
  169. package/dist/telemetry/sync.d.ts.map +0 -1
  170. package/dist/telemetry/test-support.d.ts +0 -51
  171. package/dist/telemetry/test-support.d.ts.map +0 -1
  172. package/dist/telemetry/trace.d.ts +0 -18
  173. package/dist/telemetry/trace.d.ts.map +0 -1
  174. package/dist/telemetry/types.d.ts +0 -109
  175. package/dist/telemetry/types.d.ts.map +0 -1
  176. package/dist/whiteboard/file-http-transport.d.ts +0 -9
  177. package/dist/whiteboard/file-http-transport.d.ts.map +0 -1
package/README.md CHANGED
@@ -96,26 +96,6 @@ client.dispose();
96
96
  `endEpisode` and `extendEpisode` are capability-gated. Use `dispose()` when
97
97
  the client will no longer be used; it releases the Connection and its resources.
98
98
 
99
- ## Feedback
100
-
101
- `SpaceClient.feedback` submits a bug, feature request, or other feedback
102
- report to Chalk with the current safe diagnostic context. `prepare` gives a
103
- form one stable idempotency key and captures evidence before the user sends it.
104
-
105
- ```ts
106
- const feedback = await client.feedback.prepare();
107
-
108
- await feedback.send({
109
- category: "bug",
110
- message: "The camera control stopped responding.",
111
- });
112
- ```
113
-
114
- The transport uses the short-lived Diagnostic Participant credential already
115
- carried by the AccessGrant. That credential is never exposed through the public
116
- Feedback API. Custom screenshot adapters may be passed to `prepare`; a typed
117
- unavailable result is valid and never blocks a text report.
118
-
119
99
  ## Recording and artifact Events
120
100
 
121
101
  Use `client.recording.start()` and `client.recording.stop()` inside an Episode, or set the Space's Automatic Recording policy. There is no REST Recording start/stop operation.
@@ -225,28 +205,6 @@ as nonrecoverable `environment.unsupported`. Joining with both devices explicitl
225
205
  off does not require capture. Access, Sync, or media transport failures can still
226
206
  reject `join()` independently of capture.
227
207
 
228
- ## Journey telemetry
229
-
230
- Client telemetry is opt-in. Start a `space.join` journey when a Participant
231
- joins a Space, pass its `context` to HTTP or Sync boundaries, and flush the
232
- bounded queue when the surface is ready to export:
233
-
234
- ```ts
235
- import { createTelemetryClient } from "@q9labsai/chalk-client/telemetry";
236
-
237
- const telemetry = createTelemetryClient({ enabled: true, baseUrl: "https://api.example.com" });
238
- const journey = telemetry.startJourney({ kind: "space.join" });
239
- const response = await fetch("/api/chalk/spaces/design-review", { headers: journey.headers });
240
- journey.terminal(response.ok ? "succeeded" : "failed");
241
- await telemetry.flush();
242
- ```
243
-
244
- Journey events carry `journey_id`, W3C `traceparent`, and optional
245
- `tracestate`. Attributes and the in-memory timeline are bounded, and the
246
- built-in client observations record aggregate RTC state only: access-grant
247
- contents, Participant identity, Space or Episode identifiers, media payloads,
248
- and request bodies stay out of telemetry.
249
-
250
208
  ## Effect entry
251
209
 
252
210
  The default entry is Promise-based. Effect applications can use the
@@ -264,3 +222,63 @@ Effect program.
264
222
  capacity, retries, timers, and settlement.
265
223
  - `V1LiveTargetCoordinator` owns self-media target authorization, adapter
266
224
  execution, retries, deadlines, and local target state.
225
+
226
+ ### Whiteboard connection watchdog
227
+
228
+ The whiteboard-v1 client pings every 4 seconds (at most 225 payload bytes/minute
229
+ when quiet). A probe overdue by 2 seconds triggers an immediate confirmation;
230
+ two slow probes replace the socket through normal reconnect and snapshot catch-up.
231
+ The first stalled path is detached within 8 seconds of its last healthy probe
232
+ cycle, plus reconnect/catch-up. Repeated failures delay the next probe cycle by
233
+ 1, 2, then at most 4 seconds, so detection on a new connection stays within
234
+ 12 seconds of welcome, plus catch-up. A minute of timely replies resets back-off.
235
+ These bounds require a visible page and timely JavaScript scheduling. Default
236
+ watchdog timing uses a monotonic clock; an injected clock must also be monotonic. Timer drift
237
+ above 250 ms, hidden/resumed pages (4-second grace), and whiteboard frames received
238
+ within the last 2 seconds suppress slow samples: replay volume is progress, not
239
+ a stuck path. Catch-up time depends on network and board volume and is not bounded.
240
+
241
+ Sync sends one ordered anonymous pong per ping. A missing pong can cause an extra
242
+ replacement; this costs reconnect/catch-up and is intentional. Unsolicited pongs
243
+ are ignored and reset probe evidence. Set `watchdog: false` in
244
+ `ChalkWhiteboardV1ClientOptions` to disable slow-path replacement while retaining
245
+ 4-second keepalives. `onWatchdogReplacement` receives one bounded event per
246
+ replacement: reason, up to two measured round trips, up to two outstanding probe
247
+ ages (not RTT estimates), and the next back-off. Consumer telemetry exceptions do
248
+ not prevent recovery. Subscription stop detaches without waiting for socket close.
249
+
250
+ ### Screen capture source hints
251
+
252
+ ```ts
253
+ await client.media.setScreenShareEnabled(true, { surface: "window" });
254
+ const { capture } = client.getSnapshot().media.screenShare;
255
+ // capture?.surface is the actual picker selection; capture?.label is its label.
256
+ await client.media.setScreenShareEnabled(false);
257
+ ```
258
+
259
+ `surface` accepts `"monitor"`, `"window"`, or `"browser"`. These are browser hints, not filters or guarantees. The browser's picker always decides; unsupported hints do not prevent capture. The call's own tab is excluded where supported, and source switching is enabled. `audio` defaults to `false`; `true` requests capture audio from the browser. The current single-track screen publication remains video-only (captured audio is not published). Missing source settings or labels are reported as `null`.
260
+
261
+ ### Message reactions
262
+
263
+ ```ts
264
+ await client.chat.react({ messageId, emoji: "👏", on: true });
265
+ await client.chat.react({ messageId, emoji: "👏", on: false });
266
+ ```
267
+
268
+ The action sets a desired state, never toggles it. Retrying the same request leaves one membership (or none). Anyone with `sendChat` may react. `CHALK_REACTIONS` exports the fixed 24-emoji set shared with call reactions. Unsupported emoji are rejected. A message has at most 128 reaction memberships across all emoji; adding another returns `overloaded`, while removal remains available.
269
+
270
+ Each message's `reactions` contains `{ emoji, count, participantIds }`; IDs identify who reacted and can be resolved through the participant roster. Old messages/servers may omit the wire fields; the client normalizes them to an empty list and revision `"0"`. New history includes current reactions. Loaded messages update live, and reconnecting reloads their reaction snapshots. Revisions keep delayed broadcasts/history responses from rolling state backward. Actions taken while reconnecting use the same persisted, participant-scoped offline queue as chat messages. They are cleared if the participant or Episode changes and fail if the message has expired. Deleting a message cascades to its reactions under existing retention.
271
+
272
+ Message reactions are stored separately from recording facts and are not rendered or added to recording timelines yet. Recording validators accept all 24 call-reaction emoji.
273
+
274
+ #### Wire compatibility and rollout
275
+
276
+ SpaceClient negotiates `collaboration_v2` for the 24-emoji set and per-message reactions. Deploy the migration and recording validators, then Sync, before deploying this SDK. Sync continues to serve `collaboration_v1` with the original message shape and six call emoji; it never broadcasts the new per-message frames or expanded call emoji to those sockets. Older SDKs therefore keep working against the updated server. The base sync protocol remains v1. Low-level `createV1SyncClient` consumers opt in with `collaboration: { name: "collaboration_v2", chatCursor: { afterSequence: null, retainedFloorSequence: null } }`; the default low-level extension stays v1. `reactToChatMessage(input)` rejects locally unless v2 was negotiated. New SpaceClient versions require the updated Sync server; there is no downgrade of the message-reaction feature.
277
+
278
+ ### Shared tab audio
279
+
280
+ `await client.media.setScreenShareEnabled(true, { surface: "browser", audio: true })` requests tab audio. The browser picker remains authoritative: selecting a window or declining audio still shares video normally. Audio is published separately as `screen_audio`; it starts, stops, and is revoked with the share, never with the microphone. `media.screenShare.hasAudio` reports local live audio; `participants.roster[].media.screenShareHasAudio` reports the remote publication. `media.remote` contains the received track.
281
+
282
+ The sharer keeps local playback (`suppressLocalAudioPlayback: false`). Display audio disables echo cancellation, noise suppression and automatic gain control to preserve music; microphone capture and its processing are unchanged. System audio is excluded to avoid sending the call back to itself. Headphones avoid acoustic doubling through the microphone; local playback cannot be preserved while guaranteeing that loudspeakers never leak into it. Chrome documents [local playback control](https://developer.chrome.com/blog/screen-sharing-improvements-in-chrome-109) and [system-audio feedback](https://developer.chrome.com/docs/web-platform/screen-sharing-controls). [Meet documents the same “Also share tab audio” picker control](https://support.google.com/meet/answer/9308856?hl=en). No public X documentation establishing its echo default was found.
283
+
284
+ Shared tab audio is excluded from recordings until the recording format supports it. React Native display capture behavior is unchanged.
@@ -1,4 +1,3 @@
1
- import { type EpisodeDiagnosticCredential } from "./episode-diagnostic-credential";
2
1
  declare const syncCredentialBrand: unique symbol;
3
2
  declare const mediaCredentialBrand: unique symbol;
4
3
  declare const accessGrantBrand: unique symbol;
@@ -27,21 +26,12 @@ export type ParticipantMediaAccess = {
27
26
  readonly connectionId: string;
28
27
  readonly stunServer: string;
29
28
  };
30
- } | {
31
- readonly token: ParticipantMediaCredential;
32
- readonly expiresAt: string;
33
- readonly provider: "cloudflare_rtk";
34
- readonly clientPayload: {
35
- readonly providerSubject: string;
36
- readonly token: string;
37
- };
38
29
  };
39
30
  export type ParsedAccessGrant = {
40
31
  readonly subject: AccessSubject;
41
32
  readonly episodeStartedAt?: string | null;
42
33
  readonly sync: ParticipantSyncAccess;
43
34
  readonly media: ParticipantMediaAccess;
44
- readonly diagnostics?: EpisodeDiagnosticCredential | null;
45
35
  };
46
36
  /** Opaque signed envelope minted by the server SDK and consumed by SpaceClient. */
47
37
  export type AccessGrant = {
@@ -1 +1 @@
1
- {"version":3,"file":"grant.d.ts","sourceRoot":"","sources":["../../src/access/grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAGrH,OAAO,CAAC,MAAM,mBAAmB,EAAE,OAAO,MAAM,CAAC;AACjD,OAAO,CAAC,MAAM,oB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