@absolutejs/voice 0.0.22-beta.531 → 0.0.22-beta.533

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 (323) hide show
  1. package/dist/angular/index.js +4 -4
  2. package/dist/angular/voice-call-debugger.service.d.ts +1 -1
  3. package/dist/angular/voice-campaign-dialer-proof.service.d.ts +1 -1
  4. package/dist/angular/voice-controller.service.d.ts +1 -1
  5. package/dist/angular/voice-cost-dashboard.service.d.ts +1 -1
  6. package/dist/angular/voice-delivery-runtime.service.d.ts +1 -1
  7. package/dist/angular/voice-ops-status.service.d.ts +1 -1
  8. package/dist/angular/voice-platform-coverage.service.d.ts +1 -1
  9. package/dist/angular/voice-profile-comparison.service.d.ts +1 -1
  10. package/dist/angular/voice-proof-trends.service.d.ts +1 -1
  11. package/dist/angular/voice-provider-capabilities.service.d.ts +1 -1
  12. package/dist/angular/voice-provider-contracts.service.d.ts +1 -1
  13. package/dist/angular/voice-provider-status.service.d.ts +1 -1
  14. package/dist/angular/voice-readiness-failures.service.d.ts +1 -1
  15. package/dist/angular/voice-reconnect-profile-evidence.service.d.ts +1 -1
  16. package/dist/angular/voice-session-observability.service.d.ts +1 -1
  17. package/dist/angular/voice-session-snapshot.service.d.ts +1 -1
  18. package/dist/angular/voice-stream.service.d.ts +1 -1
  19. package/dist/angular/voice-trace-timeline.service.d.ts +1 -1
  20. package/dist/angular/voice-turn-latency.service.d.ts +1 -1
  21. package/dist/angular/voice-turn-quality.service.d.ts +1 -1
  22. package/dist/angular/voice-widget.service.d.ts +1 -1
  23. package/dist/angular/voice-workflow-status.service.d.ts +1 -1
  24. package/dist/client/actions.d.ts +1 -1
  25. package/dist/client/agentSquadStatus.d.ts +1 -1
  26. package/dist/client/audioPlayer.d.ts +1 -1
  27. package/dist/client/bargeInMonitor.d.ts +1 -1
  28. package/dist/client/browserMedia.d.ts +1 -1
  29. package/dist/client/callDebugger.d.ts +1 -1
  30. package/dist/client/callPlayer.d.ts +1 -1
  31. package/dist/client/campaignDialerProof.d.ts +1 -1
  32. package/dist/client/connection.d.ts +1 -1
  33. package/dist/client/controller.d.ts +1 -1
  34. package/dist/client/conversationAnalytics.d.ts +3 -2
  35. package/dist/client/costDashboard.d.ts +1 -1
  36. package/dist/client/createVoiceStream.d.ts +1 -1
  37. package/dist/client/deliveryRuntime.d.ts +1 -1
  38. package/dist/client/duplex.d.ts +1 -1
  39. package/dist/client/htmx.d.ts +1 -1
  40. package/dist/client/htmxBootstrap.js +3 -3
  41. package/dist/client/htmxDashboardRenderers.d.ts +2 -3
  42. package/dist/client/index.js +14 -14
  43. package/dist/client/liveAgentConsole.d.ts +1 -1
  44. package/dist/client/liveCallViewer.d.ts +1 -1
  45. package/dist/client/liveOps.d.ts +1 -1
  46. package/dist/client/liveOpsWidget.d.ts +1 -1
  47. package/dist/client/liveTurnLatency.d.ts +1 -1
  48. package/dist/client/microphone.d.ts +1 -1
  49. package/dist/client/opsActionHistory.d.ts +1 -1
  50. package/dist/client/opsStatus.d.ts +1 -1
  51. package/dist/client/opsStatusWidget.d.ts +1 -1
  52. package/dist/client/platformCoverage.d.ts +1 -1
  53. package/dist/client/platformCoverageWidget.d.ts +3 -2
  54. package/dist/client/profileComparison.d.ts +1 -1
  55. package/dist/client/profileSwitchRecommendation.d.ts +1 -1
  56. package/dist/client/proofTrends.d.ts +1 -1
  57. package/dist/client/proofTrendsWidget.d.ts +3 -2
  58. package/dist/client/providerCapabilities.d.ts +1 -1
  59. package/dist/client/providerCapabilitiesWidget.d.ts +1 -1
  60. package/dist/client/providerContracts.d.ts +1 -1
  61. package/dist/client/providerContractsWidget.d.ts +1 -1
  62. package/dist/client/providerStatus.d.ts +1 -1
  63. package/dist/client/providerStatusWidget.d.ts +1 -1
  64. package/dist/client/readinessFailures.d.ts +1 -1
  65. package/dist/client/readinessFailuresWidget.d.ts +1 -1
  66. package/dist/client/reconnectProfileEvidence.d.ts +1 -1
  67. package/dist/client/routingStatus.d.ts +1 -1
  68. package/dist/client/routingStatusWidget.d.ts +1 -1
  69. package/dist/client/sessionObservability.d.ts +1 -1
  70. package/dist/client/sessionObservabilityWidget.d.ts +1 -1
  71. package/dist/client/sessionSnapshot.d.ts +1 -1
  72. package/dist/client/store.d.ts +1 -1
  73. package/dist/client/traceTimeline.d.ts +1 -1
  74. package/dist/client/traceTimelineWidget.d.ts +1 -1
  75. package/dist/client/turnLatency.d.ts +1 -1
  76. package/dist/client/turnLatencyWidget.d.ts +1 -1
  77. package/dist/client/turnQuality.d.ts +1 -1
  78. package/dist/client/turnQualityWidget.d.ts +1 -1
  79. package/dist/client/voiceWidgetView.d.ts +2 -4
  80. package/dist/client/workflowStatus.d.ts +1 -1
  81. package/dist/{agent.d.ts → core/agent.d.ts} +2 -1
  82. package/dist/{agentTools.d.ts → core/agentTools.d.ts} +1 -2
  83. package/dist/{assistant.d.ts → core/assistant.d.ts} +2 -1
  84. package/dist/{assistantExperiment.d.ts → core/assistantExperiment.d.ts} +5 -4
  85. package/dist/{campaign.d.ts → core/campaign.d.ts} +2 -1
  86. package/dist/{correction.d.ts → core/correction.d.ts} +2 -1
  87. package/dist/{dataControl.d.ts → core/dataControl.d.ts} +1 -1
  88. package/dist/{deliveryRuntime.d.ts → core/deliveryRuntime.d.ts} +3 -2
  89. package/dist/{fileStore.d.ts → core/fileStore.d.ts} +1 -1
  90. package/dist/{htmxDashboardRoutes.d.ts → core/htmxDashboardRoutes.d.ts} +6 -5
  91. package/dist/{logger.d.ts → core/logger.d.ts} +0 -1
  92. package/dist/{midCallSummary.d.ts → core/midCallSummary.d.ts} +3 -3
  93. package/dist/{multilingualProof.d.ts → core/multilingualProof.d.ts} +2 -2
  94. package/dist/{operationsRecord.d.ts → core/operationsRecord.d.ts} +3 -2
  95. package/dist/{ops.d.ts → core/ops.d.ts} +1 -1
  96. package/dist/{outcomeContract.d.ts → core/outcomeContract.d.ts} +1 -1
  97. package/dist/{phoneAgent.d.ts → core/phoneAgent.d.ts} +6 -6
  98. package/dist/{phoneAgentProductionSmoke.d.ts → core/phoneAgentProductionSmoke.d.ts} +1 -1
  99. package/dist/{postCallAnalysis.d.ts → core/postCallAnalysis.d.ts} +1 -1
  100. package/dist/{postgresStore.d.ts → core/postgresStore.d.ts} +1 -1
  101. package/dist/{productionReadiness.d.ts → core/productionReadiness.d.ts} +7 -6
  102. package/dist/{providerStackRecommendations.d.ts → core/providerStackRecommendations.d.ts} +2 -1
  103. package/dist/{reconnectContract.d.ts → core/reconnectContract.d.ts} +2 -1
  104. package/dist/{resilienceRoutes.d.ts → core/resilienceRoutes.d.ts} +1 -1
  105. package/dist/{runtimeOps.d.ts → core/runtimeOps.d.ts} +1 -1
  106. package/dist/{s3Store.d.ts → core/s3Store.d.ts} +4 -10
  107. package/dist/{simulationSuite.d.ts → core/simulationSuite.d.ts} +2 -1
  108. package/dist/{sqliteStore.d.ts → core/sqliteStore.d.ts} +1 -1
  109. package/dist/{telephonyOutcome.d.ts → core/telephonyOutcome.d.ts} +0 -4
  110. package/dist/core/turnProfiles.d.ts +3 -0
  111. package/dist/{types.d.ts → core/types.d.ts} +3 -3
  112. package/dist/embed/index.d.ts +1 -1
  113. package/dist/embed/index.js +4 -4
  114. package/dist/embed/voice-widget.js +1 -1
  115. package/dist/index.d.ts +339 -339
  116. package/dist/index.js +199 -199
  117. package/dist/internal/status.d.ts +0 -2
  118. package/dist/react/VoiceCallPlayer.d.ts +1 -1
  119. package/dist/react/VoiceWidget.d.ts +1 -1
  120. package/dist/react/index.d.ts +21 -0
  121. package/dist/react/index.js +12 -12
  122. package/dist/react/useVoiceController.d.ts +1 -1
  123. package/dist/react/useVoiceStream.d.ts +1 -1
  124. package/dist/svelte/createVoiceCallDebugger.d.ts +0 -2
  125. package/dist/svelte/createVoiceSessionSnapshot.d.ts +0 -2
  126. package/dist/svelte/createVoiceStream.d.ts +1 -1
  127. package/dist/svelte/createVoiceWidget.d.ts +1 -1
  128. package/dist/svelte/index.js +8 -8
  129. package/dist/telephony/plivo.d.ts +3 -3
  130. package/dist/telephony/security.d.ts +3 -3
  131. package/dist/telephony/telnyx.d.ts +3 -3
  132. package/dist/telephony/twilio.d.ts +2 -2
  133. package/dist/testing/accuracy.d.ts +1 -1
  134. package/dist/testing/benchmark.d.ts +1 -1
  135. package/dist/testing/corrected.d.ts +1 -1
  136. package/dist/testing/duplex.d.ts +1 -1
  137. package/dist/testing/fixtures.d.ts +1 -1
  138. package/dist/testing/index.js +24 -24
  139. package/dist/testing/ioProviderSimulator.d.ts +1 -1
  140. package/dist/testing/providerSimulator.d.ts +3 -3
  141. package/dist/testing/review.d.ts +1 -1
  142. package/dist/testing/sessionBenchmark.d.ts +1 -1
  143. package/dist/testing/stt.d.ts +1 -1
  144. package/dist/testing/telephony.d.ts +2 -2
  145. package/dist/testing/tts.d.ts +1 -1
  146. package/dist/vue/VoiceCallPlayer.d.ts +1 -1
  147. package/dist/vue/VoiceCostDashboard.d.ts +1 -1
  148. package/dist/vue/VoiceWidget.d.ts +1 -1
  149. package/dist/vue/index.js +12 -12
  150. package/dist/vue/useVoiceCallDebugger.d.ts +1 -1
  151. package/dist/vue/useVoiceCampaignDialerProof.d.ts +1 -1
  152. package/dist/vue/useVoiceController.d.ts +1 -1
  153. package/dist/vue/useVoiceDeliveryRuntime.d.ts +1 -1
  154. package/dist/vue/useVoiceOpsStatus.d.ts +1 -1
  155. package/dist/vue/useVoicePlatformCoverage.d.ts +1 -1
  156. package/dist/vue/useVoiceProfileComparison.d.ts +1 -1
  157. package/dist/vue/useVoiceProofTrends.d.ts +1 -1
  158. package/dist/vue/useVoiceProviderCapabilities.d.ts +1 -1
  159. package/dist/vue/useVoiceProviderContracts.d.ts +1 -1
  160. package/dist/vue/useVoiceProviderStatus.d.ts +1 -1
  161. package/dist/vue/useVoiceReadinessFailures.d.ts +1 -1
  162. package/dist/vue/useVoiceReconnectProfileEvidence.d.ts +1 -1
  163. package/dist/vue/useVoiceSessionObservability.d.ts +1 -1
  164. package/dist/vue/useVoiceSessionSnapshot.d.ts +1 -1
  165. package/dist/vue/useVoiceStream.d.ts +1 -1
  166. package/dist/vue/useVoiceTraceTimeline.d.ts +1 -1
  167. package/dist/vue/useVoiceTurnLatency.d.ts +1 -1
  168. package/dist/vue/useVoiceTurnQuality.d.ts +1 -1
  169. package/dist/vue/useVoiceWorkflowStatus.d.ts +1 -1
  170. package/package.json +3 -1
  171. package/dist/angular/voice-delivery-runtime.component.d.ts +0 -17
  172. package/dist/angular/voice-ops-status.component.d.ts +0 -15
  173. package/dist/turnProfiles.d.ts +0 -6
  174. /package/dist/{agentPerformanceReport.d.ts → core/agentPerformanceReport.d.ts} +0 -0
  175. /package/dist/{agentSquadContract.d.ts → core/agentSquadContract.d.ts} +0 -0
  176. /package/dist/{agentState.d.ts → core/agentState.d.ts} +0 -0
  177. /package/dist/{aiScorecard.d.ts → core/aiScorecard.d.ts} +0 -0
  178. /package/dist/{aiVoiceModel.d.ts → core/aiVoiceModel.d.ts} +0 -0
  179. /package/dist/{amdDetector.d.ts → core/amdDetector.d.ts} +0 -0
  180. /package/dist/{assistantHealth.d.ts → core/assistantHealth.d.ts} +0 -0
  181. /package/dist/{assistantMemory.d.ts → core/assistantMemory.d.ts} +0 -0
  182. /package/dist/{assistantMode.d.ts → core/assistantMode.d.ts} +0 -0
  183. /package/dist/{audioConditioning.d.ts → core/audioConditioning.d.ts} +0 -0
  184. /package/dist/{audit.d.ts → core/audit.d.ts} +0 -0
  185. /package/dist/{auditDeliveryRoutes.d.ts → core/auditDeliveryRoutes.d.ts} +0 -0
  186. /package/dist/{auditExport.d.ts → core/auditExport.d.ts} +0 -0
  187. /package/dist/{auditRoutes.d.ts → core/auditRoutes.d.ts} +0 -0
  188. /package/dist/{auditSinks.d.ts → core/auditSinks.d.ts} +0 -0
  189. /package/dist/{backchannel.d.ts → core/backchannel.d.ts} +0 -0
  190. /package/dist/{bargeInRoutes.d.ts → core/bargeInRoutes.d.ts} +0 -0
  191. /package/dist/{bookingFlow.d.ts → core/bookingFlow.d.ts} +0 -0
  192. /package/dist/{browserCallProfiles.d.ts → core/browserCallProfiles.d.ts} +0 -0
  193. /package/dist/{browserMediaRoutes.d.ts → core/browserMediaRoutes.d.ts} +0 -0
  194. /package/dist/{calendarAdapter.d.ts → core/calendarAdapter.d.ts} +0 -0
  195. /package/dist/{calendarSlots.d.ts → core/calendarSlots.d.ts} +0 -0
  196. /package/dist/{callDebugger.d.ts → core/callDebugger.d.ts} +0 -0
  197. /package/dist/{callDisposition.d.ts → core/callDisposition.d.ts} +0 -0
  198. /package/dist/{callQuota.d.ts → core/callQuota.d.ts} +0 -0
  199. /package/dist/{callScorecard.d.ts → core/callScorecard.d.ts} +0 -0
  200. /package/dist/{callerCRMLinker.d.ts → core/callerCRMLinker.d.ts} +0 -0
  201. /package/dist/{callerMemory.d.ts → core/callerMemory.d.ts} +0 -0
  202. /package/dist/{callingWindow.d.ts → core/callingWindow.d.ts} +0 -0
  203. /package/dist/{campaignControls.d.ts → core/campaignControls.d.ts} +0 -0
  204. /package/dist/{campaignDialers.d.ts → core/campaignDialers.d.ts} +0 -0
  205. /package/dist/{campaignTemplate.d.ts → core/campaignTemplate.d.ts} +0 -0
  206. /package/dist/{competitiveCoverage.d.ts → core/competitiveCoverage.d.ts} +0 -0
  207. /package/dist/{conversationSimulator.d.ts → core/conversationSimulator.d.ts} +0 -0
  208. /package/dist/{costAccounting.d.ts → core/costAccounting.d.ts} +0 -0
  209. /package/dist/{costPredictor.d.ts → core/costPredictor.d.ts} +0 -0
  210. /package/dist/{crmCallLogger.d.ts → core/crmCallLogger.d.ts} +0 -0
  211. /package/dist/{crmContract.d.ts → core/crmContract.d.ts} +0 -0
  212. /package/dist/{defineVoiceAssistant.d.ts → core/defineVoiceAssistant.d.ts} +0 -0
  213. /package/dist/{deliverySinkRoutes.d.ts → core/deliverySinkRoutes.d.ts} +0 -0
  214. /package/dist/{demoReadyRoutes.d.ts → core/demoReadyRoutes.d.ts} +0 -0
  215. /package/dist/{diagnosticsRoutes.d.ts → core/diagnosticsRoutes.d.ts} +0 -0
  216. /package/dist/{dncRegistry.d.ts → core/dncRegistry.d.ts} +0 -0
  217. /package/dist/{dtmfCollector.d.ts → core/dtmfCollector.d.ts} +0 -0
  218. /package/dist/{evalRoutes.d.ts → core/evalRoutes.d.ts} +0 -0
  219. /package/dist/{guardrails.d.ts → core/guardrails.d.ts} +0 -0
  220. /package/dist/{handoff.d.ts → core/handoff.d.ts} +0 -0
  221. /package/dist/{handoffHealth.d.ts → core/handoffHealth.d.ts} +0 -0
  222. /package/dist/{holdAudio.d.ts → core/holdAudio.d.ts} +0 -0
  223. /package/dist/{htmx.d.ts → core/htmx.d.ts} +0 -0
  224. /package/dist/{iceServers.d.ts → core/iceServers.d.ts} +0 -0
  225. /package/dist/{incidentBundle.d.ts → core/incidentBundle.d.ts} +0 -0
  226. /package/dist/{incidentTimeline.d.ts → core/incidentTimeline.d.ts} +0 -0
  227. /package/dist/{ivrPlan.d.ts → core/ivrPlan.d.ts} +0 -0
  228. /package/dist/{latencySlo.d.ts → core/latencySlo.d.ts} +0 -0
  229. /package/dist/{liveCoach.d.ts → core/liveCoach.d.ts} +0 -0
  230. /package/dist/{liveLatency.d.ts → core/liveLatency.d.ts} +0 -0
  231. /package/dist/{liveOps.d.ts → core/liveOps.d.ts} +0 -0
  232. /package/dist/{llmJudge.d.ts → core/llmJudge.d.ts} +0 -0
  233. /package/dist/{mcpToolset.d.ts → core/mcpToolset.d.ts} +0 -0
  234. /package/dist/{mediaPipelineRoutes.d.ts → core/mediaPipelineRoutes.d.ts} +0 -0
  235. /package/dist/{mediaPipelineSurfaces.d.ts → core/mediaPipelineSurfaces.d.ts} +0 -0
  236. /package/dist/{memoryStore.d.ts → core/memoryStore.d.ts} +0 -0
  237. /package/dist/{modelAdapters.d.ts → core/modelAdapters.d.ts} +0 -0
  238. /package/dist/{monitor.d.ts → core/monitor.d.ts} +0 -0
  239. /package/dist/{noShowPredictor.d.ts → core/noShowPredictor.d.ts} +0 -0
  240. /package/dist/{oauth2TokenSource.d.ts → core/oauth2TokenSource.d.ts} +0 -0
  241. /package/dist/{observabilityExport.d.ts → core/observabilityExport.d.ts} +0 -0
  242. /package/dist/{openaiTTS.d.ts → core/openaiTTS.d.ts} +0 -0
  243. /package/dist/{operationalStatus.d.ts → core/operationalStatus.d.ts} +0 -0
  244. /package/dist/{opsActionAuditRoutes.d.ts → core/opsActionAuditRoutes.d.ts} +0 -0
  245. /package/dist/{opsConsoleRoutes.d.ts → core/opsConsoleRoutes.d.ts} +0 -0
  246. /package/dist/{opsPresets.d.ts → core/opsPresets.d.ts} +0 -0
  247. /package/dist/{opsRecovery.d.ts → core/opsRecovery.d.ts} +0 -0
  248. /package/dist/{opsRuntime.d.ts → core/opsRuntime.d.ts} +0 -0
  249. /package/dist/{opsSinks.d.ts → core/opsSinks.d.ts} +0 -0
  250. /package/dist/{opsStatus.d.ts → core/opsStatus.d.ts} +0 -0
  251. /package/dist/{opsStatusRoutes.d.ts → core/opsStatusRoutes.d.ts} +0 -0
  252. /package/dist/{opsWebhook.d.ts → core/opsWebhook.d.ts} +0 -0
  253. /package/dist/{otelExporter.d.ts → core/otelExporter.d.ts} +0 -0
  254. /package/dist/{outcomeRecipes.d.ts → core/outcomeRecipes.d.ts} +0 -0
  255. /package/dist/{pathway.d.ts → core/pathway.d.ts} +0 -0
  256. /package/dist/{pathwayCompiler.d.ts → core/pathwayCompiler.d.ts} +0 -0
  257. /package/dist/{pathwayGenerator.d.ts → core/pathwayGenerator.d.ts} +0 -0
  258. /package/dist/{pathwayRuntime.d.ts → core/pathwayRuntime.d.ts} +0 -0
  259. /package/dist/{pathwaySlotCollector.d.ts → core/pathwaySlotCollector.d.ts} +0 -0
  260. /package/dist/{pathwayVisualizer.d.ts → core/pathwayVisualizer.d.ts} +0 -0
  261. /package/dist/{phoneProvisioning.d.ts → core/phoneProvisioning.d.ts} +0 -0
  262. /package/dist/{platformCoverage.d.ts → core/platformCoverage.d.ts} +0 -0
  263. /package/dist/{plugin.d.ts → core/plugin.d.ts} +0 -0
  264. /package/dist/{postCallSurvey.d.ts → core/postCallSurvey.d.ts} +0 -0
  265. /package/dist/{presets.d.ts → core/presets.d.ts} +0 -0
  266. /package/dist/{profileSwitchRecommendation.d.ts → core/profileSwitchRecommendation.d.ts} +0 -0
  267. /package/dist/{promptInjectionGuard.d.ts → core/promptInjectionGuard.d.ts} +0 -0
  268. /package/dist/{proofAssertions.d.ts → core/proofAssertions.d.ts} +0 -0
  269. /package/dist/{proofPack.d.ts → core/proofPack.d.ts} +0 -0
  270. /package/dist/{proofRunner.d.ts → core/proofRunner.d.ts} +0 -0
  271. /package/dist/{proofTrends.d.ts → core/proofTrends.d.ts} +0 -0
  272. /package/dist/{providerAdapters.d.ts → core/providerAdapters.d.ts} +0 -0
  273. /package/dist/{providerCapabilities.d.ts → core/providerCapabilities.d.ts} +0 -0
  274. /package/dist/{providerDecisionTraces.d.ts → core/providerDecisionTraces.d.ts} +0 -0
  275. /package/dist/{providerHealth.d.ts → core/providerHealth.d.ts} +0 -0
  276. /package/dist/{providerOrchestration.d.ts → core/providerOrchestration.d.ts} +0 -0
  277. /package/dist/{providerRouterTraces.d.ts → core/providerRouterTraces.d.ts} +0 -0
  278. /package/dist/{providerRoutingContract.d.ts → core/providerRoutingContract.d.ts} +0 -0
  279. /package/dist/{providerSlo.d.ts → core/providerSlo.d.ts} +0 -0
  280. /package/dist/{qualityDriftDetector.d.ts → core/qualityDriftDetector.d.ts} +0 -0
  281. /package/dist/{qualityRoutes.d.ts → core/qualityRoutes.d.ts} +0 -0
  282. /package/dist/{queue.d.ts → core/queue.d.ts} +0 -0
  283. /package/dist/{ragTool.d.ts → core/ragTool.d.ts} +0 -0
  284. /package/dist/{readinessProfiles.d.ts → core/readinessProfiles.d.ts} +0 -0
  285. /package/dist/{realtimeChannel.d.ts → core/realtimeChannel.d.ts} +0 -0
  286. /package/dist/{realtimeProviderContracts.d.ts → core/realtimeProviderContracts.d.ts} +0 -0
  287. /package/dist/{recordingRedaction.d.ts → core/recordingRedaction.d.ts} +0 -0
  288. /package/dist/{recordingStore.d.ts → core/recordingStore.d.ts} +0 -0
  289. /package/dist/{redaction.d.ts → core/redaction.d.ts} +0 -0
  290. /package/dist/{reminderScheduler.d.ts → core/reminderScheduler.d.ts} +0 -0
  291. /package/dist/{retention.d.ts → core/retention.d.ts} +0 -0
  292. /package/dist/{retryPolicy.d.ts → core/retryPolicy.d.ts} +0 -0
  293. /package/dist/{routeAuth.d.ts → core/routeAuth.d.ts} +0 -0
  294. /package/dist/{routing.d.ts → core/routing.d.ts} +0 -0
  295. /package/dist/{scorecardCalibration.d.ts → core/scorecardCalibration.d.ts} +0 -0
  296. /package/dist/{semanticTurn.d.ts → core/semanticTurn.d.ts} +0 -0
  297. /package/dist/{session.d.ts → core/session.d.ts} +0 -0
  298. /package/dist/{sessionObservability.d.ts → core/sessionObservability.d.ts} +0 -0
  299. /package/dist/{sessionReplay.d.ts → core/sessionReplay.d.ts} +0 -0
  300. /package/dist/{sessionSnapshot.d.ts → core/sessionSnapshot.d.ts} +0 -0
  301. /package/dist/{sloCalibration.d.ts → core/sloCalibration.d.ts} +0 -0
  302. /package/dist/{store.d.ts → core/store.d.ts} +0 -0
  303. /package/dist/{supervisorPermissions.d.ts → core/supervisorPermissions.d.ts} +0 -0
  304. /package/dist/{supervisorPresence.d.ts → core/supervisorPresence.d.ts} +0 -0
  305. /package/dist/{telephonyMediaRoutes.d.ts → core/telephonyMediaRoutes.d.ts} +0 -0
  306. /package/dist/{toolContract.d.ts → core/toolContract.d.ts} +0 -0
  307. /package/dist/{toolRuntime.d.ts → core/toolRuntime.d.ts} +0 -0
  308. /package/dist/{trace.d.ts → core/trace.d.ts} +0 -0
  309. /package/dist/{traceDeliveryRoutes.d.ts → core/traceDeliveryRoutes.d.ts} +0 -0
  310. /package/dist/{traceTimeline.d.ts → core/traceTimeline.d.ts} +0 -0
  311. /package/dist/{transcriptAnnotator.d.ts → core/transcriptAnnotator.d.ts} +0 -0
  312. /package/dist/{turnDetection.d.ts → core/turnDetection.d.ts} +0 -0
  313. /package/dist/{turnLatency.d.ts → core/turnLatency.d.ts} +0 -0
  314. /package/dist/{turnQuality.d.ts → core/turnQuality.d.ts} +0 -0
  315. /package/dist/{vapiAdapter.d.ts → core/vapiAdapter.d.ts} +0 -0
  316. /package/dist/{variableAnalytics.d.ts → core/variableAnalytics.d.ts} +0 -0
  317. /package/dist/{voiceConfiguration.d.ts → core/voiceConfiguration.d.ts} +0 -0
  318. /package/dist/{voiceMonitoring.d.ts → core/voiceMonitoring.d.ts} +0 -0
  319. /package/dist/{webhookFanout.d.ts → core/webhookFanout.d.ts} +0 -0
  320. /package/dist/{webhookVerification.d.ts → core/webhookVerification.d.ts} +0 -0
  321. /package/dist/{whisperChannel.d.ts → core/whisperChannel.d.ts} +0 -0
  322. /package/dist/{workflowContract.d.ts → core/workflowContract.d.ts} +0 -0
  323. /package/dist/{zeroDataRetention.d.ts → core/zeroDataRetention.d.ts} +0 -0
