@skippr/live-agent-sdk 0.42.0 → 0.44.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.
@@ -7,5 +7,6 @@ interface AccessibilityTreeResult {
7
7
  refCount: number;
8
8
  truncated: boolean;
9
9
  }
10
+ export declare function isActionBlocked(element: Element): boolean;
10
11
  export declare function buildAccessibilityTree(): AccessibilityTreeResult;
11
12
  export {};
@@ -0,0 +1,4 @@
1
+ /** Run the agent's synchronous DOM dispatch with the suppression flag raised. */
2
+ export declare function runAgentAction(dispatch: () => void): void;
3
+ /** True while the agent's synthetic DOM event is dispatching. */
4
+ export declare function isAgentActionInProgress(): boolean;
@@ -0,0 +1,2 @@
1
+ export declare function findElementByRef(ref: string): HTMLElement | null;
2
+ export declare function getRectInTopViewport(el: HTMLElement): DOMRect;
@@ -0,0 +1,7 @@
1
+ export interface ActivityTarget {
2
+ element: HTMLElement;
3
+ label: string;
4
+ }
5
+ export declare function AgentActivityIndicator({ target }: {
6
+ target: ActivityTarget | null;
7
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare function PageActionHandler(): import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,7 @@ export type SidebarTab = 'chat' | 'agenda';
5
5
  export type CaptureMode = 'screenshare' | 'auto';
6
6
  export interface AgentControls {
7
7
  highlight?: boolean;
8
+ actions?: boolean;
8
9
  }
9
10
  export type { AgentMode, SessionStatus };
10
11
  export interface ModuleCurrentSession {
@@ -5,4 +5,5 @@ export declare const PRIVATE_ATTR = "data-skippr-private";
5
5
  export declare const DOM_SNAPSHOT_TOPIC = "skippr.dom-snapshot";
6
6
  export declare const DOM_EVENTS_TOPIC = "skippr.dom-events";
7
7
  export declare const HIGHLIGHT_TOPIC = "skippr.highlight";
8
+ export declare const PAGE_ACTIONS_TOPIC = "skippr.page-actions";
8
9
  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.42.0",
3
+ "version": "0.44.0",
4
4
  "type": "module",
5
5
  "main": "dist/esm/lib-exports.js",
6
6
  "module": "dist/esm/lib-exports.js",