@skippr/live-agent-sdk 0.76.0 → 0.78.0

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.
@@ -1,5 +1,6 @@
1
1
  interface AutoStartMediaProps {
2
2
  pendingScreenStream: MediaStream | null;
3
+ tapToTalk?: boolean;
3
4
  }
4
- export declare function AutoStartMedia({ pendingScreenStream }: AutoStartMediaProps): null;
5
+ export declare function AutoStartMedia({ pendingScreenStream, tapToTalk }: AutoStartMediaProps): null;
5
6
  export {};
@@ -1 +1,5 @@
1
- export declare function DomCapture(): null;
1
+ interface DomCaptureProps {
2
+ tapToTalk?: boolean;
3
+ }
4
+ export declare function DomCapture({ tapToTalk }: DomCaptureProps): null;
5
+ export {};
@@ -1,2 +1,2 @@
1
- export declare const HIGHLIGHT_AUTO_CLEAR_MS = 10000;
1
+ export declare const HIGHLIGHT_AUTO_CLEAR_MS = 25000;
2
2
  export declare function HighlightOverlay(): null;
@@ -0,0 +1,7 @@
1
+ interface TapToTalkMicProps {
2
+ isCapturingSpeech: boolean;
3
+ showLabel: boolean;
4
+ onToggle: () => void;
5
+ }
6
+ export declare function TapToTalkMic({ isCapturingSpeech, showLabel, onToggle }: TapToTalkMicProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -9,6 +9,7 @@ export { CAPTURE_MODE, type CaptureMode, DEFAULT_CAPTURE_MODE };
9
9
  export interface AgentControls {
10
10
  highlight?: boolean;
11
11
  actions?: boolean;
12
+ tapToTalk?: boolean;
12
13
  }
13
14
  export interface UiPreferences {
14
15
  animateCursor?: boolean;
@@ -0,0 +1,6 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type UseTapToTalkValue } from '../hooks/useTapToTalk';
3
+ export declare function TapToTalkProvider({ children }: {
4
+ children: ReactNode;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export declare function useTapToTalkContext(): UseTapToTalkValue;
@@ -0,0 +1,8 @@
1
+ import { useTranscriptions } from '@livekit/components-react/hooks';
2
+ import { type ReactNode } from 'react';
3
+ type Transcriptions = ReturnType<typeof useTranscriptions>;
4
+ export declare function TranscriptionsProvider({ children }: {
5
+ children: ReactNode;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ export declare function useSharedTranscriptions(): Transcriptions;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface UseIdleAutoPauseOptions {
2
+ enabled: boolean;
3
+ active: boolean;
4
+ isHeld: boolean;
5
+ pause: () => void;
6
+ }
7
+ export interface UseIdleAutoPauseValue {
8
+ reportActivity: () => void;
9
+ }
10
+ export declare function useIdleAutoPause({ enabled, active, isHeld, pause, }: UseIdleAutoPauseOptions): UseIdleAutoPauseValue;
@@ -0,0 +1 @@
1
+ export declare function useLiveUserTranscript(active: boolean): string;
@@ -0,0 +1,5 @@
1
+ export interface UseTapToTalkValue {
2
+ isCapturingSpeech: boolean;
3
+ toggle: () => void;
4
+ }
5
+ export declare function useTapToTalk(): UseTapToTalkValue;
@@ -15,5 +15,7 @@ export declare const PAGE_ACTIONS_TOPIC = "skippr.page-actions";
15
15
  export declare const TEXT_MODE_TOPIC = "skippr.text-mode";
16
16
  export declare const ACTION_CONTROL_TOPIC = "skippr.action-control";
17
17
  export declare const SESSION_HOLD_TOPIC = "skippr.session-hold";
18
+ export declare const TAP_TO_TALK_TOPIC = "skippr.tap-to-talk";
19
+ export declare const IDLE_AUTO_PAUSE_MS: number;
18
20
  export declare const PLAN_ATTR = "skippr.action-plan";
19
21
  export declare const NAME_MAX_CHARS = 80;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skippr/live-agent-sdk",
3
- "version": "0.76.0",
3
+ "version": "0.78.0",
4
4
  "type": "module",
5
5
  "main": "dist/esm/lib-exports.js",
6
6
  "module": "dist/esm/lib-exports.js",