@memberjunction/ai-agents 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 (104) hide show
  1. package/README.md +94 -7
  2. package/dist/AgentRunner.d.ts +6 -3
  3. package/dist/AgentRunner.d.ts.map +1 -1
  4. package/dist/AgentRunner.js +163 -38
  5. package/dist/AgentRunner.js.map +1 -1
  6. package/dist/ArtifactToolManager.d.ts +11 -3
  7. package/dist/ArtifactToolManager.d.ts.map +1 -1
  8. package/dist/ArtifactToolManager.js +72 -6
  9. package/dist/ArtifactToolManager.js.map +1 -1
  10. package/dist/ClientToolRequestManager.d.ts +11 -1
  11. package/dist/ClientToolRequestManager.d.ts.map +1 -1
  12. package/dist/ClientToolRequestManager.js +19 -6
  13. package/dist/ClientToolRequestManager.js.map +1 -1
  14. package/dist/PayloadChangeAnalyzer.d.ts.map +1 -1
  15. package/dist/PayloadChangeAnalyzer.js +53 -30
  16. package/dist/PayloadChangeAnalyzer.js.map +1 -1
  17. package/dist/PayloadManager.d.ts +35 -2
  18. package/dist/PayloadManager.d.ts.map +1 -1
  19. package/dist/PayloadManager.js +250 -149
  20. package/dist/PayloadManager.js.map +1 -1
  21. package/dist/ScratchpadManager.d.ts +18 -0
  22. package/dist/ScratchpadManager.d.ts.map +1 -1
  23. package/dist/ScratchpadManager.js +61 -0
  24. package/dist/ScratchpadManager.js.map +1 -1
  25. package/dist/agent-audience.d.ts +38 -0
  26. package/dist/agent-audience.d.ts.map +1 -0
  27. package/dist/agent-audience.js +99 -0
  28. package/dist/agent-audience.js.map +1 -0
  29. package/dist/agent-context-injector.d.ts +17 -2
  30. package/dist/agent-context-injector.d.ts.map +1 -1
  31. package/dist/agent-context-injector.js +23 -7
  32. package/dist/agent-context-injector.js.map +1 -1
  33. package/dist/agent-memory-context-builder.d.ts +7 -2
  34. package/dist/agent-memory-context-builder.d.ts.map +1 -1
  35. package/dist/agent-memory-context-builder.js +12 -3
  36. package/dist/agent-memory-context-builder.js.map +1 -1
  37. package/dist/agent-pre-execution-rag.d.ts +101 -9
  38. package/dist/agent-pre-execution-rag.d.ts.map +1 -1
  39. package/dist/agent-pre-execution-rag.js +224 -23
  40. package/dist/agent-pre-execution-rag.js.map +1 -1
  41. package/dist/agent-types/flow-agent-type.d.ts +8 -0
  42. package/dist/agent-types/flow-agent-type.d.ts.map +1 -1
  43. package/dist/agent-types/flow-agent-type.js +48 -6
  44. package/dist/agent-types/flow-agent-type.js.map +1 -1
  45. package/dist/agent-types/loop-agent-response-type.d.ts +8 -2
  46. package/dist/agent-types/loop-agent-response-type.d.ts.map +1 -1
  47. package/dist/agent-types/loop-agent-response-type.js.map +1 -1
  48. package/dist/agent-types/loop-agent-type.d.ts +9 -2
  49. package/dist/agent-types/loop-agent-type.d.ts.map +1 -1
  50. package/dist/agent-types/loop-agent-type.js +60 -16
  51. package/dist/agent-types/loop-agent-type.js.map +1 -1
  52. package/dist/base-agent.d.ts +568 -31
  53. package/dist/base-agent.d.ts.map +1 -1
  54. package/dist/base-agent.js +2294 -421
  55. package/dist/base-agent.js.map +1 -1
  56. package/dist/index.d.ts +4 -0
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +4 -0
  59. package/dist/index.js.map +1 -1
  60. package/dist/memory-manager-agent.d.ts.map +1 -1
  61. package/dist/memory-manager-agent.js +46 -34
  62. package/dist/memory-manager-agent.js.map +1 -1
  63. package/dist/native-tools/action-param-schema.d.ts +57 -0
  64. package/dist/native-tools/action-param-schema.d.ts.map +1 -0
  65. package/dist/native-tools/action-param-schema.js +238 -0
  66. package/dist/native-tools/action-param-schema.js.map +1 -0
  67. package/dist/native-tools/action-tool-builder.d.ts +5 -4
  68. package/dist/native-tools/action-tool-builder.d.ts.map +1 -1
  69. package/dist/native-tools/action-tool-builder.js +29 -71
  70. package/dist/native-tools/action-tool-builder.js.map +1 -1
  71. package/dist/native-tools/json-argument.d.ts +41 -0
  72. package/dist/native-tools/json-argument.d.ts.map +1 -0
  73. package/dist/native-tools/json-argument.js +79 -0
  74. package/dist/native-tools/json-argument.js.map +1 -0
  75. package/dist/query-builder-agent.d.ts +13 -4
  76. package/dist/query-builder-agent.d.ts.map +1 -1
  77. package/dist/query-builder-agent.js +102 -27
  78. package/dist/query-builder-agent.js.map +1 -1
  79. package/dist/realtime/realtime-client-session-service.d.ts +5 -4
  80. package/dist/realtime/realtime-client-session-service.d.ts.map +1 -1
  81. package/dist/realtime/realtime-client-session-service.js +42 -30
  82. package/dist/realtime/realtime-client-session-service.js.map +1 -1
  83. package/dist/realtime/realtime-coagent-config.d.ts +8 -1
  84. package/dist/realtime/realtime-coagent-config.d.ts.map +1 -1
  85. package/dist/realtime/realtime-coagent-config.js +17 -1
  86. package/dist/realtime/realtime-coagent-config.js.map +1 -1
  87. package/dist/realtime/realtime-recording-ledger.d.ts +130 -0
  88. package/dist/realtime/realtime-recording-ledger.d.ts.map +1 -0
  89. package/dist/realtime/realtime-recording-ledger.js +190 -0
  90. package/dist/realtime/realtime-recording-ledger.js.map +1 -0
  91. package/dist/realtime/realtime-recording-opus-assembly.d.ts +211 -0
  92. package/dist/realtime/realtime-recording-opus-assembly.d.ts.map +1 -0
  93. package/dist/realtime/realtime-recording-opus-assembly.js +706 -0
  94. package/dist/realtime/realtime-recording-opus-assembly.js.map +1 -0
  95. package/dist/realtime/realtime-recording-store.d.ts +38 -1
  96. package/dist/realtime/realtime-recording-store.d.ts.map +1 -1
  97. package/dist/realtime/realtime-recording-store.js +58 -30
  98. package/dist/realtime/realtime-recording-store.js.map +1 -1
  99. package/dist/realtime/realtime-turn-moderator.d.ts +2 -1
  100. package/dist/realtime/realtime-turn-moderator.d.ts.map +1 -1
  101. package/dist/realtime/realtime-turn-moderator.js +7 -1
  102. package/dist/realtime/realtime-turn-moderator.js.map +1 -1
  103. package/dist/volatile-child-prompt.js +3 -3
  104. package/package.json +21 -19
