@memberjunction/realtime-runtime 6.2.0-edge.4 → 6.2.0-edge.5

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 (31) hide show
  1. package/dist/hosts/IRealtimeMediaHost.d.ts +25 -30
  2. package/dist/hosts/IRealtimeMediaHost.d.ts.map +1 -1
  3. package/dist/index.d.ts +5 -1
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +4 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/session/RealtimeSessionRuntime.d.ts +285 -65
  8. package/dist/session/RealtimeSessionRuntime.d.ts.map +1 -1
  9. package/dist/session/RealtimeSessionRuntime.js +690 -165
  10. package/dist/session/RealtimeSessionRuntime.js.map +1 -1
  11. package/dist/session/RecordingShardDrain.d.ts +59 -0
  12. package/dist/session/RecordingShardDrain.d.ts.map +1 -0
  13. package/dist/session/RecordingShardDrain.js +135 -0
  14. package/dist/session/RecordingShardDrain.js.map +1 -0
  15. package/dist/session/RecordingShardQueue.d.ts +54 -37
  16. package/dist/session/RecordingShardQueue.d.ts.map +1 -1
  17. package/dist/session/RecordingShardQueue.js +87 -83
  18. package/dist/session/RecordingShardQueue.js.map +1 -1
  19. package/dist/session/RecordingShardStore.d.ts +57 -0
  20. package/dist/session/RecordingShardStore.d.ts.map +1 -0
  21. package/dist/session/RecordingShardStore.js +184 -0
  22. package/dist/session/RecordingShardStore.js.map +1 -0
  23. package/dist/session/RecordingShardWindow.d.ts +42 -0
  24. package/dist/session/RecordingShardWindow.d.ts.map +1 -0
  25. package/dist/session/RecordingShardWindow.js +88 -0
  26. package/dist/session/RecordingShardWindow.js.map +1 -0
  27. package/dist/session/RecordingTransport.d.ts +66 -0
  28. package/dist/session/RecordingTransport.d.ts.map +1 -0
  29. package/dist/session/RecordingTransport.js +61 -0
  30. package/dist/session/RecordingTransport.js.map +1 -0
  31. package/package.json +10 -9
@@ -15,6 +15,31 @@ import type { RealtimeContextActionResult } from '../channels/channel-contract-t
15
15
  import { type AppClientToolRegistration } from './app-client-tool-registry.js';
16
16
  import { type IChannelExposurePreferences } from './channel-exposure-preferences.js';
17
17
  import { type RealtimeSessionStartOptions } from './channel-session-scope.js';
18
+ import { type IRecordingShardStore } from './RecordingShardStore.js';
19
+ import type { IRecordingTransport } from './RecordingTransport.js';
20
+ /**
21
+ * How long teardown waits for the server to acknowledge the recording's terminal request, measured
22
+ * from after `CloseAgentSession`. The terminal is `keepalive`, so it completes even if the page goes
23
+ * away; the wait only keeps `SavingRecording$` (and so a host's "don't close yet" guard) up while the
24
+ * server has not confirmed. Bounded so a dead server can never hold the End of a call hostage —
25
+ * unacknowledged shards stay in the local store and the server janitor assembles what arrived.
26
+ */
27
+ export declare const RECORDING_TERMINAL_ACK_TIMEOUT_MS = 3000;
28
+ /**
29
+ * How long teardown waits for the recorder to stop and flush its encoder. `Stop()` runs BEFORE
30
+ * `CloseAgentSession`, so a wedged encoder must not be able to hold the End of a call (and the
31
+ * server session) open; past this the recording ends at the packets already encoded.
32
+ */
33
+ export declare const RECORDER_STOP_TIMEOUT_MS = 2000;
34
+ /** Options of {@link RealtimeSessionRuntime.SendRecordingTerminal}. */
35
+ export interface RecordingTerminalOptions {
36
+ /**
37
+ * False when the call may continue — the host's `visibilitychange → hidden` handler. The server then
38
+ * stamps the counts but assembles only after its grace period, so switching tabs does not rewrite the
39
+ * recording each time. Defaults to true (`pagehide`: the page is going away).
40
+ */
41
+ Final?: boolean;
42
+ }
18
43
  /**
19
44
  * `MJ: User Settings` key for the per-user "record this voice call" consent toggle. Stored as
20
45
  * the literal string `'true'`/`'false'` (read with `=== 'true'`), cross-device via
@@ -250,9 +275,9 @@ export declare class RealtimeSessionRuntime {
250
275
  protected readonly mediaHost: IRealtimeMediaHost;
251
276
  /**
252
277
  * @param mediaHost the platform's media capabilities. The runtime never touches `navigator`,
253
- * `Blob` or `FileReader` itself — microphone acquisition and audio recording
254
- * are the host's, because both are platform-specific product decisions
255
- * (permission UX, container format, where the bytes live).
278
+ * `Blob` or `FileReader` itself — microphone acquisition and audio capture/encoding
279
+ * are the host's, because both are platform-specific (permission UX, which
280
+ * encoder the platform offers).
256
281
  */
