@absolutejs/voice 0.0.22-beta.151 → 0.0.22-beta.152
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 +28 -0
- package/dist/angular/index.d.ts +2 -0
- package/dist/angular/index.js +479 -124
- package/dist/angular/voice-delivery-runtime.component.d.ts +14 -0
- package/dist/angular/voice-delivery-runtime.service.d.ts +12 -0
- package/dist/client/deliveryRuntime.d.ts +19 -0
- package/dist/client/deliveryRuntimeWidget.d.ts +34 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.js +287 -100
- package/dist/deliveryRuntime.d.ts +1 -1
- package/dist/react/VoiceDeliveryRuntime.d.ts +6 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +520 -256
- package/dist/react/useVoiceDeliveryRuntime.d.ts +8 -0
- package/dist/svelte/createVoiceDeliveryRuntime.d.ts +9 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +309 -114
- package/dist/vue/VoiceDeliveryRuntime.d.ts +21 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.js +534 -261
- package/dist/vue/useVoiceDeliveryRuntime.d.ts +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -641,6 +641,34 @@ For custom elements:
|
|
|
641
641
|
</script>
|
|
642
642
|
```
|
|
643
643
|
|
|
644
|
+
## Delivery Runtime Widgets
|
|
645
|
+
|
|
646
|
+
After mounting `createVoiceDeliveryRuntimeRoutes(...)`, apps can expose audit and trace worker health through the same framework-native primitives:
|
|
647
|
+
|
|
648
|
+
```tsx
|
|
649
|
+
import { VoiceDeliveryRuntime } from '@absolutejs/voice/react';
|
|
650
|
+
|
|
651
|
+
export function DeliveryWorkers() {
|
|
652
|
+
return <VoiceDeliveryRuntime intervalMs={5000} />;
|
|
653
|
+
}
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
```ts
|
|
657
|
+
import { VoiceDeliveryRuntime } from '@absolutejs/voice/vue';
|
|
658
|
+
import { createVoiceDeliveryRuntime } from '@absolutejs/voice/svelte';
|
|
659
|
+
import { VoiceDeliveryRuntimeService } from '@absolutejs/voice/angular';
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
For HTML or HTMX pages:
|
|
663
|
+
|
|
664
|
+
```html
|
|
665
|
+
<absolute-voice-delivery-runtime interval-ms="5000"></absolute-voice-delivery-runtime>
|
|
666
|
+
<script type="module">
|
|
667
|
+
import { defineVoiceDeliveryRuntimeElement } from '@absolutejs/voice/client';
|
|
668
|
+
defineVoiceDeliveryRuntimeElement();
|
|
669
|
+
</script>
|
|
670
|
+
```
|
|
671
|
+
|
|
644
672
|
## Voice Assistants
|
|
645
673
|
|
|
646
674
|
Use `createVoiceAssistant(...)` when you want one product-level surface for a voice agent instead of wiring tools, guardrails, experiments, traces, and ops recipes separately. It returns a standard `onTurn` handler, plus an `ops` object you can pass to `voice(...)`.
|
package/dist/angular/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { VoiceOpsStatusService } from './voice-ops-status.service';
|
|
2
|
+
export { VoiceDeliveryRuntimeService } from './voice-delivery-runtime.service';
|
|
2
3
|
export { VoiceCampaignDialerProofService } from './voice-campaign-dialer-proof.service';
|
|
3
4
|
export { VoiceStreamService } from './voice-stream.service';
|
|
4
5
|
export { VoiceControllerService } from './voice-controller.service';
|
|
@@ -9,3 +10,4 @@ export { VoiceTraceTimelineService } from './voice-trace-timeline.service';
|
|
|
9
10
|
export { VoiceTurnLatencyService } from './voice-turn-latency.service';
|
|
10
11
|
export { VoiceTurnQualityService } from './voice-turn-quality.service';
|
|
11
12
|
export { VoiceWorkflowStatusService } from './voice-workflow-status.service';
|
|
13
|
+
export { VoiceDeliveryRuntimeComponent } from './voice-delivery-runtime.component';
|