AutoCua 0.2.0__tar.gz → 3.0.0__tar.gz
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.
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/Cargo.toml +16 -12
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/__init__.py +257 -65
- autocua-3.0.0/AutoCua/agent_conversation/__init__.py +31 -0
- autocua-3.0.0/AutoCua/agent_conversation/service.rs +3456 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/agent_launcher.py +30 -32
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/__init__.py +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/scratchpad/service.rs +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/task_tracker/service.rs +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/open_app/service.rs +3 -3
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/shell/service.rs +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/vault/service.rs +45 -24
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/videoplayer/service.rs +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/view.rs +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/session.py +1 -1
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/__init__.py +4 -4
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/__main__.py +8 -8
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/service.rs +51 -51
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/view.rs +2 -2
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/background.js +1 -1
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/element.js +1 -1
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/test.command +2 -2
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/tools.js +27 -10
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/bridge.rs +91 -43
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/bridge_test.rs +6 -6
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/browser.rs +106 -37
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/page_tab_guard.rs +6 -6
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/stage_bridge.rs +6 -6
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/click/service.rs +2 -2
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/dialog/service.rs +2 -2
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/done/service.rs +3 -3
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/input/service.rs +4 -4
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/keyboard/service.rs +3 -3
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/run_script/guardrails_check.rs +2 -2
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/run_script/service.rs +3 -3
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/run_script/window.rs +2 -2
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/scratchpad/service.rs +1 -1
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/scroll/service.rs +4 -4
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/service.rs +2 -2
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/skills/service.rs +4 -4
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/tab/service.rs +3 -3
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/todo_tracker/service.rs +1 -1
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/vault/service.rs +13 -13
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/view.rs +10 -10
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/wait/service.rs +3 -3
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/tool_registry/service.rs +6 -5
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/tree/element.rs +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/__init__.py +9 -7
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/scratchpad/service.rs +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/service.rs +3 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/task_tracker/service.rs +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/sandbox/service.rs +77 -8
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/tool_registry/service.rs +0 -2
- autocua-3.0.0/AutoCua/computer/__init__.py +158 -0
- autocua-3.0.0/AutoCua/computer/service.rs +3245 -0
- autocua-3.0.0/AutoCua/computer/skills/__init__.py +39 -0
- autocua-3.0.0/AutoCua/computer/skills/service.rs +643 -0
- autocua-3.0.0/AutoCua/computer/view.rs +898 -0
- autocua-3.0.0/AutoCua/ios/agent/iphone_use/__init__.py +91 -0
- autocua-3.0.0/AutoCua/ios/agent/iphone_use/service.rs +2642 -0
- autocua-3.0.0/AutoCua/ios/agent/iphone_use/view.rs +933 -0
- autocua-3.0.0/AutoCua/ios/agent/skills/__init__.py +40 -0
- autocua-3.0.0/AutoCua/ios/agent/skills/service.rs +383 -0
- autocua-3.0.0/AutoCua/ios/controller/__init__.py +126 -0
- autocua-3.0.0/AutoCua/ios/controller/scratchpad/__init__.py +39 -0
- autocua-3.0.0/AutoCua/ios/controller/scratchpad/service.rs +190 -0
- autocua-3.0.0/AutoCua/ios/controller/service.rs +942 -0
- autocua-3.0.0/AutoCua/ios/controller/task_tracker/__init__.py +39 -0
- autocua-3.0.0/AutoCua/ios/controller/task_tracker/service.rs +246 -0
- autocua-3.0.0/AutoCua/ios/controller/tool/__init__.py +116 -0
- autocua-3.0.0/AutoCua/ios/controller/tool/open_app.rs +1035 -0
- autocua-3.0.0/AutoCua/ios/controller/tool/shell.rs +234 -0
- autocua-3.0.0/AutoCua/ios/controller/tool/videoplayer.rs +660 -0
- autocua-3.0.0/AutoCua/ios/controller/view.rs +1039 -0
- autocua-3.0.0/AutoCua/ios/tool_registry/__init__.py +65 -0
- autocua-3.0.0/AutoCua/ios/tool_registry/service.rs +819 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/build_paths.py +9 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/session.py +77 -10
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/setup.py +107 -12
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/sim_session.py +2 -1
- autocua-3.0.0/AutoCua/lib.rs +2383 -0
- autocua-3.0.0/AutoCua/linux/controller/scratchpad/__init__.py +39 -0
- autocua-3.0.0/AutoCua/linux/controller/scratchpad/service.rs +175 -0
- autocua-3.0.0/AutoCua/linux/controller/task_tracker/__init__.py +39 -0
- autocua-3.0.0/AutoCua/linux/controller/task_tracker/service.rs +262 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/__init__.py +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/view.py +11 -11
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/telegram/service.py +71 -88
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/telegram/view.py +7 -10
- autocua-3.0.0/AutoCua/linux/tool_registry/__init__.py +70 -0
- autocua-3.0.0/AutoCua/linux/tool_registry/service.rs +1033 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/llm_provider/__init__.py +108 -4
- autocua-3.0.0/AutoCua/llm_provider/anthropic/__init__.py +94 -0
- autocua-3.0.0/AutoCua/llm_provider/anthropic/service.rs +932 -0
- autocua-3.0.0/AutoCua/llm_provider/anthropic/view.rs +412 -0
- autocua-3.0.0/AutoCua/llm_provider/aws/__init__.py +97 -0
- autocua-3.0.0/AutoCua/llm_provider/aws/service.rs +995 -0
- autocua-3.0.0/AutoCua/llm_provider/aws/view.rs +384 -0
- autocua-3.0.0/AutoCua/llm_provider/cerebras/__init__.py +88 -0
- autocua-3.0.0/AutoCua/llm_provider/cerebras/service.rs +548 -0
- autocua-3.0.0/AutoCua/llm_provider/cerebras/view.rs +177 -0
- autocua-3.0.0/AutoCua/llm_provider/google/__init__.py +100 -0
- autocua-3.0.0/AutoCua/llm_provider/google/service.rs +886 -0
- autocua-3.0.0/AutoCua/llm_provider/google/view.rs +371 -0
- autocua-3.0.0/AutoCua/llm_provider/groq/__init__.py +90 -0
- autocua-3.0.0/AutoCua/llm_provider/groq/service.rs +559 -0
- autocua-3.0.0/AutoCua/llm_provider/groq/view.rs +180 -0
- autocua-3.0.0/AutoCua/llm_provider/llm_manager.rs +1904 -0
- autocua-3.0.0/AutoCua/llm_provider/ollama/__init__.py +92 -0
- autocua-3.0.0/AutoCua/llm_provider/ollama/service.rs +1429 -0
- autocua-3.0.0/AutoCua/llm_provider/ollama/view.rs +325 -0
- autocua-3.0.0/AutoCua/llm_provider/openai/__init__.py +96 -0
- autocua-3.0.0/AutoCua/llm_provider/openai/service.rs +532 -0
- autocua-3.0.0/AutoCua/llm_provider/openai/view.rs +343 -0
- autocua-3.0.0/AutoCua/llm_provider/openrouter/__init__.py +96 -0
- autocua-3.0.0/AutoCua/llm_provider/openrouter/service.rs +753 -0
- autocua-3.0.0/AutoCua/llm_provider/openrouter/view.rs +560 -0
- autocua-3.0.0/AutoCua/llm_provider/perplexity/__init__.py +92 -0
- autocua-3.0.0/AutoCua/llm_provider/perplexity/service.rs +621 -0
- autocua-3.0.0/AutoCua/llm_provider/perplexity/view.rs +390 -0
- autocua-3.0.0/AutoCua/llm_provider/requesty/__init__.py +89 -0
- autocua-3.0.0/AutoCua/llm_provider/requesty/service.rs +575 -0
- autocua-3.0.0/AutoCua/llm_provider/requesty/view.rs +275 -0
- autocua-3.0.0/AutoCua/llm_provider/responses.rs +1081 -0
- autocua-3.0.0/AutoCua/llm_provider/together/__init__.py +89 -0
- autocua-3.0.0/AutoCua/llm_provider/together/service.rs +583 -0
- autocua-3.0.0/AutoCua/llm_provider/together/view.rs +180 -0
- autocua-3.0.0/AutoCua/mac/controller/scratchpad/__init__.py +39 -0
- autocua-3.0.0/AutoCua/mac/controller/scratchpad/service.rs +175 -0
- autocua-3.0.0/AutoCua/mac/controller/task_tracker/__init__.py +39 -0
- autocua-3.0.0/AutoCua/mac/controller/task_tracker/service.rs +262 -0
- autocua-3.0.0/AutoCua/mac/controller/tool/__init__.py +6 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/ios_agent.py +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/ios_agent_child.py +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/view.py +11 -11
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/telegram/service.py +72 -90
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/telegram/view.py +7 -10
- autocua-3.0.0/AutoCua/mac/tool_registry/__init__.py +65 -0
- autocua-3.0.0/AutoCua/mac/tool_registry/service.rs +870 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/tree/element.py +4 -3
- autocua-3.0.0/AutoCua/memory_compression/__init__.py +40 -0
- autocua-3.0.0/AutoCua/memory_compression/agent/__init__.py +12 -0
- autocua-3.0.0/AutoCua/memory_compression/agent/service.rs +601 -0
- autocua-3.0.0/AutoCua/memory_compression/controller.rs +663 -0
- autocua-3.0.0/AutoCua/memory_compression/memory_tracker.rs +257 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/agent_mode.css +12 -12
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/agent_mode.js +13 -13
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/agent_mode.tsx +11 -11
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/daisy_session.js +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/ios_session.js +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat/chat.js +18 -18
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/chat_input.css +10 -10
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/chat_input.js +27 -27
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/chat_input.tsx +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/mode_bot.css +4 -4
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/mode_bot.js +15 -15
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_container/coder_card.css +35 -35
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_container/coder_card.js +43 -43
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_container/tool_icons.js +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_stage.css +5 -5
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_stage.js +87 -87
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/agent.js +18 -18
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/bot_blink.js +3 -3
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/chain_bot.js +4 -4
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/run_reply.css +4 -4
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/run_reply.js +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/big_center_container/big_center_container.tsx +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/chat_scroll/chat_scroll.css +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/chat_scroll/chat_scroll.js +6 -6
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/README.md +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/run_bot.css +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/run_bot.js +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/screen.tsx +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/sub_agents/sub_agents.css +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/sub_agents/sub_agents.js +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/css/style.css +55 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/device_connect/device_connect.css +24 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/device_connect/device_connect.js +107 -6
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/index.html +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/index.js +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/index.tsx +31 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/intro_animation.css +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/intro_animation.tsx +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/markdown.py +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/notes_stage/notes_stage.css +1 -1
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/script.js +31 -5
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/service.py +229 -174
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/skills/skills.css +3 -3
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/skills/skills.js +3 -3
- autocua-3.0.0/AutoCua/universal_tool/__init__.py +3 -0
- autocua-3.0.0/AutoCua/universal_tool/android_agent/__init__.py +78 -0
- autocua-3.0.0/AutoCua/universal_tool/android_agent/service.rs +1683 -0
- autocua-3.0.0/AutoCua/universal_tool/android_agent_child/__init__.py +2 -0
- autocua-3.0.0/AutoCua/universal_tool/android_agent_child/service.py +41 -0
- autocua-3.0.0/AutoCua/universal_tool/android_agent_child/service.rs +545 -0
- autocua-3.0.0/AutoCua/universal_tool/browser_agent/__init__.py +76 -0
- autocua-3.0.0/AutoCua/universal_tool/browser_agent/service.rs +892 -0
- autocua-3.0.0/AutoCua/universal_tool/browser_agent_child/__init__.py +2 -0
- autocua-3.0.0/AutoCua/universal_tool/browser_agent_child/service.py +50 -0
- autocua-3.0.0/AutoCua/universal_tool/browser_agent_child/service.rs +472 -0
- autocua-3.0.0/AutoCua/universal_tool/shell/__init__.py +69 -0
- autocua-3.0.0/AutoCua/universal_tool/shell/service.rs +289 -0
- autocua-3.0.0/AutoCua/universal_tool/web/__init__.py +41 -0
- autocua-3.0.0/AutoCua/universal_tool/web/anthropic.rs +51 -0
- {autocua-0.2.0/AutoCua/coder/controller/tool → autocua-3.0.0/AutoCua/universal_tool}/web/chatgpt.rs +27 -23
- autocua-3.0.0/AutoCua/universal_tool/web/google_search.rs +72 -0
- autocua-3.0.0/AutoCua/universal_tool/web/groq_search.rs +51 -0
- autocua-3.0.0/AutoCua/universal_tool/web/openrouter.rs +57 -0
- {autocua-0.2.0/AutoCua/android/controller/tool → autocua-3.0.0/AutoCua/universal_tool}/web/perplexity_search.rs +14 -8
- autocua-3.0.0/AutoCua/universal_tool/web/service.rs +456 -0
- autocua-3.0.0/AutoCua/universal_tool/web/web_agent.rs +409 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/__init__.py +2 -2
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/chrome.py +5 -5
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/electron.py +120 -12
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/run_recorder.py +13 -13
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/rust.py +37 -22
- autocua-3.0.0/AutoCua/vault/__init__.py +75 -0
- autocua-3.0.0/AutoCua/vault/service.rs +1778 -0
- autocua-3.0.0/AutoCua/windows/controller/scratchpad/__init__.py +39 -0
- autocua-3.0.0/AutoCua/windows/controller/scratchpad/service.rs +175 -0
- autocua-3.0.0/AutoCua/windows/controller/task_tracker/__init__.py +39 -0
- autocua-3.0.0/AutoCua/windows/controller/task_tracker/service.rs +262 -0
- autocua-3.0.0/AutoCua/windows/controller/tool/__init__.py +5 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/view.py +11 -11
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/telegram/service.py +69 -86
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/telegram/view.py +6 -7
- autocua-3.0.0/AutoCua/windows/tool_registry/__init__.py +65 -0
- autocua-3.0.0/AutoCua/windows/tool_registry/service.rs +832 -0
- {autocua-0.2.0 → autocua-3.0.0}/PKG-INFO +80 -47
- {autocua-0.2.0 → autocua-3.0.0}/README.md +79 -46
- {autocua-0.2.0 → autocua-3.0.0}/THIRD_PARTY_NOTICES.md +11 -11
- {autocua-0.2.0 → autocua-3.0.0}/pyproject.toml +26 -7
- autocua-0.2.0/AutoCua/agent_conversation/__init__.py +0 -12
- autocua-0.2.0/AutoCua/agent_conversation/service.py +0 -982
- autocua-0.2.0/AutoCua/android/controller/tool/web/anthropic.rs +0 -44
- autocua-0.2.0/AutoCua/android/controller/tool/web/chatgpt.rs +0 -56
- autocua-0.2.0/AutoCua/android/controller/tool/web/google_search.rs +0 -61
- autocua-0.2.0/AutoCua/android/controller/tool/web/groq_search.rs +0 -52
- autocua-0.2.0/AutoCua/android/controller/tool/web/openrouter.rs +0 -48
- autocua-0.2.0/AutoCua/android/controller/tool/web/service.rs +0 -232
- autocua-0.2.0/AutoCua/android/controller/tool/web/web_agent.rs +0 -389
- autocua-0.2.0/AutoCua/coder/controller/tool/web/anthropic.rs +0 -44
- autocua-0.2.0/AutoCua/coder/controller/tool/web/google_search.rs +0 -61
- autocua-0.2.0/AutoCua/coder/controller/tool/web/groq_search.rs +0 -52
- autocua-0.2.0/AutoCua/coder/controller/tool/web/openrouter.rs +0 -48
- autocua-0.2.0/AutoCua/coder/controller/tool/web/perplexity_search.rs +0 -49
- autocua-0.2.0/AutoCua/coder/controller/tool/web/service.rs +0 -232
- autocua-0.2.0/AutoCua/coder/controller/tool/web/web.md +0 -24
- autocua-0.2.0/AutoCua/coder/controller/tool/web/web_agent.rs +0 -393
- autocua-0.2.0/AutoCua/ios/agent/iphone_use/__init__.py +0 -5
- autocua-0.2.0/AutoCua/ios/agent/iphone_use/service.py +0 -1305
- autocua-0.2.0/AutoCua/ios/agent/iphone_use/view.py +0 -402
- autocua-0.2.0/AutoCua/ios/agent/skills/__init__.py +0 -3
- autocua-0.2.0/AutoCua/ios/agent/skills/service.py +0 -116
- autocua-0.2.0/AutoCua/ios/controller/__init__.py +0 -8
- autocua-0.2.0/AutoCua/ios/controller/scratchpad/__init__.py +0 -3
- autocua-0.2.0/AutoCua/ios/controller/scratchpad/service.py +0 -74
- autocua-0.2.0/AutoCua/ios/controller/service.py +0 -391
- autocua-0.2.0/AutoCua/ios/controller/task_tracker/__init__.py +0 -4
- autocua-0.2.0/AutoCua/ios/controller/task_tracker/service.py +0 -115
- autocua-0.2.0/AutoCua/ios/controller/tool/__init__.py +0 -6
- autocua-0.2.0/AutoCua/ios/controller/tool/open_app.py +0 -438
- autocua-0.2.0/AutoCua/ios/controller/tool/shell.py +0 -204
- autocua-0.2.0/AutoCua/ios/controller/tool/videoplayer.py +0 -413
- autocua-0.2.0/AutoCua/ios/controller/tool/web/anthropic.py +0 -51
- autocua-0.2.0/AutoCua/ios/controller/tool/web/chatgpt.py +0 -65
- autocua-0.2.0/AutoCua/ios/controller/tool/web/google_search.py +0 -58
- autocua-0.2.0/AutoCua/ios/controller/tool/web/groq_search.py +0 -52
- autocua-0.2.0/AutoCua/ios/controller/tool/web/openrouter.py +0 -64
- autocua-0.2.0/AutoCua/ios/controller/tool/web/perplexity_search.py +0 -58
- autocua-0.2.0/AutoCua/ios/controller/tool/web/service.py +0 -92
- autocua-0.2.0/AutoCua/ios/controller/tool/web/web.md +0 -24
- autocua-0.2.0/AutoCua/ios/controller/tool/web/web_agent.py +0 -200
- autocua-0.2.0/AutoCua/ios/controller/view.py +0 -504
- autocua-0.2.0/AutoCua/ios/sandbox/__init__.py +0 -10
- autocua-0.2.0/AutoCua/ios/sandbox/service.py +0 -395
- autocua-0.2.0/AutoCua/ios/tool_registry/service.py +0 -303
- autocua-0.2.0/AutoCua/lib.rs +0 -712
- autocua-0.2.0/AutoCua/linux/agent/__init__.py +0 -5
- autocua-0.2.0/AutoCua/linux/agent/computer_use/__init__.py +0 -5
- autocua-0.2.0/AutoCua/linux/agent/computer_use/service.py +0 -1515
- autocua-0.2.0/AutoCua/linux/agent/computer_use/view.py +0 -375
- autocua-0.2.0/AutoCua/linux/agent/skills/__init__.py +0 -4
- autocua-0.2.0/AutoCua/linux/agent/skills/service.py +0 -226
- autocua-0.2.0/AutoCua/linux/controller/scratchpad/__init__.py +0 -3
- autocua-0.2.0/AutoCua/linux/controller/scratchpad/service.py +0 -60
- autocua-0.2.0/AutoCua/linux/controller/task_tracker/__init__.py +0 -4
- autocua-0.2.0/AutoCua/linux/controller/task_tracker/service.py +0 -117
- autocua-0.2.0/AutoCua/linux/controller/tool/android_agent.py +0 -577
- autocua-0.2.0/AutoCua/linux/controller/tool/android_agent_child.py +0 -172
- autocua-0.2.0/AutoCua/linux/controller/tool/browser_agent.py +0 -319
- autocua-0.2.0/AutoCua/linux/controller/tool/browser_agent_child.py +0 -148
- autocua-0.2.0/AutoCua/linux/controller/tool/shell.py +0 -114
- autocua-0.2.0/AutoCua/linux/controller/tool/web/anthropic.py +0 -51
- autocua-0.2.0/AutoCua/linux/controller/tool/web/chatgpt.py +0 -65
- autocua-0.2.0/AutoCua/linux/controller/tool/web/google_search.py +0 -58
- autocua-0.2.0/AutoCua/linux/controller/tool/web/groq_search.py +0 -52
- autocua-0.2.0/AutoCua/linux/controller/tool/web/openrouter.py +0 -64
- autocua-0.2.0/AutoCua/linux/controller/tool/web/perplexity_search.py +0 -58
- autocua-0.2.0/AutoCua/linux/controller/tool/web/service.py +0 -88
- autocua-0.2.0/AutoCua/linux/controller/tool/web/web.md +0 -24
- autocua-0.2.0/AutoCua/linux/controller/tool/web/web_agent.py +0 -200
- autocua-0.2.0/AutoCua/linux/sandbox/__init__.py +0 -10
- autocua-0.2.0/AutoCua/linux/sandbox/service.py +0 -383
- autocua-0.2.0/AutoCua/linux/tool_registry/service.py +0 -365
- autocua-0.2.0/AutoCua/llm_provider/anthropic/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/anthropic/service.py +0 -303
- autocua-0.2.0/AutoCua/llm_provider/anthropic/view.py +0 -155
- autocua-0.2.0/AutoCua/llm_provider/aws/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/aws/service.py +0 -290
- autocua-0.2.0/AutoCua/llm_provider/aws/view.py +0 -130
- autocua-0.2.0/AutoCua/llm_provider/cerebras/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/cerebras/service.py +0 -118
- autocua-0.2.0/AutoCua/llm_provider/cerebras/view.py +0 -34
- autocua-0.2.0/AutoCua/llm_provider/google/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/google/service.py +0 -322
- autocua-0.2.0/AutoCua/llm_provider/google/view.py +0 -108
- autocua-0.2.0/AutoCua/llm_provider/groq/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/groq/service.py +0 -116
- autocua-0.2.0/AutoCua/llm_provider/groq/view.py +0 -43
- autocua-0.2.0/AutoCua/llm_provider/llm_manager.py +0 -785
- autocua-0.2.0/AutoCua/llm_provider/openai/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/openai/service.py +0 -153
- autocua-0.2.0/AutoCua/llm_provider/openai/view.py +0 -74
- autocua-0.2.0/AutoCua/llm_provider/openrouter/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/openrouter/service.py +0 -246
- autocua-0.2.0/AutoCua/llm_provider/openrouter/view.py +0 -296
- autocua-0.2.0/AutoCua/llm_provider/perplexity/service.py +0 -191
- autocua-0.2.0/AutoCua/llm_provider/perplexity/view.py +0 -130
- autocua-0.2.0/AutoCua/llm_provider/requesty/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/requesty/service.py +0 -119
- autocua-0.2.0/AutoCua/llm_provider/requesty/view.py +0 -124
- autocua-0.2.0/AutoCua/llm_provider/responses.py +0 -313
- autocua-0.2.0/AutoCua/llm_provider/together/__init__.py +0 -4
- autocua-0.2.0/AutoCua/llm_provider/together/service.py +0 -127
- autocua-0.2.0/AutoCua/llm_provider/together/view.py +0 -42
- autocua-0.2.0/AutoCua/mac/__init__.py +0 -0
- autocua-0.2.0/AutoCua/mac/agent/__init__.py +0 -5
- autocua-0.2.0/AutoCua/mac/agent/computer_use/__init__.py +0 -5
- autocua-0.2.0/AutoCua/mac/agent/computer_use/service.py +0 -1555
- autocua-0.2.0/AutoCua/mac/agent/computer_use/view.py +0 -376
- autocua-0.2.0/AutoCua/mac/agent/skills/__init__.py +0 -4
- autocua-0.2.0/AutoCua/mac/agent/skills/service.py +0 -226
- autocua-0.2.0/AutoCua/mac/controller/scratchpad/__init__.py +0 -3
- autocua-0.2.0/AutoCua/mac/controller/scratchpad/service.py +0 -60
- autocua-0.2.0/AutoCua/mac/controller/task_tracker/__init__.py +0 -4
- autocua-0.2.0/AutoCua/mac/controller/task_tracker/service.py +0 -117
- autocua-0.2.0/AutoCua/mac/controller/tool/__init__.py +0 -6
- autocua-0.2.0/AutoCua/mac/controller/tool/android_agent.py +0 -577
- autocua-0.2.0/AutoCua/mac/controller/tool/android_agent_child.py +0 -172
- autocua-0.2.0/AutoCua/mac/controller/tool/browser_agent.py +0 -319
- autocua-0.2.0/AutoCua/mac/controller/tool/browser_agent_child.py +0 -148
- autocua-0.2.0/AutoCua/mac/controller/tool/shell.py +0 -114
- autocua-0.2.0/AutoCua/mac/controller/tool/web/anthropic.py +0 -51
- autocua-0.2.0/AutoCua/mac/controller/tool/web/chatgpt.py +0 -65
- autocua-0.2.0/AutoCua/mac/controller/tool/web/google_search.py +0 -58
- autocua-0.2.0/AutoCua/mac/controller/tool/web/groq_search.py +0 -52
- autocua-0.2.0/AutoCua/mac/controller/tool/web/openrouter.py +0 -64
- autocua-0.2.0/AutoCua/mac/controller/tool/web/perplexity_search.py +0 -58
- autocua-0.2.0/AutoCua/mac/controller/tool/web/service.py +0 -88
- autocua-0.2.0/AutoCua/mac/controller/tool/web/web.md +0 -24
- autocua-0.2.0/AutoCua/mac/controller/tool/web/web_agent.py +0 -200
- autocua-0.2.0/AutoCua/mac/sandbox/__init__.py +0 -10
- autocua-0.2.0/AutoCua/mac/sandbox/service.py +0 -395
- autocua-0.2.0/AutoCua/mac/tool_registry/__init__.py +0 -0
- autocua-0.2.0/AutoCua/mac/tool_registry/service.py +0 -330
- autocua-0.2.0/AutoCua/memory_compression/__init__.py +0 -13
- autocua-0.2.0/AutoCua/memory_compression/agent/__init__.py +0 -3
- autocua-0.2.0/AutoCua/memory_compression/agent/service.py +0 -144
- autocua-0.2.0/AutoCua/memory_compression/controller.py +0 -178
- autocua-0.2.0/AutoCua/memory_compression/memory_tracker.py +0 -66
- autocua-0.2.0/AutoCua/vault/__init__.py +0 -5
- autocua-0.2.0/AutoCua/vault/service.py +0 -572
- autocua-0.2.0/AutoCua/web/__init__.py +0 -0
- autocua-0.2.0/AutoCua/windows/agent/__init__.py +0 -4
- autocua-0.2.0/AutoCua/windows/agent/computer_use/__init__.py +0 -5
- autocua-0.2.0/AutoCua/windows/agent/computer_use/service.py +0 -1477
- autocua-0.2.0/AutoCua/windows/agent/computer_use/view.py +0 -375
- autocua-0.2.0/AutoCua/windows/agent/skills/__init__.py +0 -4
- autocua-0.2.0/AutoCua/windows/agent/skills/service.py +0 -207
- autocua-0.2.0/AutoCua/windows/controller/scratchpad/__init__.py +0 -3
- autocua-0.2.0/AutoCua/windows/controller/scratchpad/service.py +0 -60
- autocua-0.2.0/AutoCua/windows/controller/task_tracker/__init__.py +0 -4
- autocua-0.2.0/AutoCua/windows/controller/task_tracker/service.py +0 -117
- autocua-0.2.0/AutoCua/windows/controller/tool/__init__.py +0 -5
- autocua-0.2.0/AutoCua/windows/controller/tool/android_agent.py +0 -577
- autocua-0.2.0/AutoCua/windows/controller/tool/android_agent_child.py +0 -172
- autocua-0.2.0/AutoCua/windows/controller/tool/browser_agent.py +0 -319
- autocua-0.2.0/AutoCua/windows/controller/tool/browser_agent_child.py +0 -148
- autocua-0.2.0/AutoCua/windows/controller/tool/shell.py +0 -115
- autocua-0.2.0/AutoCua/windows/controller/tool/web/anthropic.py +0 -51
- autocua-0.2.0/AutoCua/windows/controller/tool/web/chatgpt.py +0 -65
- autocua-0.2.0/AutoCua/windows/controller/tool/web/google_search.py +0 -58
- autocua-0.2.0/AutoCua/windows/controller/tool/web/groq_search.py +0 -52
- autocua-0.2.0/AutoCua/windows/controller/tool/web/openrouter.py +0 -64
- autocua-0.2.0/AutoCua/windows/controller/tool/web/perplexity_search.py +0 -59
- autocua-0.2.0/AutoCua/windows/controller/tool/web/service.py +0 -88
- autocua-0.2.0/AutoCua/windows/controller/tool/web/web.md +0 -24
- autocua-0.2.0/AutoCua/windows/controller/tool/web/web_agent.py +0 -200
- autocua-0.2.0/AutoCua/windows/remote_connection/telegram/__init__.py +0 -0
- autocua-0.2.0/AutoCua/windows/sandbox/__init__.py +0 -10
- autocua-0.2.0/AutoCua/windows/sandbox/service.py +0 -434
- autocua-0.2.0/AutoCua/windows/tool_registry/__init__.py +0 -0
- autocua-0.2.0/AutoCua/windows/tool_registry/service.py +0 -292
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/CUA_Sandbox/Win_CUA.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/Cargo.lock +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/__main__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/claude_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/fast_system_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/system_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/view.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/skills/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/back/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/tool_registry/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/tree/element.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/Helper.java +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/adb.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/autocua-helper.jar +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/build_helper.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/emulator.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/stream.py +0 -0
- {autocua-0.2.0/AutoCua/ios → autocua-3.0.0/AutoCua/browser}/__init__.py +0 -0
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/claude_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/fast_system_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/mod.rs +0 -0
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/system_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/icon.png +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/manifest.json +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/send_button.html +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/send_button.js +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/sidepanel.html +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/sidepanel.js +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/test.html +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/test.js +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/wake.html +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/wake.js +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/glow/glow.css +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/glow/glow.html +0 -0
- {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/glow/glow.js +0 -0
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/mod.rs +0 -0
- {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/tree/element.config.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/build.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/__main__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/cli/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/tool/plan/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/main/planner/planner.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/main/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/main/system_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/main/view.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/__main__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/critic/critic.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/service.rs +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/system_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/workflow/workflow.md +0 -0
- {autocua-0.2.0/AutoCua/linux/agent/computer_use → autocua-3.0.0/AutoCua/computer/linux}/claude_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/linux/agent/computer_use → autocua-3.0.0/AutoCua/computer/linux}/fast_system_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/linux/agent/computer_use → autocua-3.0.0/AutoCua/computer/linux}/system_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/mac/agent/computer_use → autocua-3.0.0/AutoCua/computer/mac}/claude_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/mac/agent/computer_use → autocua-3.0.0/AutoCua/computer/mac}/fast_system_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/mac/agent/computer_use → autocua-3.0.0/AutoCua/computer/mac}/system_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/windows/agent/computer_use → autocua-3.0.0/AutoCua/computer/windows}/claude_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/windows/agent/computer_use → autocua-3.0.0/AutoCua/computer/windows}/fast_system_prompt.md +0 -0
- {autocua-0.2.0/AutoCua/windows/agent/computer_use → autocua-3.0.0/AutoCua/computer/windows}/system_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/data_extraction.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/android/instagram.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/android/skills.json +0 -0
- {autocua-0.2.0/AutoCua/default_skills/web → autocua-3.0.0/AutoCua/default_skills/browser}/domain_skill/google_sheets.md +0 -0
- {autocua-0.2.0/AutoCua/default_skills/web → autocua-3.0.0/AutoCua/default_skills/browser}/domain_skill/skills.json +0 -0
- {autocua-0.2.0/AutoCua/default_skills/web → autocua-3.0.0/AutoCua/default_skills/browser}/skills/scraping.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/ios/instagram.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/ios/skills.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/linux/browser.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/linux/skills.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/mac/browser.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/mac/libreoffice_calc.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/mac/maps.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/mac/skills.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/windows/browser.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/windows/libreoffice_calc.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/windows/skills.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/desktop/main.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/desktop/package-lock.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/desktop/package.json +0 -0
- {autocua-0.2.0/AutoCua/ios/tool_registry → autocua-3.0.0/AutoCua/ios}/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/__main__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/iphone_use/claude_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/iphone_use/fast_system_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/iphone_use/system_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/tree/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/tree/element.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/ddi.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/setup_server.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/hotkey/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/hotkey/service.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/service.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/app_script.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/input_portal.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/open_app.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/screenshot.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/banner.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/telegram/setup.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/telegram/telergam_animation.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/tree/element.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/tree/ocr.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/agents.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/agents.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/autocua-bots.png +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/logo.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/logo.png +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/simulation_background.mp4 +0 -0
- {autocua-0.2.0/AutoCua/linux/tool_registry → autocua-3.0.0/AutoCua/mac}/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/hotkey/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/hotkey/service.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/service.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/applescript.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/open_app.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/screenshot.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/banner.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/telegram/setup.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/telegram/telergam_animation.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/tree/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/tree/ocr.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/memory_compression/agent/system_prompt.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/android_session.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/autocua-eyes.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/autocua-shine.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/autocua.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/coderuse-eyes.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/coderuse-shine.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/coderuse.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/computeruse-eyes.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/computeruse-shine.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/computeruse.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/minion-eyes.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/minion-shine.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/minion.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/mobileuse-eyes.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/mobileuse-shine.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/mobileuse.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/scraperuse-eyes.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/scraperuse-shine.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/scraperuse.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/webuse-eyes.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/webuse-shine.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/webuse.webp +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat/chat.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat/chat.tsx +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/link_toggle.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/pc_button.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/send_button.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/agent.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/agent.tsx +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/chain_bot.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/tracking_progress.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/tracking_progress.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/big_center_container/big_center_container.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/bottom_right/bottom_right.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/bottom_right/bottom_right.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/bottom_right/bottom_right.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/notes_stage/notes_stage.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/notes_stage/notes_stage.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/globe_shell.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/globe_shell.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/screen.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/screen.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/user/user.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/user/user.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/user/user.tsx +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/left_bar/left_bar.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/left_bar/left_bar.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/left_bar/left_bar.tsx +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/left_bar/logo_mark.svg +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/memory_bar/memory_bar.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/memory_bar/memory_bar.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/memory_bar/memory_bar.tsx +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/package-lock.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/package.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/settings/settings.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/settings/settings.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/settings/settings.tsx +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/setup/setup.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/setup/setup.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/setup/setup.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/skills/skills.tsx +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/skills/skills_stage.tsx +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/thinking_orb/shimmer.css +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/thinking_orb/thinking_orb.js +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/tsconfig.json +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/vite.config.ts +0 -0
- {autocua-0.2.0/AutoCua/android/controller/tool → autocua-3.0.0/AutoCua/universal_tool}/web/web.md +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/agent_glow.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/consent.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/errors.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/ocr_models.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/sim_view.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/sim_view.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/third_party_licenses.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/tls.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/video_compress.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/wda.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/hotkey/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/hotkey/service.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/service.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/tool/interception_toggle.ps1 +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/tool/kernel_input.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/tool/open_app.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/tool/screenshot.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/banner.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/discord/service.py +0 -0
- {autocua-0.2.0/AutoCua/llm_provider/perplexity → autocua-3.0.0/AutoCua/windows/remote_connection/telegram}/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/telegram/setup.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/telegram/telergam_animation.html +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/whatsapp/service.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/tree/__init__.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/tree/element.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/tree/ocr_detection.py +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/LICENSE +0 -0
- {autocua-0.2.0 → autocua-3.0.0}/THIRD_PARTY_LICENSES.txt +0 -0
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
# The
|
|
2
|
-
# (android/)
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
1
|
+
# The Rust parts as ONE crate: the browser agent (browser/), the Android agent
|
|
2
|
+
# (android/), the coder (coder/), the computer-use agent (computer/), the
|
|
3
|
+
# iPhone agent (ios/agent/), the web tool (universal_tool/web/), memory
|
|
4
|
+
# compression (memory_compression/) and the desktop app's chat memory
|
|
5
|
+
# (agent_conversation/). Cargo.toml,
|
|
6
|
+
# Cargo.lock, build.rs and lib.rs sit here in AutoCua/, and each part's
|
|
7
|
+
# sources sit in its own folder beside them, no src/ (lib.rs declares the
|
|
8
|
+
# folders). One cargo build gives agent_native, all of them as one Python
|
|
9
|
+
# extension module (PyO3 cdylib), the same on macOS, Windows and Linux.
|
|
10
|
+
# AutoCua/utils/rust.py builds it and copies it beside this file as
|
|
11
|
+
# agent_native.so, no maturin; a pip wheel gets it from maturin
|
|
12
|
+
# (pyproject.toml).
|
|
9
13
|
|
|
10
14
|
[package]
|
|
11
15
|
name = "agent_native"
|
|
@@ -27,7 +31,7 @@ autobenches = false
|
|
|
27
31
|
pyo3-build-config = "0.29"
|
|
28
32
|
|
|
29
33
|
[dependencies]
|
|
30
|
-
# --
|
|
34
|
+
# -- every part ------------------------------------------------------------
|
|
31
35
|
# abi3-py310: one .so works on every CPython >= 3.10, so the user's Python
|
|
32
36
|
# can move without a relink.
|
|
33
37
|
pyo3 = { version = "0.29", features = ["extension-module", "abi3-py310"] }
|
|
@@ -39,9 +43,9 @@ serde = "1"
|
|
|
39
43
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
40
44
|
regex = "1"
|
|
41
45
|
chrono = "0.4"
|
|
42
|
-
# The screenshot the model gets (
|
|
46
|
+
# The screenshot the model gets (the browser agent and Android).
|
|
43
47
|
base64 = "0.22"
|
|
44
|
-
# -- the
|
|
48
|
+
# -- the browser agent (browser/) ------------------------------------------
|
|
45
49
|
# Addresses read the way the browser reads them (browser.rs web_store_url).
|
|
46
50
|
url = "2"
|
|
47
51
|
# ws:// to 127.0.0.1 only.
|
|
@@ -49,7 +53,7 @@ tungstenite = { version = "0.24", default-features = false, features = ["handsha
|
|
|
49
53
|
# tree/element.rs: jpeg decode + encode of the annotated screenshot (marks are
|
|
50
54
|
# drawn with a hand-rolled bitmap font, so no font crates).
|
|
51
55
|
image = { version = "0.25", default-features = false, features = ["jpeg"] }
|
|
52
|
-
#
|
|
56
|
+
# connector/stage_bridge.rs: SHA-256 for AutoCuaBridge's file fingerprint and
|
|
53
57
|
# Chrome's unpacked extension id.
|
|
54
58
|
ring = { version = "0.17", default-features = false }
|
|
55
59
|
# -- the Android agent's phone reader (android/tree/element.rs) ------------
|
|
@@ -9,7 +9,9 @@ one folder no installer owns:
|
|
|
9
9
|
|
|
10
10
|
<base>/AutoCua_data/
|
|
11
11
|
agent_conversation/ chats: index.json, settings.json, chat_*/
|
|
12
|
-
|
|
12
|
+
<base>/.env provider keys + Telegram token + Vertex config:
|
|
13
|
+
the .env you edit by hand, which the Settings
|
|
14
|
+
panel writes too (env_file below)
|
|
13
15
|
|
|
14
16
|
base = Path.home() packaged build -> C:/Users/<u>/AutoCua_data
|
|
15
17
|
-> /Users/<u>/AutoCua_data on macOS
|
|
@@ -24,8 +26,9 @@ definitions of "where is AutoCua_data" that drift apart would silently put user
|
|
|
24
26
|
data back inside the install folder — the exact bug this exists to fix.
|
|
25
27
|
|
|
26
28
|
RULES for the code below:
|
|
27
|
-
* stdlib ONLY, and no filesystem side effects
|
|
28
|
-
`import AutoCua.anything` executes this module first.
|
|
29
|
+
* stdlib ONLY at import time, and no filesystem side effects then. Every
|
|
30
|
+
`import AutoCua.anything` executes this module first. (python-dotenv, a
|
|
31
|
+
dependency, is imported inside the .env functions, which run later.)
|
|
29
32
|
* NEVER print(). AutoCua re-execs itself as --banner-mode, which speaks a
|
|
30
33
|
JSON-per-line protocol on stdout, and sys.stdout can be None at import time
|
|
31
34
|
in the Windows GUI-subsystem binary. Log to `logger` (stderr) instead.
|
|
@@ -36,7 +39,9 @@ RULES for the code below:
|
|
|
36
39
|
os.replace here.
|
|
37
40
|
"""
|
|
38
41
|
|
|
42
|
+
import io
|
|
39
43
|
import os
|
|
44
|
+
import re
|
|
40
45
|
import sys
|
|
41
46
|
import logging
|
|
42
47
|
import tempfile
|
|
@@ -53,6 +58,10 @@ DATA_DIR_NAME = "AutoCua_data"
|
|
|
53
58
|
# inherit it and parent + children can never disagree on the data root.
|
|
54
59
|
ENV_DATA_DIR = "AutoCua_DATA_DIR"
|
|
55
60
|
|
|
61
|
+
# The .env that holds the keys (env_file), pinned the same way by data_root(),
|
|
62
|
+
# so a child process always uses its parent's file. Also yours to set.
|
|
63
|
+
ENV_ENV_FILE = "AutoCua_ENV_FILE"
|
|
64
|
+
|
|
56
65
|
# Compiled (Nuitka) binary vs dev run — mirrors the detection in app.py.
|
|
57
66
|
IS_COMPILED = bool(getattr(sys, "frozen", False)) or ("__compiled__" in globals())
|
|
58
67
|
|
|
@@ -104,9 +113,30 @@ def data_root() -> Path:
|
|
|
104
113
|
# with os.environ.copy()), so a child started with another cwd can
|
|
105
114
|
# never end up with its own AutoCua_data.
|
|
106
115
|
os.environ[ENV_DATA_DIR] = str(root.resolve())
|
|
116
|
+
# The .env is pinned with it, decided here once from the folder as it was
|
|
117
|
+
# chosen (a child sees AutoCua_DATA_DIR set and could not tell any more).
|
|
118
|
+
pinned = (os.environ.get(ENV_ENV_FILE) or "").strip()
|
|
119
|
+
os.environ[ENV_ENV_FILE] = (os.path.abspath(os.path.expanduser(pinned)) if pinned
|
|
120
|
+
else str(_default_env_file(root, chosen=bool(override))))
|
|
107
121
|
return _ensure(root)
|
|
108
122
|
|
|
109
123
|
|
|
124
|
+
def _default_env_file(root: Path, chosen: bool) -> Path:
|
|
125
|
+
"""The .env when nothing pinned one yet: beside the data folder, the .env
|
|
126
|
+
you edit by hand (<repo>/.env in a checkout, the folder you run main.py
|
|
127
|
+
from after pip install), taken from the path as it is, so a symlinked
|
|
128
|
+
AutoCua_data does not move it. Inside the data folder for a folder you
|
|
129
|
+
chose with AutoCua_DATA_DIR (the folder above it may not be yours to
|
|
130
|
+
write), a compiled build, or a data folder in your home folder: a
|
|
131
|
+
<home>/.env would be read by every other project's dotenv search up the
|
|
132
|
+
folder tree."""
|
|
133
|
+
root = Path(os.path.abspath(root))
|
|
134
|
+
base = root.parent
|
|
135
|
+
if chosen or IS_COMPILED or os.path.realpath(base) == os.path.realpath(_home_dir()):
|
|
136
|
+
return root / ".env"
|
|
137
|
+
return base / ".env"
|
|
138
|
+
|
|
139
|
+
|
|
110
140
|
BROWSER_PROFILES_DIR = "browser_profiles"
|
|
111
141
|
DEFAULT_BROWSER_PROFILE = "default"
|
|
112
142
|
|
|
@@ -150,7 +180,7 @@ def browser_profile_dir(name=None, browser=None) -> Path:
|
|
|
150
180
|
localStorage and IndexedDB live in here and survive between runs, so a site
|
|
151
181
|
the agent signed into once does not have to be signed into again — which
|
|
152
182
|
matters far more than any fingerprint tuning, because a login wall is where
|
|
153
|
-
a
|
|
183
|
+
a browser agent usually stops.
|
|
154
184
|
"""
|
|
155
185
|
if browser is None:
|
|
156
186
|
browser = "chrome"
|
|
@@ -252,7 +282,7 @@ def skills_dir(platform=None) -> Path:
|
|
|
252
282
|
|
|
253
283
|
def vault_file() -> Path:
|
|
254
284
|
"""AutoCua_data/vault/credentials.json — the app's saved credentials, one
|
|
255
|
-
section per device: {"ios": {<app>: {...}}, "
|
|
285
|
+
section per device: {"ios": {<app>: {...}}, "browser": {<site>: {...}}}. Each
|
|
256
286
|
agent reads only its own section.
|
|
257
287
|
|
|
258
288
|
Created with empty sections if absent, so the folder is discoverable and the
|
|
@@ -263,80 +293,242 @@ def vault_file() -> Path:
|
|
|
263
293
|
try:
|
|
264
294
|
# write_text -> io.open, so the compiled build's builtins.open patch
|
|
265
295
|
# can't swallow the write into a throwaway buffer.
|
|
266
|
-
p.write_text('{\n "ios": {},\n "
|
|
296
|
+
p.write_text('{\n "ios": {},\n "browser": {}\n}\n', encoding="utf-8")
|
|
267
297
|
except Exception:
|
|
268
298
|
logger.exception("create %s", p)
|
|
269
299
|
return p
|
|
270
300
|
|
|
271
301
|
|
|
272
302
|
# =============================================================================
|
|
273
|
-
#
|
|
303
|
+
# .env: provider keys, the Telegram bot token, and Vertex config
|
|
274
304
|
# =============================================================================
|
|
275
|
-
#
|
|
276
|
-
#
|
|
277
|
-
#
|
|
278
|
-
#
|
|
279
|
-
#
|
|
280
|
-
#
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
return path
|
|
305
|
+
# ONE file holds every key: the .env you edit by hand is the file the Settings
|
|
306
|
+
# panel and the Telegram bot write, and every reader (llm_provider, Settings,
|
|
307
|
+
# Telegram) reads that same file. data_root() decides where it is once, and
|
|
308
|
+
# pins it in AutoCua_ENV_FILE for every child (_default_env_file): beside
|
|
309
|
+
# AutoCua_data (<repo>/.env in a checkout, the folder you run main.py from after
|
|
310
|
+
# pip install), or inside it.
|
|
311
|
+
#
|
|
312
|
+
# python-dotenv parses it, the parser load_dotenv uses, so quotes, `export` and
|
|
313
|
+
# comments read the same everywhere. The keys of the old key file
|
|
314
|
+
# (AutoCua_data/api_key/api_key.txt) move into it once (_move_api_key_txt).
|
|
315
|
+
_env_moved = False
|
|
316
|
+
|
|
317
|
+
# Left in AutoCua_data by a move: an old key file not newer than it was moved
|
|
318
|
+
# already, and is never moved again (_move_api_key_txt).
|
|
319
|
+
_MOVED_MARK = ".api_key_moved"
|
|
320
|
+
|
|
321
|
+
# One read-change-write of the .env at a time in this process: the Settings key
|
|
322
|
+
# routes (ui/service.py) and the Telegram bot, Connect and Disconnect
|
|
323
|
+
# (remote_connection/telegram) all hold it, so no save drops another's change.
|
|
324
|
+
api_key_lock = threading.RLock()
|
|
325
|
+
|
|
297
326
|
|
|
327
|
+
def env_file() -> Path:
|
|
328
|
+
"""The one .env (see above), after moving the old api_key.txt into it on
|
|
329
|
+
the first call in each process. Never raises."""
|
|
330
|
+
data_root() # pins AutoCua_ENV_FILE
|
|
331
|
+
path = Path(os.environ[ENV_ENV_FILE])
|
|
332
|
+
_move_api_key_txt(path)
|
|
333
|
+
return path
|
|
298
334
|
|
|
299
|
-
def _migrate_legacy_api_key(dest: Path) -> None:
|
|
300
|
-
"""Move AutoCua/api_key/api_key.txt out of the install folder, once.
|
|
301
335
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
336
|
+
def read_env(path: Path = None) -> dict:
|
|
337
|
+
"""NAME -> value for every line of the .env (env_file() unless `path`), as
|
|
338
|
+
load_dotenv reads them; '' for a NAME with no value. {} when the file is
|
|
339
|
+
missing or cannot be read."""
|
|
340
|
+
path = env_file() if path is None else path
|
|
341
|
+
try:
|
|
342
|
+
text = _env_text(path, errors="replace")
|
|
343
|
+
except OSError:
|
|
344
|
+
return {}
|
|
345
|
+
return _env_values(text)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
def _env_text(path: Path, errors: str = "strict") -> str:
|
|
349
|
+
"""The file's text as it is on disk. Path.read_bytes, not the builtin
|
|
350
|
+
open() (RULES above), and no newline translation, so a Windows file keeps
|
|
351
|
+
its \\r\\n when it is written back. utf-8-sig: a BOM that a Windows editor
|
|
352
|
+
saved must not stick to the first name."""
|
|
353
|
+
return path.read_bytes().decode("utf-8-sig", errors)
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
def _env_values(text: str) -> dict:
|
|
357
|
+
from dotenv import dotenv_values
|
|
358
|
+
return {k: v or "" for k, v in dotenv_values(stream=io.StringIO(text)).items()}
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
def set_env(updates: dict, path: Path = None) -> None:
|
|
362
|
+
"""Set NAME=value for every item of `updates` in ONE rewrite of the .env
|
|
363
|
+
(env_file() unless `path`), keeping every other line as it is. '' clears a
|
|
364
|
+
value; a name the file does not have yet is added at the end. Written with
|
|
365
|
+
replace_file_text: owner-only, and a reader meets the old file or the new
|
|
366
|
+
one. This process's environment follows (_env_follow), so the change counts
|
|
367
|
+
at once. Raises OSError when the file cannot be written."""
|
|
368
|
+
path = env_file() if path is None else path
|
|
369
|
+
updates = {name: "" if value is None else str(value) for name, value in updates.items()}
|
|
370
|
+
with api_key_lock:
|
|
371
|
+
try:
|
|
372
|
+
text = _env_text(path)
|
|
373
|
+
except FileNotFoundError:
|
|
374
|
+
text = ""
|
|
375
|
+
new, before = _env_rewrite(text, updates)
|
|
376
|
+
if new != text:
|
|
377
|
+
replace_file_text(path, new)
|
|
378
|
+
_env_follow(updates, before)
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
def _env_value(value: str) -> str:
|
|
382
|
+
"""`value` as python-dotenv reads it back: plain when it can be, else in
|
|
383
|
+
double quotes with \\, " and line breaks escaped."""
|
|
384
|
+
if re.fullmatch(r"[^\s'\"\\#]*", value):
|
|
385
|
+
return value
|
|
386
|
+
return '"' + (value.replace("\\", "\\\\").replace('"', '\\"')
|
|
387
|
+
.replace("\n", "\\n").replace("\r", "\\r")) + '"'
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
def _env_rewrite(text: str, updates: dict, header: str = "") -> tuple:
|
|
391
|
+
"""(new text, {name: value before}) for set_env: every line that sets a name
|
|
392
|
+
of `updates` gets its new value (the blank lines python-dotenv counts in
|
|
393
|
+
front of it, an `export ` and the line break stay); every other line stays
|
|
394
|
+
as it is. A name with no line yet is added at the end, after `header` when
|
|
395
|
+
given, unless its new value is ''."""
|
|
396
|
+
from dotenv.parser import parse_stream
|
|
397
|
+
nl = "\r\n" if "\r\n" in text else "\n"
|
|
398
|
+
out, before = [], {}
|
|
399
|
+
for binding in parse_stream(io.StringIO(text)):
|
|
400
|
+
line = binding.original.string
|
|
401
|
+
if binding.key is None or binding.key not in updates:
|
|
402
|
+
out.append(line)
|
|
403
|
+
continue
|
|
404
|
+
before[binding.key] = binding.value or ""
|
|
405
|
+
body = line.lstrip()
|
|
406
|
+
lead = line[:len(line) - len(body)]
|
|
407
|
+
export = "export " if re.match(r"export[^\S\r\n]", body) else ""
|
|
408
|
+
end = line[len(line.rstrip("\r\n")):] # \r\n, \n, a bare \r, or none
|
|
409
|
+
out.append(f"{lead}{export}{binding.key}={_env_value(updates[binding.key])}{end}")
|
|
410
|
+
new = "".join(out)
|
|
411
|
+
add = [name for name, value in updates.items() if name not in before and value]
|
|
412
|
+
if add:
|
|
413
|
+
if new and not new.endswith(("\n", "\r")):
|
|
414
|
+
new += nl
|
|
415
|
+
new += header + "".join(f"{name}={_env_value(updates[name])}{nl}" for name in add)
|
|
416
|
+
return new, before
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
def _env_follow(updates: dict, before: dict) -> None:
|
|
420
|
+
"""This process's environment after a write: a name whose value came from
|
|
421
|
+
the file, or that has none, takes the new value, or goes when it is
|
|
422
|
+
cleared; a value the shell set to something else stays, as load_dotenv
|
|
423
|
+
never overrides one."""
|
|
424
|
+
for name, value in updates.items():
|
|
425
|
+
if os.environ.get(name) in (None, "", before.get(name)):
|
|
426
|
+
if value:
|
|
427
|
+
os.environ[name] = value
|
|
428
|
+
else:
|
|
429
|
+
os.environ.pop(name, None)
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
def _move_api_key_txt(dest: Path) -> None:
|
|
433
|
+
"""Move the keys of the old key file into the .env, once per process, from
|
|
434
|
+
ONE file: AutoCua_data/api_key/api_key.txt, or the older copy in the
|
|
435
|
+
install folder only when that one is not there (the old rule: a stale copy
|
|
436
|
+
never overrides newer keys). A file not newer than the mark a move leaves
|
|
437
|
+
(_MOVED_MARK) was moved before and is left alone, so one that could not be
|
|
438
|
+
deleted never brings back a key cleared since. Never raises: a failure is
|
|
439
|
+
logged, and the next start tries again."""
|
|
440
|
+
global _env_moved
|
|
441
|
+
if _env_moved:
|
|
309
442
|
return
|
|
310
|
-
with
|
|
311
|
-
if
|
|
443
|
+
with api_key_lock:
|
|
444
|
+
if _env_moved:
|
|
312
445
|
return
|
|
446
|
+
_env_moved = True # first: never again in this process, also after a failure
|
|
447
|
+
mark = data_root() / _MOVED_MARK
|
|
313
448
|
try:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
part = dest.with_name(dest.name + ".part")
|
|
320
|
-
part.write_bytes(legacy.read_bytes())
|
|
321
|
-
os.replace(str(part), str(dest))
|
|
449
|
+
moved_at = mark.stat().st_mtime
|
|
450
|
+
except OSError:
|
|
451
|
+
moved_at = None
|
|
452
|
+
for src in (data_root() / "api_key" / "api_key.txt",
|
|
453
|
+
install_dir() / "AutoCua" / "api_key" / "api_key.txt"):
|
|
322
454
|
try:
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
455
|
+
if not src.is_file():
|
|
456
|
+
continue
|
|
457
|
+
if moved_at is None or src.stat().st_mtime > moved_at:
|
|
458
|
+
_move_key_file(src, dest, mark)
|
|
459
|
+
except Exception:
|
|
460
|
+
logger.exception("move %s into %s", src, dest)
|
|
461
|
+
return # the first file there, only
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
def _one_line(value: str) -> str:
|
|
465
|
+
"""A noted value on one line, so the note stays one comment line."""
|
|
466
|
+
return value.replace("\r", "\\r").replace("\n", "\\n")
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
def _move_key_file(src: Path, dest: Path, mark: Path) -> None:
|
|
470
|
+
"""One old key file (NAME=value lines) into the .env, in one rewrite.
|
|
471
|
+
|
|
472
|
+
The old file's value wins over another value the .env has: it is the one
|
|
473
|
+
the app used (Settings and Telegram read only the old file, and Vertex took
|
|
474
|
+
it first). The .env's value it replaces goes at the end as a comment, as
|
|
475
|
+
does an old line python-dotenv would read under another name or with
|
|
476
|
+
another value (an `export ` in the name, ${...} in the value), so nothing
|
|
477
|
+
is lost and you can pick. The mark is set and the old file deleted only
|
|
478
|
+
once the .env reads back every key moved."""
|
|
479
|
+
old = {}
|
|
480
|
+
for line in _env_text(src, errors="replace").splitlines():
|
|
481
|
+
name, eq, value = line.strip().partition("=")
|
|
482
|
+
name, value = name.strip(), value.strip()
|
|
483
|
+
if eq and name and value and not name.startswith("#"):
|
|
484
|
+
old[name] = value
|
|
485
|
+
try:
|
|
486
|
+
text = _env_text(dest)
|
|
487
|
+
except FileNotFoundError:
|
|
488
|
+
text = ""
|
|
489
|
+
have = _env_values(text)
|
|
490
|
+
move, replaced, unmoved = {}, {}, {}
|
|
491
|
+
for name, value in old.items():
|
|
492
|
+
if have.get(name) == value:
|
|
493
|
+
continue # the .env has it already
|
|
494
|
+
if (_env_values(f"{name}=x\n") == {name: "x"}
|
|
495
|
+
and _env_values(f"X={_env_value(value)}\n").get("X") == value):
|
|
496
|
+
move[name] = value
|
|
497
|
+
if have.get(name):
|
|
498
|
+
replaced[name] = have[name]
|
|
499
|
+
else:
|
|
500
|
+
unmoved[name] = value
|
|
501
|
+
nl = "\r\n" if "\r\n" in text else "\n"
|
|
502
|
+
new, before = _env_rewrite(text, move, header=f"# Moved here from {src}{nl}")
|
|
503
|
+
for title, notes in ((f"# Values these keys had here before the move from {src} (not used):", replaced),
|
|
504
|
+
(f"# From {src}, not moved, as they would not read back the same here:", unmoved)):
|
|
505
|
+
if notes:
|
|
506
|
+
if new and not new.endswith(("\n", "\r")):
|
|
507
|
+
new += nl
|
|
508
|
+
new += title + nl + "".join(f"# {name}={_one_line(value)}{nl}" for name, value in notes.items())
|
|
509
|
+
if replaced:
|
|
510
|
+
logger.warning("%s: the values from %s replaced its own for %s; those are comments at its end",
|
|
511
|
+
dest, src, ", ".join(sorted(replaced)))
|
|
512
|
+
if unmoved:
|
|
513
|
+
logger.warning("%s: not moved from %s: %s; they are comments at its end",
|
|
514
|
+
dest, src, ", ".join(sorted(unmoved)))
|
|
515
|
+
if new != text:
|
|
516
|
+
replace_file_text(dest, new)
|
|
517
|
+
_env_follow(move, before)
|
|
518
|
+
now = _env_values(_env_text(dest)) if move else {}
|
|
519
|
+
if all(now.get(name) == value for name, value in move.items()):
|
|
520
|
+
mark.touch()
|
|
521
|
+
try:
|
|
522
|
+
src.unlink()
|
|
523
|
+
except OSError as e: # a read-only install folder, a file in use
|
|
524
|
+
logger.warning("moved the keys of %s into %s, but could not delete it (%s); "
|
|
525
|
+
"the mark keeps it from being moved again", src, dest, e.strerror or e)
|
|
526
|
+
return
|
|
527
|
+
try:
|
|
528
|
+
src.parent.rmdir() # only when nothing else is left in it
|
|
529
|
+
except OSError:
|
|
530
|
+
pass
|
|
531
|
+
logger.info("moved the keys of %s into %s", src, dest)
|
|
340
532
|
|
|
341
533
|
|
|
342
534
|
def replace_file_text(path: Path, text: str) -> None:
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Permanent (resumable) chat memory for the UI path.
|
|
2
|
+
|
|
3
|
+
All conversation-memory management lives in this package: saving, loading and
|
|
4
|
+
optimizing a session's conversation, and the on-disk session folders + index.
|
|
5
|
+
The agent stays a thin one-shot loop; app.py talks ONLY to ConversationService
|
|
6
|
+
(load a session -> trigger the main agent -> save the run). main.py / cli.py
|
|
7
|
+
never import this package, so they remain direct one-shot entry points.
|
|
8
|
+
|
|
9
|
+
The service is Rust (service.rs), its part of the one Rust extension,
|
|
10
|
+
AutoCua.agent_native.agent_conversation (the crate is AutoCua/Cargo.toml).
|
|
11
|
+
This __init__ is the loader, like AutoCua/coder/__init__.py: a checkout builds
|
|
12
|
+
or refreshes the extension with cargo (AutoCua/utils/rust.py); a module
|
|
13
|
+
shipped without a target/ folder beside it is used as it is. The Rust module
|
|
14
|
+
is put in sys.modules as AutoCua.agent_conversation.service, its old name, so
|
|
15
|
+
`from AutoCua.agent_conversation.service import conversation` keeps working.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
import sys
|
|
19
|
+
|
|
20
|
+
from AutoCua.utils.rust import ensure_built
|
|
21
|
+
|
|
22
|
+
ensure_built()
|
|
23
|
+
|
|
24
|
+
from AutoCua.agent_native import agent_conversation as service # noqa: E402
|
|
25
|
+
|
|
26
|
+
sys.modules[__name__ + ".service"] = service
|
|
27
|
+
|
|
28
|
+
ConversationService = service.ConversationService
|
|
29
|
+
conversation = service.conversation
|
|
30
|
+
|
|
31
|
+
__all__ = ["ConversationService", "conversation"]
|