257
282
  constructor(mediaHost: IRealtimeMediaHost);
258
283
  private _connectionState$;
@@ -322,10 +347,11 @@ export declare class RealtimeSessionRuntime {
322
347
  readonly Minimized$: Observable<boolean>;
323
348
  /**
324
349
  * True while the end-of-call recording is being saved: from the first statement of a teardown
325
- * that holds a recorder until that teardown settles. False at construction and for unrecorded
326
- * sessions. Exists for #5195: the page must stay open until the consolidated upload lands, or
327
- * the recording is lost. The runtime is platform-free, so hosts own the reaction (a browser
328
- * `beforeunload` guard, a "saving" indicator, etc.).
350
+ * that holds a recorder until that teardown settles — which includes waiting (at most
351
+ * {@link RECORDING_TERMINAL_ACK_TIMEOUT_MS}) for the server to acknowledge the recording's terminal
352
+ * request. False at construction and for unrecorded sessions. Exists for #5195; the runtime is
353
+ * platform-free, so hosts own the reaction (a "saving" indicator, a disabled navigation button,
354
+ * etc.).
329
355
  */
330
356
  readonly SavingRecording$: Observable<boolean>;
331
357
  /** Synchronous read of {@link SavingRecording$}. */
@@ -536,25 +562,54 @@ export declare class RealtimeSessionRuntime {
536
562
  private narrationTemplate;
537
563
  /**
538
564
  * The active session's audio recorder (mic + agent mix), or `null` when the user didn't
539
- * consent or the browser can't record. Created after the client connects; stopped + uploaded
540
- * at teardown.
565
+ * consent or the browser can't record. Created after the client connects; its packets are
566
+ * shipped as 5 s shards during the call, and it is stopped at teardown.
541
567
  */
542
568
  private recorder;
543
569
  /** ISO timestamp of when recording started — sent to the server on session start. */
544
570
  private recordingStartedAtIso;
545
- /** Interval that flushes ~15s crash-recovery shards to the server during a recording. */
546
- private segmentTimer;
571
+ /** Interval that cuts and uploads a shard every {@link recordingShardFlushMs} during a recording. */
572
+ private shardFlushTimer;
573
+ /**
574
+ * The current recording's shard pipeline (window → store → queue → transport), or null when not
575
+ * recording. A fresh pipeline per recording keeps a flush still in flight from a previous session
576
+ * off this session's indexes. Its queue is closed when the recording ends; anything it had not
577
+ * delivered stays in the local store for the next-load drain.
578
+ */
579
+ private recordingShards;
580
+ /** How often packets are cut into shards: the 5 s shard window, so each tick seals about one window. */
581
+ private static readonly recordingShardFlushMs;
547
582
  /**
548
- * Owns shard indexing and retry for the current recording: it assigns each shard its index and
549
- * keeps failed shards to resend under that same index. A fresh queue per recording keeps a flush
550
- * still in flight from a previous session off this session's indexes. Null when not recording.
551
- * A recording that ends discards its queue, and any retained shard with it: the consolidated
552
- * end-of-call upload supersedes them, and if that upload is lost too, server-side recovery
553
- * (#5196) fills the gap with silence.
583
+ * Bytes of `keepalive` request bodies one terminal may use, the tail included. Browsers share about
584
+ * 64 KiB of in-flight keepalive bodies per page; the brief reserves 48 KiB of it for the recording,
585
+ * leaving room for a host's own close beacon (Caliber sends one from `pagehide` too).
554
586
  */
555
- private shardQueue;
556
- /** How often crash-recovery shards are flushed during a recording. */
557
- private static readonly segmentFlushMs;
587
+ private static readonly recordingKeepaliveBudgetBytes;
588
+ /**
589
+ * Bytes of this page's recording `keepalive` requests still in flight. The browser's keepalive budget
590
+ * is per page, and closing a tab fires `visibilitychange` and `pagehide` back to back, so each dispatch
591
+ * budgets against what the previous one has not finished sending.
592
+ */
593
+ private keepaliveBytesInFlight;
594
+ /** `sessionId/index` of shards whose `keepalive` copy is still in flight; never sent twice at once. */
595
+ private readonly keepaliveShardsInFlight;
596
+ /**
597
+ * Most runs one drain call makes (each run is itself bounded): it runs again when it was re-armed while
598
+ * running, or when a run deleted shards the server refused for good, which frees the page for the
599
+ * shards behind them.
600
+ */
601
+ private static readonly maxDrainRunsPerCall;
602
+ /** The durable local shard store, created on first use and shared by every recording of this runtime. */
603
+ private shardStore;
604
+ /**
605
+ * True once a drain ran with a transport; the drain then does nothing until a recording ends and
606
+ * re-arms it ({@link rearmPendingShardDrain}).
607
+ */
608
+ private pendingShardsDrained;
609
+ /** Bumped by every re-arm, so a drain already in flight cannot mark itself done over a re-arm. */
610
+ private drainGeneration;
611
+ /** The drain in flight, so overlapping callers share it instead of uploading the same shards twice. */
612
+ private drainInFlight;
558
613
  /**
559
614
  * Interval that tells the server this session is still in use, or `null` when no session is
560
615
  * running. See {@link startLivenessPulse} for why the server cannot work this out itself.
@@ -571,12 +626,33 @@ export declare class RealtimeSessionRuntime {
571
626
  * Recording-relative ms offset at which the IN-FLIGHT (not-yet-finalized) turn's audio
572
627
  * actually BEGAN — captured the moment that turn's audio/text starts flowing (its first
573
628
  * interim transcript), NOT inherited from the previous turn's end. `null` before the first
574
- * turn / between turns (until the next turn's audio starts). Sent as `utteranceStartMs` on
575
- * the turn's final transcript so per-turn timing lines up with the recording even when a
576
- * tool-call / silence gap sits between turns (the inherit-previous-end model mis-stamped
577
- * the post-gap turn at the pre-gap offset). See {@link markTurnAudioStart}.
629
+ * turn / between turns (until the next turn's audio starts), and it stays `null` for a turn
630
+ * whose start was never measured. Sent as `utteranceStartMs` on the turn's final transcript
631
+ * AS-IS — `null` is relayed as `null`, never replaced with 0 — so per-turn timing lines up
632
+ * with the recording even when a tool-call / silence gap sits between turns (the
633
+ * inherit-previous-end model mis-stamped the post-gap turn at the pre-gap offset). See
634
+ * {@link markTurnAudioStart}. A user speech onset signalled by the client does NOT land here;
635
+ * it has its own slot, {@link userSpeechStartMs}.
578
636
  */
579
637
  private currentTurnStartMs;
638
+ /**
639
+ * Recording-relative ms offset of the first user speech onset the client signalled
640
+ * (`OnUserSpeechStart`) since the last final user transcript, or `null` when none was signalled.
641
+ * It has its own slot, apart from {@link currentTurnStartMs}, so a user onset never claims the
642
+ * assistant turn's start: OpenAI user transcripts arrive asynchronously, often after the
643
+ * assistant's interims (or its final) for the reply have already flowed. See
644
+ * {@link markUserSpeechStart}.
645
+ */
646
+ private userSpeechStartMs;
647
+ /**
648
+ * `true` once an assistant turn has finalized after {@link userSpeechStartMs} was stamped BEFORE
649
+ * that turn began. The held onset may still be claimed by a late user transcript (OpenAI
650
+ * transcribes asynchronously), but the NEXT onset replaces it: an onset no transcript ever claimed
651
+ * (a VAD false positive, a failed transcription) must not become the start of the next real user
652
+ * turn. A barge-in onset (stamped during the assistant turn) is not superseded by that turn's
653
+ * final. An EMPTY user transcript releases the onset outright (see onClientTranscript).
654
+ */
655
+ private userSpeechStartSuperseded;
580
656
  /**
581
657
  * Wall-anchor of the SESSION clock (#3832): `performance.now()` at the moment the call went
582
658
  * live, or `null` before any call has. Read only through {@link nowTurnOffsetMs}.
@@ -831,7 +907,7 @@ export declare class RealtimeSessionRuntime {
831
907
  * pickers, and never synthesize overrides beyond what the user explicitly chose.
832
908
  * Omit/`null` for the server's defaults (today's behavior).
833
909
  * @param recordingConsent Optional EXPLICIT "record this call" consent for THIS session. When
834
- * `true`, the browser records a mic + agent-audio mix and uploads it at session end. When
910
+ * `true`, the browser records a mic + agent-audio mix and uploads it as 5 s Opus shards during the call. When
835
911
  * omitted/`null`, the per-user persisted preference (`mj.realtimeVoice.recordingConsent.v1`
836
912
  * via {@link UserInfoEngine}) is read as the default. `false` never records.
837
913
  * @param mediaCollectionId Optional per-session media-kit override (`MJ: Collections.ID`). When set,
@@ -1155,10 +1231,60 @@ export declare class RealtimeSessionRuntime {
1155
1231
  * nothing (the recorder disables itself).
1156
1232
  */
1157
1233
  private startRecording;
1158
- /** Begins flushing ~15s crash-recovery shards to the server for the duration of the recording. */
1159
- private startSegmentFlushing;
1160
- /** Stops the periodic crash-recovery shard flush. */
1161
- private stopSegmentFlushing;
1234
+ /**
1235
+ * Builds the transport for shard uploads and terminal requests. The default posts to MJAPI's REST
1236
+ * recording routes, derived from the session's GraphQL provider configuration, with credentials
1237
+ * read per request so a refreshed token is used. Returns null — shards then wait in the local
1238
+ * store — when the provider has no URL (a test double, a provider that is not GraphQL, or one not
1239
+ * configured yet). Override to supply another transport.
1240
+ */
1241
+ protected createRecordingTransport(): IRecordingTransport | null;
1242
+ /**
1243
+ * Builds the durable local shard store. The default is IndexedDB where the host has it and a no-op
1244
+ * store elsewhere (Node, some React Native runtimes). Called once per runtime. Override to supply
1245
+ * another store.
1246
+ */
1247
+ protected createRecordingShardStore(): IRecordingShardStore;
1248
+ /** The provider's signed-in user, or null (no provider yet, or an anonymous page). */
1249
+ private signedInUserID;
1250
+ /** The runtime's shard store, created on first use. */
1251
+ private ensureShardStore;
1252
+ /**
1253
+ * Re-uploads shards an earlier, interrupted call left in the local store (crash, closed tab, dead
1254
+ * network), each under its OWN session id and index, oldest first, at most
1255
+ * {@link MAX_DRAINED_SHARDS_PER_LOAD} per runtime. A shard is deleted only on the server's ack.
1256
+ *
1257
+ * Runs once per runtime instance, re-armed whenever a recording ends (which may leave shards behind
1258
+ * for the next session start on the same page). When there is no transport yet (no provider configuration, e.g.
1259
+ * before login) it returns 0 WITHOUT marking itself done, so a later call — session start — drains
1260
+ * instead of the shards being skipped for this page. Concurrent calls share one run. Never rejects.
1261
+ *
1262
+ * @returns the number of shards the server acknowledged in this call.
1263
+ */
1264
+ DrainPendingRecordingShards(): Promise<number>;
1265
+ /** Makes the next {@link DrainPendingRecordingShards} call run again, even one already in flight. */
1266
+ private rearmPendingShardDrain;
1267
+ /**
1268
+ * The body of {@link DrainPendingRecordingShards}, up to {@link maxDrainRunsPerCall} runs. It runs
1269
+ * again after a re-arm while a run is in flight (a recovery after an outage gave up on more shards),
1270
+ * because the running pass listed the store before those shards were there; and after a run deleted
1271
+ * refused shards, because those filled the page that the shards behind them now get.
1272
+ */
1273
+ private drainPendingShards;
1274
+ /** One drain pass over the signed-in user's stored shards (see {@link DrainStoredRecordingShardsOnce}). */
1275
+ private drainStoredShardsOnce;
1276
+ /** Builds this recording's shard pipeline and starts the 5 s flush. */
1277
+ private startShardFlushing;
1278
+ /**
1279
+ * Uploads succeed again after failing: re-sends, from the local store, the shards the queue gave up
1280
+ * on during the outage. The queue's attempts run out after about 10 s of a dead network (or an
1281
+ * expired token), and without this those shards would wait for a later page load — which a widget
1282
+ * guest never makes — leaving a permanent gap. Runs in the background, outside any page-lifecycle
1283
+ * handler, so the IndexedDB read is allowed. Never rejects.
1284
+ */
1285
+ private recoverStoredShardsAfterOutage;
1286
+ /** Stops the periodic shard flush. */
1287
+ private stopShardFlushing;
1162
1288
  /**
1163
1289
  * Starts telling the server this session is still in use (#3533).
1164
1290
  *
@@ -1190,37 +1316,109 @@ export declare class RealtimeSessionRuntime {
1190
1316
  */
1191
1317
  private pulseLiveness;
1192
1318
  /**
1193
- * Uploads the chunks captured since the last flush as one crash-recovery shard (durability only;
1194
- * the canonical file is still the full upload at teardown). Best-effort — never disturbs the call:
1195
- * a failed shard is retained by the queue and resent under its own index on later flushes, up to a
1196
- * bounded number of attempts (#5197).
1319
+ * One 5 s tick: cuts the packets encoded since the last tick into shards, stores each one, then
1320
+ * uploads them. Best-effort — never disturbs the call and never rejects. Overlapping ticks are
1321
+ * safe: `Append` and `SealTail` are synchronous, so indexes are assigned in order, and the queue
1322
+ * bounds how many flushes upload at once. A failed shard is retained by the queue and resent under
1323
+ * its own index on later ticks (#5197), and stays in the store until acknowledged.
1324
+ *
1325
+ * Every tick seals whatever it took, even under a full window (the window's 250-packet and byte caps
1326
+ * still split a larger batch). Capture starts slightly after this timer, so a tick almost never
1327
+ * holds exactly 250 packets; sealing only full windows would leave nearly 5 s of encoded audio in
1328
+ * memory at every moment, unstored and unsent, which a killed tab loses.
1329
+ */
1330
+ private flushRecordingShards;
1331
+ /** Writes shards to the local store, in order, before their upload starts. Never rejects. */
1332
+ private storeShards;
1333
+ /** Removes an acknowledged shard from the local store. Never rejects. */
1334
+ private deleteStoredShard;
1335
+ /**
1336
+ * Tells the server, right now, how much of the recording exists — for a host's `pagehide` and
1337
+ * `visibilitychange → hidden` handlers, where the page may be gone a moment later. Synchronous:
1338
+ * it seals the pending partial shard and fires the `keepalive` terminal with it, then re-sends
1339
+ * with `keepalive` whatever the server has not acknowledged yet (see
1340
+ * {@link dispatchRecordingTerminal}), and returns without waiting. Never stops the recorder: after
1341
+ * a `hidden` the call may well continue, and later audio simply starts the next shard index (the
1342
+ * tail is sealed, so no index is ever re-sent with different bytes). Also works while End is still
1343
+ * stopping the recorder, which is exactly when a host that does not await End navigates away.
1344
+ * No-op when nothing is recording, there is no session id or no transport, or nothing was
1345
+ * captured. Never throws.
1346
+ *
1347
+ * Deliberately opens NO IndexedDB transaction inside the handler: a `pagehide` handler gets a few
1348
+ * milliseconds, and a store write started there could not complete during unload anyway. The
1349
+ * shards it sealed are written to the store from a `setTimeout(0)` task after the handler returns:
1350
+ * on a page that is merely hidden (the call goes on) that keeps the durable copy until the server
1351
+ * acknowledges it; on a page that is unloading the task just never runs.
1352
+ */
1353
+ SendRecordingTerminal(options?: RecordingTerminalOptions): void;
1354
+ /**
1355
+ * Fires the terminal request, then re-sends with `keepalive` every shard the server has not
1356
+ * acknowledged, then stores the shards sealed for this terminal. Shared by End and the page-lifecycle
1357
+ * handlers. Everything that needs the network is dispatched synchronously, before any storage work,
1358
+ * because the page may close at any moment from here on: an ordinary `fetch` is aborted on unload,
1359
+ * and a `keepalive` one is not.
1360
+ *
1361
+ * - The terminal goes first so it always gets the keepalive budget. The server waits for the shards
1362
+ * the terminal says exist, and assembles as soon as the last missing one arrives.
1363
+ * - The re-sent shards are the queue's unacknowledged ones (on the wire, waiting in a batch, or
1364
+ * retained after a failure) plus `sealedNow`, oldest first, within
1365
+ * {@link recordingKeepaliveBudgetBytes} together with the tail. A `sealedNow` shard that does not
1366
+ * fit, or whose keepalive upload fails, goes through the ordinary queue instead (it may still
1367
+ * land if the page stays). The queue keeps its own shards either way; a duplicate is acked as one.
1368
+ * - `sealedNow` and the tail are stored after the dispatch, from a `setTimeout(0)` task when called
1369
+ * from a page-lifecycle handler (`deferStore`). A shard's stored copy is deleted on its ack, after
1370
+ * the store write, so a fast ack can never leave an orphan row.
1371
+ *
1372
+ * Resolves true when the terminal was acknowledged. Never rejects.
1197
1373
  */
1198
- private flushRecordingSegment;
1374
+ private dispatchRecordingTerminal;
1375
+ /** Counts `bytes` against the page's keepalive budget until `request` settles. */
1376
+ private trackKeepalive;
1199
1377
  /**
1200
- * Sends one shard and reports whether the server stored it. The resolver reports a failed
1201
- * ownership load or storage write as `false`, not as an error — that is how #5197 lost a shard
1202
- * without a single client-side log line — so the typed result must be checked, not just the absence
1203
- * of a throw.
1378
+ * The `keepalive` re-send part of {@link dispatchRecordingTerminal}, budgeted against everything this
1379
+ * page still has in flight (the terminal just sent included). A shard whose `keepalive` copy is already
1380
+ * on the wire is not sent again. Never throws.
1204
1381
  */
1205
- private uploadRecordingShard;
1382
+ private resendUnacknowledgedWithKeepalive;
1206
1383
  /**
1207
- * Stops the active recorder and encodes the captured audio. Split from the upload so teardown can
1208
- * close the server session in between (#5195). Best-effort: returns `null` when nothing was
1209
- * recorded or the stop failed (warned) — it must NEVER block teardown.
1384
+ * Stores shards from a `setTimeout(0)` task rather than now — the path for shards sealed inside a
1385
+ * page-lifecycle handler, which must not open an IndexedDB transaction itself. Resolves once they
1386
+ * are stored (never, if the page unloads first). Never rejects.
1210
1387
  */
1211
- private stopRecording;
1388
+ private storeShardsLater;
1212
1389
  /**
1213
- * Uploads a recording returned by {@link stopRecording}. Never throws. No-op when there is
1214
- * nothing to upload; warns when there is no session id to attach the file to.
1390
+ * Sends the terminal request for a pipeline whose tail is already sealed. Resolves true on a server
1391
+ * ack and logs the outcome with the session id. Never rejects.
1215
1392
  */
1216
- private uploadStoppedRecording;
1393
+ private sendRecordingTerminal;
1217
1394
  /**
1218
- * Runs the `UploadRealtimeRecording` mutation. A `Success:false` payload is logged; a transport
1219
- * rejection propagates to `uploadStoppedRecording`, which catches and logs it. Sends the
1220
- * capture-time waveform `peaks` (max-abs per bucket, normalized 0..1) so the server can persist a
1221
- * `peaks.json` sidecar for fast waveform rendering without re-decoding the audio.
1395
+ * Ends the recording at teardown and STARTS its terminal request: stops the recorder (flushing the
1396
+ * encoder), cuts the remaining packets into shards with the tail trimmed to the recorder's captured
1397
+ * sample count, and dispatches the `keepalive` terminal plus `keepalive` re-sends of everything not
1398
+ * yet acknowledged, before storing anything ({@link dispatchRecordingTerminal}). Teardown awaits the
1399
+ * returned terminal only after `CloseAgentSession` ({@link awaitRecordingTerminal}), so the small,
1400
+ * critical close never waits behind the recording (#5195).
1401
+ *
1402
+ * The recorder and pipeline stay visible to {@link SendRecordingTerminal} until the recorder has
1403
+ * stopped: a `pagehide` in that window (a host that navigates away without awaiting End) still
1404
+ * sends what was captured, and End then continues at the next index.
1405
+ *
1406
+ * Returns null when nothing was recording or nothing was captured (no terminal is sent then).
1407
+ * Best-effort: never throws, never blocks teardown on the network.
1408
+ */
1409
+ private finishRecording;
1410
+ /**
1411
+ * Stops the recorder, bounded by {@link RECORDER_STOP_TIMEOUT_MS}. Resolves the captured sample
1412
+ * count, or null when the recorder threw or did not finish in time (logged) — the caller then ends
1413
+ * the recording at the packets already encoded. Never rejects.
1414
+ */
1415
+ private stopRecorder;
1416
+ /**
1417
+ * Waits for the terminal {@link finishRecording} started, bounded by
1418
+ * {@link RECORDING_TERMINAL_ACK_TIMEOUT_MS}, logs the outcome, then closes the recording's queue
1419
+ * (anything it had not delivered stays in the local store for the next-load drain). Never throws.
1222
1420
  */
1223
- private uploadRecording;
1421
+ private awaitRecordingTerminal;
1224
1422
  /** Whether the channel catalog note still has to be sent (see {@link flushChannelCatalogNote}). */
1225
1423
  private catalogNotePending;
1226
1424
  /** Plugins resolved for the current start but not yet initialized. Consumed by {@link activateChannels}. */
@@ -1624,18 +1822,28 @@ export declare class RealtimeSessionRuntime {
1624
1822
  * - NORMAL turns only — NARRATION interims are ephemeral and never persisted, so they must not
1625
1823
  * claim the next real turn's start slot.
1626
1824
  *
1627
- * Works for any role whose driver surfaces interim deltas (all drivers for the assistant; the
1628
- * relevant case here — the post-tool-gap assistant answer — and user-interim drivers like
1629
- * Gemini/AssemblyAI). For final-only user turns (OpenAI/xAI/ElevenLabs) no interim arrives, so
1630
- * {@link relayTranscript} falls back to the seeded/prior start — the gap case that drifts is the
1631
- * assistant answer, which always has interims.
1825
+ * Stamped on a turn's first interim transcript (all drivers for the assistant — the post-tool-gap
1826
+ * assistant answer — and user-interim drivers like Gemini/AssemblyAI). Final-only user turns
1827
+ * (OpenAI-protocol drivers) take their start from {@link markUserSpeechStart}'s own slot
1828
+ * instead; one with no speech-start signal either (ElevenLabs) relays `null` as-is.
1632
1829
  */
1633
1830
  private markTurnAudioStart;
1831
+ /**
1832
+ * Stamps {@link userSpeechStartMs} when the client signals that the user began to speak. Keeps
1833
+ * the FIRST onset since the last final user transcript: the VAD fires again after a
1834
+ * mid-sentence pause, and that second onset is not where the utterance began. An onset that an
1835
+ * assistant turn which began after it has since superseded ({@link userSpeechStartSuperseded}) is
1836
+ * replaced instead.
1837
+ */
1838
+ private markUserSpeechStart;
1839
+ /** Ends the held user onset: a final user transcript (empty or not) closed the utterance it began. */
1840
+ private releaseUserSpeechStart;
1634
1841
  /**
1635
1842
  * The current per-turn offset in ms — the RECORDER's clock when one runs (an offset into a
1636
1843
  * seekable file), else the SESSION clock (#3832: orderable and displayable, not seekable),
1637
1844
  * else `null` before any call is live. One function so the two stamp sites cannot disagree
1638
- * about which clock a session is on.
1845
+ * about which clock a session is on. Always whole milliseconds: the offsets travel as GraphQL
1846
+ * `Int`, which refuses a fraction, and a 48 kHz sample clock rarely lands on a whole millisecond.
1639
1847
  */
1640
1848
  private nowTurnOffsetMs;
1641
1849
  /**
@@ -1644,7 +1852,12 @@ export declare class RealtimeSessionRuntime {
1644
1852
  * client's caption window).
1645
1853
  */
1646
1854
  private replaceLastCaption;
1647
- /** Finalizes the user turn: push a caption + relay the final transcript. */
1855
+ /**
1856
+ * Finalizes the user turn: push a caption + relay the final transcript.
1857
+ *
1858
+ * @param source `'typed'` for a {@link SendText} turn: it has no speech onset, so it neither takes
1859
+ * nor clears the held one (a spoken transcript may still be pending for it).
1860
+ */
1648
1861
  private onUserTranscript;
1649
1862
  /**
1650
1863
  * Routes a provider tool call: names matching a registered client-tool prefix execute
@@ -1738,20 +1951,27 @@ export declare class RealtimeSessionRuntime {
1738
1951
  * Relays a final transcript turn to MJ via `RelayRealtimeTranscript`.
1739
1952
  *
1740
1953
  * When the session is being recorded, per-turn timing rides along: `utteranceEndMs` is the
1741
- * recording-relative offset at finalization, and `utteranceStartMs` is the offset captured by
1742
- * {@link markTurnAudioStart} when THIS turn's audio actually began (its first interim) — NOT
1743
- * inherited from the previous turn's end. That distinction is the timing fix: when a tool-call
1744
- * / silence gap sits between turns, the post-gap turn's audio starts much later, so inheriting
1745
- * the prior turn's end stamped the cue ~gap-length too early. Both are omitted (left `null`)
1746
- * when the session isn't being recorded.
1954
+ * recording-relative offset at finalization, and `utteranceStartMs` is where THIS turn's audio
1955
+ * actually began — NOT inherited from the previous turn's end. For a user turn whose onset the
1956
+ * client signalled, that is {@link userSpeechStartMs}; otherwise it is the offset captured by
1957
+ * {@link markTurnAudioStart} on the turn's first interim. That distinction is the timing fix:
1958
+ * when a tool-call / silence gap sits between turns, the post-gap turn's audio starts much
1959
+ * later, so inheriting the prior turn's end stamped the cue ~gap-length too early. Both are
1960
+ * omitted (left `null`) when the session isn't being recorded. `utteranceStartMs` is also
1961
+ * `null` when no start was measured for this turn; it is never replaced with a placeholder 0.
1747
1962
  *
1748
1963
  * A correction (`replacesPrevious`) doesn't open a new turn, so it carries no start and doesn't
1749
1964
  * reset the per-turn start guard. After a normal finalization the guard is cleared so the NEXT
1750
- * turn re-stamps its start from where ITS audio begins.
1965
+ * turn re-stamps its start from where ITS audio begins — except for a user turn that used its
1966
+ * own speech-start slot, which leaves the shared slot alone (it may hold the in-flight
1967
+ * assistant turn's start). Every final user transcript, corrections included, clears the
1968
+ * speech-start slot.
1751
1969
  *
1752
1970
  * @param replacesPrevious CORRECTION semantics: the server updates the session's most
1753
1971
  * recent persisted turn of this role IN PLACE instead of appending (e.g. ElevenLabs'
1754
1972
  * post-barge-in `agent_response_correction`).
1973
+ * @param source `'typed'` for a user turn sent with {@link SendText}: it does not read or clear
1974
+ * {@link userSpeechStartMs}, which belongs to the user's speech.
1755
1975
  */
1756
1976
  private relayTranscript;
1757
1977
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"RealtimeSessionRuntime.d.ts","sourceRoot":"","sources":["../../src/session/RealtimeSessionRuntime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAyB,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAY,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAKnE,OAAO,EAAE,2BAA2B,EAAiC,UAAU,EAAsE,sBAAsB,EAA2B,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACzP,OAAO,EACL,kBAAkB,EAUlB,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAG5B,KAAK,uBAAuB,EAC7B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,kBAAkB,EAWlB,qBAAqB,EACrB,mBAAmB,EAMnB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EAEtB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAuD,KAAK,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACxH,OAAO,EAA2C,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAErG,OAAO,EAKL,KAAK,qBAAqB,EAE1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAsE,KAAK,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACzI,OAAO,EAA2B,KAAK,2BAA2B,EAAE,KAAK,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAEjI,OAAO,EAA6B,wBAAwB,EAAkB,MAAM,4BAA4B,CAAC;AACjH,OAAO,EAAE,yBAAyB,EAAgD,MAAM,0CAA0C,CAAC;AAEnI,OAAO,EAAE,kBAAkB,EAA4B,MAAM,6BAA6B,CAAC;AAG3F,OAAO,KAAK,EAAgC,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACpH,OAAO,EAAiD,K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