@absolutejs/voice 0.0.22-beta.67 → 0.0.22-beta.671
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.
- package/LICENSE +88 -0
- package/README.md +4562 -1179
- package/dist/angular/index.d.ts +36 -8
- package/dist/angular/index.js +4362 -537
- package/dist/angular/voice-agent-squad-status.service.d.ts +12 -0
- package/dist/angular/voice-call-debugger.service.d.ts +12 -0
- package/dist/angular/voice-call-player.service.d.ts +19 -0
- package/dist/angular/voice-campaign-dialer-proof.service.d.ts +14 -0
- package/dist/angular/voice-controller.service.d.ts +4 -1
- package/dist/angular/voice-cost-dashboard.service.d.ts +15 -0
- package/dist/angular/voice-delivery-runtime.service.d.ts +16 -0
- package/dist/angular/voice-live-agent-console.service.d.ts +16 -0
- package/dist/angular/voice-live-call-viewer.service.d.ts +16 -0
- package/dist/angular/voice-live-ops.service.d.ts +11 -0
- package/dist/angular/voice-ops-action-center.service.d.ts +13 -0
- package/dist/angular/voice-ops-status.service.d.ts +12 -0
- package/dist/angular/voice-platform-coverage.service.d.ts +12 -0
- package/dist/angular/voice-profile-comparison.service.d.ts +12 -0
- package/dist/angular/voice-proof-trends.service.d.ts +12 -0
- package/dist/angular/voice-provider-capabilities.service.d.ts +2 -2
- package/dist/angular/voice-provider-contracts.service.d.ts +12 -0
- package/dist/angular/voice-provider-status.service.d.ts +2 -2
- package/dist/angular/voice-readiness-failures.service.d.ts +13 -0
- package/dist/angular/voice-reconnect-profile-evidence.service.d.ts +12 -0
- package/dist/angular/voice-replay-timeline.service.d.ts +13 -0
- package/dist/angular/voice-routing-status.service.d.ts +1 -1
- package/dist/angular/voice-session-observability.service.d.ts +12 -0
- package/dist/angular/voice-session-snapshot.service.d.ts +13 -0
- package/dist/angular/voice-stream.service.d.ts +6 -2
- package/dist/angular/voice-trace-timeline.service.d.ts +12 -0
- package/dist/angular/voice-turn-latency.service.d.ts +13 -0
- package/dist/angular/voice-turn-quality.service.d.ts +2 -2
- package/dist/angular/voice-widget.service.d.ts +18 -0
- package/dist/angular/voice-workflow-status.service.d.ts +2 -2
- package/dist/client/actions.d.ts +201 -2
- package/dist/client/agentSquadStatus.d.ts +37 -0
- package/dist/client/agentSquadStatusWidget.d.ts +24 -0
- package/dist/client/audioPlayer.d.ts +12 -2
- package/dist/client/bargeInMonitor.d.ts +7 -0
- package/dist/client/browserMedia.d.ts +8 -0
- package/dist/client/browserNoiseSuppression.d.ts +42 -0
- package/dist/client/browserVoiceSupport.d.ts +22 -0
- package/dist/client/callDebugger.d.ts +21 -0
- package/dist/client/callDebuggerWidget.d.ts +30 -0
- package/dist/client/callPlayer.d.ts +41 -0
- package/dist/client/campaignDialerProof.d.ts +25 -0
- package/dist/client/connection.d.ts +13 -4
- package/dist/client/controller.d.ts +1 -1
- package/dist/client/conversationAnalytics.d.ts +30 -0
- package/dist/client/costDashboard.d.ts +27 -0
- package/dist/client/createVoiceStream.d.ts +1 -1
- package/dist/client/deliveryRuntime.d.ts +36 -0
- package/dist/client/deliveryRuntimeWidget.d.ts +37 -0
- package/dist/client/duplex.d.ts +2 -2
- package/dist/client/htmx.d.ts +1 -1
- package/dist/client/htmxAttributes.d.ts +24 -0
- package/dist/client/htmxBootstrap.js +1808 -159
- package/dist/client/htmxDashboardRenderers.d.ts +71 -0
- package/dist/client/index.d.ts +109 -33
- package/dist/client/index.js +10799 -646
- package/dist/client/liveAgentConsole.d.ts +28 -0
- package/dist/client/liveCallViewer.d.ts +42 -0
- package/dist/client/liveOps.d.ts +22 -0
- package/dist/client/liveOpsWidget.d.ts +23 -0
- package/dist/client/liveTurnLatency.d.ts +41 -0
- package/dist/client/microphone.d.ts +5 -4
- package/dist/client/opsActionCenter.d.ts +56 -0
- package/dist/client/opsActionCenterWidget.d.ts +29 -0
- package/dist/client/opsActionHistory.d.ts +21 -0
- package/dist/client/opsActionHistoryWidget.d.ts +11 -0
- package/dist/client/opsStatus.d.ts +21 -0
- package/dist/client/opsStatusWidget.d.ts +10 -10
- package/dist/client/platformCoverage.d.ts +21 -0
- package/dist/client/platformCoverageWidget.d.ts +38 -0
- package/dist/client/profileComparison.d.ts +21 -0
- package/dist/client/profileComparisonWidget.d.ts +41 -0
- package/dist/client/profileSwitchRecommendation.d.ts +21 -0
- package/dist/client/profileSwitchRecommendationWidget.d.ts +12 -0
- package/dist/client/proofTrends.d.ts +21 -0
- package/dist/client/proofTrendsWidget.d.ts +38 -0
- package/dist/client/providerCapabilities.d.ts +5 -3
- package/dist/client/providerCapabilitiesWidget.d.ts +6 -6
- package/dist/client/providerContracts.d.ts +21 -0
- package/dist/client/providerContractsWidget.d.ts +37 -0
- package/dist/client/providerSimulationControls.d.ts +3 -3
- package/dist/client/providerSimulationControlsWidget.d.ts +5 -5
- package/dist/client/providerStatus.d.ts +5 -3
- package/dist/client/providerStatusWidget.d.ts +6 -6
- package/dist/client/reactiveSource.d.ts +8 -0
- package/dist/client/readinessFailures.d.ts +21 -0
- package/dist/client/readinessFailuresWidget.d.ts +42 -0
- package/dist/client/reconnectProfileEvidence.d.ts +21 -0
- package/dist/client/reconnectProfileEvidenceWidget.d.ts +39 -0
- package/dist/client/replayTimeline.d.ts +26 -0
- package/dist/client/routingStatus.d.ts +5 -3
- package/dist/client/routingStatusWidget.d.ts +10 -6
- package/dist/client/sessionObservability.d.ts +21 -0
- package/dist/client/sessionObservabilityWidget.d.ts +31 -0
- package/dist/client/sessionSnapshot.d.ts +23 -0
- package/dist/client/sessionSnapshotWidget.d.ts +33 -0
- package/dist/client/store.d.ts +1 -1
- package/dist/client/timeStretch.d.ts +5 -0
- package/dist/client/traceTimeline.d.ts +21 -0
- package/dist/client/traceTimelineWidget.d.ts +36 -0
- package/dist/client/turnLatency.d.ts +24 -0
- package/dist/client/turnLatencyWidget.d.ts +33 -0
- package/dist/client/turnQuality.d.ts +5 -3
- package/dist/client/turnQualityWidget.d.ts +6 -6
- package/dist/client/voiceWidgetView.d.ts +48 -0
- package/dist/client/workflowStatus.d.ts +5 -3
- package/dist/core/agent.d.ts +251 -0
- package/dist/core/agentPerformanceReport.d.ts +40 -0
- package/dist/core/agentSquadContract.d.ts +98 -0
- package/dist/core/agentState.d.ts +12 -0
- package/dist/core/agentTools.d.ts +132 -0
- package/dist/core/aiScorecard.d.ts +32 -0
- package/dist/core/aiVoiceModel.d.ts +15 -0
- package/dist/core/amdDetector.d.ts +25 -0
- package/dist/{assistant.d.ts → core/assistant.d.ts} +24 -14
- package/dist/core/assistantExperiment.d.ts +42 -0
- package/dist/{assistantHealth.d.ts → core/assistantHealth.d.ts} +9 -9
- package/dist/{assistantMemory.d.ts → core/assistantMemory.d.ts} +10 -10
- package/dist/core/assistantMode.d.ts +22 -0
- package/dist/{audioConditioning.d.ts → core/audioConditioning.d.ts} +2 -2
- package/dist/core/audit.d.ts +131 -0
- package/dist/core/auditDeliveryRoutes.d.ts +85 -0
- package/dist/core/auditExport.d.ts +34 -0
- package/dist/core/auditRoutes.d.ts +66 -0
- package/dist/core/auditSinks.d.ts +151 -0
- package/dist/core/backchannel.d.ts +25 -0
- package/dist/core/bargeInDetector.d.ts +51 -0
- package/dist/core/bargeInRoutes.d.ts +56 -0
- package/dist/core/bookingFlow.d.ts +43 -0
- package/dist/core/browserCallProfiles.d.ts +120 -0
- package/dist/core/browserMediaRoutes.d.ts +62 -0
- package/dist/core/cachedTTS.d.ts +54 -0
- package/dist/core/calendarAdapter.d.ts +47 -0
- package/dist/core/calendarSlots.d.ts +35 -0
- package/dist/core/callDebugger.d.ts +66 -0
- package/dist/core/callDisposition.d.ts +38 -0
- package/dist/core/callQuota.d.ts +54 -0
- package/dist/core/callScorecard.d.ts +53 -0
- package/dist/core/callerCRMLinker.d.ts +29 -0
- package/dist/core/callerMemory.d.ts +37 -0
- package/dist/core/callingWindow.d.ts +26 -0
- package/dist/core/campaign.d.ts +795 -0
- package/dist/core/campaignControls.d.ts +37 -0
- package/dist/core/campaignDialers.d.ts +111 -0
- package/dist/core/campaignTemplate.d.ts +16 -0
- package/dist/core/competitiveCoverage.d.ts +141 -0
- package/dist/core/conversationSimulator.d.ts +73 -0
- package/dist/{correction.d.ts → core/correction.d.ts} +5 -4
- package/dist/core/costAccounting.d.ts +90 -0
- package/dist/core/costPredictor.d.ts +74 -0
- package/dist/core/crmCallLogger.d.ts +37 -0
- package/dist/core/crmContract.d.ts +70 -0
- package/dist/core/dataControl.d.ts +180 -0
- package/dist/core/debugTiming.d.ts +11 -0
- package/dist/core/defineVoiceAssistant.d.ts +68 -0
- package/dist/core/deliveryRuntime.d.ts +159 -0
- package/dist/core/deliverySinkRoutes.d.ts +117 -0
- package/dist/core/demoReadyRoutes.d.ts +98 -0
- package/dist/{diagnosticsRoutes.d.ts → core/diagnosticsRoutes.d.ts} +2 -2
- package/dist/core/dncRegistry.d.ts +38 -0
- package/dist/core/dtmfCollector.d.ts +37 -0
- package/dist/{evalRoutes.d.ts → core/evalRoutes.d.ts} +26 -20
- package/dist/{fileStore.d.ts → core/fileStore.d.ts} +34 -20
- package/dist/core/guardrails.d.ts +128 -0
- package/dist/{handoff.d.ts → core/handoff.d.ts} +10 -10
- package/dist/{handoffHealth.d.ts → core/handoffHealth.d.ts} +9 -9
- package/dist/core/hardenedFetch.d.ts +1 -0
- package/dist/core/holdAudio.d.ts +23 -0
- package/dist/{htmx.d.ts → core/htmx.d.ts} +2 -2
- package/dist/core/htmxDashboardRoutes.d.ts +250 -0
- package/dist/core/iceServers.d.ts +34 -0
- package/dist/core/incidentBundle.d.ts +119 -0
- package/dist/core/incidentTimeline.d.ts +260 -0
- package/dist/core/ivrPlan.d.ts +40 -0
- package/dist/core/latencySlo.d.ts +56 -0
- package/dist/core/liveCoach.d.ts +43 -0
- package/dist/core/liveLatency.d.ts +78 -0
- package/dist/core/liveOps.d.ts +190 -0
- package/dist/core/llmJudge.d.ts +45 -0
- package/dist/{logger.d.ts → core/logger.d.ts} +1 -2
- package/dist/core/mcpToolset.d.ts +58 -0
- package/dist/core/mediaPipelineRoutes.d.ts +171 -0
- package/dist/core/mediaPipelineSurfaces.d.ts +48 -0
- package/dist/{memoryStore.d.ts → core/memoryStore.d.ts} +1 -1
- package/dist/core/midCallSummary.d.ts +27 -0
- package/dist/{modelAdapters.d.ts → core/modelAdapters.d.ts} +69 -7
- package/dist/core/monitor.d.ts +148 -0
- package/dist/core/multilingualProof.d.ts +77 -0
- package/dist/core/noShowPredictor.d.ts +46 -0
- package/dist/core/numberNormalizer.d.ts +1 -0
- package/dist/core/oauth2TokenSource.d.ts +21 -0
- package/dist/core/observabilityExport.d.ts +501 -0
- package/dist/core/openaiTTS.d.ts +18 -0
- package/dist/core/operationalStatus.d.ts +87 -0
- package/dist/core/operationsRecord.d.ts +371 -0
- package/dist/{ops.d.ts → core/ops.d.ts} +70 -70
- package/dist/core/opsActionAuditRoutes.d.ts +99 -0
- package/dist/{opsConsoleRoutes.d.ts → core/opsConsoleRoutes.d.ts} +11 -8
- package/dist/{opsPresets.d.ts → core/opsPresets.d.ts} +2 -2
- package/dist/core/opsRecovery.d.ts +137 -0
- package/dist/{opsRuntime.d.ts → core/opsRuntime.d.ts} +6 -6
- package/dist/{opsSinks.d.ts → core/opsSinks.d.ts} +19 -19
- package/dist/core/opsStatus.d.ts +76 -0
- package/dist/core/opsStatusRoutes.d.ts +33 -0
- package/dist/{opsWebhook.d.ts → core/opsWebhook.d.ts} +15 -15
- package/dist/core/otelExporter.d.ts +83 -0
- package/dist/core/outcomeContract.d.ts +146 -0
- package/dist/{outcomeRecipes.d.ts → core/outcomeRecipes.d.ts} +4 -4
- package/dist/core/pathway.d.ts +94 -0
- package/dist/core/pathwayCompiler.d.ts +31 -0
- package/dist/core/pathwayGenerator.d.ts +27 -0
- package/dist/core/pathwayRuntime.d.ts +57 -0
- package/dist/core/pathwaySlotCollector.d.ts +29 -0
- package/dist/core/pathwayVisualizer.d.ts +8 -0
- package/dist/core/phoneAgent.d.ts +139 -0
- package/dist/core/phoneAgentProductionSmoke.d.ts +115 -0
- package/dist/core/phoneProvisioning.d.ts +29 -0
- package/dist/core/platformCoverage.d.ts +91 -0
- package/dist/{plugin.d.ts → core/plugin.d.ts} +11 -8
- package/dist/core/postCallAnalysis.d.ts +98 -0
- package/dist/core/postCallSurvey.d.ts +41 -0
- package/dist/{postgresStore.d.ts → core/postgresStore.d.ts} +20 -9
- package/dist/{presets.d.ts → core/presets.d.ts} +3 -3
- package/dist/core/productionReadiness.d.ts +757 -0
- package/dist/core/profileSwitchRecommendation.d.ts +350 -0
- package/dist/core/promptInjectionGuard.d.ts +30 -0
- package/dist/core/proofAssertions.d.ts +32 -0
- package/dist/core/proofPack.d.ts +211 -0
- package/dist/core/proofRunner.d.ts +79 -0
- package/dist/core/proofTrends.d.ts +966 -0
- package/dist/{providerAdapters.d.ts → core/providerAdapters.d.ts} +5 -5
- package/dist/{providerCapabilities.d.ts → core/providerCapabilities.d.ts} +9 -9
- package/dist/core/providerDecisionTraces.d.ts +130 -0
- package/dist/{providerHealth.d.ts → core/providerHealth.d.ts} +15 -5
- package/dist/core/providerOrchestration.d.ts +109 -0
- package/dist/core/providerRouterTraces.d.ts +35 -0
- package/dist/core/providerRoutingContract.d.ts +71 -0
- package/dist/core/providerSlo.d.ts +142 -0
- package/dist/core/providerStackRecommendations.d.ts +188 -0
- package/dist/core/qualityDriftDetector.d.ts +44 -0
- package/dist/{qualityRoutes.d.ts → core/qualityRoutes.d.ts} +7 -7
- package/dist/{queue.d.ts → core/queue.d.ts} +48 -39
- package/dist/core/ragTool.d.ts +52 -0
- package/dist/core/readinessProfiles.d.ts +45 -0
- package/dist/core/realtimeChannel.d.ts +136 -0
- package/dist/core/realtimeProviderContracts.d.ts +133 -0
- package/dist/core/reconnectContract.d.ts +177 -0
- package/dist/core/recordingRedaction.d.ts +47 -0
- package/dist/core/recordingStore.d.ts +60 -0
- package/dist/core/redaction.d.ts +13 -0
- package/dist/core/reminderScheduler.d.ts +43 -0
- package/dist/{resilienceRoutes.d.ts → core/resilienceRoutes.d.ts} +34 -5
- package/dist/core/retention.d.ts +37 -0
- package/dist/core/retryPolicy.d.ts +38 -0
- package/dist/core/routeAuth.d.ts +58 -0
- package/dist/{routing.d.ts → core/routing.d.ts} +2 -2
- package/dist/{runtimeOps.d.ts → core/runtimeOps.d.ts} +3 -3
- package/dist/{s3Store.d.ts → core/s3Store.d.ts} +12 -3
- package/dist/core/scorecardCalibration.d.ts +31 -0
- package/dist/core/scribe.d.ts +50 -0
- package/dist/core/semanticTurn.d.ts +37 -0
- package/dist/{session.d.ts → core/session.d.ts} +1 -1
- package/dist/core/sessionObservability.d.ts +145 -0
- package/dist/{sessionReplay.d.ts → core/sessionReplay.d.ts} +31 -19
- package/dist/core/sessionSnapshot.d.ts +109 -0
- package/dist/core/simulationSuite.d.ts +144 -0
- package/dist/core/sloCalibration.d.ts +185 -0
- package/dist/{sqliteStore.d.ts → core/sqliteStore.d.ts} +20 -9
- package/dist/{store.d.ts → core/store.d.ts} +1 -1
- package/dist/core/supervisorPermissions.d.ts +33 -0
- package/dist/core/supervisorPresence.d.ts +49 -0
- package/dist/core/telephonyMediaRoutes.d.ts +72 -0
- package/dist/core/telephonyOutcome.d.ts +269 -0
- package/dist/{toolContract.d.ts → core/toolContract.d.ts} +46 -15
- package/dist/{toolRuntime.d.ts → core/toolRuntime.d.ts} +4 -4
- package/dist/{trace.d.ts → core/trace.d.ts} +61 -22
- package/dist/core/traceDeliveryRoutes.d.ts +86 -0
- package/dist/core/traceTimeline.d.ts +97 -0
- package/dist/core/transcriptAnnotator.d.ts +41 -0
- package/dist/{turnDetection.d.ts → core/turnDetection.d.ts} +2 -1
- package/dist/core/turnLatency.d.ts +95 -0
- package/dist/core/turnProfiles.d.ts +3 -0
- package/dist/{turnQuality.d.ts → core/turnQuality.d.ts} +9 -9
- package/dist/core/types.d.ts +1786 -0
- package/dist/core/vapiAdapter.d.ts +160 -0
- package/dist/core/variableAnalytics.d.ts +47 -0
- package/dist/core/voiceConfiguration.d.ts +8 -0
- package/dist/core/voiceMonitoring.d.ts +444 -0
- package/dist/core/webhookFanout.d.ts +48 -0
- package/dist/core/webhookVerification.d.ts +27 -0
- package/dist/core/whisperChannel.d.ts +50 -0
- package/dist/{workflowContract.d.ts → core/workflowContract.d.ts} +21 -21
- package/dist/core/writeBehindStore.d.ts +41 -0
- package/dist/core/zeroDataRetention.d.ts +31 -0
- package/dist/drizzle/assistantMemory.d.ts +100 -0
- package/dist/drizzle/eval.d.ts +55 -0
- package/dist/drizzle/handoff.d.ts +56 -0
- package/dist/drizzle/incidentBundle.d.ts +55 -0
- package/dist/drizzle/index.d.ts +991 -0
- package/dist/drizzle/index.js +3060 -0
- package/dist/drizzle/observabilityExport.d.ts +55 -0
- package/dist/drizzle/proofTrends.d.ts +114 -0
- package/dist/drizzle/runtimeStorage.d.ts +1183 -0
- package/dist/drizzle/shared.d.ts +69 -0
- package/dist/embed/index.d.ts +38 -0
- package/dist/embed/index.js +2100 -0
- package/dist/embed/voice-widget.js +10 -0
- package/dist/index.d.ts +379 -82
- package/dist/index.js +48538 -8248
- package/dist/internal/evidence.d.ts +10 -0
- package/dist/internal/html.d.ts +6 -0
- package/dist/internal/status.d.ts +7 -0
- package/dist/manifest.d.ts +17 -0
- package/dist/manifest.js +424 -0
- package/dist/manifest.json +427 -0
- package/dist/react/VoiceAgentSquadStatus.d.ts +5 -0
- package/dist/react/VoiceCallDebuggerLaunch.d.ts +6 -0
- package/dist/react/VoiceCallPlayer.d.ts +11 -0
- package/dist/react/VoiceCostDashboard.d.ts +10 -0
- package/dist/react/VoiceDeliveryRuntime.d.ts +7 -0
- package/dist/react/VoiceLiveAgentConsole.d.ts +11 -0
- package/dist/react/VoiceLiveCallViewer.d.ts +9 -0
- package/dist/react/VoiceOpsActionCenter.d.ts +5 -0
- package/dist/react/VoiceOpsStatus.d.ts +1 -1
- package/dist/react/VoicePlatformCoverage.d.ts +6 -0
- package/dist/react/VoiceProfileComparison.d.ts +6 -0
- package/dist/react/VoiceProfileSwitchRecommendation.d.ts +6 -0
- package/dist/react/VoiceProofTrends.d.ts +6 -0
- package/dist/react/VoiceProviderCapabilities.d.ts +1 -1
- package/dist/react/VoiceProviderContracts.d.ts +6 -0
- package/dist/react/VoiceProviderSimulationControls.d.ts +1 -1
- package/dist/react/VoiceProviderStatus.d.ts +1 -1
- package/dist/react/VoiceReadinessFailures.d.ts +6 -0
- package/dist/react/VoiceReconnectProfileEvidence.d.ts +6 -0
- package/dist/react/VoiceReplayTimeline.d.ts +6 -0
- package/dist/react/VoiceRoutingStatus.d.ts +1 -1
- package/dist/react/VoiceSessionObservability.d.ts +6 -0
- package/dist/react/VoiceSessionSnapshot.d.ts +6 -0
- package/dist/react/VoiceTraceTimeline.d.ts +6 -0
- package/dist/react/VoiceTurnLatency.d.ts +6 -0
- package/dist/react/VoiceTurnQuality.d.ts +1 -1
- package/dist/react/VoiceWidget.d.ts +13 -0
- package/dist/react/index.d.ts +80 -15
- package/dist/react/index.js +13740 -2052
- package/dist/react/useVoiceAgentSquadStatus.d.ts +8 -0
- package/dist/react/useVoiceCallDebugger.d.ts +8 -0
- package/dist/react/useVoiceCampaignDialerProof.d.ts +10 -0
- package/dist/react/useVoiceController.d.ts +9 -2
- package/dist/react/useVoiceDeliveryRuntime.d.ts +13 -0
- package/dist/react/useVoiceLiveOps.d.ts +9 -0
- package/dist/react/useVoiceOpsActionCenter.d.ts +11 -0
- package/dist/react/useVoiceOpsStatus.d.ts +8 -0
- package/dist/react/useVoicePlatformCoverage.d.ts +8 -0
- package/dist/react/useVoiceProfileComparison.d.ts +8 -0
- package/dist/react/useVoiceProfileSwitchRecommendation.d.ts +8 -0
- package/dist/react/useVoiceProofTrends.d.ts +8 -0
- package/dist/react/useVoiceProviderCapabilities.d.ts +1 -1
- package/dist/react/useVoiceProviderContracts.d.ts +8 -0
- package/dist/react/useVoiceProviderSimulationControls.d.ts +1 -1
- package/dist/react/useVoiceProviderStatus.d.ts +1 -1
- package/dist/react/useVoiceReadinessFailures.d.ts +8 -0
- package/dist/react/useVoiceReconnectProfileEvidence.d.ts +8 -0
- package/dist/react/useVoiceRoutingStatus.d.ts +1 -1
- package/dist/react/useVoiceSessionObservability.d.ts +8 -0
- package/dist/react/useVoiceSessionSnapshot.d.ts +9 -0
- package/dist/react/useVoiceStream.d.ts +9 -2
- package/dist/react/useVoiceTraceTimeline.d.ts +8 -0
- package/dist/react/useVoiceTurnLatency.d.ts +9 -0
- package/dist/react/useVoiceTurnQuality.d.ts +1 -1
- package/dist/react/useVoiceWorkflowStatus.d.ts +1 -1
- package/dist/svelte/createVoiceAgentSquadStatus.d.ts +9 -0
- package/dist/svelte/createVoiceCallDebugger.d.ts +10 -0
- package/dist/svelte/createVoiceCallPlayer.d.ts +33 -0
- package/dist/svelte/createVoiceCampaignDialerProof.d.ts +9 -0
- package/dist/svelte/createVoiceCostDashboard.d.ts +13 -0
- package/dist/svelte/createVoiceDeliveryRuntime.d.ts +11 -0
- package/dist/svelte/createVoiceLiveAgentConsole.d.ts +23 -0
- package/dist/svelte/createVoiceLiveCallViewer.d.ts +26 -0
- package/dist/svelte/createVoiceLiveOps.d.ts +13 -0
- package/dist/svelte/createVoiceOpsActionCenter.d.ts +10 -0
- package/dist/svelte/createVoiceOpsStatus.d.ts +4 -4
- package/dist/svelte/createVoicePlatformCoverage.d.ts +7 -0
- package/dist/svelte/createVoiceProfileComparison.d.ts +7 -0
- package/dist/svelte/createVoiceProofTrends.d.ts +7 -0
- package/dist/svelte/createVoiceProviderCapabilities.d.ts +2 -2
- package/dist/svelte/createVoiceProviderContracts.d.ts +10 -0
- package/dist/svelte/createVoiceProviderSimulationControls.d.ts +2 -2
- package/dist/svelte/createVoiceProviderStatus.d.ts +2 -2
- package/dist/svelte/createVoiceReadinessFailures.d.ts +7 -0
- package/dist/svelte/createVoiceReconnectProfileEvidence.d.ts +7 -0
- package/dist/svelte/createVoiceReplayTimeline.d.ts +13 -0
- package/dist/svelte/createVoiceRoutingStatus.d.ts +2 -2
- package/dist/svelte/createVoiceSessionObservability.d.ts +10 -0
- package/dist/svelte/createVoiceSessionSnapshot.d.ts +11 -0
- package/dist/svelte/createVoiceStream.d.ts +1 -1
- package/dist/svelte/createVoiceTraceTimeline.d.ts +10 -0
- package/dist/svelte/createVoiceTurnLatency.d.ts +11 -0
- package/dist/svelte/createVoiceTurnQuality.d.ts +2 -2
- package/dist/svelte/createVoiceWidget.d.ts +19 -0
- package/dist/svelte/createVoiceWorkflowStatus.d.ts +2 -2
- package/dist/svelte/index.d.ts +37 -10
- package/dist/svelte/index.js +7465 -1676
- package/dist/telephony/contract.d.ts +61 -0
- package/dist/telephony/matrix.d.ts +97 -0
- package/dist/telephony/plivo.d.ts +302 -0
- package/dist/telephony/response.d.ts +1 -1
- package/dist/telephony/security.d.ts +182 -0
- package/dist/telephony/telnyx.d.ts +290 -0
- package/dist/telephony/twilio.d.ts +164 -15
- package/dist/testing/accuracy.d.ts +18 -1
- package/dist/testing/audioMatrix.d.ts +22 -0
- package/dist/testing/benchmark.d.ts +24 -15
- package/dist/testing/confidenceCalibration.d.ts +19 -0
- package/dist/testing/conformance.d.ts +11 -0
- package/dist/testing/corrected.d.ts +9 -9
- package/dist/testing/criticalFields.d.ts +22 -0
- package/dist/testing/duplex.d.ts +5 -5
- package/dist/testing/fixtures.d.ts +7 -4
- package/dist/testing/index.d.ts +21 -13
- package/dist/testing/index.js +9188 -1292
- package/dist/testing/ioProviderSimulator.d.ts +5 -5
- package/dist/testing/outcomes.d.ts +12 -0
- package/dist/testing/provenance.d.ts +44 -0
- package/dist/testing/providerSimulator.d.ts +5 -5
- package/dist/testing/review.d.ts +8 -8
- package/dist/testing/routingBenchmark.d.ts +16 -0
- package/dist/testing/sessionBenchmark.d.ts +13 -13
- package/dist/testing/statistics.d.ts +30 -0
- package/dist/testing/stt.d.ts +3 -3
- package/dist/testing/telephony.d.ts +27 -2
- package/dist/testing/tts.d.ts +2 -2
- package/dist/vue/VoiceCallDebuggerLaunch.d.ts +72 -0
- package/dist/vue/VoiceCallPlayer.d.ts +40 -0
- package/dist/vue/VoiceCostDashboard.d.ts +57 -0
- package/dist/vue/VoiceDeliveryRuntime.d.ts +34 -0
- package/dist/vue/VoiceLiveAgentConsole.d.ts +50 -0
- package/dist/vue/VoiceLiveCallViewer.d.ts +35 -0
- package/dist/vue/VoiceOpsActionCenter.d.ts +13 -0
- package/dist/vue/VoiceOpsStatus.d.ts +4 -0
- package/dist/vue/VoicePlatformCoverage.d.ts +27 -0
- package/dist/vue/VoiceProofTrends.d.ts +25 -0
- package/dist/vue/VoiceProviderCapabilities.d.ts +4 -0
- package/dist/vue/VoiceProviderContracts.d.ts +25 -0
- package/dist/vue/VoiceProviderSimulationControls.d.ts +3 -3
- package/dist/vue/VoiceProviderStatus.d.ts +4 -0
- package/dist/vue/VoiceReadinessFailures.d.ts +25 -0
- package/dist/vue/VoiceReconnectProfileEvidence.d.ts +25 -0
- package/dist/vue/VoiceReplayTimeline.d.ts +17 -0
- package/dist/vue/VoiceRoutingStatus.d.ts +4 -0
- package/dist/vue/VoiceSessionObservability.d.ts +27 -0
- package/dist/vue/VoiceSessionSnapshot.d.ts +72 -0
- package/dist/vue/VoiceTurnLatency.d.ts +73 -0
- package/dist/vue/VoiceTurnQuality.d.ts +4 -0
- package/dist/vue/VoiceWidget.d.ts +77 -0
- package/dist/vue/index.d.ts +49 -15
- package/dist/vue/index.js +13097 -2219
- package/dist/vue/useVoiceAgentSquadStatus.d.ts +9 -0
- package/dist/vue/useVoiceCallDebugger.d.ts +10 -0
- package/dist/vue/useVoiceCampaignDialerProof.d.ts +11 -0
- package/dist/vue/useVoiceController.d.ts +10 -7
- package/dist/vue/useVoiceDeliveryRuntime.d.ts +13 -0
- package/dist/vue/useVoiceLiveOps.d.ts +9 -0
- package/dist/vue/useVoiceOpsActionCenter.d.ts +11 -0
- package/dist/vue/useVoiceOpsStatus.d.ts +9 -0
- package/dist/vue/useVoicePlatformCoverage.d.ts +9 -0
- package/dist/vue/useVoiceProfileComparison.d.ts +9 -0
- package/dist/vue/useVoiceProofTrends.d.ts +9 -0
- package/dist/vue/useVoiceProviderCapabilities.d.ts +3 -3
- package/dist/vue/useVoiceProviderContracts.d.ts +9 -0
- package/dist/vue/useVoiceProviderSimulationControls.d.ts +2 -2
- package/dist/vue/useVoiceProviderStatus.d.ts +3 -3
- package/dist/vue/useVoiceReadinessFailures.d.ts +959 -0
- package/dist/vue/useVoiceReconnectProfileEvidence.d.ts +9 -0
- package/dist/vue/useVoiceRoutingStatus.d.ts +2 -2
- package/dist/vue/useVoiceSessionObservability.d.ts +9 -0
- package/dist/vue/useVoiceSessionSnapshot.d.ts +10 -0
- package/dist/vue/useVoiceStream.d.ts +10 -6
- package/dist/vue/useVoiceTraceTimeline.d.ts +9 -0
- package/dist/vue/useVoiceTurnLatency.d.ts +10 -0
- package/dist/vue/useVoiceTurnQuality.d.ts +3 -3
- package/dist/vue/useVoiceWorkflowStatus.d.ts +3 -3
- package/package.json +247 -256
- package/dist/agent.d.ts +0 -115
- package/dist/angular/voice-app-kit-status.service.d.ts +0 -12
- package/dist/angular/voice-ops-status.component.d.ts +0 -15
- package/dist/appKit.d.ts +0 -94
- package/dist/client/appKitStatus.d.ts +0 -19
- package/dist/react/useVoiceAppKitStatus.d.ts +0 -8
- package/dist/svelte/createVoiceAppKitStatus.d.ts +0 -8
- package/dist/turnProfiles.d.ts +0 -6
- package/dist/types.d.ts +0 -968
- package/dist/vue/useVoiceAppKitStatus.d.ts +0 -9
- package/fixtures/README.md +0 -57
- package/fixtures/manifest.json +0 -199
- package/fixtures/pcm/dialogue-three-clean.pcm +0 -0
- package/fixtures/pcm/dialogue-three-mixed.pcm +0 -0
- package/fixtures/pcm/dialogue-two-clean.pcm +0 -0
- package/fixtures/pcm/dialogue-two-noisy.pcm +0 -0
- package/fixtures/pcm/multiturn-three-mixed.pcm +0 -0
- package/fixtures/pcm/multiturn-two-clean.pcm +0 -0
- package/fixtures/pcm/quietly-alone-clean.pcm +0 -0
- package/fixtures/pcm/rainstorms-noisy.pcm +0 -0
- package/fixtures/pcm/stella-bulgaria-bulgarian20.pcm +0 -0
- package/fixtures/pcm/stella-ghana-english507.pcm +0 -0
- package/fixtures/pcm/stella-india-english37.pcm +0 -0
- package/fixtures/pcm/stella-jamaica-jamaican-creole-english1.pcm +0 -0
- package/fixtures/pcm/stella-liberia-liberian-pidgin-english2.pcm +0 -0
- package/fixtures/pcm/stella-pakistan-english519.pcm +0 -0
- package/fixtures/pcm/stella-sierra-leone-krio5.pcm +0 -0
- package/fixtures/pcm/stella-singapore-english655.pcm +0 -0
- package/fixtures/pcm/traveled-back-route-clean.pcm +0 -0
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": 2,
|
|
3
|
+
"identity": {
|
|
4
|
+
"accent": "#f43f5e",
|
|
5
|
+
"category": "voice",
|
|
6
|
+
"description": "Self-hosted voice assistant runtime for Elysia: browser and phone-call sessions over WebSockets, pluggable speech-to-text (`voice/stt`), text-to-speech (`voice/tts`), and speech-to-speech (`voice/realtime`) vendor adapters, turn detection, barge-in, greetings, reconnect recovery, session stores (`voice/session-store`), traces, evals, and live-monitor surfaces — the orchestration hosted voice platforms keep behind their dashboards, inside your own server.",
|
|
7
|
+
"docsUrl": "https://github.com/absolutejs/voice",
|
|
8
|
+
"name": "@absolutejs/voice",
|
|
9
|
+
"tagline": "Let people talk to your site and get spoken answers."
|
|
10
|
+
},
|
|
11
|
+
"implements": [
|
|
12
|
+
{
|
|
13
|
+
"contract": "voice/session-store",
|
|
14
|
+
"factory": "createVoiceMemoryStore",
|
|
15
|
+
"from": "@absolutejs/voice",
|
|
16
|
+
"title": "In memory (development only — calls are forgotten on restart)",
|
|
17
|
+
"wiring": {
|
|
18
|
+
"code": "createVoiceMemoryStore()",
|
|
19
|
+
"imports": [
|
|
20
|
+
{
|
|
21
|
+
"from": "@absolutejs/voice",
|
|
22
|
+
"names": [
|
|
23
|
+
"createVoiceMemoryStore"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"contract": "voice/session-store",
|
|
31
|
+
"factory": "createVoiceSQLiteSessionStore",
|
|
32
|
+
"from": "@absolutejs/voice",
|
|
33
|
+
"settings": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"required": [
|
|
36
|
+
"path"
|
|
37
|
+
],
|
|
38
|
+
"properties": {
|
|
39
|
+
"path": {
|
|
40
|
+
"description": "Database file on this machine where call sessions are kept. Created if missing.",
|
|
41
|
+
"examples": [
|
|
42
|
+
"./var/voice-sessions.sqlite"
|
|
43
|
+
],
|
|
44
|
+
"title": "Database file",
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"tableName": {
|
|
48
|
+
"description": "Table the sessions are stored in.",
|
|
49
|
+
"title": "Table name",
|
|
50
|
+
"type": "string"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"title": "SQLite file on this machine",
|
|
55
|
+
"wiring": {
|
|
56
|
+
"code": "createVoiceSQLiteSessionStore(${settings})",
|
|
57
|
+
"imports": [
|
|
58
|
+
{
|
|
59
|
+
"from": "@absolutejs/voice",
|
|
60
|
+
"names": [
|
|
61
|
+
"createVoiceSQLiteSessionStore"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"contract": "voice/session-store",
|
|
69
|
+
"factory": "createVoicePostgresSessionStore",
|
|
70
|
+
"from": "@absolutejs/voice",
|
|
71
|
+
"requires": {
|
|
72
|
+
"env": [
|
|
73
|
+
{
|
|
74
|
+
"description": "Postgres connection string (call sessions are stored here)",
|
|
75
|
+
"example": "postgres://user:pass@host/db",
|
|
76
|
+
"key": "DATABASE_URL",
|
|
77
|
+
"secret": true
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"services": [
|
|
81
|
+
{
|
|
82
|
+
"description": "Stores call sessions durably",
|
|
83
|
+
"id": "postgres"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"settings": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"schemaName": {
|
|
91
|
+
"description": "Postgres schema the table lives in.",
|
|
92
|
+
"title": "Schema name",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"tableName": {
|
|
96
|
+
"description": "Table the sessions are stored in.",
|
|
97
|
+
"title": "Table name",
|
|
98
|
+
"type": "string"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"title": "Postgres",
|
|
103
|
+
"wiring": {
|
|
104
|
+
"code": "createVoicePostgresSessionStore({ connectionString: ${env.DATABASE_URL} ?? \"\", ...${settings} })",
|
|
105
|
+
"imports": [
|
|
106
|
+
{
|
|
107
|
+
"from": "@absolutejs/voice",
|
|
108
|
+
"names": [
|
|
109
|
+
"createVoicePostgresSessionStore"
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"contract": "voice/session-store",
|
|
117
|
+
"factory": "createVoiceFileSessionStore",
|
|
118
|
+
"from": "@absolutejs/voice",
|
|
119
|
+
"settings": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"required": [
|
|
122
|
+
"directory"
|
|
123
|
+
],
|
|
124
|
+
"properties": {
|
|
125
|
+
"directory": {
|
|
126
|
+
"description": "Folder on this machine where each call session is kept as a JSON file. Created if missing.",
|
|
127
|
+
"examples": [
|
|
128
|
+
"./var/voice-sessions"
|
|
129
|
+
],
|
|
130
|
+
"title": "Storage folder",
|
|
131
|
+
"type": "string"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"title": "JSON files on this machine",
|
|
136
|
+
"wiring": {
|
|
137
|
+
"code": "createVoiceFileSessionStore(${settings})",
|
|
138
|
+
"imports": [
|
|
139
|
+
{
|
|
140
|
+
"from": "@absolutejs/voice",
|
|
141
|
+
"names": [
|
|
142
|
+
"createVoiceFileSessionStore"
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"requires": {
|
|
150
|
+
"peers": [
|
|
151
|
+
{
|
|
152
|
+
"name": "elysia",
|
|
153
|
+
"range": ">= 1.4.18",
|
|
154
|
+
"reason": "plugin host"
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
"settings": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"backchannelBargeInGuard": {
|
|
162
|
+
"description": "Keep the assistant talking through listening cues like \"mm-hm\" or \"right\" instead of treating them as interruptions.",
|
|
163
|
+
"title": "Ignore listening cues",
|
|
164
|
+
"type": "boolean"
|
|
165
|
+
},
|
|
166
|
+
"greeting": {
|
|
167
|
+
"description": "Spoken by the assistant the moment a call connects, before the caller says anything.",
|
|
168
|
+
"examples": [
|
|
169
|
+
"Hi! How can I help you today?"
|
|
170
|
+
],
|
|
171
|
+
"title": "Opening greeting",
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"normalizeNumbers": {
|
|
175
|
+
"description": "Rewrite spoken numbers to digits in transcripts (\"ten million\" becomes \"10 million\") so downstream systems read them consistently.",
|
|
176
|
+
"title": "Write numbers as digits",
|
|
177
|
+
"type": "boolean"
|
|
178
|
+
},
|
|
179
|
+
"path": {
|
|
180
|
+
"default": "/voice/realtime",
|
|
181
|
+
"description": "The WebSocket route callers connect to.",
|
|
182
|
+
"title": "Call route",
|
|
183
|
+
"type": "string"
|
|
184
|
+
},
|
|
185
|
+
"preset": {
|
|
186
|
+
"description": "Tuned bundle of turn-taking and latency defaults for the kind of calls you take — casual chat, guided intake, dictation, noisy rooms, or phone lines.",
|
|
187
|
+
"title": "Conversation preset",
|
|
188
|
+
"anyOf": [
|
|
189
|
+
{
|
|
190
|
+
"const": "default",
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"const": "chat",
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"const": "guided-intake",
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"const": "dictation",
|
|
203
|
+
"type": "string"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"const": "noisy-room",
|
|
207
|
+
"type": "string"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"const": "pstn-balanced",
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"const": "pstn-fast",
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"const": "reliability",
|
|
219
|
+
"type": "string"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"resumeGreeting": {
|
|
224
|
+
"description": "Spoken when a dropped call reconnects, so the caller knows they are back.",
|
|
225
|
+
"examples": [
|
|
226
|
+
"Sorry, we got cut off — where were we?"
|
|
227
|
+
],
|
|
228
|
+
"title": "Reconnect greeting",
|
|
229
|
+
"type": "string"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"slots": {
|
|
234
|
+
"realtime": {
|
|
235
|
+
"configPath": "realtime",
|
|
236
|
+
"contract": "voice/realtime",
|
|
237
|
+
"description": "One speech-to-speech model that listens and talks in a single stream — an alternative to picking separate speech-to-text and text-to-speech services.",
|
|
238
|
+
"known": [
|
|
239
|
+
"@absolutejs/voice-openai",
|
|
240
|
+
"@absolutejs/voice-gemini"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"session": {
|
|
244
|
+
"configPath": "session",
|
|
245
|
+
"contract": "voice/session-store",
|
|
246
|
+
"description": "Where each call's transcript and state is kept while it runs (and after, for review)",
|
|
247
|
+
"known": [
|
|
248
|
+
"@absolutejs/voice#memory",
|
|
249
|
+
"@absolutejs/voice#sqlite",
|
|
250
|
+
"@absolutejs/voice#postgres",
|
|
251
|
+
"@absolutejs/voice#file"
|
|
252
|
+
],
|
|
253
|
+
"required": true
|
|
254
|
+
},
|
|
255
|
+
"stt": {
|
|
256
|
+
"configPath": "stt",
|
|
257
|
+
"contract": "voice/stt",
|
|
258
|
+
"description": "The service that turns the caller's speech into text. Not needed when a speech-to-speech (realtime) adapter is chosen instead.",
|
|
259
|
+
"known": [
|
|
260
|
+
"@absolutejs/voice-deepgram",
|
|
261
|
+
"@absolutejs/voice-assemblyai",
|
|
262
|
+
"@absolutejs/voice-gladia",
|
|
263
|
+
"@absolutejs/voice-soniox",
|
|
264
|
+
"@absolutejs/voice-speechmatics",
|
|
265
|
+
"@absolutejs/voice-azure",
|
|
266
|
+
"@absolutejs/voice-google-speech",
|
|
267
|
+
"@absolutejs/voice-openai-whisper"
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"tts": {
|
|
271
|
+
"configPath": "tts",
|
|
272
|
+
"contract": "voice/tts",
|
|
273
|
+
"description": "The service that speaks the assistant's replies out loud. Not needed when a speech-to-speech (realtime) adapter is chosen instead.",
|
|
274
|
+
"known": [
|
|
275
|
+
"@absolutejs/voice-elevenlabs",
|
|
276
|
+
"@absolutejs/voice-cartesia",
|
|
277
|
+
"@absolutejs/voice-azure",
|
|
278
|
+
"@absolutejs/voice-lmnt",
|
|
279
|
+
"@absolutejs/voice-playht",
|
|
280
|
+
"@absolutejs/voice-rime",
|
|
281
|
+
"@absolutejs/voice-smallest",
|
|
282
|
+
"@absolutejs/voice-neets"
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"wiring": [
|
|
287
|
+
{
|
|
288
|
+
"description": "Pick a speech-to-text and a text-to-speech service, choose where call sessions are stored, and write the onTurn handler — the assistant's brain.",
|
|
289
|
+
"id": "default",
|
|
290
|
+
"server": {
|
|
291
|
+
"code": "// Every call's transcript and state lives in the session store.\nconst voiceSessions = ${slot.session};\n\n// Mount with .use(voiceAssistant); callers connect over WebSocket at `path`.\nconst voiceAssistant = voice({\n\tonTurn: async (session, turn) => {\n\t\t// TODO: generate the assistant's reply (call your LLM here).\n\t\treturn { assistantText: \"You said: \" + turn.text };\n\t},\n\tsession: voiceSessions,\n\tstt: ${slot.stt},\n\ttts: ${slot.tts},\n\t...${settings}\n});",
|
|
292
|
+
"imports": [
|
|
293
|
+
{
|
|
294
|
+
"from": "@absolutejs/voice",
|
|
295
|
+
"names": [
|
|
296
|
+
"voice"
|
|
297
|
+
]
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"placement": "module-scope"
|
|
301
|
+
},
|
|
302
|
+
"title": "Voice assistant with separate STT + TTS"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"description": "Use one speech-to-speech model (OpenAI Realtime, Gemini Live) that listens and talks in a single stream instead of separate STT and TTS services.",
|
|
306
|
+
"id": "realtime",
|
|
307
|
+
"server": {
|
|
308
|
+
"code": "// Every call's transcript and state lives in the session store.\nconst voiceSessions = ${slot.session};\n\n// Mount with .use(voiceAssistant); callers connect over WebSocket at `path`.\nconst voiceAssistant = voice({\n\tonTurn: async (session, turn) => {\n\t\t// TODO: generate the assistant's reply (call your LLM here).\n\t\treturn { assistantText: \"You said: \" + turn.text };\n\t},\n\trealtime: ${slot.realtime},\n\tsession: voiceSessions,\n\t...${settings}\n});",
|
|
309
|
+
"imports": [
|
|
310
|
+
{
|
|
311
|
+
"from": "@absolutejs/voice",
|
|
312
|
+
"names": [
|
|
313
|
+
"voice"
|
|
314
|
+
]
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"placement": "module-scope"
|
|
318
|
+
},
|
|
319
|
+
"title": "Voice assistant with a speech-to-speech model"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"tools": {
|
|
323
|
+
"delete_session": {
|
|
324
|
+
"annotations": {
|
|
325
|
+
"destructiveHint": true,
|
|
326
|
+
"idempotentHint": true
|
|
327
|
+
},
|
|
328
|
+
"authorization": {
|
|
329
|
+
"approval": "policy",
|
|
330
|
+
"audience": "owner",
|
|
331
|
+
"effects": [
|
|
332
|
+
"delete"
|
|
333
|
+
],
|
|
334
|
+
"idempotency": {
|
|
335
|
+
"mode": "resource"
|
|
336
|
+
},
|
|
337
|
+
"requiredScopes": [
|
|
338
|
+
"voice:sessions:delete"
|
|
339
|
+
],
|
|
340
|
+
"resource": {
|
|
341
|
+
"idField": "id",
|
|
342
|
+
"type": "voice-session"
|
|
343
|
+
},
|
|
344
|
+
"reversible": false
|
|
345
|
+
},
|
|
346
|
+
"description": "Delete one call session (its transcript and state) by id. Deleting an unknown id succeeds.",
|
|
347
|
+
"input": {
|
|
348
|
+
"type": "object",
|
|
349
|
+
"required": [
|
|
350
|
+
"id"
|
|
351
|
+
],
|
|
352
|
+
"properties": {
|
|
353
|
+
"id": {
|
|
354
|
+
"minLength": 1,
|
|
355
|
+
"type": "string"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"kind": "runtime"
|
|
360
|
+
},
|
|
361
|
+
"get_session": {
|
|
362
|
+
"annotations": {
|
|
363
|
+
"readOnlyHint": true
|
|
364
|
+
},
|
|
365
|
+
"authorization": {
|
|
366
|
+
"approval": "never",
|
|
367
|
+
"audience": "owner",
|
|
368
|
+
"effects": [
|
|
369
|
+
"read"
|
|
370
|
+
],
|
|
371
|
+
"requiredScopes": [
|
|
372
|
+
"voice:sessions:read"
|
|
373
|
+
],
|
|
374
|
+
"resource": {
|
|
375
|
+
"idField": "id",
|
|
376
|
+
"type": "voice-session"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"description": "Fetch one call session by id: status, timing, and the committed conversation turns (caller text and assistant reply), most recent last.",
|
|
380
|
+
"input": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"required": [
|
|
383
|
+
"id"
|
|
384
|
+
],
|
|
385
|
+
"properties": {
|
|
386
|
+
"id": {
|
|
387
|
+
"minLength": 1,
|
|
388
|
+
"type": "string"
|
|
389
|
+
},
|
|
390
|
+
"maxTurns": {
|
|
391
|
+
"maximum": 200,
|
|
392
|
+
"minimum": 1,
|
|
393
|
+
"type": "integer"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"kind": "runtime"
|
|
398
|
+
},
|
|
399
|
+
"list_sessions": {
|
|
400
|
+
"annotations": {
|
|
401
|
+
"readOnlyHint": true
|
|
402
|
+
},
|
|
403
|
+
"authorization": {
|
|
404
|
+
"approval": "never",
|
|
405
|
+
"audience": "owner",
|
|
406
|
+
"effects": [
|
|
407
|
+
"read"
|
|
408
|
+
],
|
|
409
|
+
"requiredScopes": [
|
|
410
|
+
"voice:sessions:read"
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
"description": "List call sessions with status, creation time, last activity, and turn count — most recently active first.",
|
|
414
|
+
"input": {
|
|
415
|
+
"type": "object",
|
|
416
|
+
"properties": {
|
|
417
|
+
"limit": {
|
|
418
|
+
"maximum": 200,
|
|
419
|
+
"minimum": 1,
|
|
420
|
+
"type": "integer"
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"kind": "runtime"
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type VoiceAgentSquadStatusWidgetOptions } from "../client/agentSquadStatusWidget";
|
|
2
|
+
export type VoiceAgentSquadStatusProps = VoiceAgentSquadStatusWidgetOptions & {
|
|
3
|
+
path?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function VoiceAgentSquadStatus({ path, ...options }: VoiceAgentSquadStatusProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceCallDebuggerLaunchOptions } from "../client/callDebuggerWidget";
|
|
2
|
+
export type VoiceCallDebuggerLaunchProps = VoiceCallDebuggerLaunchOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceCallDebuggerLaunch: ({ className, path, ...options }: VoiceCallDebuggerLaunchProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type VoiceCallPlayer as VoiceCallPlayerHandle, type VoiceCallPlayerOptions } from "../client/callPlayer";
|
|
2
|
+
import type { Transcript } from "../core/types";
|
|
3
|
+
export type VoiceCallPlayerProps = VoiceCallPlayerOptions & {
|
|
4
|
+
audioUrl?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
onError?: (error: string) => void;
|
|
7
|
+
player?: VoiceCallPlayerHandle;
|
|
8
|
+
title?: string;
|
|
9
|
+
transcripts?: ReadonlyArray<Transcript>;
|
|
10
|
+
};
|
|
11
|
+
export declare const VoiceCallPlayer: ({ audioUrl, className, onError, player: playerProp, recordingStartedAtEpochMs, title, transcripts, }: VoiceCallPlayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type VoiceCostDashboardOptions } from "../client/costDashboard";
|
|
3
|
+
export type VoiceCostDashboardProps = Omit<VoiceCostDashboardOptions, "bucketBy"> & {
|
|
4
|
+
bucketBy?: VoiceCostDashboardOptions["bucketBy"];
|
|
5
|
+
className?: string;
|
|
6
|
+
currency?: string;
|
|
7
|
+
emptyMessage?: ReactNode;
|
|
8
|
+
title?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const VoiceCostDashboard: ({ className, currency, emptyMessage, title, ...options }: VoiceCostDashboardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type VoiceDeliveryRuntimeWidgetOptions } from "../client/deliveryRuntimeWidget";
|
|
2
|
+
export type VoiceDeliveryRuntimeProps = VoiceDeliveryRuntimeWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
includeActions?: boolean;
|
|
5
|
+
path?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const VoiceDeliveryRuntime: ({ className, includeActions, path, ...options }: VoiceDeliveryRuntimeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type LiveAgentConsole } from "../client/liveAgentConsole";
|
|
2
|
+
export type VoiceLiveAgentConsoleProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
console?: LiveAgentConsole;
|
|
5
|
+
onTakeover?: (reason?: string) => void;
|
|
6
|
+
sessionId?: string;
|
|
7
|
+
takeoverButtonLabel?: string;
|
|
8
|
+
takeoverReason?: string;
|
|
9
|
+
title?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const VoiceLiveAgentConsole: ({ className, console: consoleProp, onTakeover, sessionId, takeoverButtonLabel, takeoverReason, title, }: VoiceLiveAgentConsoleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type LiveCallViewer } from "../client/liveCallViewer";
|
|
2
|
+
export type VoiceLiveCallViewerProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
/** Pre-built viewer instance; if omitted, one is created with options.sessionId. */
|
|
5
|
+
sessionId?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
viewer?: LiveCallViewer;
|
|
8
|
+
};
|
|
9
|
+
export declare const VoiceLiveCallViewer: ({ className, sessionId, title, viewer: viewerProp, }: VoiceLiveCallViewerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type VoiceOpsActionCenterWidgetOptions } from "../client/opsActionCenterWidget";
|
|
2
|
+
export type VoiceOpsActionCenterProps = VoiceOpsActionCenterWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const VoiceOpsActionCenter: ({ className, ...options }: VoiceOpsActionCenterProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoicePlatformCoverageWidgetOptions } from "../client/platformCoverageWidget";
|
|
2
|
+
export type VoicePlatformCoverageProps = VoicePlatformCoverageWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoicePlatformCoverage: ({ className, path, ...options }: VoicePlatformCoverageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceProfileComparisonWidgetOptions } from "../client/profileComparisonWidget";
|
|
2
|
+
export type VoiceProfileComparisonProps = VoiceProfileComparisonWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceProfileComparison: ({ className, path, ...options }: VoiceProfileComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { VoiceProfileSwitchRecommendationWidgetOptions } from "../client/profileSwitchRecommendationWidget";
|
|
2
|
+
export type VoiceProfileSwitchRecommendationProps = VoiceProfileSwitchRecommendationWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceProfileSwitchRecommendation: ({ className, path, ...options }: VoiceProfileSwitchRecommendationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceProofTrendsWidgetOptions } from "../client/proofTrendsWidget";
|
|
2
|
+
export type VoiceProofTrendsProps = VoiceProofTrendsWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceProofTrends: ({ className, path, ...options }: VoiceProofTrendsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProviderCapabilitiesWidgetOptions } from
|
|
1
|
+
import { type VoiceProviderCapabilitiesWidgetOptions } from "../client/providerCapabilitiesWidget";
|
|
2
2
|
export type VoiceProviderCapabilitiesProps = VoiceProviderCapabilitiesWidgetOptions & {
|
|
3
3
|
className?: string;
|
|
4
4
|
path?: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceProviderContractsWidgetOptions } from "../client/providerContractsWidget";
|
|
2
|
+
export type VoiceProviderContractsProps = VoiceProviderContractsWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceProviderContracts: ({ className, path, ...options }: VoiceProviderContractsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VoiceProviderSimulationControlsOptions } from
|
|
1
|
+
import type { VoiceProviderSimulationControlsOptions } from "../client/providerSimulationControls";
|
|
2
2
|
export type VoiceProviderSimulationControlsProps<TProvider extends string = string> = VoiceProviderSimulationControlsOptions<TProvider> & {
|
|
3
3
|
className?: string;
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceProviderStatusWidgetOptions } from
|
|
1
|
+
import { type VoiceProviderStatusWidgetOptions } from "../client/providerStatusWidget";
|
|
2
2
|
export type VoiceProviderStatusProps = VoiceProviderStatusWidgetOptions & {
|
|
3
3
|
className?: string;
|
|
4
4
|
path?: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceReadinessFailuresWidgetOptions } from "../client/readinessFailuresWidget";
|
|
2
|
+
export type VoiceReadinessFailuresProps = VoiceReadinessFailuresWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceReadinessFailures: ({ className, path, ...options }: VoiceReadinessFailuresProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceReconnectProfileEvidenceWidgetOptions } from "../client/reconnectProfileEvidenceWidget";
|
|
2
|
+
export type VoiceReconnectProfileEvidenceProps = VoiceReconnectProfileEvidenceWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceReconnectProfileEvidence: ({ className, path, ...options }: VoiceReconnectProfileEvidenceProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ReplayTimelineInput } from "../client/replayTimeline";
|
|
2
|
+
export type VoiceReplayTimelineProps = ReplayTimelineInput & {
|
|
3
|
+
className?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceReplayTimeline: ({ artifact, className, title, }: VoiceReplayTimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceRoutingStatusWidgetOptions } from
|
|
1
|
+
import { type VoiceRoutingStatusWidgetOptions } from "../client/routingStatusWidget";
|
|
2
2
|
export type VoiceRoutingStatusProps = VoiceRoutingStatusWidgetOptions & {
|
|
3
3
|
className?: string;
|
|
4
4
|
path?: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceSessionObservabilityWidgetOptions } from "../client/sessionObservabilityWidget";
|
|
2
|
+
export type VoiceSessionObservabilityProps = VoiceSessionObservabilityWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceSessionObservability: ({ className, path, ...options }: VoiceSessionObservabilityProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceSessionSnapshotWidgetOptions } from "../client/sessionSnapshotWidget";
|
|
2
|
+
export type VoiceSessionSnapshotProps = VoiceSessionSnapshotWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceSessionSnapshot: ({ className, path, ...options }: VoiceSessionSnapshotProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceTraceTimelineWidgetOptions } from "../client/traceTimelineWidget";
|
|
2
|
+
export type VoiceTraceTimelineProps = VoiceTraceTimelineWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceTraceTimeline: ({ className, path, ...options }: VoiceTraceTimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VoiceTurnLatencyWidgetOptions } from "../client/turnLatencyWidget";
|
|
2
|
+
export type VoiceTurnLatencyProps = VoiceTurnLatencyWidgetOptions & {
|
|
3
|
+
className?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const VoiceTurnLatency: ({ className, path, ...options }: VoiceTurnLatencyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VoiceTurnQualityWidgetOptions } from
|
|
1
|
+
import { type VoiceTurnQualityWidgetOptions } from "../client/turnQualityWidget";
|
|
2
2
|
export type VoiceTurnQualityProps = VoiceTurnQualityWidgetOptions & {
|
|
3
3
|
className?: string;
|
|
4
4
|
path?: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { VoiceControllerOptions } from "../core/types";
|
|
2
|
+
import { type VoiceWidgetLabels, type VoiceWidgetTheme, type VoiceWidgetViewModel } from "../client/voiceWidgetView";
|
|
3
|
+
export type { VoiceWidgetLabels, VoiceWidgetTheme, VoiceWidgetViewModel };
|
|
4
|
+
export type VoiceWidgetProps = {
|
|
5
|
+
className?: string;
|
|
6
|
+
controllerOptions?: VoiceControllerOptions;
|
|
7
|
+
labels?: VoiceWidgetLabels;
|
|
8
|
+
onError?: (error: string) => void;
|
|
9
|
+
path?: string;
|
|
10
|
+
theme?: VoiceWidgetTheme;
|
|
11
|
+
title?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const VoiceWidget: ({ className, controllerOptions, labels, onError, path, theme, title, }: VoiceWidgetProps) => import("react/jsx-runtime").JSX.Element;
|