@absolutejs/voice 0.0.22-beta.439 → 0.0.22-beta.441

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 (313) hide show
  1. package/README.md +2729 -2698
  2. package/dist/agent.d.ts +10 -10
  3. package/dist/agentSquadContract.d.ts +4 -4
  4. package/dist/angular/index.d.ts +22 -22
  5. package/dist/angular/voice-agent-squad-status.service.d.ts +1 -1
  6. package/dist/angular/voice-call-debugger.service.d.ts +2 -2
  7. package/dist/angular/voice-campaign-dialer-proof.service.d.ts +2 -2
  8. package/dist/angular/voice-controller.service.d.ts +1 -1
  9. package/dist/angular/voice-delivery-runtime.component.d.ts +2 -2
  10. package/dist/angular/voice-delivery-runtime.service.d.ts +2 -2
  11. package/dist/angular/voice-live-ops.service.d.ts +1 -1
  12. package/dist/angular/voice-ops-action-center.service.d.ts +1 -1
  13. package/dist/angular/voice-ops-status.component.d.ts +2 -2
  14. package/dist/angular/voice-ops-status.service.d.ts +2 -2
  15. package/dist/angular/voice-platform-coverage.service.d.ts +2 -2
  16. package/dist/angular/voice-profile-comparison.service.d.ts +2 -2
  17. package/dist/angular/voice-proof-trends.service.d.ts +2 -2
  18. package/dist/angular/voice-provider-capabilities.service.d.ts +2 -2
  19. package/dist/angular/voice-provider-contracts.service.d.ts +2 -2
  20. package/dist/angular/voice-provider-status.service.d.ts +2 -2
  21. package/dist/angular/voice-readiness-failures.service.d.ts +2 -2
  22. package/dist/angular/voice-routing-status.service.d.ts +1 -1
  23. package/dist/angular/voice-session-snapshot.service.d.ts +2 -2
  24. package/dist/angular/voice-stream.service.d.ts +1 -1
  25. package/dist/angular/voice-trace-timeline.service.d.ts +2 -2
  26. package/dist/angular/voice-turn-latency.service.d.ts +2 -2
  27. package/dist/angular/voice-turn-quality.service.d.ts +2 -2
  28. package/dist/angular/voice-workflow-status.service.d.ts +2 -2
  29. package/dist/assistant.d.ts +11 -11
  30. package/dist/assistantHealth.d.ts +6 -6
  31. package/dist/assistantMemory.d.ts +3 -3
  32. package/dist/audioConditioning.d.ts +1 -1
  33. package/dist/audit.d.ts +11 -11
  34. package/dist/auditDeliveryRoutes.d.ts +3 -3
  35. package/dist/auditExport.d.ts +3 -3
  36. package/dist/auditRoutes.d.ts +2 -2
  37. package/dist/auditSinks.d.ts +8 -8
  38. package/dist/bargeInRoutes.d.ts +3 -3
  39. package/dist/browserCallProfiles.d.ts +2 -2
  40. package/dist/browserMediaRoutes.d.ts +4 -4
  41. package/dist/callDebugger.d.ts +6 -6
  42. package/dist/campaign.d.ts +22 -22
  43. package/dist/campaignDialers.d.ts +14 -14
  44. package/dist/client/actions.d.ts +1 -1
  45. package/dist/client/agentSquadStatus.d.ts +3 -3
  46. package/dist/client/agentSquadStatusWidget.d.ts +1 -1
  47. package/dist/client/audioPlayer.d.ts +2 -2
  48. package/dist/client/bargeInMonitor.d.ts +1 -1
  49. package/dist/client/browserMedia.d.ts +1 -1
  50. package/dist/client/callDebugger.d.ts +1 -1
  51. package/dist/client/callDebuggerWidget.d.ts +3 -3
  52. package/dist/client/campaignDialerProof.d.ts +1 -1
  53. package/dist/client/connection.d.ts +3 -3
  54. package/dist/client/controller.d.ts +1 -1
  55. package/dist/client/createVoiceStream.d.ts +1 -1
  56. package/dist/client/deliveryRuntime.d.ts +4 -4
  57. package/dist/client/deliveryRuntimeWidget.d.ts +5 -5
  58. package/dist/client/duplex.d.ts +1 -1
  59. package/dist/client/htmx.d.ts +1 -1
  60. package/dist/client/index.d.ts +96 -96
  61. package/dist/client/index.js +41 -15
  62. package/dist/client/liveOps.d.ts +2 -2
  63. package/dist/client/liveOpsWidget.d.ts +2 -2
  64. package/dist/client/liveTurnLatency.d.ts +3 -3
  65. package/dist/client/microphone.d.ts +4 -4
  66. package/dist/client/opsActionCenter.d.ts +1 -1
  67. package/dist/client/opsActionCenterWidget.d.ts +2 -2
  68. package/dist/client/opsActionHistory.d.ts +1 -1
  69. package/dist/client/opsActionHistoryWidget.d.ts +1 -1
  70. package/dist/client/opsStatus.d.ts +1 -1
  71. package/dist/client/opsStatusWidget.d.ts +4 -4
  72. package/dist/client/platformCoverage.d.ts +1 -1
  73. package/dist/client/platformCoverageWidget.d.ts +3 -3
  74. package/dist/client/profileComparison.d.ts +1 -1
  75. package/dist/client/profileComparisonWidget.d.ts +2 -2
  76. package/dist/client/profileSwitchRecommendation.d.ts +1 -1
  77. package/dist/client/profileSwitchRecommendationWidget.d.ts +1 -1
  78. package/dist/client/proofTrends.d.ts +1 -1
  79. package/dist/client/proofTrendsWidget.d.ts +3 -3
  80. package/dist/client/providerCapabilities.d.ts +1 -1
  81. package/dist/client/providerCapabilitiesWidget.d.ts +3 -3
  82. package/dist/client/providerContracts.d.ts +1 -1
  83. package/dist/client/providerContractsWidget.d.ts +3 -3
  84. package/dist/client/providerSimulationControls.d.ts +2 -2
  85. package/dist/client/providerSimulationControlsWidget.d.ts +1 -1
  86. package/dist/client/providerStatus.d.ts +1 -1
  87. package/dist/client/providerStatusWidget.d.ts +3 -3
  88. package/dist/client/readinessFailures.d.ts +1 -1
  89. package/dist/client/readinessFailuresWidget.d.ts +4 -4
  90. package/dist/client/routingStatus.d.ts +1 -1
  91. package/dist/client/routingStatusWidget.d.ts +3 -3
  92. package/dist/client/sessionSnapshot.d.ts +1 -1
  93. package/dist/client/sessionSnapshotWidget.d.ts +2 -2
  94. package/dist/client/store.d.ts +1 -1
  95. package/dist/client/traceTimeline.d.ts +1 -1
  96. package/dist/client/traceTimelineWidget.d.ts +3 -3
  97. package/dist/client/turnLatency.d.ts +1 -1
  98. package/dist/client/turnLatencyWidget.d.ts +3 -3
  99. package/dist/client/turnQuality.d.ts +1 -1
  100. package/dist/client/turnQualityWidget.d.ts +3 -3
  101. package/dist/client/workflowStatus.d.ts +1 -1
  102. package/dist/competitiveCoverage.d.ts +9 -9
  103. package/dist/correction.d.ts +2 -2
  104. package/dist/dataControl.d.ts +16 -16
  105. package/dist/deliveryRuntime.d.ts +9 -9
  106. package/dist/deliverySinkRoutes.d.ts +6 -6
  107. package/dist/demoReadyRoutes.d.ts +8 -8
  108. package/dist/diagnosticsRoutes.d.ts +2 -2
  109. package/dist/evalRoutes.d.ts +4 -4
  110. package/dist/fileStore.d.ts +9 -9
  111. package/dist/guardrails.d.ts +9 -9
  112. package/dist/handoff.d.ts +6 -6
  113. package/dist/handoffHealth.d.ts +5 -5
  114. package/dist/htmx.d.ts +1 -1
  115. package/dist/incidentBundle.d.ts +7 -7
  116. package/dist/incidentTimeline.d.ts +30 -16
  117. package/dist/index.d.ts +215 -215
  118. package/dist/index.js +375 -111
  119. package/dist/latencySlo.d.ts +4 -4
  120. package/dist/liveLatency.d.ts +3 -3
  121. package/dist/liveOps.d.ts +11 -11
  122. package/dist/logger.d.ts +1 -1
  123. package/dist/mediaPipelineRoutes.d.ts +2 -2
  124. package/dist/memoryStore.d.ts +1 -1
  125. package/dist/modelAdapters.d.ts +9 -9
  126. package/dist/observabilityExport.d.ts +44 -44
  127. package/dist/openaiTTS.d.ts +3 -3
  128. package/dist/operationalStatus.d.ts +5 -5
  129. package/dist/operationsRecord.d.ts +12 -12
  130. package/dist/ops.d.ts +12 -12
  131. package/dist/opsActionAuditRoutes.d.ts +3 -3
  132. package/dist/opsConsoleRoutes.d.ts +6 -6
  133. package/dist/opsPresets.d.ts +2 -2
  134. package/dist/opsRecovery.d.ts +11 -11
  135. package/dist/opsRuntime.d.ts +6 -6
  136. package/dist/opsSinks.d.ts +13 -13
  137. package/dist/opsStatus.d.ts +7 -7
  138. package/dist/opsStatusRoutes.d.ts +2 -2
  139. package/dist/opsWebhook.d.ts +6 -6
  140. package/dist/outcomeContract.d.ts +5 -5
  141. package/dist/outcomeRecipes.d.ts +4 -4
  142. package/dist/phoneAgent.d.ts +18 -18
  143. package/dist/phoneAgentProductionSmoke.d.ts +8 -8
  144. package/dist/platformCoverage.d.ts +3 -3
  145. package/dist/plugin.d.ts +2 -2
  146. package/dist/postCallAnalysis.d.ts +6 -6
  147. package/dist/postgresStore.d.ts +8 -8
  148. package/dist/presets.d.ts +3 -3
  149. package/dist/productionReadiness.d.ts +62 -36
  150. package/dist/profileSwitchRecommendation.d.ts +15 -15
  151. package/dist/proofAssertions.d.ts +1 -1
  152. package/dist/proofPack.d.ts +12 -12
  153. package/dist/proofRunner.d.ts +5 -5
  154. package/dist/proofTrends.d.ts +17 -17
  155. package/dist/providerAdapters.d.ts +5 -5
  156. package/dist/providerCapabilities.d.ts +4 -4
  157. package/dist/providerDecisionTraces.d.ts +8 -8
  158. package/dist/providerHealth.d.ts +3 -3
  159. package/dist/providerOrchestration.d.ts +5 -5
  160. package/dist/providerRouterTraces.d.ts +7 -7
  161. package/dist/providerRoutingContract.d.ts +3 -3
  162. package/dist/providerSlo.d.ts +6 -6
  163. package/dist/providerStackRecommendations.d.ts +6 -6
  164. package/dist/qualityRoutes.d.ts +4 -4
  165. package/dist/queue.d.ts +16 -16
  166. package/dist/react/VoiceAgentSquadStatus.d.ts +1 -1
  167. package/dist/react/VoiceCallDebuggerLaunch.d.ts +1 -1
  168. package/dist/react/VoiceDeliveryRuntime.d.ts +1 -1
  169. package/dist/react/VoiceOpsActionCenter.d.ts +1 -1
  170. package/dist/react/VoiceOpsStatus.d.ts +1 -1
  171. package/dist/react/VoicePlatformCoverage.d.ts +1 -1
  172. package/dist/react/VoiceProfileComparison.d.ts +1 -1
  173. package/dist/react/VoiceProfileSwitchRecommendation.d.ts +1 -1
  174. package/dist/react/VoiceProofTrends.d.ts +1 -1
  175. package/dist/react/VoiceProviderCapabilities.d.ts +1 -1
  176. package/dist/react/VoiceProviderContracts.d.ts +1 -1
  177. package/dist/react/VoiceProviderSimulationControls.d.ts +1 -1
  178. package/dist/react/VoiceProviderStatus.d.ts +1 -1
  179. package/dist/react/VoiceReadinessFailures.d.ts +1 -1
  180. package/dist/react/VoiceRoutingStatus.d.ts +1 -1
  181. package/dist/react/VoiceSessionSnapshot.d.ts +1 -1
  182. package/dist/react/VoiceTraceTimeline.d.ts +1 -1
  183. package/dist/react/VoiceTurnLatency.d.ts +1 -1
  184. package/dist/react/VoiceTurnQuality.d.ts +1 -1
  185. package/dist/react/index.d.ts +43 -43
  186. package/dist/react/index.js +41 -15
  187. package/dist/react/useVoiceAgentSquadStatus.d.ts +1 -1
  188. package/dist/react/useVoiceCallDebugger.d.ts +1 -1
  189. package/dist/react/useVoiceCampaignDialerProof.d.ts +1 -1
  190. package/dist/react/useVoiceController.d.ts +1 -1
  191. package/dist/react/useVoiceDeliveryRuntime.d.ts +1 -1
  192. package/dist/react/useVoiceLiveOps.d.ts +1 -1
  193. package/dist/react/useVoiceOpsActionCenter.d.ts +1 -1
  194. package/dist/react/useVoiceOpsStatus.d.ts +1 -1
  195. package/dist/react/useVoicePlatformCoverage.d.ts +1 -1
  196. package/dist/react/useVoiceProfileComparison.d.ts +1 -1
  197. package/dist/react/useVoiceProfileSwitchRecommendation.d.ts +1 -1
  198. package/dist/react/useVoiceProofTrends.d.ts +1 -1
  199. package/dist/react/useVoiceProviderCapabilities.d.ts +1 -1
  200. package/dist/react/useVoiceProviderContracts.d.ts +1 -1
  201. package/dist/react/useVoiceProviderSimulationControls.d.ts +1 -1
  202. package/dist/react/useVoiceProviderStatus.d.ts +1 -1
  203. package/dist/react/useVoiceReadinessFailures.d.ts +1 -1
  204. package/dist/react/useVoiceRoutingStatus.d.ts +1 -1
  205. package/dist/react/useVoiceSessionSnapshot.d.ts +1 -1
  206. package/dist/react/useVoiceStream.d.ts +1 -1
  207. package/dist/react/useVoiceTraceTimeline.d.ts +1 -1
  208. package/dist/react/useVoiceTurnLatency.d.ts +1 -1
  209. package/dist/react/useVoiceTurnQuality.d.ts +1 -1
  210. package/dist/react/useVoiceWorkflowStatus.d.ts +1 -1
  211. package/dist/readinessProfiles.d.ts +22 -15
  212. package/dist/realtimeChannel.d.ts +6 -6
  213. package/dist/realtimeProviderContracts.d.ts +7 -7
  214. package/dist/reconnectContract.d.ts +6 -6
  215. package/dist/resilienceRoutes.d.ts +6 -6
  216. package/dist/routing.d.ts +1 -1
  217. package/dist/runtimeOps.d.ts +3 -3
  218. package/dist/s3Store.d.ts +3 -3
  219. package/dist/session.d.ts +1 -1
  220. package/dist/sessionReplay.d.ts +9 -9
  221. package/dist/sessionSnapshot.d.ts +8 -8
  222. package/dist/simulationSuite.d.ts +12 -12
  223. package/dist/sloCalibration.d.ts +8 -8
  224. package/dist/sqliteStore.d.ts +8 -8
  225. package/dist/store.d.ts +1 -1
  226. package/dist/svelte/createVoiceAgentSquadStatus.d.ts +1 -1
  227. package/dist/svelte/createVoiceCallDebugger.d.ts +2 -2
  228. package/dist/svelte/createVoiceCampaignDialerProof.d.ts +1 -1
  229. package/dist/svelte/createVoiceDeliveryRuntime.d.ts +1 -1
  230. package/dist/svelte/createVoiceLiveOps.d.ts +2 -2
  231. package/dist/svelte/createVoiceOpsActionCenter.d.ts +1 -1
  232. package/dist/svelte/createVoiceOpsStatus.d.ts +1 -1
  233. package/dist/svelte/createVoicePlatformCoverage.d.ts +1 -1
  234. package/dist/svelte/createVoiceProfileComparison.d.ts +1 -1
  235. package/dist/svelte/createVoiceProofTrends.d.ts +1 -1
  236. package/dist/svelte/createVoiceProviderCapabilities.d.ts +1 -1
  237. package/dist/svelte/createVoiceProviderContracts.d.ts +1 -1
  238. package/dist/svelte/createVoiceProviderSimulationControls.d.ts +1 -1
  239. package/dist/svelte/createVoiceProviderStatus.d.ts +1 -1
  240. package/dist/svelte/createVoiceReadinessFailures.d.ts +1 -1
  241. package/dist/svelte/createVoiceRoutingStatus.d.ts +1 -1
  242. package/dist/svelte/createVoiceSessionSnapshot.d.ts +2 -2
  243. package/dist/svelte/createVoiceStream.d.ts +1 -1
  244. package/dist/svelte/createVoiceTraceTimeline.d.ts +1 -1
  245. package/dist/svelte/createVoiceTurnLatency.d.ts +1 -1
  246. package/dist/svelte/createVoiceTurnQuality.d.ts +1 -1
  247. package/dist/svelte/createVoiceWorkflowStatus.d.ts +1 -1
  248. package/dist/svelte/index.d.ts +23 -23
  249. package/dist/svelte/index.js +30 -8
  250. package/dist/telephony/contract.d.ts +5 -5
  251. package/dist/telephony/matrix.d.ts +4 -4
  252. package/dist/telephony/plivo.d.ts +30 -30
  253. package/dist/telephony/response.d.ts +1 -1
  254. package/dist/telephony/security.d.ts +17 -17
  255. package/dist/telephony/telnyx.d.ts +31 -31
  256. package/dist/telephony/twilio.d.ts +22 -22
  257. package/dist/telephonyMediaRoutes.d.ts +4 -4
  258. package/dist/telephonyOutcome.d.ts +13 -13
  259. package/dist/testing/accuracy.d.ts +1 -1
  260. package/dist/testing/benchmark.d.ts +9 -9
  261. package/dist/testing/corrected.d.ts +5 -5
  262. package/dist/testing/duplex.d.ts +3 -3
  263. package/dist/testing/fixtures.d.ts +3 -3
  264. package/dist/testing/index.d.ts +13 -13
  265. package/dist/testing/index.js +49 -20
  266. package/dist/testing/ioProviderSimulator.d.ts +5 -5
  267. package/dist/testing/providerSimulator.d.ts +5 -5
  268. package/dist/testing/review.d.ts +4 -4
  269. package/dist/testing/sessionBenchmark.d.ts +3 -3
  270. package/dist/testing/stt.d.ts +3 -3
  271. package/dist/testing/telephony.d.ts +3 -3
  272. package/dist/testing/tts.d.ts +1 -1
  273. package/dist/toolContract.d.ts +10 -10
  274. package/dist/toolRuntime.d.ts +3 -3
  275. package/dist/trace.d.ts +10 -10
  276. package/dist/traceDeliveryRoutes.d.ts +4 -4
  277. package/dist/traceTimeline.d.ts +4 -4
  278. package/dist/turnDetection.d.ts +1 -1
  279. package/dist/turnLatency.d.ts +4 -4
  280. package/dist/turnProfiles.d.ts +2 -2
  281. package/dist/turnQuality.d.ts +4 -4
  282. package/dist/types.d.ts +92 -92
  283. package/dist/voiceMonitoring.d.ts +6 -6
  284. package/dist/vue/VoiceOpsActionCenter.d.ts +2 -2
  285. package/dist/vue/VoiceProviderSimulationControls.d.ts +2 -2
  286. package/dist/vue/index.d.ts +38 -38
  287. package/dist/vue/index.js +41 -15
  288. package/dist/vue/useVoiceAgentSquadStatus.d.ts +1 -1
  289. package/dist/vue/useVoiceCallDebugger.d.ts +2 -2
  290. package/dist/vue/useVoiceCampaignDialerProof.d.ts +2 -2
  291. package/dist/vue/useVoiceController.d.ts +1 -1
  292. package/dist/vue/useVoiceDeliveryRuntime.d.ts +2 -2
  293. package/dist/vue/useVoiceLiveOps.d.ts +1 -1
  294. package/dist/vue/useVoiceOpsActionCenter.d.ts +1 -1
  295. package/dist/vue/useVoiceOpsStatus.d.ts +2 -2
  296. package/dist/vue/useVoicePlatformCoverage.d.ts +2 -2
  297. package/dist/vue/useVoiceProfileComparison.d.ts +2 -2
  298. package/dist/vue/useVoiceProofTrends.d.ts +2 -2
  299. package/dist/vue/useVoiceProviderCapabilities.d.ts +2 -2
  300. package/dist/vue/useVoiceProviderContracts.d.ts +2 -2
  301. package/dist/vue/useVoiceProviderSimulationControls.d.ts +1 -1
  302. package/dist/vue/useVoiceProviderStatus.d.ts +2 -2
  303. package/dist/vue/useVoiceReadinessFailures.d.ts +30 -2
  304. package/dist/vue/useVoiceRoutingStatus.d.ts +1 -1
  305. package/dist/vue/useVoiceSessionSnapshot.d.ts +2 -2
  306. package/dist/vue/useVoiceStream.d.ts +1 -1
  307. package/dist/vue/useVoiceTraceTimeline.d.ts +2 -2
  308. package/dist/vue/useVoiceTurnLatency.d.ts +2 -2
  309. package/dist/vue/useVoiceTurnQuality.d.ts +2 -2
  310. package/dist/vue/useVoiceWorkflowStatus.d.ts +2 -2
  311. package/dist/workflowContract.d.ts +8 -8
  312. package/fixtures/manifest.json +356 -197
  313. package/package.json +260 -259
