@absolutejs/voice 0.0.22-beta.152 → 0.0.22-beta.154

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 CHANGED
@@ -653,6 +653,8 @@ export function DeliveryWorkers() {
653
653
  }
654
654
  ```
655
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
+
656
658
  ```ts
657
659
  import { VoiceDeliveryRuntime } from '@absolutejs/voice/vue';
658
660
  import { createVoiceDeliveryRuntime } from '@absolutejs/voice/svelte';
@@ -669,6 +671,43 @@ For HTML or HTMX pages:
669
671
  </script>
670
672
  ```
671
673
 
674
+ ## Voice Ops Action Center
675
+
676
+ Use `VoiceOpsActionCenter` when you want one primitive operator panel for production proofs and recovery actions without building a dashboard. The default action builder can include production readiness refresh, delivery worker ticks, dead-letter requeue, turn-latency proof, and provider failover simulation.
677
+
678
+ ```tsx
679
+ import { VoiceOpsActionCenter } from '@absolutejs/voice/react';
680
+ import { createVoiceOpsActionCenterActions } from '@absolutejs/voice/client';
681
+
682
+ export function OperatorPanel() {
683
+ return (
684
+ <VoiceOpsActionCenter
685
+ actions={createVoiceOpsActionCenterActions({
686
+ providers: ['deepgram', 'assemblyai']
687
+ })}
688
+ />
689
+ );
690
+ }
691
+ ```
692
+
693
+ For HTML or HTMX pages:
694
+
695
+ ```html
696
+ <div id="voice-ops-actions"></div>
697
+ <script type="module">
698
+ import {
699
+ createVoiceOpsActionCenterActions,
700
+ mountVoiceOpsActionCenter
701
+ } from '@absolutejs/voice/client';
702
+
703
+ mountVoiceOpsActionCenter(document.querySelector('#voice-ops-actions'), {
704
+ actions: createVoiceOpsActionCenterActions({
705
+ providers: ['deepgram']
706
+ })
707
+ });
708
+ </script>
709
+ ```
710
+
672
711
  ## Voice Assistants
673
712
 
674
713
  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(...)`.
@@ -1,4 +1,5 @@
1
1
  export { VoiceOpsStatusService } from './voice-ops-status.service';
2
+ export { VoiceOpsActionCenterService } from './voice-ops-action-center.service';
2
3
  export { VoiceDeliveryRuntimeService } from './voice-delivery-runtime.service';
3
4
  export { VoiceCampaignDialerProofService } from './voice-campaign-dialer-proof.service';
4
5
  export { VoiceStreamService } from './voice-stream.service';