@absolutejs/voice 0.0.22-beta.151 → 0.0.22-beta.153
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 +30 -0
- package/dist/angular/index.d.ts +2 -0
- package/dist/angular/index.js +604 -124
- package/dist/angular/voice-delivery-runtime.component.d.ts +17 -0
- package/dist/angular/voice-delivery-runtime.service.d.ts +16 -0
- package/dist/client/deliveryRuntime.d.ts +34 -0
- package/dist/client/deliveryRuntimeWidget.d.ts +37 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.js +371 -100
- package/dist/deliveryRuntime.d.ts +14 -2
- package/dist/index.js +44 -1
- package/dist/react/VoiceDeliveryRuntime.d.ts +7 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +632 -256
- package/dist/react/useVoiceDeliveryRuntime.d.ts +13 -0
- package/dist/svelte/createVoiceDeliveryRuntime.d.ts +11 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +394 -114
- package/dist/vue/VoiceDeliveryRuntime.d.ts +30 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.js +649 -261
- package/dist/vue/useVoiceDeliveryRuntime.d.ts +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -641,6 +641,36 @@ 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
|
+
The widget includes operator actions by default: `Tick workers` drains pending/failed deliveries, and `Requeue dead letters` moves reviewed dead-lettered audit/trace deliveries back into the live queues. Pass `includeActions={false}` when you only want a read-only status card.
|
|
657
|
+
|
|
658
|
+
```ts
|
|
659
|
+
import { VoiceDeliveryRuntime } from '@absolutejs/voice/vue';
|
|
660
|
+
import { createVoiceDeliveryRuntime } from '@absolutejs/voice/svelte';
|
|
661
|
+
import { VoiceDeliveryRuntimeService } from '@absolutejs/voice/angular';
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
For HTML or HTMX pages:
|
|
665
|
+
|
|
666
|
+
```html
|
|
667
|
+
<absolute-voice-delivery-runtime interval-ms="5000"></absolute-voice-delivery-runtime>
|
|
668
|
+
<script type="module">
|
|
669
|
+
import { defineVoiceDeliveryRuntimeElement } from '@absolutejs/voice/client';
|
|
670
|
+
defineVoiceDeliveryRuntimeElement();
|
|
671
|
+
</script>
|
|
672
|
+
```
|
|
673
|
+
|
|
644
674
|
## Voice Assistants
|
|
645
675
|
|
|
646
676
|
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';
|