@voxket-ai/voxket-live 1.0.63 → 1.0.64

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.
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ interface Props {
3
+ children: React.ReactNode;
4
+ fallback?: React.ComponentType<{
5
+ error: Error;
6
+ }>;
7
+ }
8
+ interface State {
9
+ hasError: boolean;
10
+ error?: Error;
11
+ }
12
+ export declare class VoxketErrorBoundary extends React.Component<Props, State> {
13
+ constructor(props: Props);
14
+ static getDerivedStateFromError(error: Error): State;
15
+ componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
16
+ render(): React.ReactNode;
17
+ }
18
+ export {};
@@ -1,4 +1,4 @@
1
- import { Track } from 'livekit-client';
1
+ import { Track } from '../../../../node_modules/livekit-client';
2
2
  import { AppConfig } from '../../../lib/types';
3
3
  import { UseAgentControlBarProps } from './hooks/use-agent-control-bar';
4
4
  import { ThemeType } from '../../../styles';
@@ -1,5 +1,5 @@
1
- import { Track } from 'livekit-client';
2
- import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
1
+ import { Track } from '../../../../../node_modules/livekit-client';
2
+ import { TrackReferenceOrPlaceholder } from '../../../../../node_modules/@livekit/components-react';
3
3
  export interface ControlBarControls {
4
4
  microphone?: boolean;
5
5
  screenShare?: boolean;
@@ -1,4 +1,4 @@
1
- import { AgentState, TrackReference } from '@livekit/components-react';
1
+ import { AgentState, TrackReference } from '../../../node_modules/@livekit/components-react';
2
2
  interface AgentAudioTileProps {
3
3
  state: AgentState;
4
4
  audioTrack: TrackReference;
@@ -1,4 +1,4 @@
1
- import { TrackReference } from '@livekit/components-react';
1
+ import { TrackReference } from '../../../node_modules/@livekit/components-react';
2
2
  interface AgentAudioTileProps {
3
3
  videoTrack: TrackReference;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { MessageFormatter, ReceivedChatMessage } from '@livekit/components-react';
1
+ import { MessageFormatter, ReceivedChatMessage } from '../../../../node_modules/@livekit/components-react';
2
2
  import * as React from 'react';
3
3
  export interface ChatEntryProps extends React.HTMLAttributes<HTMLLIElement> {
4
4
  entry: ReceivedChatMessage;
@@ -1,4 +1,4 @@
1
- import { MessageFormatter, ReceivedChatMessage } from '@livekit/components-react';
1
+ import { MessageFormatter, ReceivedChatMessage } from '../../../../../node_modules/@livekit/components-react';
2
2
  import * as React from 'react';
3
3
  export declare const useChatMessage: (entry: ReceivedChatMessage, messageFormatter?: MessageFormatter) => {
4
4
  message: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { LocalAudioTrack, LocalVideoTrack } from 'livekit-client';
1
+ import { LocalAudioTrack, LocalVideoTrack } from '../../../node_modules/livekit-client';
2
2
  import { SelectTrigger } from '../../components/ui/select';
3
3
  type DeviceSelectProps = React.ComponentProps<typeof SelectTrigger> & {
4
4
  kind: MediaDeviceKind;
@@ -1,5 +1,5 @@
1
- import { Track } from 'livekit-client';
2
- import { TrackReference } from '@livekit/components-react';
1
+ import { Track } from '../../../node_modules/livekit-client';
2
+ import { TrackReference } from '../../../node_modules/@livekit/components-react';
3
3
  export declare function useLocalTrackRef(source: Track.Source): TrackReference | undefined;
4
4
  interface MediaTilesProps {
5
5
  chatOpen: boolean;
@@ -1,4 +1,4 @@
1
- import { Track } from 'livekit-client';
1
+ import { Track } from '../../../node_modules/livekit-client';
2
2
  import { Toggle } from '../../components/ui/toggle';
3
3
  import * as React from 'react';
4
4
  export type TrackToggleProps = React.ComponentProps<typeof Toggle> & {
@@ -1,3 +1,3 @@
1
- import { VideoTrack } from '@livekit/components-react';
1
+ import { VideoTrack } from '../../../node_modules/@livekit/components-react';
2
2
  import * as React from 'react';
3
3
  export declare const VideoTile: ({ trackRef, className, ref, }: React.ComponentProps<typeof VideoTrack>) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { Room, RemoteParticipant, LocalParticipant, ConnectionState, Track } from 'livekit-client';
1
+ import { Room, RemoteParticipant, LocalParticipant, ConnectionState, Track } from '../../node_modules/livekit-client';
2
2
  import { VoxketEventEmitter } from './event-emitter';
3
3
  import { PluginManager } from '../plugins/plugin-system';
4
4
  import { VoxketConfig, SessionConfig, VoxketSession, VoxketEvents, SessionState, SessionMetrics, AgentInfo, ParticipantInfo, ChatMessage, TranscriptionSegment, SessionModality } from '../types/core';
@@ -121,9 +121,9 @@ export declare class VoxketClient extends VoxketEventEmitter<VoxketEvents & RpcE
121
121
  getRoom(): Room | null;
122
122
  getConnectionState(): ConnectionState;
123
123
  get connected(): boolean;
124
- getMicrophoneTrack(): import('livekit-client').LocalTrack<Track.Kind> | null | undefined;
125
- getCameraTrack(): import('livekit-client').LocalTrack<Track.Kind> | null | undefined;
126
- getScreenShareTrack(): import('livekit-client').LocalTrack<Track.Kind> | null | undefined;
124
+ getMicrophoneTrack(): import('../../node_modules/livekit-client').LocalTrack<Track.Kind> | null | undefined;
125
+ getCameraTrack(): import('../../node_modules/livekit-client').LocalTrack<Track.Kind> | null | undefined;
126
+ getScreenShareTrack(): import('../../node_modules/livekit-client').LocalTrack<Track.Kind> | null | undefined;
127
127
  get isMicrophoneEnabled(): boolean;
128
128
  get isCameraEnabled(): boolean;
129
129
  get isScreenShareEnabled(): boolean;
@@ -1,4 +1,4 @@
1
- import { Room } from 'livekit-client';
1
+ import { Room } from '../../node_modules/livekit-client';
2
2
  import { VoxketEventEmitter } from '../core/event-emitter';
3
3
  import { VoxketInteractiveView, ViewPresentationMode, InteractiveUIState, RpcEvents } from '../types/rpc';
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { ReceivedChatMessage } from '@livekit/components-react';
1
+ import { ReceivedChatMessage } from '../../node_modules/@livekit/components-react';
2
2
  export default function useChatAndTranscription(): {
3
3
  messages: ReceivedChatMessage[];
4
- send: (message: string, options?: import('livekit-client').SendTextOptions) => Promise<ReceivedChatMessage>;
4
+ send: (message: string, options?: import('../../node_modules/livekit-client').SendTextOptions) => Promise<ReceivedChatMessage>;
5
5
  };
@@ -1,4 +1,4 @@
1
- import { LogLevel } from 'livekit-client';
1
+ import { LogLevel } from '../../node_modules/livekit-client';
2
2
  export declare const useDebugMode: ({ logLevel }?: {
3
3
  logLevel?: LogLevel;
4
4
  }) => void;
@@ -1,4 +1,4 @@
1
- import { Room } from 'livekit-client';
1
+ import { Room } from '../../node_modules/livekit-client';
2
2
  export interface SessionLog {
3
3
  timestamp: Date;
4
4
  event: string;
@@ -17,8 +17,8 @@ export declare function useVoxketPublishPermissions(client: VoxketClient): {
17
17
  * Replaces useLocalParticipant from LiveKit
18
18
  */
19
19
  export declare function useVoxketLocalParticipant(client: VoxketClient): {
20
- localParticipant: import('livekit-client').LocalParticipant | null;
21
- microphoneTrack: import('livekit-client').LocalTrack<import("livekit-client").Track.Kind> | null | undefined;
20
+ localParticipant: import('../../node_modules/livekit-client').LocalParticipant | null;
21
+ microphoneTrack: import('../../node_modules/livekit-client').LocalTrack<import("livekit-client").Track.Kind> | null | undefined;
22
22
  };
23
23
  /**
24
24
  * Hook for track toggle functionality
@@ -35,7 +35,7 @@ export declare function useVoxketTrackToggle(client: VoxketClient, source: 'micr
35
35
  * Hook for room context
36
36
  * Replaces useRoomContext from LiveKit
37
37
  */
38
- export declare function useVoxketRoom(client: VoxketClient): import('livekit-client').Room | null;
38
+ export declare function useVoxketRoom(client: VoxketClient): import('../../node_modules/livekit-client').Room | null;
39
39
  /**
40
40
  * Hook for device selection
41
41
  * Replaces useMediaDeviceSelect from LiveKit