@skippr/live-agent-sdk 0.26.0 → 0.27.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.
- package/README.md +2 -2
- package/dist/esm/lib-exports.js +203 -163
- package/dist/skippr-sdk.css +1 -1
- package/dist/skippr-sdk.js +107 -107
- package/dist/types/components/AgentStateBanner.d.ts +1 -0
- package/dist/types/components/LiveAgent.d.ts +2 -2
- package/dist/types/components/SessionAgenda.d.ts +2 -1
- package/dist/types/hooks/useAgentVoiceState.d.ts +1 -2
- package/package.json +1 -1
- package/dist/types/components/ObservingBanner.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function AgentStateBanner(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -13,8 +13,8 @@ interface LiveAgentProps {
|
|
|
13
13
|
hideHeader?: boolean;
|
|
14
14
|
startSessionLabel?: string;
|
|
15
15
|
autoFocusChat?: boolean;
|
|
16
|
-
|
|
16
|
+
showAgentStateBanner?: boolean;
|
|
17
17
|
children?: ReactNode;
|
|
18
18
|
}
|
|
19
|
-
export declare function LiveAgent({ agentId, authToken: authTokenProp, appKey, userToken, position, variant, minimizable, defaultOpen, welcomeMessage, hideControls, hideHeader, startSessionLabel, autoFocusChat,
|
|
19
|
+
export declare function LiveAgent({ agentId, authToken: authTokenProp, appKey, userToken, position, variant, minimizable, defaultOpen, welcomeMessage, hideControls, hideHeader, startSessionLabel, autoFocusChat, showAgentStateBanner, children, }: LiveAgentProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PhaseStatus } from '../hooks/usePhaseUpdates';
|
|
2
2
|
interface SessionAgendaProps {
|
|
3
3
|
phases: PhaseStatus[];
|
|
4
|
+
hasStarted: boolean;
|
|
4
5
|
}
|
|
5
|
-
export declare function SessionAgenda({ phases }: SessionAgendaProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function SessionAgenda({ phases, hasStarted }: SessionAgendaProps): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useVoiceAssistant } from '@livekit/components-react';
|
|
2
|
-
type AgentState = ReturnType<typeof useVoiceAssistant>['state'];
|
|
2
|
+
export type AgentState = ReturnType<typeof useVoiceAssistant>['state'];
|
|
3
3
|
export interface UseAgentVoiceStateValue {
|
|
4
4
|
state: AgentState;
|
|
5
5
|
isSpeaking: boolean;
|
|
6
6
|
isListening: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare function useAgentVoiceState(): UseAgentVoiceStateValue;
|
|
9
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function ObservingBanner(): import("react/jsx-runtime").JSX.Element | null;
|