@memberjunction/ai-bridge-server 5.42.0 → 5.44.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.
@@ -39,6 +39,64 @@ export interface BridgeTranscriptLine {
39
39
  * can write entities under the right identity. Bound once at startup (see `AIBridgeEngine.SetTranscriptSink`).
40
40
  */
41
41
  export type BridgeTranscriptSink = (line: BridgeTranscriptLine, contextUser?: UserInfo, provider?: IMetadataProvider) => void | Promise<void>;
42
+ /** One diarized turn in the moderator's lookback window (oldest→newest). */
43
+ export interface ModeratorLookbackTurn {
44
+ /** Display name of who spoke (agent name or participant label). */
45
+ Speaker: string;
46
+ /** Whether the speaker was an agent (vs a human participant). */
47
+ IsAgent: boolean;
48
+ /** The agent's id when {@link ModeratorLookbackTurn.IsAgent}. */
49
+ AgentID?: string;
50
+ /** What was said (engine stores a memory-bounded copy; the moderator clips further per its config). */
51
+ Text: string;
52
+ }
53
+ /** One agent eligible to speak in a room, as the turn moderator sees it. */
54
+ export interface ModeratorRosterAgent {
55
+ /** The bridge's `AIAgentSession` id — the stable identifier the moderator returns to route a turn. */
56
+ AgentSessionID: string;
57
+ /** The co-agent's `MJ: AI Agents` id (the generic Realtime voice agent). */
58
+ AgentID?: string;
59
+ /** The TARGET agent this co-agent voices (the role/identity the user hears), when distinct from {@link ModeratorRosterAgent.AgentID}. */
60
+ TargetAgentID?: string;
61
+ /** Names/aliases the agent answers to. */
62
+ Names: string[];
63
+ /** Short role/description for relevance judgement (the moderator plugin resolves the live value from the agent). */
64
+ Role?: string;
65
+ /** Participation style — `'addressed-only'` agents are routed only on a direct address (resolved live by the plugin). */
66
+ Mode: 'proactive' | 'addressed-only';
67
+ }
68
+ /**
69
+ * The context handed to the room {@link TurnModerator} for ONE decision: the roster, the recent diarized
70
+ * lookback (incl. the triggering turn), and the bookkeeping the moderator needs to honor progress/observability.
71
+ */
72
+ export interface TurnModeratorContext {
73
+ /** The external room key. */
74
+ RoomKey: string;
75
+ /** Every agent currently in the room. */
76
+ Roster: ModeratorRosterAgent[];
77
+ /** Recent diarized turns oldest→newest (the engine's bounded buffer; the moderator narrows per its config). */
78
+ Lookback: ModeratorLookbackTurn[];
79
+ /** The turn that triggered this decision (also the last element of {@link TurnModeratorContext.Lookback}). */
80
+ LatestTurn: ModeratorLookbackTurn;
81
+ /** Consecutive agent-only turns since the last human turn (for the optional ping-pong backstop). */
82
+ ConsecutiveAgentOnlyTurns: number;
83
+ /** A representative co-agent run id to tie the moderator prompt run to (observability). */
84
+ AgentRunID?: string;
85
+ /** The representative (scribe) bridge's `AIAgentSession` id — the plugin uses it to resolve the co-agent run id for observability when {@link TurnModeratorContext.AgentRunID} is absent. */
86
+ RepAgentSessionID?: string;
87
+ /** The context user + provider for the moderator's own metadata/prompt operations. */
88
+ ContextUser?: UserInfo;
89
+ Provider?: IMetadataProvider;
90
+ }
91
+ /**
92
+ * The room turn **moderator** — injected (like the transcript sink / run finalizer) so the engine stays
93
+ * framework-agnostic. Given one turn's context, it returns the **ordered** `AgentSessionID`s that should
94
+ * speak next (empty = nobody; the room goes quiet / hands back to the human). The engine triggers them
95
+ * **serially** via the floor. The agent-layer implementation is a fast LLM prompt run; see
96
+ * `@memberjunction/ai-agents` `RealtimeTurnModerator`. When no moderator is set the engine falls back to the
97
+ * per-agent addressed matchers.
98
+ */
99
+ export type TurnModerator = (ctx: TurnModeratorContext) => Promise<string[]>;
42
100
  /**
43
101
  * The host-instance identity provider the engine uses to stamp `HostInstanceID` for node affinity
44
102
  * and orphan reconciliation. Mirrors `@memberjunction/server`'s `HostInstance` helper but is
@@ -148,6 +206,24 @@ export interface StartBridgeSessionParams {
148
206
  * When omitted, the engine applies the provider's registered native binding (if any).
149
207
  */
150
208
  BindSdk?: BridgeNativeSdkBinding;
209
+ /**
210
+ * This agent's participation style in a MULTI-agent room, surfaced to the room turn moderator:
211
+ * `'proactive'` (default) may jump in unaddressed when judged relevant; `'addressed-only'` speaks only
212
+ * when directly addressed. Ignored in single-agent rooms.
213
+ */
214
+ ParticipationMode?: 'proactive' | 'addressed-only';
215
+ /** The names/aliases this agent answers to — the moderator's roster entry + the addressed-only fallback. */
216
+ AgentNames?: string[];
217
+ /** A short role/description of the voiced agent — context the moderator uses to judge relevance. */
218
+ AgentRole?: string;
219
+ /** The voiced agent's `MJ: AI Agent Runs` id — tied to each moderator prompt run for observability. */
220
+ AgentRunID?: string;
221
+ /**
222
+ * The TARGET agent this co-agent voices (the role/identity the user hears — e.g. Sage), when distinct from
223
+ * {@link StartBridgeSessionParams.AgentID} (the generic co-agent). The moderator resolves the agent's role
224
+ * + per-agent `turnTaking.mode` from this agent's config.
225
+ */
226
+ TargetAgentID?: string;
151
227
  }
