@skippr/live-agent-sdk 0.38.0 → 0.39.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,11 +1,12 @@
|
|
|
1
|
+
import type { AgentMode } from '../lib/agentMode';
|
|
2
|
+
import type { SessionStatus } from '../lib/sessionStatus';
|
|
1
3
|
import type { Message } from '../types';
|
|
2
4
|
export type SidebarTab = 'chat' | 'agenda';
|
|
3
5
|
export type CaptureMode = 'screenshare' | 'auto';
|
|
4
6
|
export interface AgentControls {
|
|
5
7
|
highlight?: boolean;
|
|
6
8
|
}
|
|
7
|
-
export type
|
|
8
|
-
export type AgentMode = 'standard' | 'always_on';
|
|
9
|
+
export type { AgentMode, SessionStatus };
|
|
9
10
|
export interface ModuleCurrentSession {
|
|
10
11
|
id: string;
|
|
11
12
|
status: SessionStatus;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent lifecycle mode values.
|
|
3
|
+
*/
|
|
4
|
+
/** Enum-style accessor for agent mode values, e.g. `AGENT_MODE.AlwaysOn`. */
|
|
5
|
+
export declare const AGENT_MODE: {
|
|
6
|
+
readonly Standard: "standard";
|
|
7
|
+
readonly AlwaysOn: "always_on";
|
|
8
|
+
};
|
|
9
|
+
/** Agent lifecycle mode. */
|
|
10
|
+
export type AgentMode = (typeof AGENT_MODE)[keyof typeof AGENT_MODE];
|
|
11
|
+
/** All agent mode values. */
|
|
12
|
+
export declare const AGENT_MODES: AgentMode[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session lifecycle status values.
|
|
3
|
+
*/
|
|
4
|
+
/** Enum-style accessor for session status values, e.g. `SESSION_STATUS.active`. */
|
|
5
|
+
export declare const SESSION_STATUS: {
|
|
6
|
+
readonly pending: "pending";
|
|
7
|
+
readonly active: "active";
|
|
8
|
+
readonly paused: "paused";
|
|
9
|
+
readonly completed: "completed";
|
|
10
|
+
readonly expired: "expired";
|
|
11
|
+
};
|
|
12
|
+
/** Lifecycle state of a session. */
|
|
13
|
+
export type SessionStatus = (typeof SESSION_STATUS)[keyof typeof SESSION_STATUS];
|
|
14
|
+
/** All session status values. */
|
|
15
|
+
export declare const SESSION_STATUSES: SessionStatus[];
|
|
@@ -5,4 +5,6 @@ export * from './hooks/useElapsedSeconds';
|
|
|
5
5
|
export * from './hooks/useIsLocalSpeaking';
|
|
6
6
|
export * from './hooks/useLiveAgent';
|
|
7
7
|
export * from './hooks/useMediaControls';
|
|
8
|
+
export * from './lib/agentMode';
|
|
8
9
|
export * from './lib/format';
|
|
10
|
+
export * from './lib/sessionStatus';
|