@skippr/live-agent-sdk 0.127.0 → 0.129.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,8 +1,12 @@
1
1
  import type { CursorTarget } from '../components/AgentCursor';
2
2
  export type CursorOwner = 'guide' | 'act';
3
3
  type CursorTargetListener = (target: CursorTarget | null) => void;
4
+ type CursorWaitingListener = (waiting: boolean) => void;
4
5
  export declare function setCursorTarget(owner: CursorOwner, target: CursorTarget): void;
5
6
  export declare function clearCursorTarget(owner: CursorOwner): void;
7
+ export declare function setCursorWaiting(waiting: boolean): void;
8
+ export declare function isCursorWaiting(): boolean;
9
+ export declare function subscribeCursorWaiting(listener: CursorWaitingListener): () => void;
6
10
  export declare function getCursorTarget(): CursorTarget | null;
7
11
  export declare function cursorTargetElapsedMs(): number;
8
12
  export declare function subscribeCursorTarget(listener: CursorTargetListener): () => void;
@@ -1,6 +1,8 @@
1
+ import { buildAccessibilityTree } from '../capture/a11yTree';
1
2
  export declare const SNAPSHOT_EXCLUDE_SELECTORS: string[];
2
3
  export declare function shouldIncludeInSnapshot(element: Element): boolean;
3
4
  export declare function shouldIncludeInFirstFrame(element: Element): boolean;
5
+ export declare function buildDomSnapshotPayload(a11yTree: ReturnType<typeof buildAccessibilityTree>, actionRepaintCount: number | undefined): string;
4
6
  interface DomCaptureProps {
5
7
  pushOrTapMicMode?: boolean;
6
8
  startMuted?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skippr/live-agent-sdk",
3
- "version": "0.127.0",
3
+ "version": "0.129.0",
4
4
  "type": "module",
5
5
  "main": "dist/esm/lib-exports.js",
6
6
  "module": "dist/esm/lib-exports.js",