@marketrix.ai/widget 3.8.492 → 3.8.493

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.
@@ -26,7 +26,11 @@ export type ToolExecutionResult<T = TextData> = {
26
26
  data: T;
27
27
  afterResponseAttempt?: () => void;
28
28
  } | ToolFailure;
29
+ export declare const FINISH_TOOL = "finish";
29
30
  export declare class BrowserToolService {
31
+ private readonly tools;
32
+ getFriendlyToolName(browserToolName: string): string;
33
+ isWaitForUserTool(browserToolName: string): boolean;
30
34
  executeTool(browserToolName: string, args: Record<string, unknown>, mode: InstructionType, explanation?: string): Promise<ToolExecutionResult<unknown>>;
31
35
  private navigate;
32
36
  private search;
@@ -12,12 +12,9 @@ export declare function findMessageForProgress({ messages, isTaskRunning, curren
12
12
  index: number;
13
13
  message: ChatMessage;
14
14
  } | null;
15
- export declare const WAIT_FOR_USER_TOOLS: Set<string>;
16
15
  export declare function addProgressLine(message: ChatMessage, browserToolName: string, explanation: string): ChatMessage;
17
16
  export declare const markProgressLineComplete: (message: ChatMessage, browserToolName: string) => ChatMessage;
18
17
  export declare function markProgressLineFailed(message: ChatMessage, browserToolName: string, error: string): ChatMessage;
19
- export declare const TOOL_LABELS: Map<string, string>;
20
- export declare const getFriendlyToolName: (browserToolName: string) => string;
21
18
  export declare const createUserMessage: (content: string, mode?: InstructionType, idPrefix?: string) => ChatMessage;
22
19
  export declare const createAgentMessage: (content: string) => ChatMessage;
23
20
  export declare const createSystemMessage: (content: string, idPrefix: string) => ChatMessage;