152
228
  /**
153
229
  * The live, in-memory handle for one running bridged session held by the engine. Carries the driver,
@@ -195,6 +271,38 @@ export interface ActiveBridgeSession {
195
271
  * copy, not N. Elected at connect (first session in the room); re-elected if the scribe leaves.
196
272
  */
197
273
  IsTranscriptScribe: boolean;
274
+ /**
275
+ * Whether this session currently holds the room's speaking floor (multi-agent floor control). Set when
276
+ * the engine claims the floor before triggering speech in meeting mode, cleared when the agent's own
277
+ * final transcript lands (it finished) or on teardown. Single-agent rooms always hold trivially.
278
+ */
279
+ HoldsFloor: boolean;
280
+ /**
281
+ * Safety timer that force-releases a held floor after {@link FLOOR_MAX_HOLD_MS} in case the agent's
282
+ * final transcript never arrives — so one agent can't wedge the room's floor closed. Cleared on a
283
+ * normal release.
284
+ */
285
+ FloorReleaseTimer?: ReturnType<typeof setTimeout>;
286
+ /** Epoch-ms when this session connected — drives the max-session-duration cap of the stale sweep. */
287
+ ConnectedAtMs: number;
288
+ /** Epoch-ms of the last inbound activity (transcript) — drives the idle cap of the stale sweep. */
289
+ LastActivityMs: number;
290
+ /**
291
+ * The participant identity of the most-recent inbound AUDIO frame (when the provider diarizes). Used to
292
+ * attribute a 'user' transcript to the speaker who produced it — since the model transcript itself has
293
+ * no speaker label. Approximate (single-speaker-at-a-time); `undefined` until the first diarized frame.
294
+ */
295
+ LastInboundSpeaker?: string;
296
+ /** This agent's participation style for the room moderator (`'proactive'` | `'addressed-only'`). */
297
+ ParticipationMode: 'proactive' | 'addressed-only';
298
+ /** The names/aliases this agent answers to (moderator roster + addressed-only fallback). */
299
+ AgentNames: string[];
300
+ /** A short role/description of the voiced agent (moderator relevance context). */
301
+ AgentRole?: string;
302
+ /** The voiced agent's `MJ: AI Agent Runs` id — tied to each moderator prompt run for observability. */
303
+ AgentRunID?: string;
304
+ /** The TARGET agent this co-agent voices (role/identity source for the moderator), when distinct from {@link ActiveBridgeSession.AgentID}. */
305
+ TargetAgentID?: string;
198
306
  /** The provider row backing this session. */
199
307
  Provider: MJAIBridgeProviderEntity;
200
308
  /** The context user the session runs as (for participant upserts / teardown writes). */