@@ -1,22 +1,22 @@
1
- import { Database } from 'bun:sqlite';
2
- import type { RedisClient } from 'bun';
3
- import { Elysia } from 'elysia';
4
- import { type VoiceTelephonyContractReport, type VoiceTelephonySetupStatus, type VoiceTelephonySmokeCheck, type VoiceTelephonySmokeReport } from './contract';
5
- import { type VoiceTelephonyOutcomePolicy, type VoiceTelephonyWebhookRoutesOptions, type VoiceTelephonyWebhookVerificationResult } from '../telephonyOutcome';
6
- import type { VoiceServerMessage, VoiceSessionRecord } from '../types';
7
- import { type TwilioMediaStreamBridgeOptions } from './twilio';
8
- import type { VoicePostgresClient } from '../postgresStore';
1
+ import { Database } from "bun:sqlite";
2
+ import type { RedisClient } from "bun";
3
+ import { Elysia } from "elysia";
4
+ import { type VoiceTelephonyContractReport, type VoiceTelephonySetupStatus, type VoiceTelephonySmokeCheck, type VoiceTelephonySmokeReport } from "./contract";
5
+ import { type VoiceTelephonyOutcomePolicy, type VoiceTelephonyWebhookRoutesOptions, type VoiceTelephonyWebhookVerificationResult } from "../telephonyOutcome";
6
+ import type { VoiceServerMessage, VoiceSessionRecord } from "../types";
7
+ import { type TwilioMediaStreamBridgeOptions } from "./twilio";
8
+ import type { VoicePostgresClient } from "../postgresStore";
9
9
  export type TelnyxMediaPayload = {
10
10
  chunk?: string;
11
11
  payload: string;
12
12
  timestamp?: string;
13
- track?: 'inbound' | 'outbound' | 'inbound_track' | 'outbound_track';
13
+ track?: "inbound" | "outbound" | "inbound_track" | "outbound_track";
14
14
  };