@@ -3,7 +3,5 @@
3
3
  * order is fail > warn > pass.
4
4
  */
5
5
  export type VoiceStatus = "fail" | "pass" | "warn";
6
- /** Severity rank for a status (fail=2, warn=1, pass=0). Higher is worse. */
7
- export declare const voiceStatusRank: (status: VoiceStatus) => number;
8
6
  /** Reduce a set of statuses to the worst one (fail > warn > pass). */
9
7
  export declare const worstVoiceStatus: (statuses: Iterable<VoiceStatus>) => VoiceStatus;
@@ -1,5 +1,5 @@
1
1
  import { type VoiceCallPlayer as VoiceCallPlayerHandle, type VoiceCallPlayerOptions } from "../client/callPlayer";
2
- import type { Transcript } from "../types";
2
+ import type { Transcript } from "../core/types";
3
3
  export type VoiceCallPlayerProps = VoiceCallPlayerOptions & {
4
4
  audioUrl?: string;
5
5
  className?: string;
@@ -1,4 +1,4 @@
1
- import type { VoiceControllerOptions } from "../types";
1
+ import type { VoiceControllerOptions } from "../core/types";
2
2
  import { type VoiceWidgetLabels, type VoiceWidgetTheme, type VoiceWidgetViewModel } from "../client/voiceWidgetView";
3
3
  export type { VoiceWidgetLabels, VoiceWidgetTheme, VoiceWidgetViewModel };
4
4
  export type VoiceWidgetProps = {
@@ -57,3 +57,24 @@ export { useVoiceAgentSquadStatus } from "./useVoiceAgentSquadStatus";
57
57
  export { useVoiceTurnLatency } from "./useVoiceTurnLatency";
58
58
  export { useVoiceTurnQuality } from "./useVoiceTurnQuality";
59
59
  export { useVoiceWorkflowStatus } from "./useVoiceWorkflowStatus";
60
+ export type { VoiceAgentSquadStatusProps } from "./VoiceAgentSquadStatus";
61
+ export type { VoiceDeliveryRuntimeProps } from "./VoiceDeliveryRuntime";
62
+ export type { VoiceOpsActionCenterProps } from "./VoiceOpsActionCenter";
63
+ export type { VoiceOpsStatusProps } from "./VoiceOpsStatus";
64
+ export type { VoicePlatformCoverageProps } from "./VoicePlatformCoverage";
65
+ export type { VoiceProfileComparisonProps } from "./VoiceProfileComparison";
66
+ export type { VoiceProfileSwitchRecommendationProps } from "./VoiceProfileSwitchRecommendation";
67
+ export type { VoiceProofTrendsProps } from "./VoiceProofTrends";
68
+ export type { VoiceProviderCapabilitiesProps } from "./VoiceProviderCapabilities";
69
+ export type { VoiceProviderContractsProps } from "./VoiceProviderContracts";
70
+ export type { VoiceProviderSimulationControlsProps } from "./VoiceProviderSimulationControls";
71
+ export type { VoiceProviderStatusProps } from "./VoiceProviderStatus";
72
+ export type { VoiceReadinessFailuresProps } from "./VoiceReadinessFailures";
73
+ export type { VoiceReconnectProfileEvidenceProps } from "./VoiceReconnectProfileEvidence";
74
+ export type { VoiceRoutingStatusProps } from "./VoiceRoutingStatus";
75
+ export type { VoiceSessionObservabilityProps } from "./VoiceSessionObservability";
76
+ export type { VoiceSessionSnapshotProps } from "./VoiceSessionSnapshot";
77
+ export type { VoiceTraceTimelineProps } from "./VoiceTraceTimeline";
78
+ export type { VoiceTurnLatencyProps } from "./VoiceTurnLatency";
79
+ export type { VoiceTurnQualityProps } from "./VoiceTurnQuality";
80
+ export type { VoiceWidgetViewModel } from "./VoiceWidget";
@@ -1513,7 +1513,7 @@ var assertVoiceEvidence = (failureMessage, assertion) => {
1513
1513
  return assertion;
1514
1514
  };
1515
1515
 
1516
- // src/proofTrends.ts
1516
+ // src/core/proofTrends.ts
1517
1517
  import { Elysia as Elysia4 } from "elysia";
1518
1518
 
1519
1519
  // src/internal/status.ts
@@ -1528,13 +1528,13 @@ var worstVoiceStatus = (statuses) => {
1528
1528
  return worst;
1529
1529
  };
1530
1530
 
1531
- // src/providerDecisionTraces.ts
1531
+ // src/core/providerDecisionTraces.ts
1532
1532
  import { Elysia as Elysia3 } from "elysia";
1533
1533
 
1534
- // src/resilienceRoutes.ts
1534
+ // src/core/resilienceRoutes.ts
1535
1535
  import { Elysia as Elysia2 } from "elysia";
1536
1536
 
1537
- // src/providerHealth.ts
1537
+ // src/core/providerHealth.ts
1538
1538
  import { Elysia } from "elysia";
1539
1539
  var getString = (value) => typeof value === "string" ? value : undefined;
1540
1540
  var getNumber = (value) => typeof value === "number" && Number.isFinite(value) ? value : undefined;
@@ -1742,7 +1742,7 @@ var createVoiceProviderHealthRoutes = (options) => {
1742
1742
  return routes;
1743
1743
  };
1744
1744
 
1745
- // src/resilienceRoutes.ts
1745
+ // src/core/resilienceRoutes.ts
1746
1746
  var getString2 = (value) => typeof value === "string" ? value : undefined;
1747
1747
  var getNumber2 = (value) => typeof value === "number" && Number.isFinite(value) ? value : undefined;
1748
1748
  var getBoolean = (value) => value === true;
@@ -2225,7 +2225,7 @@ var createVoiceResilienceRoutes = (options) => {
2225
2225
  return routes;
2226
2226
  };
2227
2227
 
2228
- // src/providerDecisionTraces.ts
2228
+ // src/core/providerDecisionTraces.ts
2229
2229
  var getString3 = (value) => typeof value === "string" ? value : undefined;
2230
2230
  var getNumber3 = (value) => typeof value === "number" && Number.isFinite(value) ? value : undefined;
2231
2231
  var isDecisionTrace = (event) => Boolean(event && typeof event === "object" && "provider" in event && "reason" in event && "sessionId" in event && "status" in event && "surface" in event);
@@ -2538,7 +2538,7 @@ var createVoiceProviderDecisionTraceRoutes = (options) => {
2538
2538
  return app;
2539
2539
  };
2540
2540
 
2541
- // src/trace.ts
2541
+ // src/core/trace.ts
2542
2542
  var createVoiceTraceEventId = (event) => [
2543
2543
  event.sessionId,
2544
2544
  event.turnId ?? "session",
@@ -3349,7 +3349,7 @@ var buildVoiceTraceReplay = (events, options = {}) => ({
3349
3349
  summary: summarizeVoiceTrace(options.redact ? redactVoiceTraceEvents(events, options.redact) : events)
3350
3350
  });
3351
3351
 
3352
- // src/proofTrends.ts
3352
+ // src/core/proofTrends.ts
3353
3353
  var DEFAULT_VOICE_PROOF_TRENDS_MAX_AGE_MS = 24 * 60 * 60 * 1000;
3354
3354
  var DEFAULT_VOICE_PROOF_TREND_PROFILE_DEFINITIONS = [
3355
3355
  {
@@ -11928,7 +11928,7 @@ var createMicrophoneCapture = (options) => {
11928
11928
  return { start, stop };
11929
11929
  };
11930
11930
 
11931
- // src/audioConditioning.ts
11931
+ // src/core/audioConditioning.ts
11932
11932
  var DEFAULT_TARGET_LEVEL = 0.08;
11933
11933
  var DEFAULT_MAX_GAIN = 3;
11934
11934
  var DEFAULT_NOISE_GATE_THRESHOLD = 0.006;
@@ -11983,7 +11983,7 @@ var conditionAudioChunk = (audio, config) => {
11983
11983
  return new Uint8Array(output.buffer);
11984
11984
  };
11985
11985
 
11986
- // src/turnProfiles.ts
11986
+ // src/core/turnProfiles.ts
11987
11987
  var TURN_PROFILE_DEFAULTS = {
11988
11988
  balanced: {
11989
11989
  qualityProfile: "general",
@@ -12038,7 +12038,7 @@ var resolveTurnDetectionConfig = (config) => {
12038
12038
  };
12039
12039
  };
12040
12040
 
12041
- // src/presets.ts
12041
+ // src/core/presets.ts
12042
12042
  var PRESET_INPUTS = {
12043
12043
  chat: {
12044
12044
  audioConditioning: {
@@ -12476,7 +12476,7 @@ var useVoiceController = (path, options = {}) => {
12476
12476
  // src/react/VoiceWidget.tsx
12477
12477
  import { useMemo, useRef as useRef26 } from "react";
12478
12478
 
12479
- // src/agentState.ts
12479
+ // src/core/agentState.ts
12480
12480
  var deriveVoiceAgentUIState = (input) => {
12481
12481
  if (!input.isConnected) {
12482
12482
  return "idle";
@@ -1,4 +1,4 @@
1
- import type { VoiceControllerOptions } from "../types";
1
+ import type { VoiceControllerOptions } from "../core/types";
2
2
  export declare const useVoiceController: <TResult = unknown>(path: string, options?: VoiceControllerOptions) => {
3
3
  bindHTMX: (options: import("..").VoiceHTMXBindingOptions) => () => void;
4
4
  callControl: (message: Parameters<(message: Omit<import("..").VoiceClientCallControlMessage, "type">) => void>[0]) => void;
@@ -1,4 +1,4 @@
1
- import type { VoiceConnectionOptions } from "../types";
1
+ import type { VoiceConnectionOptions } from "../core/types";
2
2
  export declare const useVoiceStream: <TResult = unknown>(path: string, options?: VoiceConnectionOptions) => {
3
3
  callControl: (message: Parameters<(message: Omit<import("..").VoiceClientCallControlMessage, "type">) => void>[0]) => void;
4
4
  close: () => void;
@@ -1,4 +1,3 @@
1
- import { type VoiceCallDebuggerClientOptions } from "../client/callDebugger";
2
1
  import { type VoiceCallDebuggerLaunchOptions } from "../client/callDebuggerWidget";
3
2
  export declare const createVoiceCallDebugger: (path: string, options?: VoiceCallDebuggerLaunchOptions) => {
4
3
  getHTML: () => string;
@@ -9,4 +8,3 @@ export declare const createVoiceCallDebugger: (path: string, options?: VoiceCall
9
8
  refresh: () => Promise<import("..").VoiceCallDebuggerReport | undefined>;
10
9
  subscribe: (listener: () => void) => () => void;
11
10
  };
12
- export type { VoiceCallDebuggerClientOptions };
@@ -1,4 +1,3 @@
1
- import { type VoiceSessionSnapshotClientOptions } from "../client/sessionSnapshot";
2
1
  import { type VoiceSessionSnapshotWidgetOptions } from "../client/sessionSnapshotWidget";
3
2
  export declare const createVoiceSessionSnapshot: (path: string, options?: VoiceSessionSnapshotWidgetOptions) => {
4
3
  getHTML: () => string;
@@ -10,4 +9,3 @@ export declare const createVoiceSessionSnapshot: (path: string, options?: VoiceS
10
9
  refresh: () => Promise<import("..").VoiceSessionSnapshot | undefined>;
11
10
  subscribe: (listener: () => void) => () => void;
12
11
  };
13
- export type { VoiceSessionSnapshotClientOptions };
@@ -1,2 +1,2 @@
1
- import type { VoiceConnectionOptions } from "../types";
1
+ import type { VoiceConnectionOptions } from "../core/types";
2
2
  export declare const createVoiceStream: <TResult = unknown>(path: string, options?: VoiceConnectionOptions) => import("..").VoiceStream<TResult>;
@@ -1,4 +1,4 @@
1
- import type { VoiceControllerOptions } from "../types";
1
+ import type { VoiceControllerOptions } from "../core/types";
2
2
  import { type VoiceWidgetLabels, type VoiceWidgetTheme, type VoiceWidgetViewModel } from "../client/voiceWidgetView";
3
3
  export type CreateVoiceWidgetOptions = VoiceControllerOptions & {
4
4
  labels?: VoiceWidgetLabels;
@@ -1277,7 +1277,7 @@ var createVoiceStream = (path, options = {}) => {
1277
1277
  };
1278
1278
  };
1279
1279
 
1280
- // src/audioConditioning.ts
1280
+ // src/core/audioConditioning.ts
1281
1281
  var DEFAULT_TARGET_LEVEL = 0.08;
1282
1282
  var DEFAULT_MAX_GAIN = 3;
1283
1283
  var DEFAULT_NOISE_GATE_THRESHOLD = 0.006;
@@ -1332,7 +1332,7 @@ var conditionAudioChunk = (audio, config) => {
1332
1332
  return new Uint8Array(output.buffer);
1333
1333
  };
1334
1334
 
1335
- // src/turnProfiles.ts
1335
+ // src/core/turnProfiles.ts
1336
1336
  var TURN_PROFILE_DEFAULTS = {
1337
1337
  balanced: {
1338
1338
  qualityProfile: "general",
@@ -1387,7 +1387,7 @@ var resolveTurnDetectionConfig = (config) => {
1387
1387
  };
1388
1388
  };
1389
1389
 
1390
- // src/presets.ts
1390
+ // src/core/presets.ts
1391
1391
  var PRESET_INPUTS = {
1392
1392
  chat: {
1393
1393
  audioConditioning: {
@@ -1782,7 +1782,7 @@ var createVoiceController = (path, options = {}) => {
1782
1782
  };
1783
1783
  };
1784
1784
 
1785
- // src/agentState.ts
1785
+ // src/core/agentState.ts
1786
1786
  var deriveVoiceAgentUIState = (input) => {
1787
1787
  if (!input.isConnected) {
1788
1788
  return "idle";
@@ -3079,10 +3079,10 @@ var assertVoiceEvidence = (failureMessage, assertion) => {
3079
3079
  return assertion;
3080
3080
  };
3081
3081
 
3082
- // src/liveOps.ts
3082
+ // src/core/liveOps.ts
3083
3083
  import { Elysia } from "elysia";
3084
3084
 
3085
- // src/audit.ts
3085
+ // src/core/audit.ts
3086
3086
  var includes = (filter, value) => {
3087
3087
  if (!filter) {
3088
3088
  return true;
@@ -3283,7 +3283,7 @@ var createVoiceAuditLogger = (store) => ({
3283
3283
  toolCall: (input) => recordVoiceToolAuditEvent({ ...input, store })
3284
3284
  });
3285
3285
 
3286
- // src/trace.ts
3286
+ // src/core/trace.ts
3287
3287
  var createVoiceTraceEventId = (event) => [
3288
3288
  event.sessionId,
3289
3289
  event.turnId ?? "session",
@@ -4094,7 +4094,7 @@ var buildVoiceTraceReplay = (events, options = {}) => ({
4094
4094
  summary: summarizeVoiceTrace(options.redact ? redactVoiceTraceEvents(events, options.redact) : events)
4095
4095
  });
4096
4096
 
4097
- // src/liveOps.ts
4097
+ // src/core/liveOps.ts
4098
4098
  var VOICE_LIVE_OPS_ACTIONS = [
4099
4099
  "assign",
4100
4100
  "create-task",
@@ -2,9 +2,9 @@ import { Database } from "bun:sqlite";
2
2
  import type { RedisClient } from "bun";
3
3
  import { Elysia } from "elysia";
4
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 { VoicePostgresClient } from "../postgresStore";
5
+ import { type VoiceTelephonyOutcomePolicy, type VoiceTelephonyWebhookRoutesOptions, type VoiceTelephonyWebhookVerificationResult } from "../core/telephonyOutcome";
6
+ import type { VoiceServerMessage, VoiceSessionRecord } from "../core/types";
7
+ import type { VoicePostgresClient } from "../core/postgresStore";
8
8
  import { type TwilioMediaStreamBridgeOptions } from "./twilio";
9
9
  export type PlivoInboundMessage = {
10
10
  event: "start";
@@ -1,7 +1,7 @@
1
- import { type VoiceTelephonyWebhookIdempotencyStore, type VoiceTelephonyWebhookProvider, type VoiceTelephonyWebhookVerificationResult } from "../telephonyOutcome";
1
+ import { type VoiceTelephonyWebhookIdempotencyStore, type VoiceTelephonyWebhookProvider, type VoiceTelephonyWebhookVerificationResult } from "../core/telephonyOutcome";
2
2
  import { Elysia } from "elysia";
3
- import { type VoicePostgresClient } from "../postgresStore";
4
- import { type VoiceRedisTelephonyWebhookIdempotencyClient } from "../queue";
3
+ import { type VoicePostgresClient } from "../core/postgresStore";
4
+ import { type VoiceRedisTelephonyWebhookIdempotencyClient } from "../core/queue";
5
5
  import { type VoicePlivoWebhookNonceStore, type VoiceRedisPlivoWebhookNonceClient } from "./plivo";
6
6
  import { type VoiceRedisTelnyxWebhookEventClient, type VoiceTelnyxWebhookEventStore } from "./telnyx";
7
7
  export type VoiceTelephonyWebhookSecurityStorePreset = {
@@ -2,10 +2,10 @@ import { Database } from "bun:sqlite";
2
2
  import type { RedisClient } from "bun";
3
3
  import { Elysia } from "elysia";
4
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";
5
+ import { type VoiceTelephonyOutcomePolicy, type VoiceTelephonyWebhookRoutesOptions, type VoiceTelephonyWebhookVerificationResult } from "../core/telephonyOutcome";
6
+ import type { VoiceServerMessage, VoiceSessionRecord } from "../core/types";
7
7
  import { type TwilioMediaStreamBridgeOptions } from "./twilio";
8
- import type { VoicePostgresClient } from "../postgresStore";
8
+ import type { VoicePostgresClient } from "../core/postgresStore";
9
9
  export type TelnyxMediaPayload = {
10
10
  chunk?: string;
11
11
  payload: string;
@@ -1,8 +1,8 @@
1
1
  import { Elysia } from "elysia";
2
2
  import type { VoiceTelephonySetupStatus, VoiceTelephonySmokeCheck, VoiceTelephonySmokeReport } from "./contract";
3
- import { type VoiceTelephonyOutcomePolicy, type VoiceTelephonyWebhookRoutesOptions } from "../telephonyOutcome";
3
+ import { type VoiceTelephonyOutcomePolicy, type VoiceTelephonyWebhookRoutesOptions } from "../core/telephonyOutcome";
4
4
  import { type VoiceCallReviewArtifact, type VoiceCallReviewConfig } from "../testing/review";
5
- import type { AudioFormat, STTAdapter, VoiceLogger, VoicePluginConfig, VoiceSessionRecord, VoiceServerMessage } from "../types";
5
+ import type { AudioFormat, STTAdapter, VoiceLogger, VoicePluginConfig, VoiceSessionRecord, VoiceServerMessage } from "../core/types";
6
6
  type TwilioMediaPayload = {
7
7
  chunk?: string;
8
8
  payload: string;
@@ -1,4 +1,4 @@
1
- import type { Transcript } from "../types";
1
+ import type { Transcript } from "../core/types";
2
2
  export type VoiceTranscriptAccuracy = {
3
3
  actualText: string;
4
4
  charDistance: number;
@@ -1,4 +1,4 @@
1
- import type { STTAdapter, STTAdapterOpenOptions } from "../types";
1
+ import type { STTAdapter, STTAdapterOpenOptions } from "../core/types";
2
2
  import { type VoiceSTTAdapterHarnessOptions, type VoiceSTTAdapterHarnessResult } from "./stt";
3
3
  import type { VoiceTestFixture } from "./fixtures";
4
4
  export type VoiceExpectedTermAccuracy = {
@@ -1,4 +1,4 @@
1
- import type { VoiceLexiconEntry, VoicePhraseHint, VoiceTurnCorrectionHandler } from "../types";
1
+ import type { VoiceLexiconEntry, VoicePhraseHint, VoiceTurnCorrectionHandler } from "../core/types";
2
2
  import { type VoiceExpectedTermAccuracy, type VoiceSTTBenchmarkReport } from "./benchmark";
3
3
  import type { VoiceSessionBenchmarkReport } from "./sessionBenchmark";
4
4
  import type { VoiceTestFixture } from "./fixtures";
@@ -1,4 +1,4 @@
1
- import type { VoiceBargeInOptions } from "../types";
1
+ import type { VoiceBargeInOptions } from "../core/types";
2
2
  export type VoiceDuplexBenchmarkScenario = {
3
3
  expectedInterruptCount: number;
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import type { AudioFormat, VoiceExpectedSpeakerTurn } from "../types";
1
+ import type { AudioFormat, VoiceExpectedSpeakerTurn } from "../core/types";
2
2
  export type VoiceTestFixtureManifestEntry = {
3
3
  id: string;
4
4
  title: string;
@@ -83,7 +83,7 @@ var __decorateElement = (array, flags, name, decorators, target, extra) => {
83
83
  };
84
84
  var __require = import.meta.require;
85
85
 
86
- // src/turnDetection.ts
86
+ // src/core/turnDetection.ts
87
87
  var DEFAULT_SILENCE_MS = 700;
88
88
  var DEFAULT_SPEECH_THRESHOLD = 0.015;
89
89
  var toUint8Array = (audio) => {
@@ -802,7 +802,7 @@ var runSTTAdapterBenchmarkSeries = async ({
802
802
  reports
803
803
  });
804
804
  };
805
- // src/correction.ts
805
+ // src/core/correction.ts
806
806
  var escapeRegExp = (value) => value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
807
807
  var buildAliasMatcher = (alias) => new RegExp(`(?<![\\p{L}\\p{N}'])${escapeRegExp(alias)}(?![\\p{L}\\p{N}'])`, "giu");
808
808
  var WORD_PATTERN = /[\p{L}\p{N}']+/gu;
@@ -2811,7 +2811,7 @@ var createVoiceStream = (path, options = {}) => {
2811
2811
  };
2812
2812
  };
2813
2813
 
2814
- // src/audioConditioning.ts
2814
+ // src/core/audioConditioning.ts
2815
2815
  var DEFAULT_TARGET_LEVEL = 0.08;
2816
2816
  var DEFAULT_MAX_GAIN = 3;
2817
2817
  var DEFAULT_NOISE_GATE_THRESHOLD = 0.006;
@@ -2866,7 +2866,7 @@ var conditionAudioChunk = (audio, config) => {
2866
2866
  return new Uint8Array(output.buffer);
2867
2867
  };
2868
2868
 
2869
- // src/turnProfiles.ts
2869
+ // src/core/turnProfiles.ts
2870
2870
  var TURN_PROFILE_DEFAULTS = {
2871
2871
  balanced: {
2872
2872
  qualityProfile: "general",
@@ -2921,7 +2921,7 @@ var resolveTurnDetectionConfig = (config) => {
2921
2921
  };
2922
2922
  };
2923
2923
 
2924
- // src/presets.ts
2924
+ // src/core/presets.ts
2925
2925
  var PRESET_INPUTS = {
2926
2926
  chat: {
2927
2927
  audioConditioning: {
@@ -3926,7 +3926,7 @@ var createVoiceIOProviderFailureSimulator = (options) => {
3926
3926
  run
3927
3927
  };
3928
3928
  };
3929
- // src/modelAdapters.ts
3929
+ // src/core/modelAdapters.ts
3930
3930
  var isVoiceProviderRoutingPolicyPreset = (value) => value === "balanced" || value === "cost-cap" || value === "cost-first" || value === "latency-first" || value === "quality-first";
3931
3931
  var resolveVoiceProviderRoutingPolicyPreset = (preset, options = {}) => {
3932
3932
  switch (preset) {
@@ -4882,7 +4882,7 @@ var createGeminiVoiceAssistantModel = (options) => {
4882
4882
  };
4883
4883
  };
4884
4884
 
4885
- // src/store.ts
4885
+ // src/core/store.ts
4886
4886
  var createId = () => crypto.randomUUID();
4887
4887
  var createVoiceSessionRecord = (id, scenarioId) => ({
4888
4888
  committedTurnIds: [],
@@ -5034,7 +5034,7 @@ var createVoiceProviderFailureSimulator = (options) => {
5034
5034
  run
5035
5035
  };
5036
5036
  };
5037
- // src/memoryStore.ts
5037
+ // src/core/memoryStore.ts
5038
5038
  var createVoiceMemoryStore = () => {
5039
5039
  const sessions = new Map;
5040
5040
  const get = async (id) => sessions.get(id);
@@ -5056,10 +5056,10 @@ var createVoiceMemoryStore = () => {
5056
5056
  return { get, getOrCreate, list, remove, set };
5057
5057
  };
5058
5058
 
5059
- // src/session.ts
5059
+ // src/core/session.ts
5060
5060
  import { Buffer as Buffer2 } from "buffer";
5061
5061
 
5062
- // src/handoff.ts
5062
+ // src/core/handoff.ts
5063
5063
  var toHex = (bytes) => Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("");
5064
5064
  var signHandoffBody = async (input) => {
5065
5065
  const encoder = new TextEncoder;
@@ -5342,7 +5342,7 @@ var createVoiceTwilioRedirectHandoffAdapter = (options) => ({
5342
5342
  kind: "twilio-redirect"
5343
5343
  });
5344
5344
 
5345
- // src/logger.ts
5345
+ // src/core/logger.ts
5346
5346
  var noop2 = () => {};
5347
5347
  var createNoopLogger = () => ({
5348
5348
  debug: noop2,
@@ -5355,10 +5355,10 @@ var resolveLogger = (logger) => ({
5355
5355
  ...logger
5356
5356
  });
5357
5357
 
5358
- // src/types.ts
5358
+ // src/core/types.ts
5359
5359
  var ttsAdapterSessionCanCancel = (session) => typeof session.cancel === "function";
5360
5360
 
5361
- // src/recordingStore.ts
5361
+ // src/core/recordingStore.ts
5362
5362
  var writeUint32LE = (view, offset, value) => {
5363
5363
  view.setUint32(offset, value, true);
5364
5364
  };
@@ -5459,7 +5459,7 @@ var createVoiceMemoryRecordingStore = () => {
5459
5459
  };
5460
5460
  };
5461
5461
 
5462
- // src/assistantMode.ts
5462
+ // src/core/assistantMode.ts
5463
5463
  var resolveVoiceAssistantMode = (options) => {
5464
5464
  if (options.assistantMode) {
5465
5465
  return options.assistantMode;
@@ -5481,7 +5481,7 @@ var describeVoiceAssistantMode = (options) => {
5481
5481
  };
5482
5482
  };
5483
5483
 
5484
- // src/session.ts
5484
+ // src/core/session.ts
5485
5485
  var DEFAULT_RECONNECT_TIMEOUT = 30000;
5486
5486
  var DEFAULT_MAX_RECONNECT_ATTEMPTS2 = 10;
5487
5487
  var DEFAULT_TRANSCRIPT_STABILITY_MS = 450;
@@ -8835,7 +8835,7 @@ var runVoiceSessionBenchmarkSeries = async (input) => {
8835
8835
  reports
8836
8836
  });
8837
8837
  };
8838
- // src/operationsRecord.ts
8838
+ // src/core/operationsRecord.ts
8839
8839
  import { Elysia as Elysia4 } from "elysia";
8840
8840
  import {
8841
8841
  summarizeMediaProcessorGraphReport,
@@ -8843,7 +8843,7 @@ import {
8843
8843
  summarizeMediaTransportReport
8844
8844
  } from "@absolutejs/media";
8845
8845
 
8846
- // src/audit.ts
8846
+ // src/core/audit.ts
8847
8847
  var includes = (filter, value) => {
8848
8848
  if (!filter) {
8849
8849
  return true;
@@ -9044,7 +9044,7 @@ var createVoiceAuditLogger = (store) => ({
9044
9044
  toolCall: (input) => recordVoiceToolAuditEvent({ ...input, store })
9045
9045
  });
9046
9046
 
9047
- // src/trace.ts
9047
+ // src/core/trace.ts
9048
9048
  var createVoiceTraceEventId = (event) => [
9049
9049
  event.sessionId,
9050
9050
  event.turnId ?? "session",
@@ -9855,7 +9855,7 @@ var buildVoiceTraceReplay = (events, options = {}) => ({
9855
9855
  summary: summarizeVoiceTrace(options.redact ? redactVoiceTraceEvents(events, options.redact) : events)
9856
9856
  });
9857
9857
 
9858
- // src/auditRoutes.ts
9858
+ // src/core/auditRoutes.ts
9859
9859
  import { Elysia } from "elysia";
9860
9860
  var getString = (value) => typeof value === "string" && value.trim() ? value.trim() : undefined;
9861
9861
  var getNumber = (value) => {
@@ -10052,7 +10052,7 @@ var createVoiceAuditTrailRoutes = (options) => {
10052
10052
  return routes;
10053
10053
  };
10054
10054
 
10055
- // src/auditExport.ts
10055
+ // src/core/auditExport.ts
10056
10056
  var normalizeRedactionKey2 = (key) => key.trim().toLowerCase().replace(/[^a-z0-9]/g, "");
10057
10057
  var resolveReplacement2 = (input) => typeof input.options.replacement === "function" ? input.options.replacement({
10058
10058
  key: input.key,
@@ -10183,7 +10183,7 @@ var buildVoiceAuditExport = (events, options = {}) => {
10183
10183
  };
10184
10184
  };
10185
10185
 
10186
- // src/sessionReplay.ts
10186
+ // src/core/sessionReplay.ts
10187
10187
  import { Elysia as Elysia2 } from "elysia";
10188
10188
  var getString2 = (value) => typeof value === "string" ? value : undefined;
10189
10189
  var increment2 = (record, key) => {
@@ -10463,7 +10463,7 @@ var createVoiceSessionReplayRoutes = (options) => {
10463
10463
  return routes;
10464
10464
  };
10465
10465
 
10466
- // src/traceTimeline.ts
10466
+ // src/core/traceTimeline.ts
10467
10467
  import { Elysia as Elysia3 } from "elysia";
10468
10468
  var getString3 = (value) => typeof value === "string" && value.trim() ? value : undefined;
10469
10469
  var getNumber2 = (value) => typeof value === "number" && Number.isFinite(value) ? value : undefined;
@@ -10741,7 +10741,7 @@ var createVoiceTraceTimelineRoutes = (options) => {
10741
10741
  return routes;
10742
10742
  };
10743
10743
 
10744
- // src/operationsRecord.ts
10744
+ // src/core/operationsRecord.ts
10745
10745
  var getString4 = (value) => typeof value === "string" ? value : undefined;
10746
10746
  var getNumber3 = (value) => typeof value === "number" && Number.isFinite(value) ? value : undefined;
10747
10747
  var getBoolean = (value) => typeof value === "boolean" ? value : undefined;
@@ -11601,7 +11601,7 @@ var assertVoiceEvidence = (failureMessage, assertion) => {
11601
11601
  return assertion;
11602
11602
  };
11603
11603
 
11604
- // src/telephonyOutcome.ts
11604
+ // src/core/telephonyOutcome.ts
11605
11605
  import { Elysia as Elysia5 } from "elysia";
11606
11606
  var DEFAULT_COMPLETED_STATUSES = [
11607
11607
  "answered",
@@ -1,4 +1,4 @@
1
- import type { VoiceIOProviderRouterEvent } from "../providerAdapters";
1
+ import type { VoiceIOProviderRouterEvent } from "../core/providerAdapters";
2
2
  export type VoiceIOProviderFailureSimulationMode = "failure" | "recovery";
3
3
  export type VoiceIOProviderFailureSimulationKind = "stt" | "tts";
4
4
  export type VoiceIOProviderFailureSimulationOperation = "open" | "send";
@@ -1,6 +1,6 @@
1
- import type { VoiceAgentModelInput, VoiceAgentModelOutput } from "../agent";
2
- import type { VoiceSessionRecord } from "../types";
3
- import type { VoiceProviderRouterEvent, VoiceProviderRouterHealthOptions } from "../modelAdapters";
1
+ import type { VoiceAgentModelInput, VoiceAgentModelOutput } from "../core/agent";
2
+ import type { VoiceSessionRecord } from "../core/types";
3
+ import type { VoiceProviderRouterEvent, VoiceProviderRouterHealthOptions } from "../core/modelAdapters";
4
4
  export type VoiceProviderFailureSimulationMode = "failure" | "recovery";
5
5
  export type VoiceProviderFailureSimulationContext<TProvider extends string = string> = {
6
6
  query: {
@@ -1,4 +1,4 @@
1
- import type { VoiceCallDisposition, VoiceServerMessage } from "../types";
1
+ import type { VoiceCallDisposition, VoiceServerMessage } from "../core/types";
2
2
  type ReviewTimelineSource = "benchmark" | "stt" | "turn" | "twilio";
3
3
  export type VoiceCallReviewTimelineEvent = {
4
4
  atMs: number;
@@ -1,4 +1,4 @@
1
- import type { STTAdapter, VoiceAudioConditioningConfig, VoicePhraseHint, VoiceSTTFallbackConfig, VoiceSTTLifecycle, VoiceTurnCorrectionHandler, VoiceTurnProfile, VoiceTranscriptQuality } from "../types";
1
+ import type { STTAdapter, VoiceAudioConditioningConfig, VoicePhraseHint, VoiceSTTFallbackConfig, VoiceSTTLifecycle, VoiceTurnCorrectionHandler, VoiceTurnProfile, VoiceTranscriptQuality } from "../core/types";
2
2
  import { type VoiceTranscriptAccuracy } from "./accuracy";
3
3
  import type { VoiceTestFixture } from "./fixtures";
4
4
  export type VoiceSessionBenchmarkScenario = VoiceTestFixture & {
@@ -1,5 +1,5 @@
1
1
  import { type VoiceTranscriptAccuracy } from "./accuracy";
2
- import type { STTAdapter, STTAdapterOpenOptions, VoiceCloseEvent, VoiceEndOfTurnEvent, VoiceErrorEvent, VoiceFinalEvent, VoicePartialEvent } from "../types";
2
+ import type { STTAdapter, STTAdapterOpenOptions, VoiceCloseEvent, VoiceEndOfTurnEvent, VoiceErrorEvent, VoiceFinalEvent, VoicePartialEvent } from "../core/types";
3
3
  import type { VoiceTestFixture } from "./fixtures";
4
4
  export type VoiceSTTAdapterHarnessOptions = {
5
5
  chunkDurationMs?: number;
@@ -1,5 +1,5 @@
1
- import { type VoiceOperationsRecord } from "../operationsRecord";
2
- import { type VoiceTraceEventStore } from "../trace";
1
+ import { type VoiceOperationsRecord } from "../core/operationsRecord";
2
+ import { type VoiceTraceEventStore } from "../core/trace";
3
3
  export type VoiceTelephonyBenchmarkScenario = {
4
4
  expectClear: boolean;
5
5
  expectMark: boolean;
@@ -1,4 +1,4 @@
1
- import type { AudioFormat, RealtimeAdapter, RealtimeAdapterOpenOptions, TTSAdapter, TTSAdapterOpenOptions } from "../types";
1
+ import type { AudioFormat, RealtimeAdapter, RealtimeAdapterOpenOptions, TTSAdapter, TTSAdapterOpenOptions } from "../core/types";
2
2
  export type VoiceTTSBenchmarkFixture = {
3
3
  id: string;
4
4
  tags?: string[];
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from "vue";
2
2
  import { type VoiceCallPlayer as VoiceCallPlayerHandle } from "../client/callPlayer";
3
- import type { Transcript } from "../types";
3
+ import type { Transcript } from "../core/types";
4
4
  export declare const VoiceCallPlayer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  audioUrl: StringConstructor;
6
6
  player: {
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from "vue";
2
- import type { StoredVoiceTraceEvent } from "../trace";
2
+ import type { StoredVoiceTraceEvent } from "../core/trace";
3
3
  import { type VoiceCostDashboardOptions } from "../client/costDashboard";
4
4
  export declare const VoiceCostDashboard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  bucketBy: {
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from "vue";
2
- import type { VoiceControllerOptions } from "../types";
2
+ import type { VoiceControllerOptions } from "../core/types";
3
3
  export type VoiceWidgetTheme = {
4
4
  accent?: string;
5
5
  background?: string;