@absolutejs/voice 0.0.22-beta.464 → 0.0.22-beta.466

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.
@@ -1,5 +1,7 @@
1
1
  import { Elysia } from "elysia";
2
+ import { type MediaPipelineStatus } from "@absolutejs/media";
2
3
  import { type StoredVoiceAuditEvent, type VoiceAuditEventStore } from "./audit";
4
+ import type { VoiceMediaPipelineReport } from "./mediaPipelineRoutes";
3
5
  import type { StoredVoiceIntegrationEvent, StoredVoiceOpsTask, VoiceIntegrationEventStore, VoiceOpsTaskStore } from "./ops";
4
6
  import { type VoiceSessionReplay } from "./sessionReplay";
5
7
  import type { StoredVoiceCallReviewArtifact, VoiceCallReviewStore } from "./testing/review";
@@ -143,6 +145,16 @@ export type VoiceOperationsRecordTelephonyMediaSummary = {
143
145
  streamIds: string[];
144
146
  total: number;
145
147
  };
148
+ export type VoiceOperationsRecordMediaPipelineSummary = {
149
+ frames: number;
150
+ issueCodes: readonly string[];
151
+ jitterMs?: number;
152
+ processorGraphStatus?: MediaPipelineStatus;
153
+ qualityStatus: MediaPipelineStatus;
154
+ status: MediaPipelineStatus;
155
+ surface: string;
156
+ transportStatus?: MediaPipelineStatus;
157
+ };
146
158
  export type VoiceOperationsRecordGuardrailAssertionInput = {
147
159
  minBlocked?: number;
148
160
  minDecisions?: number;
@@ -201,6 +213,7 @@ export type VoiceOperationsRecord = {
201
213
  guardrails: VoiceOperationsRecordGuardrailSummary;
202
214
  handoffs: VoiceOperationsRecordAgentHandoff[];
203
215
  integrationEvents?: VoiceOperationsRecordIntegrationEventSummary;
216
+ mediaPipeline?: VoiceOperationsRecordMediaPipelineSummary;
204
217
  outcome: VoiceOperationsRecordOutcome;
205
218
  providerDecisions: VoiceOperationsRecordProviderDecision[];
206
219
  providerDecisionSummary: VoiceOperationsRecordProviderDecisionSummary;
@@ -257,6 +270,8 @@ export type VoiceFailureReplayReport = {
257
270
  clears: number;
258
271
  errors: number;
259
272
  issues: string[];
273
+ pipelineIssueCodes: readonly string[];
274
+ pipelineStatus?: MediaPipelineStatus;
260
275
  steps: VoiceFailureReplayMediaStep[];
261
276
  total: number;
262
277
  };
@@ -291,6 +306,7 @@ export type VoiceOperationsRecordOptions = {
291
306
  evaluation?: VoiceTraceEvaluationOptions;
292
307
  events?: StoredVoiceTraceEvent[];
293
308
  integrationEvents?: VoiceIntegrationEventStore;
309
+ mediaPipeline?: VoiceMediaPipelineReport;
294
310
  redact?: VoiceTraceRedactionConfig;
295
311
  reviews?: VoiceCallReviewStore;
296
312
  sessionId: string;