@@ -0,0 +1,211 @@
1
+ import { IMetadataProvider, UserInfo } from '@memberjunction/core';
2
+ import { RecordingShardContents } from '@memberjunction/ai-core-plus';
3
+ import { IRealtimeRecordingLedger } from './realtime-recording-ledger.js';
4
+ /** A silent range of the assembled recording and the shard indexes whose absence caused it. */
5
+ export interface RecordingGap {
6
+ /** First silent sample (48 kHz). */
7
+ startSample: number;
8
+ /** Number of silent samples. */
9
+ sampleCount: number;
10
+ /** Missing shard indexes covered by the gap; empty when shards are present but do not abut. */
11
+ indexes: number[];
12
+ }
13
+ /** Decodes one Opus packet at a time, keeping decoder state across calls (one stream). */
14
+ export interface IOpusPacketDecoder {
15
+ /** Decodes one packet to mono PCM16 samples. The returned array is owned by the caller. */
16
+ Decode(packet: Uint8Array): Int16Array;
17
+ /**
18
+ * Resets the decoder state. Called after a gap, so the previous shard's state (and packet-loss
19
+ * concealment based on it) does not smear into the first frames after the gap.
20
+ */
21
+ Reset(): void;
22
+ }
23
+ /** A shard whose packets libopus could not decode; its whole range was left silent (and listed as a gap). */
24
+ export interface ShardDecodeFailure {
25
+ ShardIndex: number;
26
+ PacketIndex: number;
27
+ Message: string;
28
+ }
29
+ /** Result of {@link AssembleOpusRecordingPcm}. */
30
+ export interface AssembledOpusRecording {
31
+ /** Mono PCM16 at 48 kHz. On little-endian hosts this is a view over `Wav`'s data section. */
32
+ Pcm: Int16Array;
33
+ /** The recording as a canonical 44-byte-header mono PCM16 WAV holding `Pcm`. */
34
+ Wav: Buffer;
35
+ /** Silent ranges, in timeline order. */
36
+ Gaps: RecordingGap[];
37
+ /** Shards dropped because a packet failed to decode (each is also in `Gaps`). */
38
+ DecodeFailures: ShardDecodeFailure[];
39
+ /** True when the terminal counts are known and the timeline matches them (shard count == expected, length == captured). */
40
+ /**
41
+ * The gaps caused by missing shard indexes, in timeline order (each one of `Gaps`). These are the only
42
+ * ranges {@link FillGapsFromPreviousRecording} may reuse; a shard that failed to decode, or a gap
43
+ * between present shards that do not abut, is never filled from an earlier recording.
44
+ */
45
+ MissingRuns: RecordingGap[];
46
+ TerminalMatched: boolean;
47
+ /** `TerminalMatched` and no gaps: every expected range holds decoded (or reused, see {@link FillGapsFromPreviousRecording}) audio. */
48
+ Complete: boolean;
49
+ }
50
+ /** A recording assembled earlier for the same session: its samples and the gaps it was finished with. */
51
+ export interface PreviousRecording {
52
+ Pcm: Int16Array;
53
+ Gaps: RecordingGap[];
54
+ }
55
+ /**
56
+ * A deterministic assembly failure: re-running against the same data fails the same way (bounds
57
+ * exceeded, overlapping or duplicate shards, no storage account, agent not loadable), so the recording
58
+ * is finished as `Failed`. Any other error is treated as transient (see {@link AssembleRealtimeRecordingFromLedger}).
59
+ */
60
+ export declare class RecordingAssemblyError extends Error {
61
+ constructor(message: string);
62
+ }
63
+ /**
64
+ * Outcome of {@link AssembleRealtimeRecordingFromLedger}. `Retry`: a transient failure left the claim in
65
+ * `Assembling` for a stale re-claim to retry.
66
+ */
67
+ export type AssembleRealtimeRecordingOutcome = 'Complete' | 'Partial' | 'Failed' | 'Superseded' | 'Deferred' | 'Retry';
68
+ /** Input to {@link AssembleRealtimeRecordingFromLedger}. */
69
+ export interface AssembleRealtimeRecordingInput {
70
+ SessionID: string;
71
+ /** The version {@link IRealtimeRecordingLedger.ClaimAssembly} returned for this assembly. */
72
+ Version: number;
73
+ Ledger: IRealtimeRecordingLedger;
74
+ ContextUser: UserInfo;
75
+ Provider: IMetadataProvider;
76
+ /**
77
+ * Assemble what exists even when shards are missing (gaps become silence; the result is `Partial`).
78
+ * Without it, an incomplete ledger hands the claim back (`Deferred`) so a later assembly can finish
79
+ * it once the missing shards arrive or the grace period runs out.
80
+ */
81
+ ForcePartial?: boolean;
82
+ }
83
+ /**
84
+ * Most shards one assembly accepts. At 5 s per shard this is ~2.8 h, past any real call; a larger
85
+ * count (from the terminal signal or the ledger) is corrupt or hostile, and assembling it would allocate
86
+ * an unbounded PCM buffer, so assembly refuses it.
87
+ */
88
+ export declare const MAX_ASSEMBLY_SHARDS = 2000;
89
+ /**
90
+ * Most samples one assembly produces: 3 h at 48 kHz. The WAV is 2 bytes per sample (~1 GB at this cap;
91
+ * on big-endian hosts a separate PCM array doubles that), so this is the memory ceiling of one
92
+ * assembly; the captured count comes from the browser, so it must be bounded before anything is allocated.
93
+ */
94
+ export declare const MAX_ASSEMBLY_SAMPLES: number;
95
+ /**
96
+ * Lays a session's shards out on one 48 kHz timeline and decodes them with one decoder.
97
+ *
98
+ * - A present shard is decoded packet by packet; exactly `SampleCount` samples are kept (decoded audio
99
+ * past it is dropped, a shortfall stays silent). Every packet is still decoded so the decoder state
100
+ * stays continuous into the next shard.
101
+ * - A run of missing indexes becomes one silent gap from the end of the previous shard to the start of
102
+ * the next present one (a trailing run: to the end of the recording), listing the missing indexes.
103
+ * - A present shard that starts after the end of the previous one leaves a silent gap with no indexes.
104
+ * - A shard with a packet libopus cannot decode is silenced whole, listed as a gap with its index and
105
+ * in `DecodeFailures`.
106
+ * - After any gap the decoder is reset.
107
+ *
108
+ * The samples are decoded straight into the returned WAV's data section (see `allocatePcm16Wav`).
109
+ *
110
+ * The shard count is `expectedShards`, or the highest present index + 1 when no terminal signal has
111
+ * arrived. The length is `capturedSamples`, or the end of the last shard when unknown (and never less
112
+ * than the end of the last shard: audio past a stale terminal is kept, not cut).
113
+ *
114
+ * @param shards Parsed shards (any order, unique indexes).
115
+ * @param expectedShards Shard count from the terminal signal, or null when none arrived.
116
+ * @param capturedSamples Captured sample count from the terminal signal, or null.
117
+ * @param decoder The one decoder for this stream.
118
+ * @throws RecordingAssemblyError on a duplicate index, a shard overlapping the audio before it, or a
119
+ * shard/sample count over {@link MAX_ASSEMBLY_SHARDS} / {@link MAX_ASSEMBLY_SAMPLES}.
120
+ */
121
+ export declare function AssembleOpusRecordingPcm(shards: RecordingShardContents[], expectedShards: number | null, capturedSamples: number | null, decoder: IOpusPacketDecoder): AssembledOpusRecording;
122
+ /**
123
+ * Fills the missing-shard ranges of a re-assembly from the session's previous recording.
124
+ *
125
+ * Why: a Complete assembly deletes its shard rows (everything below its expected count). When a strictly
126
+ * higher terminal later re-opens the session (the tab was hidden, a terminal went out, the call
127
+ * continued), the re-assembly finds those indexes missing. Their audio lives only in the previous
128
+ * `recording.wav`, so it is copied back rather than overwritten with silence.
129
+ *
130
+ * Every missing range the previous file covers is reused, not only the leading one: a re-sent copy of
131
+ * an assembled shard (its ack was lost, so the browser sent it again after the rows were deleted) is
132
+ * stored again, and would otherwise split the deleted range and leave everything after it silent.
133
+ * Reusing is safe because the previous recording's silent ranges are exactly its stored gaps: every
134
+ * assembly stamps its gaps before it overwrites the object (see `StampAssemblyGaps`), so an assembly
135
+ * that wrote silence and then failed to finish still left that silence listed. Those gaps are carried
136
+ * over (clipped to each reused range) and stay gaps. The one remaining way the object can disagree is a
137
+ * superseded assembler whose slow storage write lands after a newer one finished (a known, parked race).
138
+ *
139
+ * The part of a range beyond the previous recording's length stays silent and stays a gap; the range's
140
+ * rows are gone, so per-index boundaries are unknown, and the remainder lists the indexes that can hold
141
+ * samples past the old end: an index `i` ends no later than `(i + 1) * MAX_SHARD_SAMPLES`, so indexes
142
+ * that provably end inside the old recording are dropped.
143
+ *
144
+ * Returns a new result (the samples are written in place) with `Complete` recomputed.
145
+ */
146
+ export declare function FillGapsFromPreviousRecording(assembled: AssembledOpusRecording, previous: PreviousRecording): AssembledOpusRecording;
147
+ /**
148
+ * The samples of a canonical recording WAV (exactly the 44-byte mono PCM16 48 kHz layout
149
+ * `WriteRecordingWavHeader` writes, data size matching the file), or null for anything else. Only such
150
+ * a file is trusted as a previous assembly's output.
151
+ */
152
+ export declare function ParseCanonicalRecordingWav(bytes: Uint8Array): Int16Array | null;
153
+ /**
154
+ * Throws when an assembly would exceed {@link MAX_ASSEMBLY_SHARDS} or {@link MAX_ASSEMBLY_SAMPLES}.
155
+ * Checked twice on purpose: by the orchestrator on the session's terminal counts BEFORE loading any
156
+ * shard rows, and by {@link AssembleOpusRecordingPcm} on the counts derived from the shards themselves
157
+ * (the only counts there are when no terminal signal arrived).
158
+ */
159
+ export declare function AssertRecordingAssemblyBounds(shardCount: number | null, sampleCount: number | null): void;
160
+ /**
161
+ * Waveform peaks of a whole recording: max-abs per bucket, normalized by the global max (0..1). Same
162
+ * semantics as the peaks the browser used to compute at capture time for its whole-call WAV upload,
163
+ * so a viewer renders an assembled recording exactly like one uploaded before #5294.
164
+ *
165
+ * @param pcm Mono PCM16 samples.
166
+ * @param buckets Target bucket count (default 600); a shorter buffer yields one bucket per sample.
167
+ * @returns The peaks, or `[]` for an empty or all-silent buffer.
168
+ */
169
+ export declare function ComputeRecordingPeaks(pcm: Int16Array, buckets?: number): number[];
170
+ /**
171
+ * Wraps mono PCM16 samples in the canonical 44-byte WAV header (written by the shared
172
+ * `WriteRecordingWavHeader`), samples little-endian regardless of host byte order.
173
+ */
174
+ export declare function EncodePcm16Wav(pcm: Int16Array, sampleRate: number): Buffer;
175
+ /** A fresh 48 kHz mono libopus decoder. Use one per assembly; feed it packets in stream order. */
176
+ export declare function CreateLibopusDecoder(): IOpusPacketDecoder;
177
+ /**
178
+ * Assembles a claimed session's shard ledger into `recording.wav` + `peaks.json` and finishes the claim.
179
+ *
180
+ * Flow: read the session's terminal counts and the stored rows' positions (both bounded before any
181
+ * shard bytes are loaded) → without `ForcePartial`, hand the claim back (`Deferred`) when the positions
182
+ * alone show the recording cannot be Complete → resolve where the recording is stored → load and parse
183
+ * the shards (a shard that fails to parse, or whose header disagrees with its ledger row, is logged and
184
+ * treated as missing) → decode ({@link AssembleOpusRecordingPcm}; a shard with an undecodable packet is
185
+ * logged and silenced) → when the session already has its own `recording.wav` and shards are missing,
186
+ * read it and fill those ranges from it ({@link FillGapsFromPreviousRecording}: a Complete assembly deleted
187
+ * the rows its audio came from, so a re-opened session must not overwrite that audio with silence; the
188
+ * early position-only Deferred is skipped for such a session for the same reason). Then:
189
+ * - incomplete and not `ForcePartial`: the claim is handed back as `Pending` with no file, keeping the
190
+ * gaps already stored for the session's existing recording → `Deferred`;
191
+ * - otherwise the gaps are stamped (fenced: a lost claim is `Superseded`, nothing written) and the WAV
192
+ * is stored: a first assembly uploads `recording.wav`
193
+ * into the session folder; a re-assembly overwrites the session's existing WAV object in place, keeping
194
+ * its `MJ: Files` id. `peaks.json` is rewritten next to it. The finish is fenced on `Version`; only then
195
+ * is a new file linked to the session and, for `Complete`, the assembled shard rows deleted.
196
+ *
197
+ * The session is never saved through `BaseEntity` (that rewrites every column and would clobber the
198
+ * concurrent proc writes to the recording state); the finish proc stamps `RecordingFileID`.
199
+ *
200
+ * Never throws. Failures split by kind:
201
+ * - a {@link RecordingAssemblyError} (deterministic: bounds exceeded, overlapping or duplicate shards,
202
+ * no storage account, agent not loadable) is logged, the claim is finished as `Failed` (when the fence
203
+ * still holds), and the outcome is `Failed`;
204
+ * - any other error (SQL, storage, decoder load: likely transient) is logged with the session id and
205
+ * version, and the claim is LEFT in `Assembling` with no finish call; the outcome is `Retry`. The
206
+ * janitor's stale-`Assembling` re-claim (with its backoff and give-up cap) retries a closed session,
207
+ * and a later terminal or shard re-opens a live one.
208
+ * A lost fence is `Superseded` and leaves the shards.
209
+ */
210
+ export declare function AssembleRealtimeRecordingFromLedger(input: AssembleRealtimeRecordingInput): Promise<AssembleRealtimeRecordingOutcome>;
211
+ //# sourceMappingURL=realtime-recording-opus-assembly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"realtime-recording-opus-assembly.d.ts","sourceRoot":"","sources":["../../src/realtime/realtime-recording-opus-assembly.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,iBAAiB,EAAuB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGxF,OAAO,EACkB,sBAAsB,EAC9C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,wBAAwB,EAAoC,MAAM,6BAA6B,CAAC;AAMzG,+FAA+F;AAC/F,MAAM,WAAW,YAAY;IACzB,oCAAoC;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,+FAA+F;IAC/F,O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