import { AgentMode, AgentPlugin } from '@omni-tars/core'; import { LLMRequestHookPayload } from '@tarko/agent'; import { OperatorManager } from './OperatorManager'; interface GuiAgentPluginOption { operatorManager: OperatorManager; agentMode?: AgentMode; } /** * GUI Agent Plugin - handles COMPUTER_USE_ENVIRONMENT for screen interaction */ export declare class GuiAgentPlugin extends AgentPlugin { readonly name = "gui-agent"; readonly environmentSection = "\n\n## Output Format\n```Action: ...```\n\n## Action Space\nopen_computer() # Start the device.\nnavigate(content='xxx') # The content is your target web's url.\n IMPORTANT: Always use navigate() to open websites or go to links,\n **NEVER NEVER** use type() for URLs.\nnavigate_back() # Back to the last page.\nclick(point='x1 y1')\nleft_double(point='x1 y1')\nright_single(point='x1 y1')\ndrag(start_point='x1 y1', end_point='x2 y2')\nhotkey(key='ctrl c') # Split keys with a space and use lowercase. Also, do not use more than 3 keys in one hotkey action.\ntype(content='xxx') # Use escape characters ', \", and \n in content part to ensure we can parse the content in normal python string format. If you want to submit your input, use \n at the end of content. \nscroll(point='x1 y1', direction='down or up or right or left') # Show more information on the `direction` side.\nwait() # Sleep for 5s and take a screenshot to check for any changes.\n\n## Note\n- You have a budget of actions for one problem. The user will inform you when your time is up, remind your budget.\n\n"; private agentMode?; private operatorManager; private initializedWithMode; constructor(option: GuiAgentPluginOption); initialize(): Promise; onLLMRequest(id: string, payload: LLMRequestHookPayload): Promise; onAfterToolCall(id: string, toolCall: { toolCallId: string; name: string; }, result: unknown): Promise; private emitScreenshotEvent; private emitPresetUserQuey; private emitPresetAssistantNavMsg; private emitPresetAssistantWaitMsg; } export {}; //# sourceMappingURL=GuiAgentPlugin.d.ts.map