@agimon-ai/doompi-voice 0.0.1-alpha.73 → 0.0.1-alpha.76
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/README.md +11 -15
- package/package.json +28 -25
- package/src/types/clientMedia.ts +22 -9
- package/dist/_virtual/_rolldown/runtime.cjs +0 -1
- package/dist/_virtual/_rolldown/runtime.mjs +0 -1
- package/dist/api-contracts.cjs +0 -1
- package/dist/api-contracts.mjs +0 -1
- package/dist/apiContracts.d.cts +0 -2
- package/dist/apiContracts.d.mts +0 -2
- package/dist/clientMedia.cjs +0 -1
- package/dist/clientMedia.d.cts +0 -3
- package/dist/clientMedia.d.mts +0 -3
- package/dist/clientMedia.mjs +0 -1
- package/dist/extensions/pi.cjs +0 -2
- package/dist/extensions/pi.cjs.map +0 -1
- package/dist/extensions/pi.d.cts +0 -6
- package/dist/extensions/pi.d.cts.map +0 -1
- package/dist/extensions/pi.d.mts +0 -6
- package/dist/extensions/pi.d.mts.map +0 -1
- package/dist/extensions/pi.mjs +0 -2
- package/dist/extensions/pi.mjs.map +0 -1
- package/dist/extensions/server.cjs +0 -2
- package/dist/extensions/server.cjs.map +0 -1
- package/dist/extensions/server.d.cts +0 -5
- package/dist/extensions/server.d.cts.map +0 -1
- package/dist/extensions/server.d.mts +0 -5
- package/dist/extensions/server.d.mts.map +0 -1
- package/dist/extensions/server.mjs +0 -2
- package/dist/extensions/server.mjs.map +0 -1
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +0 -23
- package/dist/index.d.mts +0 -23
- package/dist/index.mjs +0 -1
- package/dist/src/constants/voice.cjs +0 -2
- package/dist/src/constants/voice.cjs.map +0 -1
- package/dist/src/constants/voice.mjs +0 -2
- package/dist/src/constants/voice.mjs.map +0 -1
- package/dist/src/constants/voiceRuntime.cjs +0 -2
- package/dist/src/constants/voiceRuntime.cjs.map +0 -1
- package/dist/src/constants/voiceRuntime.mjs +0 -2
- package/dist/src/constants/voiceRuntime.mjs.map +0 -1
- package/dist/src/controllers/clientMediaApi.cjs +0 -2
- package/dist/src/controllers/clientMediaApi.cjs.map +0 -1
- package/dist/src/controllers/clientMediaApi.mjs +0 -2
- package/dist/src/controllers/clientMediaApi.mjs.map +0 -1
- package/dist/src/controllers/liveVoiceController.cjs +0 -4
- package/dist/src/controllers/liveVoiceController.cjs.map +0 -1
- package/dist/src/controllers/liveVoiceController.mjs +0 -4
- package/dist/src/controllers/liveVoiceController.mjs.map +0 -1
- package/dist/src/controllers/manualTranscriptionApi.cjs +0 -2
- package/dist/src/controllers/manualTranscriptionApi.cjs.map +0 -1
- package/dist/src/controllers/manualTranscriptionApi.mjs +0 -2
- package/dist/src/controllers/manualTranscriptionApi.mjs.map +0 -1
- package/dist/src/controllers/minorModeCatalog.cjs +0 -2
- package/dist/src/controllers/minorModeCatalog.cjs.map +0 -1
- package/dist/src/controllers/minorModeCatalog.mjs +0 -2
- package/dist/src/controllers/minorModeCatalog.mjs.map +0 -1
- package/dist/src/controllers/narrationTool.cjs +0 -2
- package/dist/src/controllers/narrationTool.cjs.map +0 -1
- package/dist/src/controllers/narrationTool.d.cts +0 -7
- package/dist/src/controllers/narrationTool.d.mts +0 -7
- package/dist/src/controllers/narrationTool.mjs +0 -2
- package/dist/src/controllers/narrationTool.mjs.map +0 -1
- package/dist/src/controllers/realtimeContext.cjs +0 -2
- package/dist/src/controllers/realtimeContext.cjs.map +0 -1
- package/dist/src/controllers/realtimeContext.mjs +0 -2
- package/dist/src/controllers/realtimeContext.mjs.map +0 -1
- package/dist/src/controllers/realtimeDelivery.cjs +0 -2
- package/dist/src/controllers/realtimeDelivery.cjs.map +0 -1
- package/dist/src/controllers/realtimeDelivery.mjs +0 -2
- package/dist/src/controllers/realtimeDelivery.mjs.map +0 -1
- package/dist/src/controllers/transferVoiceTool.cjs +0 -3
- package/dist/src/controllers/transferVoiceTool.cjs.map +0 -1
- package/dist/src/controllers/transferVoiceTool.mjs +0 -3
- package/dist/src/controllers/transferVoiceTool.mjs.map +0 -1
- package/dist/src/controllers/voice.cjs +0 -2
- package/dist/src/controllers/voice.cjs.map +0 -1
- package/dist/src/controllers/voice.d.cts +0 -109
- package/dist/src/controllers/voice.d.cts.map +0 -1
- package/dist/src/controllers/voice.d.mts +0 -109
- package/dist/src/controllers/voice.d.mts.map +0 -1
- package/dist/src/controllers/voice.mjs +0 -2
- package/dist/src/controllers/voice.mjs.map +0 -1
- package/dist/src/controllers/voiceClientSettingsApi.cjs +0 -2
- package/dist/src/controllers/voiceClientSettingsApi.cjs.map +0 -1
- package/dist/src/controllers/voiceClientSettingsApi.mjs +0 -2
- package/dist/src/controllers/voiceClientSettingsApi.mjs.map +0 -1
- package/dist/src/controllers/voiceCommandContext.cjs +0 -2
- package/dist/src/controllers/voiceCommandContext.cjs.map +0 -1
- package/dist/src/controllers/voiceCommandContext.mjs +0 -2
- package/dist/src/controllers/voiceCommandContext.mjs.map +0 -1
- package/dist/src/controllers/voiceConfig.cjs +0 -2
- package/dist/src/controllers/voiceConfig.cjs.map +0 -1
- package/dist/src/controllers/voiceConfig.mjs +0 -2
- package/dist/src/controllers/voiceConfig.mjs.map +0 -1
- package/dist/src/controllers/voiceMediaHubChannel.cjs +0 -2
- package/dist/src/controllers/voiceMediaHubChannel.cjs.map +0 -1
- package/dist/src/controllers/voiceMediaHubChannel.mjs +0 -2
- package/dist/src/controllers/voiceMediaHubChannel.mjs.map +0 -1
- package/dist/src/controllers/voiceModeController.cjs +0 -2
- package/dist/src/controllers/voiceModeController.cjs.map +0 -1
- package/dist/src/controllers/voiceModeController.mjs +0 -2
- package/dist/src/controllers/voiceModeController.mjs.map +0 -1
- package/dist/src/controllers/voicePlugin.cjs +0 -2
- package/dist/src/controllers/voicePlugin.cjs.map +0 -1
- package/dist/src/controllers/voicePlugin.mjs +0 -2
- package/dist/src/controllers/voicePlugin.mjs.map +0 -1
- package/dist/src/controllers/voiceServer.cjs +0 -2
- package/dist/src/controllers/voiceServer.cjs.map +0 -1
- package/dist/src/controllers/voiceServer.mjs +0 -2
- package/dist/src/controllers/voiceServer.mjs.map +0 -1
- package/dist/src/controllers/voiceSessionApi.cjs +0 -2
- package/dist/src/controllers/voiceSessionApi.cjs.map +0 -1
- package/dist/src/controllers/voiceSessionApi.mjs +0 -2
- package/dist/src/controllers/voiceSessionApi.mjs.map +0 -1
- package/dist/src/controllers/voiceToolRender.cjs +0 -2
- package/dist/src/controllers/voiceToolRender.cjs.map +0 -1
- package/dist/src/controllers/voiceToolRender.mjs +0 -2
- package/dist/src/controllers/voiceToolRender.mjs.map +0 -1
- package/dist/src/controllers/voiceTools.cjs +0 -2
- package/dist/src/controllers/voiceTools.cjs.map +0 -1
- package/dist/src/controllers/voiceTools.d.cts +0 -3
- package/dist/src/controllers/voiceTools.d.mts +0 -3
- package/dist/src/controllers/voiceTools.mjs +0 -2
- package/dist/src/controllers/voiceTools.mjs.map +0 -1
- package/dist/src/models/autonomousVoiceMachine.cjs +0 -2
- package/dist/src/models/autonomousVoiceMachine.cjs.map +0 -1
- package/dist/src/models/autonomousVoiceMachine.d.cts +0 -2
- package/dist/src/models/autonomousVoiceMachine.d.mts +0 -2
- package/dist/src/models/autonomousVoiceMachine.mjs +0 -2
- package/dist/src/models/autonomousVoiceMachine.mjs.map +0 -1
- package/dist/src/models/autonomousVoiceUi.cjs +0 -2
- package/dist/src/models/autonomousVoiceUi.cjs.map +0 -1
- package/dist/src/models/autonomousVoiceUi.mjs +0 -2
- package/dist/src/models/autonomousVoiceUi.mjs.map +0 -1
- package/dist/src/models/narrationBargeIn.cjs +0 -2
- package/dist/src/models/narrationBargeIn.cjs.map +0 -1
- package/dist/src/models/narrationBargeIn.d.cts +0 -15
- package/dist/src/models/narrationBargeIn.d.cts.map +0 -1
- package/dist/src/models/narrationBargeIn.d.mts +0 -15
- package/dist/src/models/narrationBargeIn.d.mts.map +0 -1
- package/dist/src/models/narrationBargeIn.mjs +0 -2
- package/dist/src/models/narrationBargeIn.mjs.map +0 -1
- package/dist/src/models/voiceActivity.cjs +0 -2
- package/dist/src/models/voiceActivity.cjs.map +0 -1
- package/dist/src/models/voiceActivity.d.cts +0 -26
- package/dist/src/models/voiceActivity.d.cts.map +0 -1
- package/dist/src/models/voiceActivity.d.mts +0 -26
- package/dist/src/models/voiceActivity.d.mts.map +0 -1
- package/dist/src/models/voiceActivity.mjs +0 -2
- package/dist/src/models/voiceActivity.mjs.map +0 -1
- package/dist/src/models/voiceMode.cjs +0 -2
- package/dist/src/models/voiceMode.cjs.map +0 -1
- package/dist/src/models/voiceMode.d.cts +0 -10
- package/dist/src/models/voiceMode.d.cts.map +0 -1
- package/dist/src/models/voiceMode.d.mts +0 -10
- package/dist/src/models/voiceMode.d.mts.map +0 -1
- package/dist/src/models/voiceMode.mjs +0 -2
- package/dist/src/models/voiceMode.mjs.map +0 -1
- package/dist/src/schemas/apiContracts.cjs +0 -2
- package/dist/src/schemas/apiContracts.cjs.map +0 -1
- package/dist/src/schemas/apiContracts.d.cts +0 -53
- package/dist/src/schemas/apiContracts.d.cts.map +0 -1
- package/dist/src/schemas/apiContracts.d.mts +0 -53
- package/dist/src/schemas/apiContracts.d.mts.map +0 -1
- package/dist/src/schemas/apiContracts.mjs +0 -2
- package/dist/src/schemas/apiContracts.mjs.map +0 -1
- package/dist/src/schemas/voiceControl.cjs +0 -2
- package/dist/src/schemas/voiceControl.cjs.map +0 -1
- package/dist/src/schemas/voiceControl.mjs +0 -2
- package/dist/src/schemas/voiceControl.mjs.map +0 -1
- package/dist/src/services/autonomousEndpoint/index.cjs +0 -2
- package/dist/src/services/autonomousEndpoint/index.cjs.map +0 -1
- package/dist/src/services/autonomousEndpoint/index.mjs +0 -2
- package/dist/src/services/autonomousEndpoint/index.mjs.map +0 -1
- package/dist/src/services/autonomousTurn/index.cjs +0 -2
- package/dist/src/services/autonomousTurn/index.cjs.map +0 -1
- package/dist/src/services/autonomousTurn/index.d.cts +0 -6
- package/dist/src/services/autonomousTurn/index.d.cts.map +0 -1
- package/dist/src/services/autonomousTurn/index.d.mts +0 -6
- package/dist/src/services/autonomousTurn/index.d.mts.map +0 -1
- package/dist/src/services/autonomousTurn/index.mjs +0 -2
- package/dist/src/services/autonomousTurn/index.mjs.map +0 -1
- package/dist/src/services/autonomousVoiceSession/index.cjs +0 -2
- package/dist/src/services/autonomousVoiceSession/index.cjs.map +0 -1
- package/dist/src/services/autonomousVoiceSession/index.mjs +0 -2
- package/dist/src/services/autonomousVoiceSession/index.mjs.map +0 -1
- package/dist/src/services/autonomousVoiceTelemetry/index.cjs +0 -2
- package/dist/src/services/autonomousVoiceTelemetry/index.cjs.map +0 -1
- package/dist/src/services/autonomousVoiceTelemetry/index.d.cts +0 -8
- package/dist/src/services/autonomousVoiceTelemetry/index.d.cts.map +0 -1
- package/dist/src/services/autonomousVoiceTelemetry/index.d.mts +0 -8
- package/dist/src/services/autonomousVoiceTelemetry/index.d.mts.map +0 -1
- package/dist/src/services/autonomousVoiceTelemetry/index.mjs +0 -2
- package/dist/src/services/autonomousVoiceTelemetry/index.mjs.map +0 -1
- package/dist/src/services/captureSession/index.cjs +0 -2
- package/dist/src/services/captureSession/index.cjs.map +0 -1
- package/dist/src/services/captureSession/index.mjs +0 -2
- package/dist/src/services/captureSession/index.mjs.map +0 -1
- package/dist/src/services/catalog/index.cjs +0 -2
- package/dist/src/services/catalog/index.cjs.map +0 -1
- package/dist/src/services/catalog/index.mjs +0 -2
- package/dist/src/services/catalog/index.mjs.map +0 -1
- package/dist/src/services/clientMedia/index.cjs +0 -2
- package/dist/src/services/clientMedia/index.cjs.map +0 -1
- package/dist/src/services/clientMedia/index.d.cts +0 -24
- package/dist/src/services/clientMedia/index.d.cts.map +0 -1
- package/dist/src/services/clientMedia/index.d.mts +0 -24
- package/dist/src/services/clientMedia/index.d.mts.map +0 -1
- package/dist/src/services/clientMedia/index.mjs +0 -2
- package/dist/src/services/clientMedia/index.mjs.map +0 -1
- package/dist/src/services/codexAuth/index.cjs +0 -2
- package/dist/src/services/codexAuth/index.cjs.map +0 -1
- package/dist/src/services/codexAuth/index.mjs +0 -2
- package/dist/src/services/codexAuth/index.mjs.map +0 -1
- package/dist/src/services/codexAuthStorage/index.cjs +0 -2
- package/dist/src/services/codexAuthStorage/index.cjs.map +0 -1
- package/dist/src/services/codexAuthStorage/index.mjs +0 -2
- package/dist/src/services/codexAuthStorage/index.mjs.map +0 -1
- package/dist/src/services/codexLogin/index.cjs +0 -2
- package/dist/src/services/codexLogin/index.cjs.map +0 -1
- package/dist/src/services/codexLogin/index.mjs +0 -2
- package/dist/src/services/codexLogin/index.mjs.map +0 -1
- package/dist/src/services/codexRealtime/index.cjs +0 -2
- package/dist/src/services/codexRealtime/index.cjs.map +0 -1
- package/dist/src/services/codexRealtime/index.mjs +0 -2
- package/dist/src/services/codexRealtime/index.mjs.map +0 -1
- package/dist/src/services/commandCorrection/index.cjs +0 -7
- package/dist/src/services/commandCorrection/index.cjs.map +0 -1
- package/dist/src/services/commandCorrection/index.d.cts +0 -23
- package/dist/src/services/commandCorrection/index.d.cts.map +0 -1
- package/dist/src/services/commandCorrection/index.d.mts +0 -23
- package/dist/src/services/commandCorrection/index.d.mts.map +0 -1
- package/dist/src/services/commandCorrection/index.mjs +0 -7
- package/dist/src/services/commandCorrection/index.mjs.map +0 -1
- package/dist/src/services/commandCorrection/type.d.cts +0 -25
- package/dist/src/services/commandCorrection/type.d.cts.map +0 -1
- package/dist/src/services/commandCorrection/type.d.mts +0 -25
- package/dist/src/services/commandCorrection/type.d.mts.map +0 -1
- package/dist/src/services/controlPhraseMatcher/index.cjs +0 -2
- package/dist/src/services/controlPhraseMatcher/index.cjs.map +0 -1
- package/dist/src/services/controlPhraseMatcher/index.mjs +0 -2
- package/dist/src/services/controlPhraseMatcher/index.mjs.map +0 -1
- package/dist/src/services/download/index.cjs +0 -2
- package/dist/src/services/download/index.cjs.map +0 -1
- package/dist/src/services/download/index.mjs +0 -2
- package/dist/src/services/download/index.mjs.map +0 -1
- package/dist/src/services/encodedAudio/index.cjs +0 -2
- package/dist/src/services/encodedAudio/index.cjs.map +0 -1
- package/dist/src/services/encodedAudio/index.mjs +0 -2
- package/dist/src/services/encodedAudio/index.mjs.map +0 -1
- package/dist/src/services/fallbackNarration/index.cjs +0 -11
- package/dist/src/services/fallbackNarration/index.cjs.map +0 -1
- package/dist/src/services/fallbackNarration/index.d.cts +0 -14
- package/dist/src/services/fallbackNarration/index.d.cts.map +0 -1
- package/dist/src/services/fallbackNarration/index.d.mts +0 -14
- package/dist/src/services/fallbackNarration/index.d.mts.map +0 -1
- package/dist/src/services/fallbackNarration/index.mjs +0 -11
- package/dist/src/services/fallbackNarration/index.mjs.map +0 -1
- package/dist/src/services/fallbackNarration/type.d.cts +0 -29
- package/dist/src/services/fallbackNarration/type.d.cts.map +0 -1
- package/dist/src/services/fallbackNarration/type.d.mts +0 -29
- package/dist/src/services/fallbackNarration/type.d.mts.map +0 -1
- package/dist/src/services/fileTurnSpool/index.cjs +0 -2
- package/dist/src/services/fileTurnSpool/index.cjs.map +0 -1
- package/dist/src/services/fileTurnSpool/index.mjs +0 -2
- package/dist/src/services/fileTurnSpool/index.mjs.map +0 -1
- package/dist/src/services/infrastructure/index.cjs +0 -3
- package/dist/src/services/infrastructure/index.cjs.map +0 -1
- package/dist/src/services/infrastructure/index.d.cts +0 -64
- package/dist/src/services/infrastructure/index.d.cts.map +0 -1
- package/dist/src/services/infrastructure/index.d.mts +0 -64
- package/dist/src/services/infrastructure/index.d.mts.map +0 -1
- package/dist/src/services/infrastructure/index.mjs +0 -3
- package/dist/src/services/infrastructure/index.mjs.map +0 -1
- package/dist/src/services/install/index.cjs +0 -2
- package/dist/src/services/install/index.cjs.map +0 -1
- package/dist/src/services/install/index.mjs +0 -2
- package/dist/src/services/install/index.mjs.map +0 -1
- package/dist/src/services/manualTranscription/index.cjs +0 -2
- package/dist/src/services/manualTranscription/index.cjs.map +0 -1
- package/dist/src/services/manualTranscription/index.mjs +0 -2
- package/dist/src/services/manualTranscription/index.mjs.map +0 -1
- package/dist/src/services/manualTranscriptionConfig/index.cjs +0 -2
- package/dist/src/services/manualTranscriptionConfig/index.cjs.map +0 -1
- package/dist/src/services/manualTranscriptionConfig/index.mjs +0 -2
- package/dist/src/services/manualTranscriptionConfig/index.mjs.map +0 -1
- package/dist/src/services/narration/index.cjs +0 -2
- package/dist/src/services/narration/index.cjs.map +0 -1
- package/dist/src/services/narration/index.d.cts +0 -56
- package/dist/src/services/narration/index.d.cts.map +0 -1
- package/dist/src/services/narration/index.d.mts +0 -56
- package/dist/src/services/narration/index.d.mts.map +0 -1
- package/dist/src/services/narration/index.mjs +0 -2
- package/dist/src/services/narration/index.mjs.map +0 -1
- package/dist/src/services/narrationBargeIn/index.cjs +0 -2
- package/dist/src/services/narrationBargeIn/index.cjs.map +0 -1
- package/dist/src/services/narrationBargeIn/index.mjs +0 -2
- package/dist/src/services/narrationBargeIn/index.mjs.map +0 -1
- package/dist/src/services/narrationPlayback/index.cjs +0 -2
- package/dist/src/services/narrationPlayback/index.cjs.map +0 -1
- package/dist/src/services/narrationPlayback/index.d.cts +0 -55
- package/dist/src/services/narrationPlayback/index.d.cts.map +0 -1
- package/dist/src/services/narrationPlayback/index.d.mts +0 -55
- package/dist/src/services/narrationPlayback/index.d.mts.map +0 -1
- package/dist/src/services/narrationPlayback/index.mjs +0 -2
- package/dist/src/services/narrationPlayback/index.mjs.map +0 -1
- package/dist/src/services/pcm/index.cjs +0 -2
- package/dist/src/services/pcm/index.cjs.map +0 -1
- package/dist/src/services/pcm/index.d.cts +0 -15
- package/dist/src/services/pcm/index.d.cts.map +0 -1
- package/dist/src/services/pcm/index.d.mts +0 -15
- package/dist/src/services/pcm/index.d.mts.map +0 -1
- package/dist/src/services/pcm/index.mjs +0 -2
- package/dist/src/services/pcm/index.mjs.map +0 -1
- package/dist/src/services/playbackGate/index.cjs +0 -2
- package/dist/src/services/playbackGate/index.cjs.map +0 -1
- package/dist/src/services/playbackGate/index.mjs +0 -2
- package/dist/src/services/playbackGate/index.mjs.map +0 -1
- package/dist/src/services/realtimeHost/index.cjs +0 -2
- package/dist/src/services/realtimeHost/index.cjs.map +0 -1
- package/dist/src/services/realtimeHost/index.d.cts +0 -11
- package/dist/src/services/realtimeHost/index.d.cts.map +0 -1
- package/dist/src/services/realtimeHost/index.d.mts +0 -11
- package/dist/src/services/realtimeHost/index.d.mts.map +0 -1
- package/dist/src/services/realtimeHost/index.mjs +0 -2
- package/dist/src/services/realtimeHost/index.mjs.map +0 -1
- package/dist/src/services/realtimeMediaBroker/index.cjs +0 -2
- package/dist/src/services/realtimeMediaBroker/index.cjs.map +0 -1
- package/dist/src/services/realtimeMediaBroker/index.mjs +0 -2
- package/dist/src/services/realtimeMediaBroker/index.mjs.map +0 -1
- package/dist/src/services/realtimeProtocol/index.cjs +0 -2
- package/dist/src/services/realtimeProtocol/index.cjs.map +0 -1
- package/dist/src/services/realtimeProtocol/index.mjs +0 -2
- package/dist/src/services/realtimeProtocol/index.mjs.map +0 -1
- package/dist/src/services/realtimeRuntime/index.cjs +0 -2
- package/dist/src/services/realtimeRuntime/index.cjs.map +0 -1
- package/dist/src/services/realtimeRuntime/index.d.cts +0 -8
- package/dist/src/services/realtimeRuntime/index.d.cts.map +0 -1
- package/dist/src/services/realtimeRuntime/index.d.mts +0 -8
- package/dist/src/services/realtimeRuntime/index.d.mts.map +0 -1
- package/dist/src/services/realtimeRuntime/index.mjs +0 -2
- package/dist/src/services/realtimeRuntime/index.mjs.map +0 -1
- package/dist/src/services/realtimeSession/index.cjs +0 -2
- package/dist/src/services/realtimeSession/index.cjs.map +0 -1
- package/dist/src/services/realtimeSession/index.mjs +0 -2
- package/dist/src/services/realtimeSession/index.mjs.map +0 -1
- package/dist/src/services/semanticEcho/index.cjs +0 -2
- package/dist/src/services/semanticEcho/index.cjs.map +0 -1
- package/dist/src/services/semanticEcho/index.d.cts +0 -42
- package/dist/src/services/semanticEcho/index.d.cts.map +0 -1
- package/dist/src/services/semanticEcho/index.d.mts +0 -42
- package/dist/src/services/semanticEcho/index.d.mts.map +0 -1
- package/dist/src/services/semanticEcho/index.mjs +0 -2
- package/dist/src/services/semanticEcho/index.mjs.map +0 -1
- package/dist/src/services/semanticEcho/type.d.cts +0 -52
- package/dist/src/services/semanticEcho/type.d.cts.map +0 -1
- package/dist/src/services/semanticEcho/type.d.mts +0 -52
- package/dist/src/services/semanticEcho/type.d.mts.map +0 -1
- package/dist/src/services/sessionVoiceOwnership/index.cjs +0 -2
- package/dist/src/services/sessionVoiceOwnership/index.cjs.map +0 -1
- package/dist/src/services/sessionVoiceOwnership/index.d.cts +0 -8
- package/dist/src/services/sessionVoiceOwnership/index.d.cts.map +0 -1
- package/dist/src/services/sessionVoiceOwnership/index.d.mts +0 -8
- package/dist/src/services/sessionVoiceOwnership/index.d.mts.map +0 -1
- package/dist/src/services/sessionVoiceOwnership/index.mjs +0 -2
- package/dist/src/services/sessionVoiceOwnership/index.mjs.map +0 -1
- package/dist/src/services/silero/index.cjs +0 -2
- package/dist/src/services/silero/index.cjs.map +0 -1
- package/dist/src/services/silero/index.mjs +0 -2
- package/dist/src/services/silero/index.mjs.map +0 -1
- package/dist/src/services/transcriptAdmission/index.cjs +0 -7
- package/dist/src/services/transcriptAdmission/index.cjs.map +0 -1
- package/dist/src/services/transcriptAdmission/index.d.cts +0 -3
- package/dist/src/services/transcriptAdmission/index.d.mts +0 -3
- package/dist/src/services/transcriptAdmission/index.mjs +0 -7
- package/dist/src/services/transcriptAdmission/index.mjs.map +0 -1
- package/dist/src/services/transcriptAdmission/type.d.cts +0 -44
- package/dist/src/services/transcriptAdmission/type.d.cts.map +0 -1
- package/dist/src/services/transcriptAdmission/type.d.mts +0 -44
- package/dist/src/services/transcriptAdmission/type.d.mts.map +0 -1
- package/dist/src/services/transcriptPolicy/index.cjs +0 -2
- package/dist/src/services/transcriptPolicy/index.cjs.map +0 -1
- package/dist/src/services/transcriptPolicy/index.mjs +0 -2
- package/dist/src/services/transcriptPolicy/index.mjs.map +0 -1
- package/dist/src/services/transcriptionCoordinator/index.cjs +0 -2
- package/dist/src/services/transcriptionCoordinator/index.cjs.map +0 -1
- package/dist/src/services/transcriptionCoordinator/index.mjs +0 -2
- package/dist/src/services/transcriptionCoordinator/index.mjs.map +0 -1
- package/dist/src/services/turnTranscriber/index.cjs +0 -2
- package/dist/src/services/turnTranscriber/index.cjs.map +0 -1
- package/dist/src/services/turnTranscriber/index.mjs +0 -2
- package/dist/src/services/turnTranscriber/index.mjs.map +0 -1
- package/dist/src/services/utterance/index.cjs +0 -2
- package/dist/src/services/utterance/index.cjs.map +0 -1
- package/dist/src/services/utterance/index.d.cts +0 -44
- package/dist/src/services/utterance/index.d.cts.map +0 -1
- package/dist/src/services/utterance/index.d.mts +0 -44
- package/dist/src/services/utterance/index.d.mts.map +0 -1
- package/dist/src/services/utterance/index.mjs +0 -2
- package/dist/src/services/utterance/index.mjs.map +0 -1
- package/dist/src/services/vad/index.cjs +0 -2
- package/dist/src/services/vad/index.cjs.map +0 -1
- package/dist/src/services/vad/index.d.cts +0 -87
- package/dist/src/services/vad/index.d.cts.map +0 -1
- package/dist/src/services/vad/index.d.mts +0 -87
- package/dist/src/services/vad/index.d.mts.map +0 -1
- package/dist/src/services/vad/index.mjs +0 -2
- package/dist/src/services/vad/index.mjs.map +0 -1
- package/dist/src/services/voiceClientSettings/index.cjs +0 -2
- package/dist/src/services/voiceClientSettings/index.cjs.map +0 -1
- package/dist/src/services/voiceClientSettings/index.mjs +0 -2
- package/dist/src/services/voiceClientSettings/index.mjs.map +0 -1
- package/dist/src/services/voiceConfig/index.cjs +0 -2
- package/dist/src/services/voiceConfig/index.cjs.map +0 -1
- package/dist/src/services/voiceConfig/index.d.cts +0 -7
- package/dist/src/services/voiceConfig/index.d.cts.map +0 -1
- package/dist/src/services/voiceConfig/index.d.mts +0 -7
- package/dist/src/services/voiceConfig/index.d.mts.map +0 -1
- package/dist/src/services/voiceConfig/index.mjs +0 -2
- package/dist/src/services/voiceConfig/index.mjs.map +0 -1
- package/dist/src/services/voiceDelivery/index.cjs +0 -2
- package/dist/src/services/voiceDelivery/index.cjs.map +0 -1
- package/dist/src/services/voiceDelivery/index.d.cts +0 -5
- package/dist/src/services/voiceDelivery/index.d.cts.map +0 -1
- package/dist/src/services/voiceDelivery/index.d.mts +0 -5
- package/dist/src/services/voiceDelivery/index.d.mts.map +0 -1
- package/dist/src/services/voiceDelivery/index.mjs +0 -2
- package/dist/src/services/voiceDelivery/index.mjs.map +0 -1
- package/dist/src/services/voiceDependencies/index.cjs +0 -2
- package/dist/src/services/voiceDependencies/index.cjs.map +0 -1
- package/dist/src/services/voiceDependencies/index.d.cts +0 -5
- package/dist/src/services/voiceDependencies/index.d.cts.map +0 -1
- package/dist/src/services/voiceDependencies/index.d.mts +0 -5
- package/dist/src/services/voiceDependencies/index.d.mts.map +0 -1
- package/dist/src/services/voiceDependencies/index.mjs +0 -2
- package/dist/src/services/voiceDependencies/index.mjs.map +0 -1
- package/dist/src/services/voiceOwnershipCoordinator/index.cjs +0 -2
- package/dist/src/services/voiceOwnershipCoordinator/index.cjs.map +0 -1
- package/dist/src/services/voiceOwnershipCoordinator/index.mjs +0 -2
- package/dist/src/services/voiceOwnershipCoordinator/index.mjs.map +0 -1
- package/dist/src/services/voicePrompt/index.cjs +0 -2
- package/dist/src/services/voicePrompt/index.cjs.map +0 -1
- package/dist/src/services/voicePrompt/index.mjs +0 -2
- package/dist/src/services/voicePrompt/index.mjs.map +0 -1
- package/dist/src/services/voiceReadiness/index.cjs +0 -2
- package/dist/src/services/voiceReadiness/index.cjs.map +0 -1
- package/dist/src/services/voiceReadiness/index.mjs +0 -2
- package/dist/src/services/voiceReadiness/index.mjs.map +0 -1
- package/dist/src/services/voiceSessionController/index.cjs +0 -2
- package/dist/src/services/voiceSessionController/index.cjs.map +0 -1
- package/dist/src/services/voiceSessionController/index.d.cts +0 -33
- package/dist/src/services/voiceSessionController/index.d.cts.map +0 -1
- package/dist/src/services/voiceSessionController/index.d.mts +0 -33
- package/dist/src/services/voiceSessionController/index.d.mts.map +0 -1
- package/dist/src/services/voiceSessionController/index.mjs +0 -2
- package/dist/src/services/voiceSessionController/index.mjs.map +0 -1
- package/dist/src/services/voiceToolPrompt/index.cjs +0 -5
- package/dist/src/services/voiceToolPrompt/index.cjs.map +0 -1
- package/dist/src/services/voiceToolPrompt/index.mjs +0 -5
- package/dist/src/services/voiceToolPrompt/index.mjs.map +0 -1
- package/dist/src/services/voiceTools/index.cjs +0 -2
- package/dist/src/services/voiceTools/index.cjs.map +0 -1
- package/dist/src/services/voiceTools/index.d.cts +0 -7
- package/dist/src/services/voiceTools/index.d.cts.map +0 -1
- package/dist/src/services/voiceTools/index.d.mts +0 -7
- package/dist/src/services/voiceTools/index.d.mts.map +0 -1
- package/dist/src/services/voiceTools/index.mjs +0 -2
- package/dist/src/services/voiceTools/index.mjs.map +0 -1
- package/dist/src/services/voiceWorkerAutoCaptureController/index.cjs +0 -2
- package/dist/src/services/voiceWorkerAutoCaptureController/index.cjs.map +0 -1
- package/dist/src/services/voiceWorkerAutoCaptureController/index.d.cts +0 -72
- package/dist/src/services/voiceWorkerAutoCaptureController/index.d.cts.map +0 -1
- package/dist/src/services/voiceWorkerAutoCaptureController/index.d.mts +0 -72
- package/dist/src/services/voiceWorkerAutoCaptureController/index.d.mts.map +0 -1
- package/dist/src/services/voiceWorkerAutoCaptureController/index.mjs +0 -2
- package/dist/src/services/voiceWorkerAutoCaptureController/index.mjs.map +0 -1
- package/dist/src/services/voiceWorkerClient/index.cjs +0 -2
- package/dist/src/services/voiceWorkerClient/index.cjs.map +0 -1
- package/dist/src/services/voiceWorkerClient/index.d.cts +0 -28
- package/dist/src/services/voiceWorkerClient/index.d.cts.map +0 -1
- package/dist/src/services/voiceWorkerClient/index.d.mts +0 -28
- package/dist/src/services/voiceWorkerClient/index.d.mts.map +0 -1
- package/dist/src/services/voiceWorkerClient/index.mjs +0 -2
- package/dist/src/services/voiceWorkerClient/index.mjs.map +0 -1
- package/dist/src/services/voiceWorkerMedia/index.cjs +0 -2
- package/dist/src/services/voiceWorkerMedia/index.cjs.map +0 -1
- package/dist/src/services/voiceWorkerMedia/index.mjs +0 -2
- package/dist/src/services/voiceWorkerMedia/index.mjs.map +0 -1
- package/dist/src/services/voiceWorkerPipeline/index.cjs +0 -2
- package/dist/src/services/voiceWorkerPipeline/index.cjs.map +0 -1
- package/dist/src/services/voiceWorkerPipeline/index.mjs +0 -2
- package/dist/src/services/voiceWorkerPipeline/index.mjs.map +0 -1
- package/dist/src/services/voiceWorkerProtocol/index.cjs +0 -2
- package/dist/src/services/voiceWorkerProtocol/index.cjs.map +0 -1
- package/dist/src/services/voiceWorkerProtocol/index.d.cts +0 -149
- package/dist/src/services/voiceWorkerProtocol/index.d.cts.map +0 -1
- package/dist/src/services/voiceWorkerProtocol/index.d.mts +0 -149
- package/dist/src/services/voiceWorkerProtocol/index.d.mts.map +0 -1
- package/dist/src/services/voiceWorkerProtocol/index.mjs +0 -2
- package/dist/src/services/voiceWorkerProtocol/index.mjs.map +0 -1
- package/dist/src/services/voiceWorkerSessionController/index.cjs +0 -2
- package/dist/src/services/voiceWorkerSessionController/index.cjs.map +0 -1
- package/dist/src/services/voiceWorkerSessionController/index.d.cts +0 -21
- package/dist/src/services/voiceWorkerSessionController/index.d.cts.map +0 -1
- package/dist/src/services/voiceWorkerSessionController/index.d.mts +0 -21
- package/dist/src/services/voiceWorkerSessionController/index.d.mts.map +0 -1
- package/dist/src/services/voiceWorkerSessionController/index.mjs +0 -2
- package/dist/src/services/voiceWorkerSessionController/index.mjs.map +0 -1
- package/dist/src/services/voiceWorkerSupervisor/index.cjs +0 -2
- package/dist/src/services/voiceWorkerSupervisor/index.cjs.map +0 -1
- package/dist/src/services/voiceWorkerSupervisor/index.d.cts +0 -12
- package/dist/src/services/voiceWorkerSupervisor/index.d.cts.map +0 -1
- package/dist/src/services/voiceWorkerSupervisor/index.d.mts +0 -12
- package/dist/src/services/voiceWorkerSupervisor/index.d.mts.map +0 -1
- package/dist/src/services/voiceWorkerSupervisor/index.mjs +0 -2
- package/dist/src/services/voiceWorkerSupervisor/index.mjs.map +0 -1
- package/dist/src/services/whisper/index.cjs +0 -2
- package/dist/src/services/whisper/index.cjs.map +0 -1
- package/dist/src/services/whisper/index.d.cts +0 -34
- package/dist/src/services/whisper/index.d.cts.map +0 -1
- package/dist/src/services/whisper/index.d.mts +0 -34
- package/dist/src/services/whisper/index.d.mts.map +0 -1
- package/dist/src/services/whisper/index.mjs +0 -2
- package/dist/src/services/whisper/index.mjs.map +0 -1
- package/dist/src/types/clientCaptureActivity.cjs +0 -2
- package/dist/src/types/clientCaptureActivity.cjs.map +0 -1
- package/dist/src/types/clientCaptureActivity.d.cts +0 -38
- package/dist/src/types/clientCaptureActivity.d.cts.map +0 -1
- package/dist/src/types/clientCaptureActivity.d.mts +0 -38
- package/dist/src/types/clientCaptureActivity.d.mts.map +0 -1
- package/dist/src/types/clientCaptureActivity.mjs +0 -2
- package/dist/src/types/clientCaptureActivity.mjs.map +0 -1
- package/dist/src/types/clientMedia.cjs +0 -2
- package/dist/src/types/clientMedia.cjs.map +0 -1
- package/dist/src/types/clientMedia.d.cts +0 -164
- package/dist/src/types/clientMedia.d.cts.map +0 -1
- package/dist/src/types/clientMedia.d.mts +0 -164
- package/dist/src/types/clientMedia.d.mts.map +0 -1
- package/dist/src/types/clientMedia.mjs +0 -2
- package/dist/src/types/clientMedia.mjs.map +0 -1
- package/dist/src/types/index.d.cts +0 -210
- package/dist/src/types/index.d.cts.map +0 -1
- package/dist/src/types/index.d.mts +0 -210
- package/dist/src/types/index.d.mts.map +0 -1
- package/dist/src/types/manualTranscription.cjs +0 -2
- package/dist/src/types/manualTranscription.cjs.map +0 -1
- package/dist/src/types/manualTranscription.mjs +0 -2
- package/dist/src/types/manualTranscription.mjs.map +0 -1
- package/dist/src/types/realtime.cjs +0 -2
- package/dist/src/types/realtime.cjs.map +0 -1
- package/dist/src/types/realtime.d.cts +0 -61
- package/dist/src/types/realtime.d.cts.map +0 -1
- package/dist/src/types/realtime.d.mts +0 -61
- package/dist/src/types/realtime.d.mts.map +0 -1
- package/dist/src/types/realtime.mjs +0 -2
- package/dist/src/types/realtime.mjs.map +0 -1
- package/dist/src/types/voiceOwnership.cjs +0 -2
- package/dist/src/types/voiceOwnership.cjs.map +0 -1
- package/dist/src/types/voiceOwnership.d.cts +0 -48
- package/dist/src/types/voiceOwnership.d.cts.map +0 -1
- package/dist/src/types/voiceOwnership.d.mts +0 -48
- package/dist/src/types/voiceOwnership.d.mts.map +0 -1
- package/dist/src/types/voiceOwnership.mjs +0 -2
- package/dist/src/types/voiceOwnership.mjs.map +0 -1
- package/dist/voiceReloadHandoff.cjs +0 -1
- package/dist/voiceReloadHandoff.d.cts +0 -1
- package/dist/voiceReloadHandoff.d.mts +0 -1
- package/dist/voiceReloadHandoff.mjs +0 -1
- package/dist/voiceTools.cjs +0 -1
- package/dist/voiceTools.d.cts +0 -3
- package/dist/voiceTools.d.mts +0 -3
- package/dist/voiceTools.mjs +0 -1
- package/dist/voiceWorker.cjs +0 -2
- package/dist/voiceWorker.cjs.map +0 -1
- package/dist/voiceWorker.d.cts +0 -25
- package/dist/voiceWorker.d.cts.map +0 -1
- package/dist/voiceWorker.d.mts +0 -25
- package/dist/voiceWorker.d.mts.map +0 -1
- package/dist/voiceWorker.mjs +0 -2
- package/dist/voiceWorker.mjs.map +0 -1
- package/src/extensions/web.ts +0 -75
- package/src/web/api/browserMediaDevice.ts +0 -621
- package/src/web/api/browserRealtimeSession.ts +0 -442
- package/src/web/api/manualBrowserRecorder.ts +0 -276
- package/src/web/api/manualComposerRecorder.ts +0 -128
- package/src/web/api/manualTranscriptionClient.ts +0 -60
- package/src/web/api/sileroVadWorker.ts +0 -61
- package/src/web/api/voiceMediaClient.ts +0 -550
- package/src/web/components/VoiceActivitySection.tsx +0 -172
- package/src/web/components/VoiceComposerAction.tsx +0 -164
- package/src/web/components/VoiceMediaRuntime.tsx +0 -157
- package/src/web/components/VoiceToolMessage.tsx +0 -60
- package/src/web/lib/browserCaptureWorklet.js +0 -13
- package/src/web/lib/browserMediaIdentity.ts +0 -16
- package/src/web/lib/browserNarrationEchoDiscriminator.ts +0 -380
- package/src/web/lib/browserSpeechPresenceDetector.ts +0 -111
- package/src/web/lib/sileroVadFrames.ts +0 -54
- package/src/web/lib/voiceActivityView.ts +0 -193
- package/src/web/lib/voiceSettings.ts +0 -72
- package/src/web/lib/voiceToolRender.ts +0 -335
- package/src/web/models/silero_vad_v6.2.1.onnx +0 -0
- package/src/web/stores/clientMediaTransport.ts +0 -403
- package/src/web/stores/voiceMediaWakeStore.ts +0 -145
- package/src/web/stores/voiceMicrophoneStore.ts +0 -140
- package/src/web/tsconfig.json +0 -23
- package/src/web/viteAssets.d.ts +0 -9
- /package/src/{web → extensions/workspaces/sessions/(frontend)/lifecycle/_lib}/models/README.md +0 -0
- /package/src/{web → extensions/workspaces/sessions/(frontend)/lifecycle/_lib}/models/SILERO-LICENSE +0 -0
package/README.md
CHANGED
|
@@ -7,23 +7,19 @@ config API, including file hashes, atomic saves, numeric values, and scope valid
|
|
|
7
7
|
remain global settings. Browser input selection is separate from the host ffmpeg
|
|
8
8
|
`voice.recorder.device` option.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
The composer Voice button records on whatever input the browser is already using; there is no
|
|
11
|
+
device picker. Autonomous voice asks which input to open only when the browser reports more than
|
|
12
|
+
one, and remembers the answer in that browser's local storage until the set of inputs changes.
|
|
13
|
+
Dismissing that dialog uses the browser's own default input. Each tab keeps its own media
|
|
14
|
+
connection lease. Manual dictation appends to the draft until Send.
|
|
15
15
|
|
|
16
16
|
Voice owns these authenticated server endpoints:
|
|
17
17
|
|
|
18
|
-
| Mount | Endpoint
|
|
19
|
-
| --------------------------------------- |
|
|
20
|
-
| `/api/plugins/voice` | `GET /readiness`
|
|
21
|
-
|
|
|
22
|
-
| same | `
|
|
23
|
-
| same | `PUT /clients/:clientId` | Save `{deviceId}`; null clears selection |
|
|
24
|
-
| same | `DELETE /clients/:clientId` | Clear the saved selection |
|
|
25
|
-
| `/api/sessions/:sessionId/plugin/voice` | `GET /status` | Read lifecycle and media readiness |
|
|
26
|
-
| same | `POST /control` | Send `{action, target?}` |
|
|
18
|
+
| Mount | Endpoint | Purpose |
|
|
19
|
+
| --------------------------------------- | ---------------- | -------------------------------------------------------- |
|
|
20
|
+
| `/api/plugins/voice` | `GET /readiness` | Check configuration and local transcription dependencies |
|
|
21
|
+
| `/api/sessions/:sessionId/plugin/voice` | `GET /status` | Read lifecycle and media readiness |
|
|
22
|
+
| same | `POST /control` | Send `{action, target?}` |
|
|
27
23
|
|
|
28
24
|
Control actions are `status`, `manual`, `activate`, `deactivate`, `mute`, `unmute`, `interrupt`,
|
|
29
25
|
and `transfer` (with a target catalog order). The typed session method `voice.control` uses the
|
|
@@ -164,7 +160,7 @@ reload that switch already performs.
|
|
|
164
160
|
Autonomous voice can also change profile. The `profile` capability on the voice tool facade lists
|
|
165
161
|
the configured personas and queues a switch, which reloads the session with the new persona, its
|
|
166
162
|
voice, and its avatar. See
|
|
167
|
-
[@agimon-ai/doompi-profile](../../
|
|
163
|
+
[@agimon-ai/doompi-profile](../../foundations/doompi-profile/README.md) for authoring personas.
|
|
168
164
|
|
|
169
165
|
When the agent is launched by `doompi-server`, capture and narration use the connected media client.
|
|
170
166
|
The protocol is capability-driven rather than browser-specific. A client can own microphone capture,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/doompi-voice",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.76",
|
|
4
4
|
"description": "Client audio capture, host transcription, and autonomous narration for Pi agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -27,8 +27,6 @@
|
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"dist",
|
|
30
|
-
"src/web",
|
|
31
|
-
"src/extensions/web.ts",
|
|
32
30
|
"llms.txt",
|
|
33
31
|
"src/prompts",
|
|
34
32
|
"src/types/clientMedia.ts",
|
|
@@ -36,12 +34,13 @@
|
|
|
36
34
|
"src/types/clientCaptureActivity.ts",
|
|
37
35
|
"src/types/manualTranscription.ts",
|
|
38
36
|
"src/types/realtime.ts",
|
|
37
|
+
"src/extensions/workspaces/sessions/(frontend)/lifecycle/_lib/models/SILERO-LICENSE",
|
|
38
|
+
"src/extensions/workspaces/sessions/(frontend)/lifecycle/_lib/models/README.md",
|
|
39
39
|
"licenses",
|
|
40
40
|
"NOTICE",
|
|
41
41
|
"README.md",
|
|
42
42
|
"LICENSE",
|
|
43
|
-
"package.json"
|
|
44
|
-
"!src/web/**/*.stories.tsx"
|
|
43
|
+
"package.json"
|
|
45
44
|
],
|
|
46
45
|
"type": "module",
|
|
47
46
|
"main": "./dist/index.cjs",
|
|
@@ -53,6 +52,11 @@
|
|
|
53
52
|
"import": "./dist/index.mjs",
|
|
54
53
|
"require": "./dist/index.cjs"
|
|
55
54
|
},
|
|
55
|
+
"./client-media": {
|
|
56
|
+
"types": "./dist/clientMedia.d.mts",
|
|
57
|
+
"import": "./dist/clientMedia.mjs",
|
|
58
|
+
"require": "./dist/clientMedia.cjs"
|
|
59
|
+
},
|
|
56
60
|
"./extensions/pi": {
|
|
57
61
|
"types": "./dist/extensions/pi.d.mts",
|
|
58
62
|
"import": "./dist/extensions/pi.mjs",
|
|
@@ -63,35 +67,33 @@
|
|
|
63
67
|
"import": "./dist/extensions/server.mjs",
|
|
64
68
|
"require": "./dist/extensions/server.cjs"
|
|
65
69
|
},
|
|
66
|
-
"./
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
"./extensions/web": {
|
|
71
|
+
"import": "./dist/extensions/web.mjs"
|
|
72
|
+
},
|
|
73
|
+
"./voice-reload-handoff": {
|
|
74
|
+
"types": "./dist/voiceReloadHandoff.d.mts",
|
|
75
|
+
"import": "./dist/voiceReloadHandoff.mjs",
|
|
76
|
+
"require": "./dist/voiceReloadHandoff.cjs"
|
|
70
77
|
},
|
|
71
|
-
"./package.json": "./package.json",
|
|
72
78
|
"./voice-tools": {
|
|
73
79
|
"types": "./dist/voiceTools.d.mts",
|
|
74
80
|
"import": "./dist/voiceTools.mjs",
|
|
75
81
|
"require": "./dist/voiceTools.cjs"
|
|
76
82
|
},
|
|
77
|
-
"./
|
|
78
|
-
"types": "./dist/voiceReloadHandoff.d.mts",
|
|
79
|
-
"import": "./dist/voiceReloadHandoff.mjs",
|
|
80
|
-
"require": "./dist/voiceReloadHandoff.cjs"
|
|
81
|
-
}
|
|
83
|
+
"./package.json": "./package.json"
|
|
82
84
|
},
|
|
83
85
|
"publishConfig": {
|
|
84
86
|
"access": "public",
|
|
85
87
|
"registry": "https://registry.npmjs.org/"
|
|
86
88
|
},
|
|
87
89
|
"dependencies": {
|
|
88
|
-
"@agimon-ai/doompi-config": "0.0.1-alpha.
|
|
89
|
-
"@agimon-ai/doompi-core": "0.0.1-alpha.
|
|
90
|
-
"@agimon-ai/doompi-minor-mode": "0.0.1-alpha.
|
|
91
|
-
"@agimon-ai/doompi-telemetry": "0.0.1-alpha.
|
|
92
|
-
"@agimon-ai/doompi-ui": "0.0.1-alpha.
|
|
93
|
-
"@agimon-ai/doompi-web-components": "0.0.1-alpha.
|
|
94
|
-
"@agimon-ai/doompi-web-security": "0.0.1-alpha.
|
|
90
|
+
"@agimon-ai/doompi-config": "0.0.1-alpha.74",
|
|
91
|
+
"@agimon-ai/doompi-core": "0.0.1-alpha.75",
|
|
92
|
+
"@agimon-ai/doompi-minor-mode": "0.0.1-alpha.75",
|
|
93
|
+
"@agimon-ai/doompi-telemetry": "0.0.1-alpha.72",
|
|
94
|
+
"@agimon-ai/doompi-ui": "0.0.1-alpha.75",
|
|
95
|
+
"@agimon-ai/doompi-web-components": "0.0.1-alpha.33",
|
|
96
|
+
"@agimon-ai/doompi-web-security": "0.0.1-alpha.35",
|
|
95
97
|
"@deepseek-ai/cordis": "4.0.2",
|
|
96
98
|
"onnxruntime-web": "1.29.0",
|
|
97
99
|
"sherpa-onnx-node": "1.13.8",
|
|
@@ -99,6 +101,7 @@
|
|
|
99
101
|
"xstate": "5.32.6"
|
|
100
102
|
},
|
|
101
103
|
"devDependencies": {
|
|
104
|
+
"@agimon-ai/doompi-build": "0.0.1-alpha.4",
|
|
102
105
|
"@earendil-works/pi-coding-agent": "0.85.1",
|
|
103
106
|
"@tanstack/react-store": "0.11.1",
|
|
104
107
|
"@tanstack/store": "0.11.1",
|
|
@@ -118,7 +121,7 @@
|
|
|
118
121
|
"node": ">=22.19.0"
|
|
119
122
|
},
|
|
120
123
|
"doompiServer": {
|
|
121
|
-
"entry": "./
|
|
124
|
+
"entry": "./generated/server.ts",
|
|
122
125
|
"dist": "./dist/extensions/server.mjs",
|
|
123
126
|
"scopes": [
|
|
124
127
|
"global",
|
|
@@ -136,7 +139,7 @@
|
|
|
136
139
|
"voice_media_wake",
|
|
137
140
|
"voice_ownership"
|
|
138
141
|
],
|
|
139
|
-
"client": "./
|
|
142
|
+
"client": "./dist/extensions/web.mjs",
|
|
140
143
|
"scopes": [
|
|
141
144
|
"global",
|
|
142
145
|
"workspace",
|
|
@@ -151,7 +154,7 @@
|
|
|
151
154
|
"scripts": {
|
|
152
155
|
"build": "tsdown",
|
|
153
156
|
"test": "vitest --run",
|
|
154
|
-
"typecheck": "tsc --noEmit && tsc --noEmit -p
|
|
157
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.web.json",
|
|
155
158
|
"lint": "oxlint . && oxfmt . --check",
|
|
156
159
|
"fixcode": "oxlint . --fix && oxfmt ."
|
|
157
160
|
}
|
package/src/types/clientMedia.ts
CHANGED
|
@@ -199,15 +199,28 @@ export function voiceMediaClientUrl(sessionId: string, route: string, params: Re
|
|
|
199
199
|
return `${sessionApiPath(sessionId)}/plugins/${VOICE_MEDIA_API_BASE_PATH}${route}?${search.toString()}`;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
/** What one capture opens. No `deviceId` means the input the browser is already on. */
|
|
202
203
|
export interface VoiceMicrophoneConstraints {
|
|
203
|
-
audio:
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
autoGainControl: boolean;
|
|
211
|
-
};
|
|
204
|
+
audio: {
|
|
205
|
+
deviceId?: { exact: string };
|
|
206
|
+
channelCount: number;
|
|
207
|
+
echoCancellation: boolean;
|
|
208
|
+
noiseSuppression: boolean;
|
|
209
|
+
autoGainControl: boolean;
|
|
210
|
+
};
|
|
212
211
|
video: false;
|
|
213
212
|
}
|
|
213
|
+
|
|
214
|
+
/** The input the browser is already on, with the processing every capture path expects. */
|
|
215
|
+
export const CLIENT_DEFAULT_MICROPHONE: VoiceMicrophoneConstraints = {
|
|
216
|
+
audio: { channelCount: 1, echoCancellation: true, noiseSuppression: true, autoGainControl: true },
|
|
217
|
+
video: false,
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
/** The same processing, pinned to one input. */
|
|
221
|
+
export function exactMicrophone(deviceId: string): VoiceMicrophoneConstraints {
|
|
222
|
+
return {
|
|
223
|
+
...CLIENT_DEFAULT_MICROPHONE,
|
|
224
|
+
audio: { ...CLIENT_DEFAULT_MICROPHONE.audio, deviceId: { exact: deviceId } },
|
|
225
|
+
};
|
|
226
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(e,t,n)=>(s(e,t,`default`),n&&s(n,t,`default`)),l=(n,r,o)=>(o=n==null?{}:e(i(n)),s(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));exports.__exportAll=o,exports.__reExport=c,exports.__toESM=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"node:module";var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},a=(i,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(var c=n(a),l=0,u=c.length,d;l<u;l++)d=c[l],!r.call(i,d)&&d!==o&&e(i,d,{get:(e=>a[e]).bind(null,d),enumerable:!(s=t(a,d))||s.enumerable});return i},o=(e,t,n)=>(a(e,t,`default`),n&&a(n,t,`default`));export{i as __exportAll,o as __reExport};
|
package/dist/api-contracts.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./src/schemas/apiContracts.cjs");exports.apiContracts=e.apiContracts,exports.default=e.apiContracts;
|
package/dist/api-contracts.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{apiContracts as e}from"./src/schemas/apiContracts.mjs";export{e as apiContracts,e as default};
|
package/dist/apiContracts.d.cts
DELETED
package/dist/apiContracts.d.mts
DELETED
package/dist/clientMedia.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./src/types/clientMedia.cjs"),t=require("./src/types/clientCaptureActivity.cjs");exports.ClientCaptureActivityLifecycle=t.ClientCaptureActivityLifecycle,exports.VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER=e.VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER,exports.VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER=e.VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER,exports.VOICE_MEDIA_ACTIVITY_EPOCH_HEADER=e.VOICE_MEDIA_ACTIVITY_EPOCH_HEADER,exports.VOICE_MEDIA_ACTIVITY_LEVEL_HEADER=e.VOICE_MEDIA_ACTIVITY_LEVEL_HEADER,exports.VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER=e.VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER,exports.VOICE_MEDIA_ACTIVITY_STATE_HEADER=e.VOICE_MEDIA_ACTIVITY_STATE_HEADER,exports.VOICE_MEDIA_API_BASE_PATH=e.VOICE_MEDIA_API_BASE_PATH,exports.VOICE_MEDIA_BITS_PER_SAMPLE=e.VOICE_MEDIA_BITS_PER_SAMPLE,exports.VOICE_MEDIA_CHANNELS=e.VOICE_MEDIA_CHANNELS,exports.VOICE_MEDIA_CONTENT_TYPE=e.VOICE_MEDIA_CONTENT_TYPE,exports.VOICE_MEDIA_EVENT_WAIT_NONE=e.VOICE_MEDIA_EVENT_WAIT_NONE,exports.VOICE_MEDIA_HEARTBEAT_MS=e.VOICE_MEDIA_HEARTBEAT_MS,exports.VOICE_MEDIA_PLAYBACK_STATE_HEADER=e.VOICE_MEDIA_PLAYBACK_STATE_HEADER,exports.VOICE_MEDIA_PROTOCOL_VERSION=e.VOICE_MEDIA_PROTOCOL_VERSION,exports.VOICE_MEDIA_ROUTES=e.VOICE_MEDIA_ROUTES,exports.VOICE_MEDIA_SAMPLE_RATE=e.VOICE_MEDIA_SAMPLE_RATE,exports.VOICE_MEDIA_WAKE_TYPE=e.VOICE_MEDIA_WAKE_TYPE,exports.calculateClientPcmDbfs=t.calculateClientPcmDbfs,exports.voiceMediaClientUrl=e.voiceMediaClientUrl;
|
package/dist/clientMedia.d.cts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER, VOICE_MEDIA_ACTIVITY_EPOCH_HEADER, VOICE_MEDIA_ACTIVITY_LEVEL_HEADER, VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_STATE_HEADER, VOICE_MEDIA_API_BASE_PATH, VOICE_MEDIA_BITS_PER_SAMPLE, VOICE_MEDIA_CHANNELS, VOICE_MEDIA_CONTENT_TYPE, VOICE_MEDIA_EVENT_WAIT_NONE, VOICE_MEDIA_HEARTBEAT_MS, VOICE_MEDIA_PLAYBACK_STATE_HEADER, VOICE_MEDIA_PROTOCOL_VERSION, VOICE_MEDIA_ROUTES, VOICE_MEDIA_SAMPLE_RATE, VOICE_MEDIA_WAKE_TYPE, VoiceClientKind, VoiceMediaCapabilities, VoiceMediaCapture, VoiceMediaCaptureActivity, VoiceMediaCaptureActivityState, VoiceMediaCaptureConfiguration, VoiceMediaCaptureMode, VoiceMediaCaptureSpeechAnalysis, VoiceMediaClientEvent, VoiceMediaConnectRequest, VoiceMediaConnectResult, VoiceMediaControlLocation, VoiceMediaDevice, VoiceMediaHeartbeatResult, VoiceMediaPlayback, VoiceMediaPlaybackDelivery, VoiceMediaPlaybackOutcome, VoiceMediaPlaybackResult, VoiceMediaTransport, VoiceMediaWake, voiceMediaClientUrl } from "./src/types/clientMedia.cjs";
|
|
2
|
-
import { ClientCaptureActivityLifecycle, ClientCaptureSpeechClassification, SpeechPresenceDetector, SpeechPresenceWindow, calculateClientPcmDbfs } from "./src/types/clientCaptureActivity.cjs";
|
|
3
|
-
export { ClientCaptureActivityLifecycle, type ClientCaptureSpeechClassification, type SpeechPresenceDetector, type SpeechPresenceWindow, VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER, VOICE_MEDIA_ACTIVITY_EPOCH_HEADER, VOICE_MEDIA_ACTIVITY_LEVEL_HEADER, VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_STATE_HEADER, VOICE_MEDIA_API_BASE_PATH, VOICE_MEDIA_BITS_PER_SAMPLE, VOICE_MEDIA_CHANNELS, VOICE_MEDIA_CONTENT_TYPE, VOICE_MEDIA_EVENT_WAIT_NONE, VOICE_MEDIA_HEARTBEAT_MS, VOICE_MEDIA_PLAYBACK_STATE_HEADER, VOICE_MEDIA_PROTOCOL_VERSION, VOICE_MEDIA_ROUTES, VOICE_MEDIA_SAMPLE_RATE, VOICE_MEDIA_WAKE_TYPE, type VoiceClientKind, type VoiceMediaCapabilities, type VoiceMediaCapture, type VoiceMediaCaptureActivity, type VoiceMediaCaptureActivityState, type VoiceMediaCaptureConfiguration, type VoiceMediaCaptureMode, type VoiceMediaCaptureSpeechAnalysis, type VoiceMediaClientEvent, type VoiceMediaConnectRequest, type VoiceMediaConnectResult, type VoiceMediaControlLocation, type VoiceMediaDevice, type VoiceMediaHeartbeatResult, type VoiceMediaPlayback, type VoiceMediaPlaybackDelivery, type VoiceMediaPlaybackOutcome, type VoiceMediaPlaybackResult, type VoiceMediaTransport, type VoiceMediaWake, calculateClientPcmDbfs, voiceMediaClientUrl };
|
package/dist/clientMedia.d.mts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER, VOICE_MEDIA_ACTIVITY_EPOCH_HEADER, VOICE_MEDIA_ACTIVITY_LEVEL_HEADER, VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_STATE_HEADER, VOICE_MEDIA_API_BASE_PATH, VOICE_MEDIA_BITS_PER_SAMPLE, VOICE_MEDIA_CHANNELS, VOICE_MEDIA_CONTENT_TYPE, VOICE_MEDIA_EVENT_WAIT_NONE, VOICE_MEDIA_HEARTBEAT_MS, VOICE_MEDIA_PLAYBACK_STATE_HEADER, VOICE_MEDIA_PROTOCOL_VERSION, VOICE_MEDIA_ROUTES, VOICE_MEDIA_SAMPLE_RATE, VOICE_MEDIA_WAKE_TYPE, VoiceClientKind, VoiceMediaCapabilities, VoiceMediaCapture, VoiceMediaCaptureActivity, VoiceMediaCaptureActivityState, VoiceMediaCaptureConfiguration, VoiceMediaCaptureMode, VoiceMediaCaptureSpeechAnalysis, VoiceMediaClientEvent, VoiceMediaConnectRequest, VoiceMediaConnectResult, VoiceMediaControlLocation, VoiceMediaDevice, VoiceMediaHeartbeatResult, VoiceMediaPlayback, VoiceMediaPlaybackDelivery, VoiceMediaPlaybackOutcome, VoiceMediaPlaybackResult, VoiceMediaTransport, VoiceMediaWake, voiceMediaClientUrl } from "./src/types/clientMedia.mjs";
|
|
2
|
-
import { ClientCaptureActivityLifecycle, ClientCaptureSpeechClassification, SpeechPresenceDetector, SpeechPresenceWindow, calculateClientPcmDbfs } from "./src/types/clientCaptureActivity.mjs";
|
|
3
|
-
export { ClientCaptureActivityLifecycle, type ClientCaptureSpeechClassification, type SpeechPresenceDetector, type SpeechPresenceWindow, VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER, VOICE_MEDIA_ACTIVITY_EPOCH_HEADER, VOICE_MEDIA_ACTIVITY_LEVEL_HEADER, VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_STATE_HEADER, VOICE_MEDIA_API_BASE_PATH, VOICE_MEDIA_BITS_PER_SAMPLE, VOICE_MEDIA_CHANNELS, VOICE_MEDIA_CONTENT_TYPE, VOICE_MEDIA_EVENT_WAIT_NONE, VOICE_MEDIA_HEARTBEAT_MS, VOICE_MEDIA_PLAYBACK_STATE_HEADER, VOICE_MEDIA_PROTOCOL_VERSION, VOICE_MEDIA_ROUTES, VOICE_MEDIA_SAMPLE_RATE, VOICE_MEDIA_WAKE_TYPE, type VoiceClientKind, type VoiceMediaCapabilities, type VoiceMediaCapture, type VoiceMediaCaptureActivity, type VoiceMediaCaptureActivityState, type VoiceMediaCaptureConfiguration, type VoiceMediaCaptureMode, type VoiceMediaCaptureSpeechAnalysis, type VoiceMediaClientEvent, type VoiceMediaConnectRequest, type VoiceMediaConnectResult, type VoiceMediaControlLocation, type VoiceMediaDevice, type VoiceMediaHeartbeatResult, type VoiceMediaPlayback, type VoiceMediaPlaybackDelivery, type VoiceMediaPlaybackOutcome, type VoiceMediaPlaybackResult, type VoiceMediaTransport, type VoiceMediaWake, calculateClientPcmDbfs, voiceMediaClientUrl };
|
package/dist/clientMedia.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER as e,VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER as t,VOICE_MEDIA_ACTIVITY_EPOCH_HEADER as n,VOICE_MEDIA_ACTIVITY_LEVEL_HEADER as r,VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER as i,VOICE_MEDIA_ACTIVITY_STATE_HEADER as a,VOICE_MEDIA_API_BASE_PATH as o,VOICE_MEDIA_BITS_PER_SAMPLE as s,VOICE_MEDIA_CHANNELS as c,VOICE_MEDIA_CONTENT_TYPE as l,VOICE_MEDIA_EVENT_WAIT_NONE as u,VOICE_MEDIA_HEARTBEAT_MS as d,VOICE_MEDIA_PLAYBACK_STATE_HEADER as f,VOICE_MEDIA_PROTOCOL_VERSION as p,VOICE_MEDIA_ROUTES as m,VOICE_MEDIA_SAMPLE_RATE as h,VOICE_MEDIA_WAKE_TYPE as g,voiceMediaClientUrl as _}from"./src/types/clientMedia.mjs";import{ClientCaptureActivityLifecycle as v,calculateClientPcmDbfs as y}from"./src/types/clientCaptureActivity.mjs";export{v as ClientCaptureActivityLifecycle,e as VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER,t as VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER,n as VOICE_MEDIA_ACTIVITY_EPOCH_HEADER,r as VOICE_MEDIA_ACTIVITY_LEVEL_HEADER,i as VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER,a as VOICE_MEDIA_ACTIVITY_STATE_HEADER,o as VOICE_MEDIA_API_BASE_PATH,s as VOICE_MEDIA_BITS_PER_SAMPLE,c as VOICE_MEDIA_CHANNELS,l as VOICE_MEDIA_CONTENT_TYPE,u as VOICE_MEDIA_EVENT_WAIT_NONE,d as VOICE_MEDIA_HEARTBEAT_MS,f as VOICE_MEDIA_PLAYBACK_STATE_HEADER,p as VOICE_MEDIA_PROTOCOL_VERSION,m as VOICE_MEDIA_ROUTES,h as VOICE_MEDIA_SAMPLE_RATE,g as VOICE_MEDIA_WAKE_TYPE,y as calculateClientPcmDbfs,_ as voiceMediaClientUrl};
|
package/dist/extensions/pi.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../src/controllers/voicePlugin.cjs"),t=(0,require("@agimon-ai/doompi-core/pi-extension").definePiExtension)(`@agimon-ai/doompi-voice`,({context:t,pi:n,options:r})=>({...e.createVoicePiRuntime(t,n,r??{}),resources:[{source:`@agimon-ai/doompi-voice`,moduleUrl:require("url").pathToFileURL(__filename).href,skills:[{name:`doompi-use-voice`,description:`Use Doom Pi Voice for manual transcription, autonomous capture, narration, configuration, and recovery on macOS.`}]}]}));exports.default=t,exports.voicePiExtension=t;
|
|
2
|
-
//# sourceMappingURL=pi.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pi.cjs","names":["definePiExtension","createVoicePiRuntime"],"sources":["../../src/extensions/pi.ts"],"sourcesContent":["import { definePiExtension } from '@agimon-ai/doompi-core/pi-extension';\n\nimport type { VoiceExtensionOptions } from '../controllers/voice';\nimport { createVoicePiRuntime } from '../controllers/voicePlugin';\nexport const voicePiExtension = definePiExtension<VoiceExtensionOptions>(\n '@agimon-ai/doompi-voice',\n ({ context, pi, options }) => ({\n ...createVoicePiRuntime(context, pi, options ?? {}),\n resources: [\n {\n source: '@agimon-ai/doompi-voice',\n moduleUrl: import.meta.url,\n skills: [\n {\n name: 'doompi-use-voice',\n description:\n 'Use Doom Pi Voice for manual transcription, autonomous capture, narration, configuration, and recovery on macOS.',\n },\n ],\n },\n ],\n }),\n);\nexport default voicePiExtension;\n"],"mappings":"qJAIa,GAAA,+CAAmBA,CAAAA,CAAAA,kBAAAA,CAC9B,2BACC,CAAE,UAAS,KAAI,cAAe,CAC7B,GAAGC,EAAAA,qBAAqB,EAAS,EAAI,GAAW,CAAC,CAAC,EAClD,UAAW,CACT,CACE,OAAQ,0BACR,UAAA,QAAA,KAAA,CAAA,CAAA,cAAA,UAAA,CAAA,CAAA,KACA,OAAQ,CACN,CACE,KAAM,mBACN,YACE,kHACJ,CACF,CACF,CACF,CACF,EACF"}
|
package/dist/extensions/pi.d.cts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { VoiceExtensionOptions } from "../src/controllers/voice.cjs";
|
|
2
|
-
//#region src/extensions/pi.d.ts
|
|
3
|
-
export declare const voicePiExtension: import("@agimon-ai/doompi-core/runtime-pi-extension").DefinedPiExtension<VoiceExtensionOptions>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { voicePiExtension as default };
|
|
6
|
-
//# sourceMappingURL=pi.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pi.d.cts","names":[],"sources":["../../src/extensions/pi.ts"],"mappings":";;qBAIa,wEAAgB,mBAAA"}
|
package/dist/extensions/pi.d.mts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { VoiceExtensionOptions } from "../src/controllers/voice.mjs";
|
|
2
|
-
//#region src/extensions/pi.d.ts
|
|
3
|
-
export declare const voicePiExtension: import("@agimon-ai/doompi-core/runtime-pi-extension").DefinedPiExtension<VoiceExtensionOptions>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { voicePiExtension as default };
|
|
6
|
-
//# sourceMappingURL=pi.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pi.d.mts","names":[],"sources":["../../src/extensions/pi.ts"],"mappings":";;qBAIa,wEAAgB,mBAAA"}
|
package/dist/extensions/pi.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{createVoicePiRuntime as e}from"../src/controllers/voicePlugin.mjs";import{definePiExtension as t}from"@agimon-ai/doompi-core/pi-extension";const n=t(`@agimon-ai/doompi-voice`,({context:t,pi:n,options:r})=>({...e(t,n,r??{}),resources:[{source:`@agimon-ai/doompi-voice`,moduleUrl:import.meta.url,skills:[{name:`doompi-use-voice`,description:`Use Doom Pi Voice for manual transcription, autonomous capture, narration, configuration, and recovery on macOS.`}]}]}));export{n as default,n as voicePiExtension};
|
|
2
|
-
//# sourceMappingURL=pi.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pi.mjs","names":[],"sources":["../../src/extensions/pi.ts"],"sourcesContent":["import { definePiExtension } from '@agimon-ai/doompi-core/pi-extension';\n\nimport type { VoiceExtensionOptions } from '../controllers/voice';\nimport { createVoicePiRuntime } from '../controllers/voicePlugin';\nexport const voicePiExtension = definePiExtension<VoiceExtensionOptions>(\n '@agimon-ai/doompi-voice',\n ({ context, pi, options }) => ({\n ...createVoicePiRuntime(context, pi, options ?? {}),\n resources: [\n {\n source: '@agimon-ai/doompi-voice',\n moduleUrl: import.meta.url,\n skills: [\n {\n name: 'doompi-use-voice',\n description:\n 'Use Doom Pi Voice for manual transcription, autonomous capture, narration, configuration, and recovery on macOS.',\n },\n ],\n },\n ],\n }),\n);\nexport default voicePiExtension;\n"],"mappings":"kJAIA,MAAa,EAAmB,EAC9B,2BACC,CAAE,UAAS,KAAI,cAAe,CAC7B,GAAG,EAAqB,EAAS,EAAI,GAAW,CAAC,CAAC,EAClD,UAAW,CACT,CACE,OAAQ,0BACR,UAAW,YAAY,IACvB,OAAQ,CACN,CACE,KAAM,mBACN,YACE,kHACJ,CACF,CACF,CACF,CACF,EACF"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../src/services/realtimeRuntime/index.cjs"),t=require("../src/controllers/clientMediaApi.cjs"),n=require("../src/controllers/voiceClientSettingsApi.cjs"),r=require("../src/controllers/voiceMediaHubChannel.cjs"),i=require("../src/controllers/voiceServer.cjs"),a=require("../src/controllers/voiceSessionApi.cjs");let o=require("node:path");const s=(0,require("@agimon-ai/doompi-core/server-facet").defineServerPlugin)({name:`@agimon-ai/doompi-voice`,global:{api:[n.voiceClientSettingsApi],channels:[r.createVoiceMediaWakeChannel,r.createVoiceOwnershipChannel]},workspace:{channels:[r.createVoiceMediaWakeChannel,r.createVoiceOwnershipChannel]},session:({agent:n,host:r})=>{let{directEvents:s,homeDirectory:c,sessionId:l,internalToken:u,hubToken:d}=r.context;if(!n||!s||!c)throw Error(`Voice requires a native session host, media event bus, and server home.`);let f=new t.VoiceMediaBroker({directEvents:s,sessionId:l,internalToken:u,hubToken:d,realtimeProvider:e.createRealtimeRuntime({stateDirectory:(0,o.join)(c,`.pi`,`.doom`)}).provider}),p=i.createVoiceServer(n,f,c);return{...p,api:[...p.api??[],{basePath:`voice-media`,start:()=>a.createVoiceSessionApi({directEvents:s,media:f,projectRoot:n.context.repoRoot,homeDirectory:c})}]}}});exports.default=s,exports.voiceServerFacet=s;
|
|
2
|
-
//# sourceMappingURL=server.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.cjs","names":["defineServerPlugin","voiceClientSettingsApi","createVoiceMediaWakeChannel","createVoiceOwnershipChannel","VoiceMediaBroker","createRealtimeRuntime","join","createVoiceServer","createVoiceSessionApi"],"sources":["../../src/extensions/server.ts"],"sourcesContent":["import { join } from 'node:path';\n\nimport { defineServerPlugin } from '@agimon-ai/doompi-core/server-facet';\n\nimport { VoiceMediaBroker } from '../controllers/clientMediaApi';\nimport { voiceClientSettingsApi } from '../controllers/voiceClientSettingsApi';\nimport { createVoiceMediaWakeChannel, createVoiceOwnershipChannel } from '../controllers/voiceMediaHubChannel';\nimport { createVoiceServer } from '../controllers/voiceServer';\nimport { createVoiceSessionApi } from '../controllers/voiceSessionApi';\nimport { createRealtimeRuntime } from '../services/realtimeRuntime';\nexport const voiceServerFacet = defineServerPlugin({\n name: '@agimon-ai/doompi-voice',\n global: { api: [voiceClientSettingsApi], channels: [createVoiceMediaWakeChannel, createVoiceOwnershipChannel] },\n workspace: { channels: [createVoiceMediaWakeChannel, createVoiceOwnershipChannel] },\n session: ({ agent, host }) => {\n const { directEvents, homeDirectory, sessionId, internalToken, hubToken } = host.context;\n if (!agent || !directEvents || !homeDirectory)\n throw new Error('Voice requires a native session host, media event bus, and server home.');\n const broker = new VoiceMediaBroker({\n directEvents,\n sessionId,\n internalToken,\n hubToken,\n realtimeProvider: createRealtimeRuntime({ stateDirectory: join(homeDirectory, '.pi', '.doom') }).provider,\n });\n const voice = createVoiceServer(agent, broker, homeDirectory);\n return {\n ...voice,\n api: [\n ...(voice.api ?? []),\n {\n basePath: 'voice-media',\n start: () =>\n createVoiceSessionApi({ directEvents, media: broker, projectRoot: agent.context.repoRoot, homeDirectory }),\n },\n ],\n };\n },\n});\nexport default voiceServerFacet;\n"],"mappings":"kcAUA,MAAa,GAAA,+CAAmBA,CAAAA,CAAAA,mBAAAA,CAAmB,CACjD,KAAM,0BACN,OAAQ,CAAE,IAAK,CAACC,EAAAA,sBAAsB,EAAG,SAAU,CAACC,EAAAA,4BAA6BC,EAAAA,2BAA2B,CAAE,EAC9G,UAAW,CAAE,SAAU,CAACD,EAAAA,4BAA6BC,EAAAA,2BAA2B,CAAE,EAClF,SAAU,CAAE,QAAO,UAAW,CAC5B,GAAM,CAAE,eAAc,gBAAe,YAAW,gBAAe,YAAa,EAAK,QACjF,GAAI,CAAC,GAAS,CAAC,GAAgB,CAAC,EAC9B,MAAU,MAAM,yEAAyE,EAC3F,IAAM,EAAS,IAAIC,EAAAA,iBAAiB,CAClC,eACA,YACA,gBACA,WACA,iBAAkBC,EAAAA,sBAAsB,CAAE,gBAAA,EAAgBC,EAAAA,KAAAA,CAAK,EAAe,MAAO,OAAO,CAAE,CAAC,CAAC,CAAC,QACnG,CAAC,EACK,EAAQC,EAAAA,kBAAkB,EAAO,EAAQ,CAAa,EAC5D,MAAO,CACL,GAAG,EACH,IAAK,CACH,GAAI,EAAM,KAAO,CAAC,EAClB,CACE,SAAU,cACV,UACEC,EAAAA,sBAAsB,CAAE,eAAc,MAAO,EAAQ,YAAa,EAAM,QAAQ,SAAU,eAAc,CAAC,CAC7G,CACF,CACF,CACF,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.cts","names":[],"sources":["../../src/extensions/server.ts"],"mappings":";qBAUa,gEAAgB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.mts","names":[],"sources":["../../src/extensions/server.ts"],"mappings":";qBAUa,gEAAgB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{createRealtimeRuntime as e}from"../src/services/realtimeRuntime/index.mjs";import{VoiceMediaBroker as t}from"../src/controllers/clientMediaApi.mjs";import{voiceClientSettingsApi as n}from"../src/controllers/voiceClientSettingsApi.mjs";import{createVoiceMediaWakeChannel as r,createVoiceOwnershipChannel as i}from"../src/controllers/voiceMediaHubChannel.mjs";import{createVoiceServer as a}from"../src/controllers/voiceServer.mjs";import{createVoiceSessionApi as o}from"../src/controllers/voiceSessionApi.mjs";import{join as s}from"node:path";import{defineServerPlugin as c}from"@agimon-ai/doompi-core/server-facet";const l=c({name:`@agimon-ai/doompi-voice`,global:{api:[n],channels:[r,i]},workspace:{channels:[r,i]},session:({agent:n,host:r})=>{let{directEvents:i,homeDirectory:c,sessionId:l,internalToken:u,hubToken:d}=r.context;if(!n||!i||!c)throw Error(`Voice requires a native session host, media event bus, and server home.`);let f=new t({directEvents:i,sessionId:l,internalToken:u,hubToken:d,realtimeProvider:e({stateDirectory:s(c,`.pi`,`.doom`)}).provider}),p=a(n,f,c);return{...p,api:[...p.api??[],{basePath:`voice-media`,start:()=>o({directEvents:i,media:f,projectRoot:n.context.repoRoot,homeDirectory:c})}]}}});export{l as default,l as voiceServerFacet};
|
|
2
|
-
//# sourceMappingURL=server.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.mjs","names":[],"sources":["../../src/extensions/server.ts"],"sourcesContent":["import { join } from 'node:path';\n\nimport { defineServerPlugin } from '@agimon-ai/doompi-core/server-facet';\n\nimport { VoiceMediaBroker } from '../controllers/clientMediaApi';\nimport { voiceClientSettingsApi } from '../controllers/voiceClientSettingsApi';\nimport { createVoiceMediaWakeChannel, createVoiceOwnershipChannel } from '../controllers/voiceMediaHubChannel';\nimport { createVoiceServer } from '../controllers/voiceServer';\nimport { createVoiceSessionApi } from '../controllers/voiceSessionApi';\nimport { createRealtimeRuntime } from '../services/realtimeRuntime';\nexport const voiceServerFacet = defineServerPlugin({\n name: '@agimon-ai/doompi-voice',\n global: { api: [voiceClientSettingsApi], channels: [createVoiceMediaWakeChannel, createVoiceOwnershipChannel] },\n workspace: { channels: [createVoiceMediaWakeChannel, createVoiceOwnershipChannel] },\n session: ({ agent, host }) => {\n const { directEvents, homeDirectory, sessionId, internalToken, hubToken } = host.context;\n if (!agent || !directEvents || !homeDirectory)\n throw new Error('Voice requires a native session host, media event bus, and server home.');\n const broker = new VoiceMediaBroker({\n directEvents,\n sessionId,\n internalToken,\n hubToken,\n realtimeProvider: createRealtimeRuntime({ stateDirectory: join(homeDirectory, '.pi', '.doom') }).provider,\n });\n const voice = createVoiceServer(agent, broker, homeDirectory);\n return {\n ...voice,\n api: [\n ...(voice.api ?? []),\n {\n basePath: 'voice-media',\n start: () =>\n createVoiceSessionApi({ directEvents, media: broker, projectRoot: agent.context.repoRoot, homeDirectory }),\n },\n ],\n };\n },\n});\nexport default voiceServerFacet;\n"],"mappings":"6mBAUA,MAAa,EAAmB,EAAmB,CACjD,KAAM,0BACN,OAAQ,CAAE,IAAK,CAAC,CAAsB,EAAG,SAAU,CAAC,EAA6B,CAA2B,CAAE,EAC9G,UAAW,CAAE,SAAU,CAAC,EAA6B,CAA2B,CAAE,EAClF,SAAU,CAAE,QAAO,UAAW,CAC5B,GAAM,CAAE,eAAc,gBAAe,YAAW,gBAAe,YAAa,EAAK,QACjF,GAAI,CAAC,GAAS,CAAC,GAAgB,CAAC,EAC9B,MAAU,MAAM,yEAAyE,EAC3F,IAAM,EAAS,IAAI,EAAiB,CAClC,eACA,YACA,gBACA,WACA,iBAAkB,EAAsB,CAAE,eAAgB,EAAK,EAAe,MAAO,OAAO,CAAE,CAAC,CAAC,CAAC,QACnG,CAAC,EACK,EAAQ,EAAkB,EAAO,EAAQ,CAAa,EAC5D,MAAO,CACL,GAAG,EACH,IAAK,CACH,GAAI,EAAM,KAAO,CAAC,EAClB,CACE,SAAU,cACV,UACE,EAAsB,CAAE,eAAc,MAAO,EAAQ,YAAa,EAAM,QAAQ,SAAU,eAAc,CAAC,CAC7G,CACF,CACF,CACF,CACF,CAAC"}
|
package/dist/index.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./src/types/clientMedia.cjs"),t=require("./src/services/pcm/index.cjs"),n=require("./src/services/infrastructure/index.cjs"),r=require("./src/services/clientMedia/index.cjs"),i=require("./src/models/voiceActivity.cjs"),a=require("./src/models/voiceMode.cjs"),o=require("./src/services/commandCorrection/index.cjs"),s=require("./src/services/fallbackNarration/index.cjs"),c=require("./src/services/semanticEcho/index.cjs"),l=require("./src/services/voiceConfig/index.cjs"),u=require("./src/services/whisper/index.cjs"),d=require("./src/services/voiceDependencies/index.cjs"),f=require("./src/services/narration/index.cjs"),p=require("./src/services/narrationPlayback/index.cjs"),m=require("./src/controllers/voice.cjs"),h=require("./src/services/utterance/index.cjs"),g=require("./src/services/vad/index.cjs"),_=require("./src/services/voiceSessionController/index.cjs");exports.AdaptiveVoiceActivityDetector=g.AdaptiveVoiceActivityDetector,exports.BoundedTranscriptionQueue=h.BoundedTranscriptionQueue,exports.ClientPcmAudioRecorder=r.ClientPcmAudioRecorder,exports.ClientTtsAdapter=r.ClientTtsAdapter,exports.DEFAULT_UTTERANCE_LIMITS=h.DEFAULT_UTTERANCE_LIMITS,exports.DEFAULT_VAD_CONFIGURATION=g.DEFAULT_VAD_CONFIGURATION,exports.DETERMINISTIC_FALLBACK_THRESHOLD_CHARACTERS=s.DETERMINISTIC_FALLBACK_THRESHOLD_CHARACTERS,exports.EchoTailTimeline=c.EchoTailTimeline,exports.ExecutableResolver=n.ExecutableResolver,exports.FfmpegAudioRecorder=n.FfmpegAudioRecorder,exports.FfmpegPcmAudioRecorder=n.FfmpegPcmAudioRecorder,exports.MAX_VOICE_COMMAND_CONTEXT_BYTES=o.MAX_VOICE_COMMAND_CONTEXT_BYTES,exports.MacOsSayPcmSynthesizer=n.MacOsSayPcmSynthesizer,exports.MacOsSayTtsAdapter=n.MacOsSayTtsAdapter,exports.MlxWhisperAdapter=u.MlxWhisperAdapter,exports.NarrationPlaybackCoordinator=f.NarrationPlaybackCoordinator,exports.NodeBinaryProcessSpawner=n.NodeBinaryProcessSpawner,exports.NodeProcessSpawner=n.NodeProcessSpawner,exports.OpenAiWhisperAdapter=u.OpenAiWhisperAdapter,exports.PCM_BITS_PER_SAMPLE=t.PCM_BITS_PER_SAMPLE,exports.PCM_BYTES_PER_SAMPLE=t.PCM_BYTES_PER_SAMPLE,exports.PCM_CHANNELS=t.PCM_CHANNELS,exports.PCM_FRAME_BYTES=t.PCM_FRAME_BYTES,exports.PCM_FRAME_MS=t.PCM_FRAME_MS,exports.PCM_SAMPLE_RATE=t.PCM_SAMPLE_RATE,exports.PcmFrameAssembler=t.PcmFrameAssembler,exports.PcmWavAnalyzer=n.PcmWavAnalyzer,exports.PiVoiceConfigService=l.PiVoiceConfigService,exports.RollingEchoProbeCoordinator=c.RollingEchoProbeCoordinator,exports.SemanticEchoAdjudicator=c.SemanticEchoAdjudicator,exports.SystemClock=n.SystemClock,exports.TemporaryWorkspace=n.TemporaryWorkspace,exports.TranscriberRegistry=u.TranscriberRegistry,exports.UtteranceAssembler=h.UtteranceAssembler,exports.VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER=e.VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER,exports.VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER=e.VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER,exports.VOICE_MEDIA_ACTIVITY_EPOCH_HEADER=e.VOICE_MEDIA_ACTIVITY_EPOCH_HEADER,exports.VOICE_MEDIA_ACTIVITY_LEVEL_HEADER=e.VOICE_MEDIA_ACTIVITY_LEVEL_HEADER,exports.VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER=e.VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER,exports.VOICE_MEDIA_ACTIVITY_STATE_HEADER=e.VOICE_MEDIA_ACTIVITY_STATE_HEADER,exports.VOICE_MEDIA_API_BASE_PATH=e.VOICE_MEDIA_API_BASE_PATH,exports.VOICE_MEDIA_BITS_PER_SAMPLE=e.VOICE_MEDIA_BITS_PER_SAMPLE,exports.VOICE_MEDIA_CHANNELS=e.VOICE_MEDIA_CHANNELS,exports.VOICE_MEDIA_CONTENT_TYPE=e.VOICE_MEDIA_CONTENT_TYPE,exports.VOICE_MEDIA_EVENT_WAIT_NONE=e.VOICE_MEDIA_EVENT_WAIT_NONE,exports.VOICE_MEDIA_HEARTBEAT_MS=e.VOICE_MEDIA_HEARTBEAT_MS,exports.VOICE_MEDIA_PLAYBACK_STATE_HEADER=e.VOICE_MEDIA_PLAYBACK_STATE_HEADER,exports.VOICE_MEDIA_PROTOCOL_VERSION=e.VOICE_MEDIA_PROTOCOL_VERSION,exports.VOICE_MEDIA_ROUTES=e.VOICE_MEDIA_ROUTES,exports.VOICE_MEDIA_SAMPLE_RATE=e.VOICE_MEDIA_SAMPLE_RATE,exports.VOICE_MEDIA_WAKE_TYPE=e.VOICE_MEDIA_WAKE_TYPE,exports.VoiceCommandCorrector=o.VoiceCommandCorrector,exports.VoiceNarrationPlayback=p.VoiceNarrationPlayback,exports.VoiceSessionController=_.VoiceSessionController,exports.VoiceTurnFallbackNarrator=s.VoiceTurnFallbackNarrator,exports.WhisperCppAdapter=u.WhisperCppAdapter,exports.alignNarrationSpan=c.alignNarrationSpan,exports.analyzePcmWav=n.analyzePcmWav,exports.calculatePcmFrameDbfs=g.calculatePcmFrameDbfs,exports.canRunVoice=a.canRunVoice,exports.compactVoiceCommandContext=o.compactVoiceCommandContext,exports.createVoiceDependencies=d.createVoiceDependencies,exports.createVoiceNarrationService=m.createVoiceNarrationService,exports.createVoiceTurnFallback=m.createVoiceTurnFallback,exports.deliverAutoCaptureInput=m.deliverAutoCaptureInput,exports.editDistance=o.editDistance,exports.encodePcm16Wav=t.encodePcm16Wav,exports.extractNovelNarrationResidual=c.extractNovelNarrationResidual,exports.extractTerminalAssistantText=m.extractTerminalAssistantText,exports.formatAutoCaptureActivity=i.formatAutoCaptureActivity,exports.formatVoiceActivity=i.formatVoiceActivity,exports.matchPlaybackStopPhrase=c.matchPlaybackStopPhrase,exports.matchStartPhrase=c.matchStartPhrase,exports.matchStopPhrase=c.matchStopPhrase,exports.normalizeEchoText=c.normalizeEchoText,exports.phoneticKey=o.phoneticKey,exports.resolveVoiceCommandCorrector=m.resolveVoiceCommandCorrector,exports.resolveVoiceFallbackNarrator=m.resolveVoiceFallbackNarrator,exports.resolveVoiceTranscriptAdjudicator=m.resolveVoiceTranscriptAdjudicator,exports.voiceLeaderBindings=m.voiceLeaderBindings,exports.voiceMediaClientUrl=e.voiceMediaClientUrl,exports.voiceMediaHostConnection=r.voiceMediaHostConnection,exports.voiceModeState=a.voiceModeState,exports.voiceOwnershipState=a.voiceOwnershipState,exports.voiceToolRestriction=m.voiceToolRestriction,exports.writePrivatePcm16Wav=n.writePrivatePcm16Wav;
|
package/dist/index.d.cts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER, VOICE_MEDIA_ACTIVITY_EPOCH_HEADER, VOICE_MEDIA_ACTIVITY_LEVEL_HEADER, VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_STATE_HEADER, VOICE_MEDIA_API_BASE_PATH, VOICE_MEDIA_BITS_PER_SAMPLE, VOICE_MEDIA_CHANNELS, VOICE_MEDIA_CONTENT_TYPE, VOICE_MEDIA_EVENT_WAIT_NONE, VOICE_MEDIA_HEARTBEAT_MS, VOICE_MEDIA_PLAYBACK_STATE_HEADER, VOICE_MEDIA_PROTOCOL_VERSION, VOICE_MEDIA_ROUTES, VOICE_MEDIA_SAMPLE_RATE, VOICE_MEDIA_WAKE_TYPE, VoiceClientKind, VoiceMediaCapabilities, VoiceMediaCapture, VoiceMediaCaptureActivity, VoiceMediaCaptureActivityState, VoiceMediaCaptureConfiguration, VoiceMediaCaptureMode, VoiceMediaCaptureSpeechAnalysis, VoiceMediaClientEvent, VoiceMediaConnectRequest, VoiceMediaConnectResult, VoiceMediaControlLocation, VoiceMediaDevice, VoiceMediaHeartbeatResult, VoiceMediaPlayback, VoiceMediaPlaybackDelivery, VoiceMediaPlaybackOutcome, VoiceMediaPlaybackResult, VoiceMediaTransport, VoiceMediaWake, voiceMediaClientUrl } from "./src/types/clientMedia.cjs";
|
|
2
|
-
import { AsrDecodingEvidence, AudioAnalysis, AutoCaptureActivationState, AutoCaptureIndicatorState, AutoCaptureUi, BinaryProcessStartOptions, BinaryRunningProcess, IAudioAnalyzer, IAudioRecorder, IBinaryProcessSpawner, IClock, IExecutableResolver, IPcmAudioRecorder, IProcessSpawner, ISpeechPresenceDetector, ITemporaryWorkspace, ITranscriberAdapter, ITranscriberRegistry, ITtsAdapter, IVoiceMediaHostConnection, IVoiceSessionController, LiveRecordingHandle, NarrationKind, PcmAudioRecorderStartOptions, ProcessResult, ProcessStartOptions, RecordingHandle, RunningProcess, SelectedTranscriber, TimerHandle, TranscriptionAdapterOutput, TranscriptionRequest, TranscriptionResult, TtsPlayback, TtsPlaybackOutcome, TtsPlaybackReference, TtsPlaybackResult, TtsSpeakRequest, VoiceActivityUpdate, VoiceDependencies, VoiceMediaAudioPoll, VoiceState, VoiceUi } from "./src/types/index.cjs";
|
|
3
|
-
import { ClientNarrationSynthesizer, ClientPcmAudioRecorder, ClientTtsAdapter, voiceMediaHostConnection } from "./src/services/clientMedia/index.cjs";
|
|
4
|
-
import { ExecutableResolver, FfmpegAudioRecorder, FfmpegPcmAudioRecorder, MacOsSayPcmSynthesizer, MacOsSayTtsAdapter, NodeBinaryProcessSpawner, NodeProcessSpawner, PcmWavAnalyzer, SystemClock, TemporaryWorkspace, analyzePcmWav, writePrivatePcm16Wav } from "./src/services/infrastructure/index.cjs";
|
|
5
|
-
import { AutoCaptureActivityPresentation, VoiceActivityPresentation, VoiceFooterContributionValue, formatAutoCaptureActivity, formatVoiceActivity } from "./src/models/voiceActivity.cjs";
|
|
6
|
-
import { IVoiceCommandCorrectionModelClient, IVoiceCommandCorrector, VoiceCommandContext, VoiceCommandCorrectionInput, VoiceCommandCorrectionModelRequest } from "./src/services/commandCorrection/type.cjs";
|
|
7
|
-
import { MAX_VOICE_COMMAND_CONTEXT_BYTES, VoiceCommandCorrector, compactVoiceCommandContext, editDistance, phoneticKey } from "./src/services/commandCorrection/index.cjs";
|
|
8
|
-
import { FallbackNarration, FallbackNarrationModelRequest, FallbackNarrationSource, IFallbackNarrationModelClient, IVoiceNarrationCompactor, IVoiceTurnFallbackNarrator, VoiceTurnFallbackNarratorOptions } from "./src/services/fallbackNarration/type.cjs";
|
|
9
|
-
import { DETERMINISTIC_FALLBACK_THRESHOLD_CHARACTERS, VoiceTurnFallbackNarrator } from "./src/services/fallbackNarration/index.cjs";
|
|
10
|
-
import { NarrationPlaybackCoordinator, NarrationPlaybackLifecycleErrorObserver, NarrationPlaybackLifecycleEvent, NarrationPlaybackLifecycleObserver, NarrationPlaybackOutcome, NarrationPlaybackRequest, NarrationPlaybackSettlement } from "./src/services/narration/index.cjs";
|
|
11
|
-
import { VoiceNarrationPlayback, VoiceNarrationPlaybackDependencies, VoiceNarrationPlaybackLogger } from "./src/services/narrationPlayback/index.cjs";
|
|
12
|
-
import { MlxWhisperAdapter, OpenAiWhisperAdapter, TranscriberRegistry, WhisperCppAdapter } from "./src/services/whisper/index.cjs";
|
|
13
|
-
import { AutoCaptureDeliveryIntent, AutoCapturePiEventController, VoiceExtensionOptions, VoiceFooterContributionHandle, VoiceLeaderContributionHandle, VoiceNarrationServiceBinding, VoiceTurnFallbackRuntime, createVoiceNarrationService, createVoiceTurnFallback, deliverAutoCaptureInput, extractTerminalAssistantText, resolveVoiceCommandCorrector, resolveVoiceFallbackNarrator, resolveVoiceTranscriptAdjudicator, voiceLeaderBindings, voiceToolRestriction } from "./src/controllers/voice.cjs";
|
|
14
|
-
import { PCM_BITS_PER_SAMPLE, PCM_BYTES_PER_SAMPLE, PCM_CHANNELS, PCM_FRAME_BYTES, PCM_FRAME_MS, PCM_SAMPLE_RATE, PcmFrameAssembler, encodePcm16Wav } from "./src/services/pcm/index.cjs";
|
|
15
|
-
import { AdaptiveVoiceActivityDetector, AudioActivityBucket, AudioActivityHistogram, DEFAULT_VAD_CONFIGURATION, VadConfiguration, VadFrameMetadata, VadNoiseProfile, VadPushResult, VadSegment, calculatePcmFrameDbfs } from "./src/services/vad/index.cjs";
|
|
16
|
-
import { ControlPhraseMatch, EchoProbeAction, EchoProbeClassification, EchoProbeInput, EchoProbeResult, EchoReference, IEchoProbeClassifier, NarrationAlignment, NarrationResidualAnalysis, RollingEchoProbeState } from "./src/services/semanticEcho/type.cjs";
|
|
17
|
-
import { EchoTailTimeline, RollingEchoProbeCoordinator, SemanticEchoAdjudicator, alignNarrationSpan, extractNovelNarrationResidual, matchPlaybackStopPhrase, matchStartPhrase, matchStopPhrase, normalizeEchoText } from "./src/services/semanticEcho/index.cjs";
|
|
18
|
-
import { BoundedTranscriptionQueue, DEFAULT_UTTERANCE_LIMITS, PendingUtterance, UtteranceAssembler, UtteranceFinalizationReason, UtteranceLimits } from "./src/services/utterance/index.cjs";
|
|
19
|
-
import { VoiceSessionController } from "./src/services/voiceSessionController/index.cjs";
|
|
20
|
-
import { PiVoiceConfigService } from "./src/services/voiceConfig/index.cjs";
|
|
21
|
-
import { createVoiceDependencies } from "./src/services/voiceDependencies/index.cjs";
|
|
22
|
-
import { canRunVoice, voiceModeState, voiceOwnershipState } from "./src/models/voiceMode.cjs";
|
|
23
|
-
export { AdaptiveVoiceActivityDetector, type AsrDecodingEvidence, type AudioActivityBucket, type AudioActivityHistogram, type AudioAnalysis, type AutoCaptureActivationState, type AutoCaptureActivityPresentation, type AutoCaptureDeliveryIntent, type AutoCaptureIndicatorState, type AutoCapturePiEventController, type AutoCaptureUi, type BinaryProcessStartOptions, type BinaryRunningProcess, BoundedTranscriptionQueue, type ClientNarrationSynthesizer, ClientPcmAudioRecorder, ClientTtsAdapter, type ControlPhraseMatch, DEFAULT_UTTERANCE_LIMITS, DEFAULT_VAD_CONFIGURATION, DETERMINISTIC_FALLBACK_THRESHOLD_CHARACTERS, type EchoProbeAction, type EchoProbeClassification, type EchoProbeInput, type EchoProbeResult, type EchoReference, EchoTailTimeline, ExecutableResolver, type FallbackNarration, type FallbackNarrationModelRequest, type FallbackNarrationSource, FfmpegAudioRecorder, FfmpegPcmAudioRecorder, type IAudioAnalyzer, type IAudioRecorder, type IBinaryProcessSpawner, type IClock, type IEchoProbeClassifier, type IExecutableResolver, type IFallbackNarrationModelClient, type IPcmAudioRecorder, type IProcessSpawner, type ISpeechPresenceDetector, type ITemporaryWorkspace, type ITranscriberAdapter, type ITranscriberRegistry, type ITtsAdapter, type IVoiceCommandCorrectionModelClient, type IVoiceCommandCorrector, type IVoiceMediaHostConnection, type IVoiceNarrationCompactor, type IVoiceSessionController, type IVoiceTurnFallbackNarrator, type LiveRecordingHandle, MAX_VOICE_COMMAND_CONTEXT_BYTES, MacOsSayPcmSynthesizer, MacOsSayTtsAdapter, MlxWhisperAdapter, type NarrationAlignment, type NarrationKind, NarrationPlaybackCoordinator, type NarrationPlaybackLifecycleErrorObserver, type NarrationPlaybackLifecycleEvent, type NarrationPlaybackLifecycleObserver, type NarrationPlaybackOutcome, type NarrationPlaybackRequest, type NarrationPlaybackSettlement, type NarrationResidualAnalysis, NodeBinaryProcessSpawner, NodeProcessSpawner, OpenAiWhisperAdapter, PCM_BITS_PER_SAMPLE, PCM_BYTES_PER_SAMPLE, PCM_CHANNELS, PCM_FRAME_BYTES, PCM_FRAME_MS, PCM_SAMPLE_RATE, type PcmAudioRecorderStartOptions, PcmFrameAssembler, PcmWavAnalyzer, type PendingUtterance, PiVoiceConfigService, type ProcessResult, type ProcessStartOptions, type RecordingHandle, RollingEchoProbeCoordinator, type RollingEchoProbeState, type RunningProcess, type SelectedTranscriber, SemanticEchoAdjudicator, SystemClock, TemporaryWorkspace, type TimerHandle, TranscriberRegistry, type TranscriptionAdapterOutput, type TranscriptionRequest, type TranscriptionResult, type TtsPlayback, type TtsPlaybackOutcome, type TtsPlaybackReference, type TtsPlaybackResult, type TtsSpeakRequest, UtteranceAssembler, type UtteranceFinalizationReason, type UtteranceLimits, VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER, VOICE_MEDIA_ACTIVITY_EPOCH_HEADER, VOICE_MEDIA_ACTIVITY_LEVEL_HEADER, VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_STATE_HEADER, VOICE_MEDIA_API_BASE_PATH, VOICE_MEDIA_BITS_PER_SAMPLE, VOICE_MEDIA_CHANNELS, VOICE_MEDIA_CONTENT_TYPE, VOICE_MEDIA_EVENT_WAIT_NONE, VOICE_MEDIA_HEARTBEAT_MS, VOICE_MEDIA_PLAYBACK_STATE_HEADER, VOICE_MEDIA_PROTOCOL_VERSION, VOICE_MEDIA_ROUTES, VOICE_MEDIA_SAMPLE_RATE, VOICE_MEDIA_WAKE_TYPE, type VadConfiguration, type VadFrameMetadata, type VadNoiseProfile, type VadPushResult, type VadSegment, type VoiceActivityPresentation, type VoiceActivityUpdate, type VoiceClientKind, type VoiceCommandContext, type VoiceCommandCorrectionInput, type VoiceCommandCorrectionModelRequest, VoiceCommandCorrector, type VoiceDependencies, type VoiceExtensionOptions, type VoiceFooterContributionHandle, type VoiceFooterContributionValue, type VoiceLeaderContributionHandle, type VoiceMediaAudioPoll, type VoiceMediaCapabilities, type VoiceMediaCapture, type VoiceMediaCaptureActivity, type VoiceMediaCaptureActivityState, type VoiceMediaCaptureConfiguration, type VoiceMediaCaptureMode, type VoiceMediaCaptureSpeechAnalysis, type VoiceMediaClientEvent, type VoiceMediaConnectRequest, type VoiceMediaConnectResult, type VoiceMediaControlLocation, type VoiceMediaDevice, type VoiceMediaHeartbeatResult, type VoiceMediaPlayback, type VoiceMediaPlaybackDelivery, type VoiceMediaPlaybackOutcome, type VoiceMediaPlaybackResult, type VoiceMediaTransport, type VoiceMediaWake, VoiceNarrationPlayback, type VoiceNarrationPlaybackDependencies, type VoiceNarrationPlaybackLogger, type VoiceNarrationServiceBinding, VoiceSessionController, type VoiceState, VoiceTurnFallbackNarrator, type VoiceTurnFallbackNarratorOptions, type VoiceTurnFallbackRuntime, type VoiceUi, WhisperCppAdapter, alignNarrationSpan, analyzePcmWav, calculatePcmFrameDbfs, canRunVoice, compactVoiceCommandContext, createVoiceDependencies, createVoiceNarrationService, createVoiceTurnFallback, deliverAutoCaptureInput, editDistance, encodePcm16Wav, extractNovelNarrationResidual, extractTerminalAssistantText, formatAutoCaptureActivity, formatVoiceActivity, matchPlaybackStopPhrase, matchStartPhrase, matchStopPhrase, normalizeEchoText, phoneticKey, resolveVoiceCommandCorrector, resolveVoiceFallbackNarrator, resolveVoiceTranscriptAdjudicator, voiceLeaderBindings, voiceMediaClientUrl, voiceMediaHostConnection, voiceModeState, voiceOwnershipState, voiceToolRestriction, writePrivatePcm16Wav };
|
package/dist/index.d.mts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER, VOICE_MEDIA_ACTIVITY_EPOCH_HEADER, VOICE_MEDIA_ACTIVITY_LEVEL_HEADER, VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_STATE_HEADER, VOICE_MEDIA_API_BASE_PATH, VOICE_MEDIA_BITS_PER_SAMPLE, VOICE_MEDIA_CHANNELS, VOICE_MEDIA_CONTENT_TYPE, VOICE_MEDIA_EVENT_WAIT_NONE, VOICE_MEDIA_HEARTBEAT_MS, VOICE_MEDIA_PLAYBACK_STATE_HEADER, VOICE_MEDIA_PROTOCOL_VERSION, VOICE_MEDIA_ROUTES, VOICE_MEDIA_SAMPLE_RATE, VOICE_MEDIA_WAKE_TYPE, VoiceClientKind, VoiceMediaCapabilities, VoiceMediaCapture, VoiceMediaCaptureActivity, VoiceMediaCaptureActivityState, VoiceMediaCaptureConfiguration, VoiceMediaCaptureMode, VoiceMediaCaptureSpeechAnalysis, VoiceMediaClientEvent, VoiceMediaConnectRequest, VoiceMediaConnectResult, VoiceMediaControlLocation, VoiceMediaDevice, VoiceMediaHeartbeatResult, VoiceMediaPlayback, VoiceMediaPlaybackDelivery, VoiceMediaPlaybackOutcome, VoiceMediaPlaybackResult, VoiceMediaTransport, VoiceMediaWake, voiceMediaClientUrl } from "./src/types/clientMedia.mjs";
|
|
2
|
-
import { AsrDecodingEvidence, AudioAnalysis, AutoCaptureActivationState, AutoCaptureIndicatorState, AutoCaptureUi, BinaryProcessStartOptions, BinaryRunningProcess, IAudioAnalyzer, IAudioRecorder, IBinaryProcessSpawner, IClock, IExecutableResolver, IPcmAudioRecorder, IProcessSpawner, ISpeechPresenceDetector, ITemporaryWorkspace, ITranscriberAdapter, ITranscriberRegistry, ITtsAdapter, IVoiceMediaHostConnection, IVoiceSessionController, LiveRecordingHandle, NarrationKind, PcmAudioRecorderStartOptions, ProcessResult, ProcessStartOptions, RecordingHandle, RunningProcess, SelectedTranscriber, TimerHandle, TranscriptionAdapterOutput, TranscriptionRequest, TranscriptionResult, TtsPlayback, TtsPlaybackOutcome, TtsPlaybackReference, TtsPlaybackResult, TtsSpeakRequest, VoiceActivityUpdate, VoiceDependencies, VoiceMediaAudioPoll, VoiceState, VoiceUi } from "./src/types/index.mjs";
|
|
3
|
-
import { ClientNarrationSynthesizer, ClientPcmAudioRecorder, ClientTtsAdapter, voiceMediaHostConnection } from "./src/services/clientMedia/index.mjs";
|
|
4
|
-
import { ExecutableResolver, FfmpegAudioRecorder, FfmpegPcmAudioRecorder, MacOsSayPcmSynthesizer, MacOsSayTtsAdapter, NodeBinaryProcessSpawner, NodeProcessSpawner, PcmWavAnalyzer, SystemClock, TemporaryWorkspace, analyzePcmWav, writePrivatePcm16Wav } from "./src/services/infrastructure/index.mjs";
|
|
5
|
-
import { AutoCaptureActivityPresentation, VoiceActivityPresentation, VoiceFooterContributionValue, formatAutoCaptureActivity, formatVoiceActivity } from "./src/models/voiceActivity.mjs";
|
|
6
|
-
import { IVoiceCommandCorrectionModelClient, IVoiceCommandCorrector, VoiceCommandContext, VoiceCommandCorrectionInput, VoiceCommandCorrectionModelRequest } from "./src/services/commandCorrection/type.mjs";
|
|
7
|
-
import { MAX_VOICE_COMMAND_CONTEXT_BYTES, VoiceCommandCorrector, compactVoiceCommandContext, editDistance, phoneticKey } from "./src/services/commandCorrection/index.mjs";
|
|
8
|
-
import { FallbackNarration, FallbackNarrationModelRequest, FallbackNarrationSource, IFallbackNarrationModelClient, IVoiceNarrationCompactor, IVoiceTurnFallbackNarrator, VoiceTurnFallbackNarratorOptions } from "./src/services/fallbackNarration/type.mjs";
|
|
9
|
-
import { DETERMINISTIC_FALLBACK_THRESHOLD_CHARACTERS, VoiceTurnFallbackNarrator } from "./src/services/fallbackNarration/index.mjs";
|
|
10
|
-
import { NarrationPlaybackCoordinator, NarrationPlaybackLifecycleErrorObserver, NarrationPlaybackLifecycleEvent, NarrationPlaybackLifecycleObserver, NarrationPlaybackOutcome, NarrationPlaybackRequest, NarrationPlaybackSettlement } from "./src/services/narration/index.mjs";
|
|
11
|
-
import { VoiceNarrationPlayback, VoiceNarrationPlaybackDependencies, VoiceNarrationPlaybackLogger } from "./src/services/narrationPlayback/index.mjs";
|
|
12
|
-
import { MlxWhisperAdapter, OpenAiWhisperAdapter, TranscriberRegistry, WhisperCppAdapter } from "./src/services/whisper/index.mjs";
|
|
13
|
-
import { AutoCaptureDeliveryIntent, AutoCapturePiEventController, VoiceExtensionOptions, VoiceFooterContributionHandle, VoiceLeaderContributionHandle, VoiceNarrationServiceBinding, VoiceTurnFallbackRuntime, createVoiceNarrationService, createVoiceTurnFallback, deliverAutoCaptureInput, extractTerminalAssistantText, resolveVoiceCommandCorrector, resolveVoiceFallbackNarrator, resolveVoiceTranscriptAdjudicator, voiceLeaderBindings, voiceToolRestriction } from "./src/controllers/voice.mjs";
|
|
14
|
-
import { PCM_BITS_PER_SAMPLE, PCM_BYTES_PER_SAMPLE, PCM_CHANNELS, PCM_FRAME_BYTES, PCM_FRAME_MS, PCM_SAMPLE_RATE, PcmFrameAssembler, encodePcm16Wav } from "./src/services/pcm/index.mjs";
|
|
15
|
-
import { AdaptiveVoiceActivityDetector, AudioActivityBucket, AudioActivityHistogram, DEFAULT_VAD_CONFIGURATION, VadConfiguration, VadFrameMetadata, VadNoiseProfile, VadPushResult, VadSegment, calculatePcmFrameDbfs } from "./src/services/vad/index.mjs";
|
|
16
|
-
import { ControlPhraseMatch, EchoProbeAction, EchoProbeClassification, EchoProbeInput, EchoProbeResult, EchoReference, IEchoProbeClassifier, NarrationAlignment, NarrationResidualAnalysis, RollingEchoProbeState } from "./src/services/semanticEcho/type.mjs";
|
|
17
|
-
import { EchoTailTimeline, RollingEchoProbeCoordinator, SemanticEchoAdjudicator, alignNarrationSpan, extractNovelNarrationResidual, matchPlaybackStopPhrase, matchStartPhrase, matchStopPhrase, normalizeEchoText } from "./src/services/semanticEcho/index.mjs";
|
|
18
|
-
import { BoundedTranscriptionQueue, DEFAULT_UTTERANCE_LIMITS, PendingUtterance, UtteranceAssembler, UtteranceFinalizationReason, UtteranceLimits } from "./src/services/utterance/index.mjs";
|
|
19
|
-
import { VoiceSessionController } from "./src/services/voiceSessionController/index.mjs";
|
|
20
|
-
import { PiVoiceConfigService } from "./src/services/voiceConfig/index.mjs";
|
|
21
|
-
import { createVoiceDependencies } from "./src/services/voiceDependencies/index.mjs";
|
|
22
|
-
import { canRunVoice, voiceModeState, voiceOwnershipState } from "./src/models/voiceMode.mjs";
|
|
23
|
-
export { AdaptiveVoiceActivityDetector, type AsrDecodingEvidence, type AudioActivityBucket, type AudioActivityHistogram, type AudioAnalysis, type AutoCaptureActivationState, type AutoCaptureActivityPresentation, type AutoCaptureDeliveryIntent, type AutoCaptureIndicatorState, type AutoCapturePiEventController, type AutoCaptureUi, type BinaryProcessStartOptions, type BinaryRunningProcess, BoundedTranscriptionQueue, type ClientNarrationSynthesizer, ClientPcmAudioRecorder, ClientTtsAdapter, type ControlPhraseMatch, DEFAULT_UTTERANCE_LIMITS, DEFAULT_VAD_CONFIGURATION, DETERMINISTIC_FALLBACK_THRESHOLD_CHARACTERS, type EchoProbeAction, type EchoProbeClassification, type EchoProbeInput, type EchoProbeResult, type EchoReference, EchoTailTimeline, ExecutableResolver, type FallbackNarration, type FallbackNarrationModelRequest, type FallbackNarrationSource, FfmpegAudioRecorder, FfmpegPcmAudioRecorder, type IAudioAnalyzer, type IAudioRecorder, type IBinaryProcessSpawner, type IClock, type IEchoProbeClassifier, type IExecutableResolver, type IFallbackNarrationModelClient, type IPcmAudioRecorder, type IProcessSpawner, type ISpeechPresenceDetector, type ITemporaryWorkspace, type ITranscriberAdapter, type ITranscriberRegistry, type ITtsAdapter, type IVoiceCommandCorrectionModelClient, type IVoiceCommandCorrector, type IVoiceMediaHostConnection, type IVoiceNarrationCompactor, type IVoiceSessionController, type IVoiceTurnFallbackNarrator, type LiveRecordingHandle, MAX_VOICE_COMMAND_CONTEXT_BYTES, MacOsSayPcmSynthesizer, MacOsSayTtsAdapter, MlxWhisperAdapter, type NarrationAlignment, type NarrationKind, NarrationPlaybackCoordinator, type NarrationPlaybackLifecycleErrorObserver, type NarrationPlaybackLifecycleEvent, type NarrationPlaybackLifecycleObserver, type NarrationPlaybackOutcome, type NarrationPlaybackRequest, type NarrationPlaybackSettlement, type NarrationResidualAnalysis, NodeBinaryProcessSpawner, NodeProcessSpawner, OpenAiWhisperAdapter, PCM_BITS_PER_SAMPLE, PCM_BYTES_PER_SAMPLE, PCM_CHANNELS, PCM_FRAME_BYTES, PCM_FRAME_MS, PCM_SAMPLE_RATE, type PcmAudioRecorderStartOptions, PcmFrameAssembler, PcmWavAnalyzer, type PendingUtterance, PiVoiceConfigService, type ProcessResult, type ProcessStartOptions, type RecordingHandle, RollingEchoProbeCoordinator, type RollingEchoProbeState, type RunningProcess, type SelectedTranscriber, SemanticEchoAdjudicator, SystemClock, TemporaryWorkspace, type TimerHandle, TranscriberRegistry, type TranscriptionAdapterOutput, type TranscriptionRequest, type TranscriptionResult, type TtsPlayback, type TtsPlaybackOutcome, type TtsPlaybackReference, type TtsPlaybackResult, type TtsSpeakRequest, UtteranceAssembler, type UtteranceFinalizationReason, type UtteranceLimits, VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER, VOICE_MEDIA_ACTIVITY_EPOCH_HEADER, VOICE_MEDIA_ACTIVITY_LEVEL_HEADER, VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER, VOICE_MEDIA_ACTIVITY_STATE_HEADER, VOICE_MEDIA_API_BASE_PATH, VOICE_MEDIA_BITS_PER_SAMPLE, VOICE_MEDIA_CHANNELS, VOICE_MEDIA_CONTENT_TYPE, VOICE_MEDIA_EVENT_WAIT_NONE, VOICE_MEDIA_HEARTBEAT_MS, VOICE_MEDIA_PLAYBACK_STATE_HEADER, VOICE_MEDIA_PROTOCOL_VERSION, VOICE_MEDIA_ROUTES, VOICE_MEDIA_SAMPLE_RATE, VOICE_MEDIA_WAKE_TYPE, type VadConfiguration, type VadFrameMetadata, type VadNoiseProfile, type VadPushResult, type VadSegment, type VoiceActivityPresentation, type VoiceActivityUpdate, type VoiceClientKind, type VoiceCommandContext, type VoiceCommandCorrectionInput, type VoiceCommandCorrectionModelRequest, VoiceCommandCorrector, type VoiceDependencies, type VoiceExtensionOptions, type VoiceFooterContributionHandle, type VoiceFooterContributionValue, type VoiceLeaderContributionHandle, type VoiceMediaAudioPoll, type VoiceMediaCapabilities, type VoiceMediaCapture, type VoiceMediaCaptureActivity, type VoiceMediaCaptureActivityState, type VoiceMediaCaptureConfiguration, type VoiceMediaCaptureMode, type VoiceMediaCaptureSpeechAnalysis, type VoiceMediaClientEvent, type VoiceMediaConnectRequest, type VoiceMediaConnectResult, type VoiceMediaControlLocation, type VoiceMediaDevice, type VoiceMediaHeartbeatResult, type VoiceMediaPlayback, type VoiceMediaPlaybackDelivery, type VoiceMediaPlaybackOutcome, type VoiceMediaPlaybackResult, type VoiceMediaTransport, type VoiceMediaWake, VoiceNarrationPlayback, type VoiceNarrationPlaybackDependencies, type VoiceNarrationPlaybackLogger, type VoiceNarrationServiceBinding, VoiceSessionController, type VoiceState, VoiceTurnFallbackNarrator, type VoiceTurnFallbackNarratorOptions, type VoiceTurnFallbackRuntime, type VoiceUi, WhisperCppAdapter, alignNarrationSpan, analyzePcmWav, calculatePcmFrameDbfs, canRunVoice, compactVoiceCommandContext, createVoiceDependencies, createVoiceNarrationService, createVoiceTurnFallback, deliverAutoCaptureInput, editDistance, encodePcm16Wav, extractNovelNarrationResidual, extractTerminalAssistantText, formatAutoCaptureActivity, formatVoiceActivity, matchPlaybackStopPhrase, matchStartPhrase, matchStopPhrase, normalizeEchoText, phoneticKey, resolveVoiceCommandCorrector, resolveVoiceFallbackNarrator, resolveVoiceTranscriptAdjudicator, voiceLeaderBindings, voiceMediaClientUrl, voiceMediaHostConnection, voiceModeState, voiceOwnershipState, voiceToolRestriction, writePrivatePcm16Wav };
|
package/dist/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER as e,VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER as t,VOICE_MEDIA_ACTIVITY_EPOCH_HEADER as n,VOICE_MEDIA_ACTIVITY_LEVEL_HEADER as r,VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER as i,VOICE_MEDIA_ACTIVITY_STATE_HEADER as a,VOICE_MEDIA_API_BASE_PATH as o,VOICE_MEDIA_BITS_PER_SAMPLE as s,VOICE_MEDIA_CHANNELS as c,VOICE_MEDIA_CONTENT_TYPE as l,VOICE_MEDIA_EVENT_WAIT_NONE as u,VOICE_MEDIA_HEARTBEAT_MS as d,VOICE_MEDIA_PLAYBACK_STATE_HEADER as f,VOICE_MEDIA_PROTOCOL_VERSION as p,VOICE_MEDIA_ROUTES as m,VOICE_MEDIA_SAMPLE_RATE as h,VOICE_MEDIA_WAKE_TYPE as g,voiceMediaClientUrl as _}from"./src/types/clientMedia.mjs";import{PCM_BITS_PER_SAMPLE as v,PCM_BYTES_PER_SAMPLE as y,PCM_CHANNELS as b,PCM_FRAME_BYTES as x,PCM_FRAME_MS as S,PCM_SAMPLE_RATE as C,PcmFrameAssembler as w,encodePcm16Wav as T}from"./src/services/pcm/index.mjs";import{ExecutableResolver as E,FfmpegAudioRecorder as D,FfmpegPcmAudioRecorder as O,MacOsSayPcmSynthesizer as k,MacOsSayTtsAdapter as A,NodeBinaryProcessSpawner as j,NodeProcessSpawner as M,PcmWavAnalyzer as N,SystemClock as P,TemporaryWorkspace as F,analyzePcmWav as I,writePrivatePcm16Wav as L}from"./src/services/infrastructure/index.mjs";import{ClientPcmAudioRecorder as R,ClientTtsAdapter as z,voiceMediaHostConnection as B}from"./src/services/clientMedia/index.mjs";import{formatAutoCaptureActivity as V,formatVoiceActivity as H}from"./src/models/voiceActivity.mjs";import{canRunVoice as U,voiceModeState as W,voiceOwnershipState as G}from"./src/models/voiceMode.mjs";import{MAX_VOICE_COMMAND_CONTEXT_BYTES as K,VoiceCommandCorrector as q,compactVoiceCommandContext as J,editDistance as Y,phoneticKey as X}from"./src/services/commandCorrection/index.mjs";import{DETERMINISTIC_FALLBACK_THRESHOLD_CHARACTERS as Z,VoiceTurnFallbackNarrator as Q}from"./src/services/fallbackNarration/index.mjs";import{EchoTailTimeline as $,RollingEchoProbeCoordinator as ee,SemanticEchoAdjudicator as te,alignNarrationSpan as ne,extractNovelNarrationResidual as re,matchPlaybackStopPhrase as ie,matchStartPhrase as ae,matchStopPhrase as oe,normalizeEchoText as se}from"./src/services/semanticEcho/index.mjs";import{PiVoiceConfigService as ce}from"./src/services/voiceConfig/index.mjs";import{MlxWhisperAdapter as le,OpenAiWhisperAdapter as ue,TranscriberRegistry as de,WhisperCppAdapter as fe}from"./src/services/whisper/index.mjs";import{createVoiceDependencies as pe}from"./src/services/voiceDependencies/index.mjs";import{NarrationPlaybackCoordinator as me}from"./src/services/narration/index.mjs";import{VoiceNarrationPlayback as he}from"./src/services/narrationPlayback/index.mjs";import{createVoiceNarrationService as ge,createVoiceTurnFallback as _e,deliverAutoCaptureInput as ve,extractTerminalAssistantText as ye,resolveVoiceCommandCorrector as be,resolveVoiceFallbackNarrator as xe,resolveVoiceTranscriptAdjudicator as Se,voiceLeaderBindings as Ce,voiceToolRestriction as we}from"./src/controllers/voice.mjs";import{BoundedTranscriptionQueue as Te,DEFAULT_UTTERANCE_LIMITS as Ee,UtteranceAssembler as De}from"./src/services/utterance/index.mjs";import{AdaptiveVoiceActivityDetector as Oe,DEFAULT_VAD_CONFIGURATION as ke,calculatePcmFrameDbfs as Ae}from"./src/services/vad/index.mjs";import{VoiceSessionController as je}from"./src/services/voiceSessionController/index.mjs";export{Oe as AdaptiveVoiceActivityDetector,Te as BoundedTranscriptionQueue,R as ClientPcmAudioRecorder,z as ClientTtsAdapter,Ee as DEFAULT_UTTERANCE_LIMITS,ke as DEFAULT_VAD_CONFIGURATION,Z as DETERMINISTIC_FALLBACK_THRESHOLD_CHARACTERS,$ as EchoTailTimeline,E as ExecutableResolver,D as FfmpegAudioRecorder,O as FfmpegPcmAudioRecorder,K as MAX_VOICE_COMMAND_CONTEXT_BYTES,k as MacOsSayPcmSynthesizer,A as MacOsSayTtsAdapter,le as MlxWhisperAdapter,me as NarrationPlaybackCoordinator,j as NodeBinaryProcessSpawner,M as NodeProcessSpawner,ue as OpenAiWhisperAdapter,v as PCM_BITS_PER_SAMPLE,y as PCM_BYTES_PER_SAMPLE,b as PCM_CHANNELS,x as PCM_FRAME_BYTES,S as PCM_FRAME_MS,C as PCM_SAMPLE_RATE,w as PcmFrameAssembler,N as PcmWavAnalyzer,ce as PiVoiceConfigService,ee as RollingEchoProbeCoordinator,te as SemanticEchoAdjudicator,P as SystemClock,F as TemporaryWorkspace,de as TranscriberRegistry,De as UtteranceAssembler,e as VOICE_MEDIA_ACTIVITY_ECHO_SPEECH_MS_HEADER,t as VOICE_MEDIA_ACTIVITY_ELAPSED_HEADER,n as VOICE_MEDIA_ACTIVITY_EPOCH_HEADER,r as VOICE_MEDIA_ACTIVITY_LEVEL_HEADER,i as VOICE_MEDIA_ACTIVITY_SPEECH_MS_HEADER,a as VOICE_MEDIA_ACTIVITY_STATE_HEADER,o as VOICE_MEDIA_API_BASE_PATH,s as VOICE_MEDIA_BITS_PER_SAMPLE,c as VOICE_MEDIA_CHANNELS,l as VOICE_MEDIA_CONTENT_TYPE,u as VOICE_MEDIA_EVENT_WAIT_NONE,d as VOICE_MEDIA_HEARTBEAT_MS,f as VOICE_MEDIA_PLAYBACK_STATE_HEADER,p as VOICE_MEDIA_PROTOCOL_VERSION,m as VOICE_MEDIA_ROUTES,h as VOICE_MEDIA_SAMPLE_RATE,g as VOICE_MEDIA_WAKE_TYPE,q as VoiceCommandCorrector,he as VoiceNarrationPlayback,je as VoiceSessionController,Q as VoiceTurnFallbackNarrator,fe as WhisperCppAdapter,ne as alignNarrationSpan,I as analyzePcmWav,Ae as calculatePcmFrameDbfs,U as canRunVoice,J as compactVoiceCommandContext,pe as createVoiceDependencies,ge as createVoiceNarrationService,_e as createVoiceTurnFallback,ve as deliverAutoCaptureInput,Y as editDistance,T as encodePcm16Wav,re as extractNovelNarrationResidual,ye as extractTerminalAssistantText,V as formatAutoCaptureActivity,H as formatVoiceActivity,ie as matchPlaybackStopPhrase,ae as matchStartPhrase,oe as matchStopPhrase,se as normalizeEchoText,X as phoneticKey,be as resolveVoiceCommandCorrector,xe as resolveVoiceFallbackNarrator,Se as resolveVoiceTranscriptAdjudicator,Ce as voiceLeaderBindings,_ as voiceMediaClientUrl,B as voiceMediaHostConnection,W as voiceModeState,G as voiceOwnershipState,we as voiceToolRestriction,L as writePrivatePcm16Wav};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"voice.cjs","names":[],"sources":["../../../src/constants/voice.ts"],"sourcesContent":["export const COMMAND_NAME = 'voice';\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"voice.mjs","names":[],"sources":["../../../src/constants/voice.ts"],"sourcesContent":["export const COMMAND_NAME = 'voice';\n"],"mappings":"AAAA,MAAa,EAAe"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=[`·`,`•`,`●`,`•`],t=[`⠋`,`⠙`,`⠹`,`⠸`,`⠼`,`⠴`,`⠦`,`⠧`,`⠇`,`⠏`],n={key:`v`,label:`voice`,detail:`dictation and narration`,order:67};exports.AUTO_LEADER_DETAIL=`autonomous capture with agent narration`,exports.AUTO_MODE_COLOR=`accent`,exports.AUTO_MODE_LABEL=`Voice`,exports.ERROR_NOTIFICATION=`error`,exports.IDLE_STATE=`idle`,exports.INFO_NOTIFICATION=`info`,exports.MAX_RECORDING_MS=3e5,exports.RECORDING_FAILED_EVENT=`doom_voice.recording_failed`,exports.RECORDING_FINISHED_EVENT=`doom_voice.recording_finished`,exports.RECORDING_FRAMES=e,exports.RECORDING_REQUESTED_EVENT=`doom_voice.recording_requested`,exports.RECORDING_STARTED_EVENT=`doom_voice.recording_started`,exports.RECORDING_STATE=`recording`,exports.STATUS_KEY=`doom-voice`,exports.TRANSCRIBING_FRAMES=t,exports.TRANSCRIBING_STATE=`transcribing`,exports.TRANSCRIPTION_FAILED_EVENT=`doom_voice.transcription_failed`,exports.TRANSCRIPTION_FINISHED_EVENT=`doom_voice.transcription_finished`,exports.TRANSCRIPTION_STARTED_EVENT=`doom_voice.transcription_started`,exports.VOICE_GROUP_SEGMENT=n;
|
|
2
|
-
//# sourceMappingURL=voiceRuntime.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"voiceRuntime.cjs","names":[],"sources":["../../../src/constants/voiceRuntime.ts"],"sourcesContent":["export const STATUS_KEY = 'doom-voice';\n\nexport const MAX_RECORDING_MS = 300_000;\n\nexport const ACTIVITY_INTERVAL_MS = 120;\n\nexport const LEADER_GROUP_ORDER = 67;\n\nexport const AUTO_LEADER_DETAIL = 'autonomous capture with agent narration';\n\nexport const AUTO_MODE_LABEL = 'Voice';\n\nexport const AUTO_MODE_COLOR = 'accent' as const;\n\nexport const RECORDING_FRAMES = ['·', '•', '●', '•'] as const;\n\nexport const TRANSCRIBING_FRAMES = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'] as const;\n\nexport const INFO_NOTIFICATION = 'info';\n\nexport const ERROR_NOTIFICATION = 'error';\n\nexport const RECORDING_REQUESTED_EVENT = 'doom_voice.recording_requested';\n\nexport const RECORDING_STARTED_EVENT = 'doom_voice.recording_started';\n\nexport const RECORDING_FAILED_EVENT = 'doom_voice.recording_failed';\n\nexport const RECORDING_FINISHED_EVENT = 'doom_voice.recording_finished';\n\nexport const TRANSCRIPTION_STARTED_EVENT = 'doom_voice.transcription_started';\n\nexport const TRANSCRIPTION_FINISHED_EVENT = 'doom_voice.transcription_finished';\n\nexport const TRANSCRIPTION_FAILED_EVENT = 'doom_voice.transcription_failed';\n\nexport const IDLE_STATE = 'idle' as const;\n\nexport const RECORDING_STATE = 'recording' as const;\n\nexport const TRANSCRIBING_STATE = 'transcribing' as const;\n\nexport const VOICE_GROUP_SEGMENT = {\n key: 'v',\n label: 'voice',\n detail: 'dictation and narration',\n order: LEADER_GROUP_ORDER,\n} as const;\n"],"mappings":"AAAA,MAca,EAAmB,CAAC,KAAM,KAAM,KAAM,IAAI,EAE1C,EAAsB,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAAI,EA0BjF,EAAsB,CACjC,IAAK,IACL,MAAO,QACP,OAAQ,0BACR,MAAA,EACF"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=`doom-voice`,t=3e5,n=`autonomous capture with agent narration`,r=`Voice`,i=`accent`,a=[`·`,`•`,`●`,`•`],o=[`⠋`,`⠙`,`⠹`,`⠸`,`⠼`,`⠴`,`⠦`,`⠧`,`⠇`,`⠏`],s=`info`,c=`error`,l=`doom_voice.recording_requested`,u=`doom_voice.recording_started`,d=`doom_voice.recording_failed`,f=`doom_voice.recording_finished`,p=`doom_voice.transcription_started`,m=`doom_voice.transcription_finished`,h=`doom_voice.transcription_failed`,g=`idle`,_=`recording`,v=`transcribing`,y={key:`v`,label:`voice`,detail:`dictation and narration`,order:67};export{n as AUTO_LEADER_DETAIL,i as AUTO_MODE_COLOR,r as AUTO_MODE_LABEL,c as ERROR_NOTIFICATION,g as IDLE_STATE,s as INFO_NOTIFICATION,t as MAX_RECORDING_MS,d as RECORDING_FAILED_EVENT,f as RECORDING_FINISHED_EVENT,a as RECORDING_FRAMES,l as RECORDING_REQUESTED_EVENT,u as RECORDING_STARTED_EVENT,_ as RECORDING_STATE,e as STATUS_KEY,o as TRANSCRIBING_FRAMES,v as TRANSCRIBING_STATE,h as TRANSCRIPTION_FAILED_EVENT,m as TRANSCRIPTION_FINISHED_EVENT,p as TRANSCRIPTION_STARTED_EVENT,y as VOICE_GROUP_SEGMENT};
|
|
2
|
-
//# sourceMappingURL=voiceRuntime.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"voiceRuntime.mjs","names":[],"sources":["../../../src/constants/voiceRuntime.ts"],"sourcesContent":["export const STATUS_KEY = 'doom-voice';\n\nexport const MAX_RECORDING_MS = 300_000;\n\nexport const ACTIVITY_INTERVAL_MS = 120;\n\nexport const LEADER_GROUP_ORDER = 67;\n\nexport const AUTO_LEADER_DETAIL = 'autonomous capture with agent narration';\n\nexport const AUTO_MODE_LABEL = 'Voice';\n\nexport const AUTO_MODE_COLOR = 'accent' as const;\n\nexport const RECORDING_FRAMES = ['·', '•', '●', '•'] as const;\n\nexport const TRANSCRIBING_FRAMES = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'] as const;\n\nexport const INFO_NOTIFICATION = 'info';\n\nexport const ERROR_NOTIFICATION = 'error';\n\nexport const RECORDING_REQUESTED_EVENT = 'doom_voice.recording_requested';\n\nexport const RECORDING_STARTED_EVENT = 'doom_voice.recording_started';\n\nexport const RECORDING_FAILED_EVENT = 'doom_voice.recording_failed';\n\nexport const RECORDING_FINISHED_EVENT = 'doom_voice.recording_finished';\n\nexport const TRANSCRIPTION_STARTED_EVENT = 'doom_voice.transcription_started';\n\nexport const TRANSCRIPTION_FINISHED_EVENT = 'doom_voice.transcription_finished';\n\nexport const TRANSCRIPTION_FAILED_EVENT = 'doom_voice.transcription_failed';\n\nexport const IDLE_STATE = 'idle' as const;\n\nexport const RECORDING_STATE = 'recording' as const;\n\nexport const TRANSCRIBING_STATE = 'transcribing' as const;\n\nexport const VOICE_GROUP_SEGMENT = {\n key: 'v',\n label: 'voice',\n detail: 'dictation and narration',\n order: LEADER_GROUP_ORDER,\n} as const;\n"],"mappings":"AAAA,MAAa,EAAa,aAEb,EAAmB,IAMnB,EAAqB,0CAErB,EAAkB,QAElB,EAAkB,SAElB,EAAmB,CAAC,KAAM,KAAM,KAAM,IAAI,EAE1C,EAAsB,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAAI,EAEjF,EAAoB,OAEpB,EAAqB,QAErB,EAA4B,iCAE5B,EAA0B,+BAE1B,EAAyB,8BAEzB,EAA2B,gCAE3B,EAA8B,mCAE9B,EAA+B,oCAE/B,EAA6B,kCAE7B,EAAa,OAEb,EAAkB,YAElB,EAAqB,eAErB,EAAsB,CACjC,IAAK,IACL,MAAO,QACP,OAAQ,0BACR,MAAA,EACF"}
|