@@ -254,6 +362,12 @@ export interface ActiveBridgeSession {
254
362
  export declare class AIBridgeEngine extends BaseSingleton<AIBridgeEngine> implements IStartupSink {
255
363
  /** Registered by the agent layer; finalizes dangling co-agent runs on orphan/cross-host teardown. */
256
364
  private runFinalizer?;
365
+ /** Interval handle for the self-scheduled stale-session sweep (started via {@link StartStaleSessionSweep}). */
366
+ private staleSweepTimer?;
367
+ private idleTtlMs;
368
+ private maxDurationMs;
369
+ private emptyGraceMs;
370
+ private floorMaxHoldMs;
257
371
  /** Registered by the app layer; persists the unified per-room transcript from the elected scribe. */
258
372
  private transcriptSink?;
259
373
  /** roomKey (lowercased) → the bridge id of that room's current transcript scribe. Election dedup. */
@@ -263,6 +377,20 @@ export declare class AIBridgeEngine extends BaseSingleton<AIBridgeEngine> implem
263
377
  private diagOutbound;
264
378
  /** In-memory registry of bridged sessions this process currently hosts, keyed by bridge id (lowercased). */
265
379
  private activeSessions;
380
+ /** Per-room, per-utterance-text last-dispatch timestamps — collapses duplicate transcriptions (see {@link ROOM_TURN_DEDUP_MS}). */
381
+ private recentRoomTurnDispatch;
382
+ /** Optional injected room turn moderator (LLM router). When set, multi-agent rooms use it instead of per-agent matchers. */
383
+ private turnModerator?;
384
+ /** Per-room rolling diarized lookback the moderator reads. Bounded to {@link ROOM_LOOKBACK_MAX_TURNS}. */
385
+ private roomLookback;
386
+ /** Per-room ordered queue of `AgentSessionID`s the moderator decided should speak, drained serially via the floor. */
387
+ private roomSpeakerQueue;
388
+ /** Per-room count of consecutive agent-only turns since the last human turn (optional ping-pong backstop). */
389
+ private roomConsecutiveAgentTurns;
390
+ /** Rooms with a moderator decision in flight — prevents overlapping moderator calls for one room. */
391
+ private roomModeratorBusy;
392
+ /** Per-room latest turn that arrived while the moderator was busy — run once the in-flight call finishes (no turn lost). */
393
+ private roomPendingTurn;
266
394
  /** Host-instance identity provider; injected by the host application or defaulted for standalone use. */
267
395
  private hostIdentity;
268
396
  /**
@@ -325,6 +453,19 @@ export declare class AIBridgeEngine extends BaseSingleton<AIBridgeEngine> implem
325
453
  * @param finalizer The finalizer (from `@memberjunction/ai-agents`).
326
454
  */
327
455
  SetSessionRunFinalizer(finalizer: BridgeSessionRunFinalizer): void;
456
+ /**
457
+ * Overrides the session timing thresholds (the idle/max-duration sweep caps, the empty-room auto-leave
458
+ * grace, and the floor max-hold). Any omitted value keeps its default. Call once at startup to tune for a
459
+ * deployment (e.g. shorter idle TTL for a high-churn telephony host).
460
+ *
461
+ * @param timings The thresholds to override (ms).
462
+ */
463
+ ConfigureSessionTimings(timings: {
464
+ IdleTtlMs?: number;
465
+ MaxDurationMs?: number;
466
+ EmptyGraceMs?: number;
467
+ FloorMaxHoldMs?: number;
468
+ }): void;
328
469
  /**
329
470
  * Registers the {@link BridgeTranscriptSink} that persists the unified per-room transcript. The engine
330
471
  * elects one scribe per room and feeds its final transcript lines here; the sink owns *where* they land
@@ -334,6 +475,14 @@ export declare class AIBridgeEngine extends BaseSingleton<AIBridgeEngine> implem
334
475
  * @param sink The transcript sink (from the app layer).
335
476
  */
336
477
  SetTranscriptSink(sink: BridgeTranscriptSink): void;
478
+ /**
479
+ * Injects the room turn {@link TurnModerator} (the LLM router). When set, a MULTI-agent room routes each
480
+ * turn through it (who speaks next, serialized via the floor) instead of evaluating per-agent matchers.
481
+ * Single-agent rooms and the no-moderator case are unaffected (they keep using the matcher path).
482
+ *
483
+ * @param moderator The moderator function, or `undefined` to clear it.
484
+ */
485
+ SetTurnModerator(moderator: TurnModerator | undefined): void;
337
486
  /** Returns the active identities for an agent. @see AIBridgeEngineBase.IdentitiesForAgent */
338
487
  IdentitiesForAgent(agentId: string, providerId?: string): MJAIBridgeAgentIdentityEntity[];
339
488
  /** Returns a provider's channels ordered by sequence. @see AIBridgeEngineBase.ChannelsForProvider */
@@ -509,6 +658,71 @@ export declare class AIBridgeEngine extends BaseSingleton<AIBridgeEngine> implem
509
658
  * @param active The live bridged session.
510
659
  */
511
660
  private wireTurnTaking;
661
+ /**
662
+ * Routes a completed human turn to the addressing gate(s). In a **single-agent** room (or 1:1) only the
663
+ * source agent evaluates. In a **multi-agent** room the user's utterance is the SAME for everyone, so we
664
+ * broadcast it to EVERY agent's `TurnPolicy` — each independently decides "was I addressed?". This is the
665
+ * fix for agents whose own model can't transcribe in meeting mode (e.g. Gemini with automatic activity
666
+ * detection disabled): whichever agent CAN transcribe the room (e.g. the GPT agent, or the scribe) drives
667
+ * the addressing decision for all of them. The audio plane is untouched — every agent already hears the
668
+ * raw audio; this only decides WHEN each is triggered to commit + speak.
669
+ *
670
+ * Dedup: the same utterance may be transcribed by several agents (slightly apart). A per-room, per-text
671
+ * time window collapses those re-transcriptions so each real utterance dispatches to the room once.
672
+ *
673
+ * @param source The bridge whose session produced the transcript.
674
+ * @param text The final user-turn text.
675
+ */
676
+ private dispatchUserTurn;
677
+ /** Marks a human as present on a session: remembers it + cancels any pending empty-room auto-leave. */
678
+ private noteHumanPresence;
679
+ /** Evaluates ONE agent's addressed-matcher against a user utterance and acts on the decision (fallback path). */
680
+ private evaluateUserTurnForAgent;
681
+ /** All active bridged sessions sharing a room (by external room key), case-insensitive. */
682
+ private roomAgents;
683
+ /** A diarized speaker label for a session (the agent's first name, or a generic human label). */
684
+ private speakerLabel;
685
+ /**
686
+ * Appends one final turn to the room's bounded, clipped diarized lookback (oldest→newest). Sourcing rules
687
+ * keep the thread clean in a multi-agent room (where EVERY agent's session independently transcribes what
688
+ * it hears):
689
+ * - **Agent (assistant) turns** are recorded from the speaking agent's OWN bridge (correct, no duplication).
690
+ * - **Human (user) turns** are recorded ONLY by the room **scribe** (one canonical hearer → no N-fold
691
+ * duplication), and ONLY when the diarized inbound speaker is a human — a `user` transcript whose speaker
692
+ * is another AGENT (the scribe overhearing a peer agent) is dropped here, since that agent's own bridge
693
+ * already recorded it as its assistant turn.
694
+ */
695
+ private recordRoomTurn;
696
+ /**
697
+ * Called when an agent finishes a turn. Advances a multi-agent room: increments the consecutive-agent-only
698
+ * counter and — if a moderator is wired and the room's speaker queue is empty — runs the moderator to decide
699
+ * whether (and who) continues the discussion. Because this fires on the agent's FINAL TEXT (its audio is
700
+ * still playing out), the moderator's latency is hidden behind playback. No-op for single-agent rooms.
701
+ */
702
+ private onAgentTurnCompleted;
703
+ /**
704
+ * Runs the room turn moderator for one decision: builds the context, calls the injected moderator, sets the
705
+ * room's ordered speaker queue to its result, and drains it (serialized via the floor). Guards against
706
+ * overlapping calls per room and against an unproductive agent-only loop via the optional consecutive cap.
707
+ *
708
+ * @param roomKey The external room key.
709
+ * @param latest The turn that triggered this decision.
710
+ * @param isContinuation True when triggered by an agent turn (vs a fresh human turn).
711
+ */
712
+ private runRoomModerator;
713
+ /** Builds the {@link TurnModeratorContext} for a room from the live roster + diarized lookback. */
714
+ private buildModeratorContext;
715
+ /** Triggers the next queued speaker for a room (serialized — only when the floor is free). */
716
+ private drainSpeakerQueue;
717
+ /**
718
+ * Claims the room floor and triggers the model to speak exactly one turn (meeting mode). Returns `false`
719
+ * (stays silent) when another agent holds the floor. Shared by the matcher path and the moderator drainer.
720
+ */
721
+ private triggerMeetingSpeak;
722
+ /** A short label for an `AgentSessionID` (the agent's first name) for diagnostics. */
723
+ private agentSessionLabel;
724
+ /** Clears a room's moderator state (lookback, queue, counter) — on barge-in (queue only) or teardown (all). */
725
+ private clearRoomModeratorState;
512
726
  /**
513
727
  * Acts on a turn-taking decision. Kept behind the injected {@link IRealtimeSession} interface so
514
728
  * the actual model trigger stays the session's concern and the engine remains testable.
@@ -524,6 +738,34 @@ export declare class AIBridgeEngine extends BaseSingleton<AIBridgeEngine> implem
524
738
  * @returns The configured turn-taking policy.
525
739
  */
526
740
  private buildTurnPolicy;
741
+ /**
742
+ * Retroactively switches an already-running session into **meeting mode** (auto-response off +
743
+ * addressed-only) — used when a room becomes multi-agent and the first (1:1) agent must stop
744
+ * auto-responding. **Capability-gated**: only sessions whose provider reports
745
+ * {@link RealtimeSessionCapabilities.CanReconfigureTurnMode} can change turn mode on a live socket;
746
+ * others (e.g. Gemini, fixed at connect) are left in their start mode — no dead-method call. Idempotent.
747
+ *
748
+ * @param sessionBridgeID The bridge to re-gate.
749
+ * @param matcher The addressed-matcher (the agent's names) the re-gated session should speak on.
750
+ * @returns `true` if now in meeting mode (or already was); `false` if the session is unknown or the
751
+ * provider can't reconfigure mid-session.
752
+ */
753
+ ReconfigureSessionToMeeting(sessionBridgeID: string, matcher: IAddressedMatcher): boolean;
754
+ /**
755
+ * Marks the session as holding the room floor and arms the safety release timer (so a missed
756
+ * end-of-speech can't wedge the floor closed). Called right after a granted {@link TakeFloor}.
757
+ *
758
+ * @param active The session that just claimed the floor.
759
+ */
760
+ private armFloorHold;
761
+ /**
762
+ * Releases the room floor this session holds (if any) and clears the safety timer. Idempotent and safe
763
+ * for non-room / single-agent sessions (a no-op when the session never held the floor). Called on the
764
+ * agent's own final transcript, the safety timeout, and teardown.
765
+ *
766
+ * @param active The session to release the floor for.
767
+ */
768
+ private releaseRoomFloor;
527
769
  /**
528
770
  * Elects this session as its room's transcript **scribe** iff a transcript sink is registered, the
529
771
  * session has a room key, and no scribe exists for that room yet. Exactly one scribe per room writes the
@@ -580,6 +822,27 @@ export declare class AIBridgeEngine extends BaseSingleton<AIBridgeEngine> implem
580
822
  * @param active The live bridged session whose channels to close.
581
823
  */
582
824
  private closeChannelPlane;
825
+ /**
826
+ * Reaps **live, same-process** sessions that have gone stale — idle past {@link SESSION_IDLE_TTL_MS}
827
+ * (no inbound transcript) or running past {@link SESSION_MAX_DURATION_MS}. This is the same-process
828
+ * complement to {@link ReconcileOrphans} (prior-boot orphans): it covers a missed leave event, a
829
+ * rosterless transport with no occupancy signal, and "the bot joined but nobody came." Each reap routes
830
+ * through {@link StopBridgeSession} using the session's own user/provider, so the co-agent run finalizes.
831
+ *
832
+ * Tolerant: a single failed stop is logged and the sweep continues. Safe to call on any cadence.
833
+ *
834
+ * @param nowMs Current epoch-ms (injectable for tests; defaults to `Date.now()`).
835
+ * @returns The number of stale sessions reaped.
836
+ */
837
+ SweepStaleSessions(nowMs?: number): Promise<number>;
838
+ /**
839
+ * Starts the self-scheduled stale-session sweep ({@link SweepStaleSessions} every
840
+ * {@link STALE_SWEEP_INTERVAL_MS}). Idempotent — calling again is a no-op while a sweep is scheduled.
841
+ * The host opts in once at startup; {@link StopStaleSessionSweep} cancels it (e.g. for tests/shutdown).
842
+ */
843
+ StartStaleSessionSweep(intervalMs?: number): void;
844
+ /** Cancels the self-scheduled stale-session sweep, if running. */
845
+ StopStaleSessionSweep(): void;
583
846
  /**
584
847
  * Force-closes `Connected`/`Connecting` bridges left behind by a **previous boot of this host**
585
848
  * (matching hostname prefix, differing instance id), stamping `CloseReason = 'Janitor'`. Mirrors
@@ -1 +1 @@
1
- {"version":3,"file":"ai-bridge-engine.d.ts","sourceRoot":"","sources":["../src/ai-bridge-engine.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EAKX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAY,MAAM,wBAAwB,CAAC;AACjE,OAAO,EACH,gBAAgB,EAEnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACH,wBAAwB,EACxB,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