15
15
  export type TelnyxInboundMessage = {
16
- event: 'connected';
16
+ event: "connected";
17
17
  version?: string;
18
18
  } | {
19
- event: 'start';
19
+ event: "start";
20
20
  sequence_number?: string;
21
21
  start?: {
22
22
  call_control_id?: string;
@@ -32,26 +32,26 @@ export type TelnyxInboundMessage = {
32
32
  };
33
33
  stream_id?: string;
34
34
  } | {
35
- event: 'media';
35
+ event: "media";
36
36
  media: TelnyxMediaPayload;
37
37
  sequence_number?: string;
38
38
  stream_id?: string;
39
39
  } | {
40
- event: 'mark';
40
+ event: "mark";
41
41
  mark?: {
42
42
  name?: string;
43
43
  };
44
44
  sequence_number?: string;
45
45
  stream_id?: string;
46
46
  } | {
47
- event: 'dtmf';
47
+ event: "dtmf";
48
48
  dtmf?: {
49
49
  digit?: string;
50
50
  };
51
51
  sequence_number?: string;
52
52
  stream_id?: string;
53
53
  } | {
54
- event: 'error';
54
+ event: "error";
55
55
  payload?: {
56
56
  code?: number;
57
57
  detail?: string;
@@ -59,7 +59,7 @@ export type TelnyxInboundMessage = {
59
59
  };
60
60
  stream_id?: string;
61
61
  } | {
62
- event: 'stop';
62
+ event: "stop";
63
63
  sequence_number?: string;
64
64
  stop?: {
65
65
  call_control_id?: string;
@@ -68,16 +68,16 @@ export type TelnyxInboundMessage = {
68
68
  stream_id?: string;
69
69
  };
70
70
  export type TelnyxOutboundMediaMessage = {
71
- event: 'media';
71
+ event: "media";
72
72
  media: {
73
73
  payload: string;
74
74
  };
75
75
  };
76
76
  export type TelnyxOutboundClearMessage = {
77
- event: 'clear';
77
+ event: "clear";
78
78
  };
79
79
  export type TelnyxOutboundMarkMessage = {
80
- event: 'mark';
80
+ event: "mark";
81
81
  mark: {
82
82
  name: string;
83
83
  };
@@ -87,7 +87,7 @@ export type TelnyxMediaStreamSocket = {
87
87
  close: (code?: number, reason?: string) => void | Promise<void>;
88
88
  send: (data: string) => void | Promise<void>;
89
89
  };
90
- export type TelnyxMediaStreamBridgeOptions<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = Omit<TwilioMediaStreamBridgeOptions<TContext, TSession, TResult>, 'onVoiceMessage'> & {
90
+ export type TelnyxMediaStreamBridgeOptions<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = Omit<TwilioMediaStreamBridgeOptions<TContext, TSession, TResult>, "onVoiceMessage"> & {
91
91
  onVoiceMessage?: (input: {
92
92
  callControlId?: string;
93
93
  message: VoiceServerMessage<TResult>;
@@ -102,15 +102,15 @@ export type TelnyxMediaStreamBridge = {
102
102
  handleMessage: (raw: string | TelnyxInboundMessage) => Promise<void>;
103
103
  };
104
104
  export type TelnyxVoiceResponseOptions = {
105
- bidirectionalCodec?: 'AMR-WB' | 'G722' | 'OPUS' | 'PCMA' | 'PCMU';
106
- bidirectionalMode?: 'mp3' | 'rtp';
107
- codec?: 'AMR-WB' | 'G722' | 'OPUS' | 'PCMA' | 'PCMU' | 'default';
105
+ bidirectionalCodec?: "AMR-WB" | "G722" | "OPUS" | "PCMA" | "PCMU";
106
+ bidirectionalMode?: "mp3" | "rtp";
107
+ codec?: "AMR-WB" | "G722" | "OPUS" | "PCMA" | "PCMU" | "default";
108
108
  streamName?: string;
109
109
  streamUrl: string;
110
- track?: 'both_tracks' | 'inbound_track' | 'outbound_track';
110
+ track?: "both_tracks" | "inbound_track" | "outbound_track";
111
111
  };
112
- export type TelnyxVoiceSetupStatus = VoiceTelephonySetupStatus<'telnyx'> & {
113
- urls: VoiceTelephonySetupStatus<'telnyx'>['urls'] & {
112
+ export type TelnyxVoiceSetupStatus = VoiceTelephonySetupStatus<"telnyx"> & {
113
+ urls: VoiceTelephonySetupStatus<"telnyx">["urls"] & {
114
114
  texml: string;
115
115
  };
116
116
  };
@@ -120,8 +120,8 @@ export type TelnyxVoiceSetupOptions = {
120
120
  title?: string;
121
121
  };
122
122
  export type TelnyxVoiceSmokeCheck = VoiceTelephonySmokeCheck;
123
- export type TelnyxVoiceSmokeReport = VoiceTelephonySmokeReport<'telnyx'> & {
124
- contract: VoiceTelephonyContractReport<'telnyx'>;
123
+ export type TelnyxVoiceSmokeReport = VoiceTelephonySmokeReport<"telnyx"> & {
124
+ contract: VoiceTelephonyContractReport<"telnyx">;
125
125
  setup: TelnyxVoiceSetupStatus;
126
126
  texml?: {
127
127
  status: number;
@@ -146,14 +146,14 @@ export type TelnyxVoiceRoutesOptions<TContext = unknown, TSession extends VoiceS
146
146
  streamPath?: string;
147
147
  texml?: {
148
148
  path?: string;
149
- response?: Omit<TelnyxVoiceResponseOptions, 'streamUrl'>;
149
+ response?: Omit<TelnyxVoiceResponseOptions, "streamUrl">;
150
150
  streamUrl?: string | ((input: {
151
151
  query: Record<string, unknown>;
152
152
  request: Request;
153
153
  streamPath: string;
154
154
  }) => Promise<string> | string);
155
155
  };
156
- webhook?: Omit<VoiceTelephonyWebhookRoutesOptions<TContext, TSession, TResult>, 'context' | 'path' | 'policy' | 'provider'> & {
156
+ webhook?: Omit<VoiceTelephonyWebhookRoutesOptions<TContext, TSession, TResult>, "context" | "path" | "policy" | "provider"> & {
157
157
  eventStore?: VoiceTelnyxWebhookEventStore;
158
158
  path?: string;
159
159
  policy?: VoiceTelephonyOutcomePolicy;
@@ -182,7 +182,7 @@ export type VoicePostgresTelnyxWebhookEventStoreOptions = VoiceTelnyxWebhookEven
182
182
  tableName?: string;
183
183
  tablePrefix?: string;
184
184
  };
185
- export type VoiceRedisTelnyxWebhookEventClient = Pick<RedisClient, 'exists' | 'set'>;
185
+ export type VoiceRedisTelnyxWebhookEventClient = Pick<RedisClient, "exists" | "set">;
186
186
  export type VoiceRedisTelnyxWebhookEventStoreOptions = VoiceTelnyxWebhookEventStoreOptions & {
187
187
  client?: VoiceRedisTelnyxWebhookEventClient;
188
188
  keyPrefix?: string;
@@ -1,21 +1,21 @@
1
- import { Elysia } from 'elysia';
2
- import type { VoiceTelephonySetupStatus, VoiceTelephonySmokeCheck, VoiceTelephonySmokeReport } from './contract';
3
- import { type VoiceTelephonyOutcomePolicy, type VoiceTelephonyWebhookRoutesOptions } from '../telephonyOutcome';
4
- import { type VoiceCallReviewArtifact, type VoiceCallReviewConfig } from '../testing/review';
5
- import type { AudioFormat, STTAdapter, VoiceLogger, VoicePluginConfig, VoiceSessionRecord, VoiceServerMessage } from '../types';
1
+ import { Elysia } from "elysia";
2
+ import type { VoiceTelephonySetupStatus, VoiceTelephonySmokeCheck, VoiceTelephonySmokeReport } from "./contract";
3
+ import { type VoiceTelephonyOutcomePolicy, type VoiceTelephonyWebhookRoutesOptions } from "../telephonyOutcome";
4
+ import { type VoiceCallReviewArtifact, type VoiceCallReviewConfig } from "../testing/review";
5
+ import type { AudioFormat, STTAdapter, VoiceLogger, VoicePluginConfig, VoiceSessionRecord, VoiceServerMessage } from "../types";
6
6
  type TwilioMediaPayload = {
7
7
  chunk?: string;
8
8
  payload: string;
9
9
  timestamp?: string;
10
- track?: 'inbound' | 'outbound';
10
+ track?: "inbound" | "outbound";
11
11
  };
12
12
  type TwilioConnectedMessage = {
13
- event: 'connected';
13
+ event: "connected";
14
14
  protocol?: string;
15
15
  version?: string;
16
16
  };
17
17
  type TwilioStartMessage = {
18
- event: 'start';
18
+ event: "start";
19
19
  sequenceNumber?: string;
20
20
  start: {
21
21
  accountSid?: string;
@@ -32,13 +32,13 @@ type TwilioStartMessage = {
32
32
  streamSid?: string;
33
33
  };
34
34
  type TwilioMediaMessage = {
35
- event: 'media';
35
+ event: "media";
36
36
  media: TwilioMediaPayload;
37
37
  sequenceNumber?: string;
38
38
  streamSid: string;
39
39
  };
40
40
  type TwilioMarkMessage = {
41
- event: 'mark';
41
+ event: "mark";
42
42
  mark?: {
43
43
  name?: string;
44
44
  };
@@ -46,7 +46,7 @@ type TwilioMarkMessage = {
46
46
  streamSid: string;
47
47
  };
48
48
  type TwilioStopMessage = {
49
- event: 'stop';
49
+ event: "stop";
50
50
  sequenceNumber?: string;
51
51
  stop?: {
52
52
  accountSid?: string;
@@ -56,18 +56,18 @@ type TwilioStopMessage = {
56
56
  };
57
57
  export type TwilioInboundMessage = TwilioConnectedMessage | TwilioStartMessage | TwilioMediaMessage | TwilioMarkMessage | TwilioStopMessage;
58
58
  export type TwilioOutboundMediaMessage = {
59
- event: 'media';
59
+ event: "media";
60
60
  media: {
61
61
  payload: string;
62
62
  };
63
63
  streamSid: string;
64
64
  };
65
65
  export type TwilioOutboundClearMessage = {
66
- event: 'clear';
66
+ event: "clear";
67
67
  streamSid: string;
68
68
  };
69
69
  export type TwilioOutboundMarkMessage = {
70
- event: 'mark';
70
+ event: "mark";
71
71
  mark: {
72
72
  name: string;
73
73
  };
@@ -78,7 +78,7 @@ export type TwilioMediaStreamSocket = {
78
78
  close: (code?: number, reason?: string) => void | Promise<void>;
79
79
  send: (data: string) => void | Promise<void>;
80
80
  };
81
- export type TwilioMediaStreamBridgeOptions<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = Omit<VoicePluginConfig<TContext, TSession, TResult>, 'htmx' | 'path' | 'stt'> & {
81
+ export type TwilioMediaStreamBridgeOptions<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = Omit<VoicePluginConfig<TContext, TSession, TResult>, "htmx" | "path" | "stt"> & {
82
82
  clearOnInboundMedia?: boolean;
83
83
  context: TContext;
84
84
  logger?: VoiceLogger;
@@ -98,7 +98,7 @@ export type TwilioMediaStreamBridgeOptions<TContext = unknown, TSession extends
98
98
  scenarioId?: string;
99
99
  sessionId?: string;
100
100
  stt: STTAdapter;
101
- telephonyMediaCarrier?: 'plivo' | 'telnyx' | 'twilio';
101
+ telephonyMediaCarrier?: "plivo" | "telnyx" | "twilio";
102
102
  };
103
103
  export type TwilioMediaStreamBridge = {
104
104
  close: (reason?: string) => Promise<void>;
@@ -110,14 +110,14 @@ export type TwilioVoiceResponseOptions = {
110
110
  parameters?: Record<string, string | number | boolean | undefined>;
111
111
  streamName?: string;
112
112
  streamUrl: string;
113
- track?: 'both_tracks' | 'inbound_track' | 'outbound_track';
113
+ track?: "both_tracks" | "inbound_track" | "outbound_track";
114
114
  };
115
115
  export type TwilioVoiceRouteParameters = Record<string, string | number | boolean | undefined> | ((input: {
116
116
  query: Record<string, unknown>;
117
117
  request: Request;
118
118
  }) => Promise<Record<string, string | number | boolean | undefined>> | Record<string, string | number | boolean | undefined>);
119
- export type TwilioVoiceSetupStatus = VoiceTelephonySetupStatus<'twilio'> & {
120
- urls: VoiceTelephonySetupStatus<'twilio'>['urls'] & {
119
+ export type TwilioVoiceSetupStatus = VoiceTelephonySetupStatus<"twilio"> & {
120
+ urls: VoiceTelephonySetupStatus<"twilio">["urls"] & {
121
121
  twiml: string;
122
122
  };
123
123
  };
@@ -127,7 +127,7 @@ export type TwilioVoiceSetupOptions = {
127
127
  title?: string;
128
128
  };
129
129
  export type TwilioVoiceSmokeCheck = VoiceTelephonySmokeCheck;
130
- export type TwilioVoiceSmokeReport = VoiceTelephonySmokeReport<'twilio'> & {
130
+ export type TwilioVoiceSmokeReport = VoiceTelephonySmokeReport<"twilio"> & {
131
131
  setup: TwilioVoiceSetupStatus;
132
132
  };
133
133
  export type TwilioVoiceSmokeOptions = {
@@ -154,9 +154,9 @@ export type TwilioVoiceRoutesOptions<TContext = unknown, TSession extends VoiceS
154
154
  request: Request;
155
155
  streamPath: string;
156
156
  }) => Promise<string> | string);
157
- track?: TwilioVoiceResponseOptions['track'];
157
+ track?: TwilioVoiceResponseOptions["track"];
158
158
  };
159
- webhook?: Omit<VoiceTelephonyWebhookRoutesOptions<TContext, TSession, TResult>, 'context' | 'path' | 'policy' | 'provider'> & {
159
+ webhook?: Omit<VoiceTelephonyWebhookRoutesOptions<TContext, TSession, TResult>, "context" | "path" | "policy" | "provider"> & {
160
160
  path?: string;
161
161
  policy?: VoiceTelephonyOutcomePolicy;
162
162
  };
@@ -1,7 +1,7 @@
1
- import { Elysia } from 'elysia';
2
- import type { MediaFrame, MediaTelephonyCarrier, MediaTelephonyEnvelope, MediaTelephonyStreamLifecycleReport } from '@absolutejs/media';
3
- import type { VoiceTraceEventStore } from './trace';
4
- export type VoiceTelephonyMediaStatus = 'fail' | 'pass';
1
+ import { Elysia } from "elysia";
2
+ import type { MediaFrame, MediaTelephonyCarrier, MediaTelephonyEnvelope, MediaTelephonyStreamLifecycleReport } from "@absolutejs/media";
3
+ import type { VoiceTraceEventStore } from "./trace";
4
+ export type VoiceTelephonyMediaStatus = "fail" | "pass";
5
5
  export type VoiceTelephonyMediaCarrierInput = {
6
6
  carrier: MediaTelephonyCarrier;
7
7
  envelope?: MediaTelephonyEnvelope;
@@ -1,6 +1,6 @@
1
- import { Elysia } from 'elysia';
2
- import type { VoiceCallDisposition, VoiceRouteResult, VoiceSessionHandle, VoiceSessionRecord } from './types';
3
- export type VoiceTelephonyOutcomeAction = 'complete' | 'escalate' | 'ignore' | 'no-answer' | 'transfer' | 'voicemail';
1
+ import { Elysia } from "elysia";
2
+ import type { VoiceCallDisposition, VoiceRouteResult, VoiceSessionHandle, VoiceSessionRecord } from "./types";
3
+ export type VoiceTelephonyOutcomeAction = "complete" | "escalate" | "ignore" | "no-answer" | "transfer" | "voicemail";
4
4
  export type VoiceTelephonyOutcomeProviderEvent = {
5
5
  answeredBy?: string;
6
6
  durationMs?: number;
@@ -15,17 +15,17 @@ export type VoiceTelephonyOutcomeProviderEvent = {
15
15
  };
16
16
  export type VoiceTelephonyOutcomeDecision = {
17
17
  action: VoiceTelephonyOutcomeAction;
18
- confidence: 'high' | 'low' | 'medium';
18
+ confidence: "high" | "low" | "medium";
19
19
  disposition?: VoiceCallDisposition;
20
20
  metadata?: Record<string, unknown>;
21
21
  reason?: string;
22
- source: 'answered-by' | 'duration' | 'explicit-target' | 'policy' | 'sip' | 'status';
22
+ source: "answered-by" | "duration" | "explicit-target" | "policy" | "sip" | "status";
23
23
  target?: string;
24
24
  };
25
- export type VoiceTelephonyOutcomeStatusDecision = VoiceTelephonyOutcomeAction | Omit<VoiceTelephonyOutcomeDecision, 'confidence' | 'source'> & {
26
- confidence?: VoiceTelephonyOutcomeDecision['confidence'];
27
- source?: VoiceTelephonyOutcomeDecision['source'];
28
- };
25
+ export type VoiceTelephonyOutcomeStatusDecision = VoiceTelephonyOutcomeAction | (Omit<VoiceTelephonyOutcomeDecision, "confidence" | "source"> & {
26
+ confidence?: VoiceTelephonyOutcomeDecision["confidence"];
27
+ source?: VoiceTelephonyOutcomeDecision["source"];
28
+ });
29
29
  export type VoiceTelephonyOutcomePolicy = {
30
30
  completedStatuses?: string[];
31
31
  escalationStatuses?: string[];
@@ -44,7 +44,7 @@ export type VoiceTelephonyOutcomePolicy = {
44
44
  voicemailStatuses?: string[];
45
45
  };
46
46
  export type VoiceTelephonyOutcomeRouteResult<TResult = unknown> = VoiceRouteResult<TResult>;
47
- export type VoiceTelephonyWebhookProvider = 'generic' | 'plivo' | 'telnyx' | 'twilio';
47
+ export type VoiceTelephonyWebhookProvider = "generic" | "plivo" | "telnyx" | "twilio";
48
48
  export type VoiceTelephonyWebhookParseInput = {
49
49
  body: unknown;
50
50
  headers: Headers;
@@ -71,7 +71,7 @@ export type VoiceTelephonyWebhookNormalizationEvidenceDecision = {
71
71
  decision?: {
72
72
  action?: VoiceTelephonyOutcomeAction | string;
73
73
  disposition?: VoiceCallDisposition | string;
74
- source?: VoiceTelephonyOutcomeDecision['source'] | string;
74
+ source?: VoiceTelephonyOutcomeDecision["source"] | string;
75
75
  };
76
76
  disposition?: VoiceCallDisposition | string;
77
77
  duplicate?: boolean;
@@ -81,7 +81,7 @@ export type VoiceTelephonyWebhookNormalizationEvidenceDecision = {
81
81
  provider?: VoiceTelephonyWebhookProvider | string;
82
82
  routeResult?: unknown;
83
83
  sessionId?: string;
84
- source?: VoiceTelephonyOutcomeDecision['source'] | string;
84
+ source?: VoiceTelephonyOutcomeDecision["source"] | string;
85
85
  };
86
86
  export type VoiceTelephonyWebhookVerificationEvidenceAttempt = {
87
87
  decisions?: number;
@@ -143,7 +143,7 @@ export type VoiceTelephonyWebhookVerificationResult = {
143
143
  ok: true;
144
144
  } | {
145
145
  ok: false;
146
- reason: 'invalid-signature' | 'missing-secret' | 'missing-signature' | 'unsupported-provider';
146
+ reason: "invalid-signature" | "missing-secret" | "missing-signature" | "unsupported-provider";
147
147
  };
148
148
  export type VoiceTelephonyWebhookHandlerOptions<TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown> = {
149
149
  apply?: boolean | ((input: VoiceTelephonyWebhookDecision<TResult>) => boolean);
@@ -1,4 +1,4 @@
1
- import type { Transcript } from '../types';
1
+ import type { Transcript } from "../types";
2
2
  export type VoiceTranscriptAccuracy = {
3
3
  actualText: string;
4
4
  charDistance: number;
@@ -1,6 +1,6 @@
1
- import type { STTAdapter, STTAdapterOpenOptions } from '../types';
2
- import { type VoiceSTTAdapterHarnessOptions, type VoiceSTTAdapterHarnessResult } from './stt';
3
- import type { VoiceTestFixture } from './fixtures';
1
+ import type { STTAdapter, STTAdapterOpenOptions } from "../types";
2
+ import { type VoiceSTTAdapterHarnessOptions, type VoiceSTTAdapterHarnessResult } from "./stt";
3
+ import type { VoiceTestFixture } from "./fixtures";
4
4
  export type VoiceExpectedTermAccuracy = {
5
5
  allMatched: boolean;
6
6
  expectedTerms: string[];
@@ -8,7 +8,7 @@ export type VoiceExpectedTermAccuracy = {
8
8
  missingTerms: string[];
9
9
  recall: number;
10
10
  };
11
- export type VoiceSTTFixtureEnvironment = 'accent' | 'accent-noisy' | 'clean' | 'code-switch' | 'jargon' | 'multilingual' | 'multi-speaker' | 'noisy' | 'telephony' | 'other';
11
+ export type VoiceSTTFixtureEnvironment = "accent" | "accent-noisy" | "clean" | "code-switch" | "jargon" | "multilingual" | "multi-speaker" | "noisy" | "telephony" | "other";
12
12
  export type VoiceSpeakerTurnAccuracy = {
13
13
  available: boolean;
14
14
  actualTurnCount: number;
@@ -18,9 +18,9 @@ export type VoiceSpeakerTurnAccuracy = {
18
18
  postClustered?: boolean;
19
19
  };
20
20
  export type VoiceSTTBenchmarkFixtureResult = {
21
- accuracy: VoiceSTTAdapterHarnessResult['accuracy'];
21
+ accuracy: VoiceSTTAdapterHarnessResult["accuracy"];
22
22
  closeCount: number;
23
- difficulty?: VoiceTestFixture['difficulty'];
23
+ difficulty?: VoiceTestFixture["difficulty"];
24
24
  elapsedMs: number;
25
25
  endOfTurnCount: number;
26
26
  errorCount: number;
@@ -141,14 +141,14 @@ export type VoiceSTTBenchmarkAcceptanceResult = {
141
141
  score: number;
142
142
  };
143
143
  export type VoiceSTTBenchmarkOptions = VoiceSTTAdapterHarnessOptions & {
144
- fixtureOptions?: Record<string, Omit<VoiceSTTAdapterHarnessOptions, 'fixtureOptions' | 'openOptions'>>;
144
+ fixtureOptions?: Record<string, Omit<VoiceSTTAdapterHarnessOptions, "fixtureOptions" | "openOptions">>;
145
145
  openOptions?: Partial<STTAdapterOpenOptions> | ((fixture: VoiceTestFixture) => Partial<STTAdapterOpenOptions> | undefined);
146
146
  };
147
147
  export declare const resolveFixtureEnvironment: (fixture: Pick<VoiceTestFixture, "language" | "tags">) => VoiceSTTFixtureEnvironment;
148
148
  export declare const summarizeSTTBenchmark: (adapterId: string, fixtures: VoiceSTTBenchmarkFixtureResult[]) => VoiceSTTBenchmarkSummary;
149
149
  export declare const evaluateSTTBenchmarkAcceptance: (report: VoiceSTTBenchmarkReport, thresholds?: VoiceSTTBenchmarkAcceptanceThresholds) => VoiceSTTBenchmarkAcceptanceResult;
150
150
  export declare const compareSTTBenchmarks: (reports: VoiceSTTBenchmarkReport[]) => VoiceSTTBenchmarkComparison;
151
- export declare const runSTTAdapterBenchmark: ({ adapter, adapterId, fixtures, options }: {
151
+ export declare const runSTTAdapterBenchmark: ({ adapter, adapterId, fixtures, options, }: {
152
152
  adapter: STTAdapter;
153
153
  adapterId: string;
154
154
  fixtures: VoiceTestFixture[];
@@ -158,7 +158,7 @@ export declare const summarizeSTTBenchmarkSeries: (input: {
158
158
  adapterId: string;
159
159
  reports: VoiceSTTBenchmarkReport[];
160
160
  }) => VoiceSTTBenchmarkSeriesReport;
161
- export declare const runSTTAdapterBenchmarkSeries: ({ adapter, adapterId, fixtures, options, runs }: {
161
+ export declare const runSTTAdapterBenchmarkSeries: ({ adapter, adapterId, fixtures, options, runs, }: {
162
162
  adapter: STTAdapter;
163
163
  adapterId: string;
164
164
  fixtures: VoiceTestFixture[];
@@ -1,8 +1,8 @@
1
- import type { VoiceLexiconEntry, VoicePhraseHint, VoiceTurnCorrectionHandler } from '../types';
2
- import { type VoiceExpectedTermAccuracy, type VoiceSTTBenchmarkReport } from './benchmark';
3
- import type { VoiceSessionBenchmarkReport } from './sessionBenchmark';
4
- import type { VoiceTestFixture } from './fixtures';
5
- export type VoiceCorrectionHintProfile = 'generic' | 'benchmark-seeded';
1
+ import type { VoiceLexiconEntry, VoicePhraseHint, VoiceTurnCorrectionHandler } from "../types";
2
+ import { type VoiceExpectedTermAccuracy, type VoiceSTTBenchmarkReport } from "./benchmark";
3
+ import type { VoiceSessionBenchmarkReport } from "./sessionBenchmark";
4
+ import type { VoiceTestFixture } from "./fixtures";
5
+ export type VoiceCorrectionHintProfile = "generic" | "benchmark-seeded";
6
6
  type VoiceCorrectionAuditSlice<TReport> = {
7
7
  fixtureIds: string[];
8
8
  raw: TReport;
@@ -1,11 +1,11 @@
1
- import type { VoiceBargeInOptions } from '../types';
1
+ import type { VoiceBargeInOptions } from "../types";
2
2
  export type VoiceDuplexBenchmarkScenario = {
3
3
  expectedInterruptCount: number;
4
4
  id: string;
5
5
  initialPartial?: string;
6
6
  interruptDelayMs?: number;
7
7
  level?: number;
8
- mode: 'audio-send' | 'input-level' | 'partial';
8
+ mode: "audio-send" | "input-level" | "partial";
9
9
  partial?: string;
10
10
  title: string;
11
11
  };
@@ -15,7 +15,7 @@ export type VoiceDuplexBenchmarkScenarioResult = {
15
15
  expectedInterruptCount: number;
16
16
  fixtureId: string;
17
17
  interruptLatencyMs?: number;
18
- mode: VoiceDuplexBenchmarkScenario['mode'];
18
+ mode: VoiceDuplexBenchmarkScenario["mode"];
19
19
  passes: boolean;
20
20
  title: string;
21
21
  };
@@ -1,4 +1,4 @@
1
- import type { AudioFormat, VoiceExpectedSpeakerTurn } from '../types';
1
+ import type { AudioFormat, VoiceExpectedSpeakerTurn } from "../types";
2
2
  export type VoiceTestFixtureManifestEntry = {
3
3
  id: string;
4
4
  title: string;
@@ -9,12 +9,12 @@ export type VoiceTestFixtureManifestEntry = {
9
9
  expectedTurnTexts?: string[];
10
10
  chunkDurationMs?: number;
11
11
  language?: string;
12
- difficulty?: 'clean' | 'noisy' | 'challenging';
12
+ difficulty?: "clean" | "noisy" | "challenging";
13
13
  tags?: string[];
14
14
  tailPaddingMs?: number;
15
15
  format?: Partial<AudioFormat>;
16
16
  };
17
- export type VoiceTestFixture = Omit<VoiceTestFixtureManifestEntry, 'audioPath'> & {
17
+ export type VoiceTestFixture = Omit<VoiceTestFixtureManifestEntry, "audioPath"> & {
18
18
  audio: Uint8Array;
19
19
  audioPath: string;
20
20
  format: AudioFormat;
@@ -1,13 +1,13 @@
1
- export * from './accuracy';
2
- export * from './benchmark';
3
- export * from './corrected';
4
- export * from './duplex';
5
- export * from './fixtures';
6
- export * from './ioProviderSimulator';
7
- export * from './providerSimulator';
8
- export * from './resilience';
9
- export * from './review';
10
- export * from './sessionBenchmark';
11
- export * from './stt';
12
- export * from './telephony';
13
- export * from './tts';
1
+ export * from "./accuracy";
2
+ export * from "./benchmark";
3
+ export * from "./corrected";
4
+ export * from "./duplex";
5
+ export * from "./fixtures";
6
+ export * from "./ioProviderSimulator";
7
+ export * from "./providerSimulator";
8
+ export * from "./resilience";
9
+ export * from "./review";
10
+ export * from "./sessionBenchmark";
11
+ export * from "./stt";
12
+ export * from "./telephony";
13
+ export * from "./tts";