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.
Files changed (628) hide show
  1. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/Cargo.toml +16 -12
  2. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/__init__.py +257 -65
  3. autocua-3.0.0/AutoCua/agent_conversation/__init__.py +31 -0
  4. autocua-3.0.0/AutoCua/agent_conversation/service.rs +3456 -0
  5. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/agent_launcher.py +30 -32
  6. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/__init__.py +1 -1
  7. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/scratchpad/service.rs +1 -1
  8. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/task_tracker/service.rs +1 -1
  9. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/open_app/service.rs +3 -3
  10. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/shell/service.rs +1 -1
  11. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/vault/service.rs +45 -24
  12. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/videoplayer/service.rs +1 -1
  13. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/view.rs +1 -1
  14. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/session.py +1 -1
  15. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/__init__.py +4 -4
  16. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/__main__.py +8 -8
  17. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/service.rs +51 -51
  18. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/view.rs +2 -2
  19. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/background.js +1 -1
  20. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/element.js +1 -1
  21. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/test.command +2 -2
  22. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/tools.js +27 -10
  23. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/bridge.rs +91 -43
  24. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/bridge_test.rs +6 -6
  25. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/browser.rs +106 -37
  26. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/page_tab_guard.rs +6 -6
  27. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/stage_bridge.rs +6 -6
  28. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/click/service.rs +2 -2
  29. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/dialog/service.rs +2 -2
  30. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/done/service.rs +3 -3
  31. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/input/service.rs +4 -4
  32. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/keyboard/service.rs +3 -3
  33. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/run_script/guardrails_check.rs +2 -2
  34. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/run_script/service.rs +3 -3
  35. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/run_script/window.rs +2 -2
  36. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/scratchpad/service.rs +1 -1
  37. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/scroll/service.rs +4 -4
  38. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/service.rs +2 -2
  39. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/skills/service.rs +4 -4
  40. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/tab/service.rs +3 -3
  41. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/todo_tracker/service.rs +1 -1
  42. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/vault/service.rs +13 -13
  43. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/view.rs +10 -10
  44. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/wait/service.rs +3 -3
  45. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/tool_registry/service.rs +6 -5
  46. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/tree/element.rs +2 -2
  47. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/__init__.py +9 -7
  48. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/scratchpad/service.rs +1 -1
  49. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/service.rs +3 -2
  50. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/task_tracker/service.rs +1 -1
  51. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/sandbox/service.rs +77 -8
  52. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/tool_registry/service.rs +0 -2
  53. autocua-3.0.0/AutoCua/computer/__init__.py +158 -0
  54. autocua-3.0.0/AutoCua/computer/service.rs +3245 -0
  55. autocua-3.0.0/AutoCua/computer/skills/__init__.py +39 -0
  56. autocua-3.0.0/AutoCua/computer/skills/service.rs +643 -0
  57. autocua-3.0.0/AutoCua/computer/view.rs +898 -0
  58. autocua-3.0.0/AutoCua/ios/agent/iphone_use/__init__.py +91 -0
  59. autocua-3.0.0/AutoCua/ios/agent/iphone_use/service.rs +2642 -0
  60. autocua-3.0.0/AutoCua/ios/agent/iphone_use/view.rs +933 -0
  61. autocua-3.0.0/AutoCua/ios/agent/skills/__init__.py +40 -0
  62. autocua-3.0.0/AutoCua/ios/agent/skills/service.rs +383 -0
  63. autocua-3.0.0/AutoCua/ios/controller/__init__.py +126 -0
  64. autocua-3.0.0/AutoCua/ios/controller/scratchpad/__init__.py +39 -0
  65. autocua-3.0.0/AutoCua/ios/controller/scratchpad/service.rs +190 -0
  66. autocua-3.0.0/AutoCua/ios/controller/service.rs +942 -0
  67. autocua-3.0.0/AutoCua/ios/controller/task_tracker/__init__.py +39 -0
  68. autocua-3.0.0/AutoCua/ios/controller/task_tracker/service.rs +246 -0
  69. autocua-3.0.0/AutoCua/ios/controller/tool/__init__.py +116 -0
  70. autocua-3.0.0/AutoCua/ios/controller/tool/open_app.rs +1035 -0
  71. autocua-3.0.0/AutoCua/ios/controller/tool/shell.rs +234 -0
  72. autocua-3.0.0/AutoCua/ios/controller/tool/videoplayer.rs +660 -0
  73. autocua-3.0.0/AutoCua/ios/controller/view.rs +1039 -0
  74. autocua-3.0.0/AutoCua/ios/tool_registry/__init__.py +65 -0
  75. autocua-3.0.0/AutoCua/ios/tool_registry/service.rs +819 -0
  76. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/build_paths.py +9 -0
  77. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/session.py +77 -10
  78. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/setup.py +107 -12
  79. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/sim_session.py +2 -1
  80. autocua-3.0.0/AutoCua/lib.rs +2383 -0
  81. autocua-3.0.0/AutoCua/linux/controller/scratchpad/__init__.py +39 -0
  82. autocua-3.0.0/AutoCua/linux/controller/scratchpad/service.rs +175 -0
  83. autocua-3.0.0/AutoCua/linux/controller/task_tracker/__init__.py +39 -0
  84. autocua-3.0.0/AutoCua/linux/controller/task_tracker/service.rs +262 -0
  85. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/__init__.py +1 -1
  86. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/view.py +11 -11
  87. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/telegram/service.py +71 -88
  88. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/telegram/view.py +7 -10
  89. autocua-3.0.0/AutoCua/linux/tool_registry/__init__.py +70 -0
  90. autocua-3.0.0/AutoCua/linux/tool_registry/service.rs +1033 -0
  91. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/llm_provider/__init__.py +108 -4
  92. autocua-3.0.0/AutoCua/llm_provider/anthropic/__init__.py +94 -0
  93. autocua-3.0.0/AutoCua/llm_provider/anthropic/service.rs +932 -0
  94. autocua-3.0.0/AutoCua/llm_provider/anthropic/view.rs +412 -0
  95. autocua-3.0.0/AutoCua/llm_provider/aws/__init__.py +97 -0
  96. autocua-3.0.0/AutoCua/llm_provider/aws/service.rs +995 -0
  97. autocua-3.0.0/AutoCua/llm_provider/aws/view.rs +384 -0
  98. autocua-3.0.0/AutoCua/llm_provider/cerebras/__init__.py +88 -0
  99. autocua-3.0.0/AutoCua/llm_provider/cerebras/service.rs +548 -0
  100. autocua-3.0.0/AutoCua/llm_provider/cerebras/view.rs +177 -0
  101. autocua-3.0.0/AutoCua/llm_provider/google/__init__.py +100 -0
  102. autocua-3.0.0/AutoCua/llm_provider/google/service.rs +886 -0
  103. autocua-3.0.0/AutoCua/llm_provider/google/view.rs +371 -0
  104. autocua-3.0.0/AutoCua/llm_provider/groq/__init__.py +90 -0
  105. autocua-3.0.0/AutoCua/llm_provider/groq/service.rs +559 -0
  106. autocua-3.0.0/AutoCua/llm_provider/groq/view.rs +180 -0
  107. autocua-3.0.0/AutoCua/llm_provider/llm_manager.rs +1904 -0
  108. autocua-3.0.0/AutoCua/llm_provider/ollama/__init__.py +92 -0
  109. autocua-3.0.0/AutoCua/llm_provider/ollama/service.rs +1429 -0
  110. autocua-3.0.0/AutoCua/llm_provider/ollama/view.rs +325 -0
  111. autocua-3.0.0/AutoCua/llm_provider/openai/__init__.py +96 -0
  112. autocua-3.0.0/AutoCua/llm_provider/openai/service.rs +532 -0
  113. autocua-3.0.0/AutoCua/llm_provider/openai/view.rs +343 -0
  114. autocua-3.0.0/AutoCua/llm_provider/openrouter/__init__.py +96 -0
  115. autocua-3.0.0/AutoCua/llm_provider/openrouter/service.rs +753 -0
  116. autocua-3.0.0/AutoCua/llm_provider/openrouter/view.rs +560 -0
  117. autocua-3.0.0/AutoCua/llm_provider/perplexity/__init__.py +92 -0
  118. autocua-3.0.0/AutoCua/llm_provider/perplexity/service.rs +621 -0
  119. autocua-3.0.0/AutoCua/llm_provider/perplexity/view.rs +390 -0
  120. autocua-3.0.0/AutoCua/llm_provider/requesty/__init__.py +89 -0
  121. autocua-3.0.0/AutoCua/llm_provider/requesty/service.rs +575 -0
  122. autocua-3.0.0/AutoCua/llm_provider/requesty/view.rs +275 -0
  123. autocua-3.0.0/AutoCua/llm_provider/responses.rs +1081 -0
  124. autocua-3.0.0/AutoCua/llm_provider/together/__init__.py +89 -0
  125. autocua-3.0.0/AutoCua/llm_provider/together/service.rs +583 -0
  126. autocua-3.0.0/AutoCua/llm_provider/together/view.rs +180 -0
  127. autocua-3.0.0/AutoCua/mac/controller/scratchpad/__init__.py +39 -0
  128. autocua-3.0.0/AutoCua/mac/controller/scratchpad/service.rs +175 -0
  129. autocua-3.0.0/AutoCua/mac/controller/task_tracker/__init__.py +39 -0
  130. autocua-3.0.0/AutoCua/mac/controller/task_tracker/service.rs +262 -0
  131. autocua-3.0.0/AutoCua/mac/controller/tool/__init__.py +6 -0
  132. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/ios_agent.py +1 -1
  133. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/ios_agent_child.py +2 -2
  134. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/view.py +11 -11
  135. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/telegram/service.py +72 -90
  136. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/telegram/view.py +7 -10
  137. autocua-3.0.0/AutoCua/mac/tool_registry/__init__.py +65 -0
  138. autocua-3.0.0/AutoCua/mac/tool_registry/service.rs +870 -0
  139. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/tree/element.py +4 -3
  140. autocua-3.0.0/AutoCua/memory_compression/__init__.py +40 -0
  141. autocua-3.0.0/AutoCua/memory_compression/agent/__init__.py +12 -0
  142. autocua-3.0.0/AutoCua/memory_compression/agent/service.rs +601 -0
  143. autocua-3.0.0/AutoCua/memory_compression/controller.rs +663 -0
  144. autocua-3.0.0/AutoCua/memory_compression/memory_tracker.rs +257 -0
  145. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/agent_mode.css +12 -12
  146. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/agent_mode.js +13 -13
  147. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/agent_mode.tsx +11 -11
  148. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/daisy_session.js +1 -1
  149. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/ios_session.js +1 -1
  150. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat/chat.js +18 -18
  151. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/chat_input.css +10 -10
  152. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/chat_input.js +27 -27
  153. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/chat_input.tsx +1 -1
  154. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/mode_bot.css +4 -4
  155. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/mode_bot.js +15 -15
  156. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_container/coder_card.css +35 -35
  157. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_container/coder_card.js +43 -43
  158. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_container/tool_icons.js +2 -2
  159. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_stage.css +5 -5
  160. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/cli/cli_stage.js +87 -87
  161. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/agent.js +18 -18
  162. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/bot_blink.js +3 -3
  163. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/chain_bot.js +4 -4
  164. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/run_reply.css +4 -4
  165. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/run_reply.js +2 -2
  166. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/big_center_container/big_center_container.tsx +1 -1
  167. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/chat_scroll/chat_scroll.css +1 -1
  168. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/chat_scroll/chat_scroll.js +6 -6
  169. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/README.md +2 -2
  170. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/run_bot.css +2 -2
  171. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/run_bot.js +2 -2
  172. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/screen.tsx +1 -1
  173. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/sub_agents/sub_agents.css +1 -1
  174. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/sub_agents/sub_agents.js +1 -1
  175. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/css/style.css +55 -1
  176. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/device_connect/device_connect.css +24 -0
  177. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/device_connect/device_connect.js +107 -6
  178. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/index.html +2 -2
  179. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/index.js +1 -1
  180. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/index.tsx +31 -0
  181. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/intro_animation.css +1 -1
  182. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/intro_animation.tsx +2 -2
  183. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/markdown.py +1 -1
  184. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/notes_stage/notes_stage.css +1 -1
  185. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/script.js +31 -5
  186. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/service.py +229 -174
  187. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/skills/skills.css +3 -3
  188. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/skills/skills.js +3 -3
  189. autocua-3.0.0/AutoCua/universal_tool/__init__.py +3 -0
  190. autocua-3.0.0/AutoCua/universal_tool/android_agent/__init__.py +78 -0
  191. autocua-3.0.0/AutoCua/universal_tool/android_agent/service.rs +1683 -0
  192. autocua-3.0.0/AutoCua/universal_tool/android_agent_child/__init__.py +2 -0
  193. autocua-3.0.0/AutoCua/universal_tool/android_agent_child/service.py +41 -0
  194. autocua-3.0.0/AutoCua/universal_tool/android_agent_child/service.rs +545 -0
  195. autocua-3.0.0/AutoCua/universal_tool/browser_agent/__init__.py +76 -0
  196. autocua-3.0.0/AutoCua/universal_tool/browser_agent/service.rs +892 -0
  197. autocua-3.0.0/AutoCua/universal_tool/browser_agent_child/__init__.py +2 -0
  198. autocua-3.0.0/AutoCua/universal_tool/browser_agent_child/service.py +50 -0
  199. autocua-3.0.0/AutoCua/universal_tool/browser_agent_child/service.rs +472 -0
  200. autocua-3.0.0/AutoCua/universal_tool/shell/__init__.py +69 -0
  201. autocua-3.0.0/AutoCua/universal_tool/shell/service.rs +289 -0
  202. autocua-3.0.0/AutoCua/universal_tool/web/__init__.py +41 -0
  203. autocua-3.0.0/AutoCua/universal_tool/web/anthropic.rs +51 -0
  204. {autocua-0.2.0/AutoCua/coder/controller/tool → autocua-3.0.0/AutoCua/universal_tool}/web/chatgpt.rs +27 -23
  205. autocua-3.0.0/AutoCua/universal_tool/web/google_search.rs +72 -0
  206. autocua-3.0.0/AutoCua/universal_tool/web/groq_search.rs +51 -0
  207. autocua-3.0.0/AutoCua/universal_tool/web/openrouter.rs +57 -0
  208. {autocua-0.2.0/AutoCua/android/controller/tool → autocua-3.0.0/AutoCua/universal_tool}/web/perplexity_search.rs +14 -8
  209. autocua-3.0.0/AutoCua/universal_tool/web/service.rs +456 -0
  210. autocua-3.0.0/AutoCua/universal_tool/web/web_agent.rs +409 -0
  211. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/__init__.py +2 -2
  212. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/chrome.py +5 -5
  213. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/electron.py +120 -12
  214. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/run_recorder.py +13 -13
  215. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/rust.py +37 -22
  216. autocua-3.0.0/AutoCua/vault/__init__.py +75 -0
  217. autocua-3.0.0/AutoCua/vault/service.rs +1778 -0
  218. autocua-3.0.0/AutoCua/windows/controller/scratchpad/__init__.py +39 -0
  219. autocua-3.0.0/AutoCua/windows/controller/scratchpad/service.rs +175 -0
  220. autocua-3.0.0/AutoCua/windows/controller/task_tracker/__init__.py +39 -0
  221. autocua-3.0.0/AutoCua/windows/controller/task_tracker/service.rs +262 -0
  222. autocua-3.0.0/AutoCua/windows/controller/tool/__init__.py +5 -0
  223. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/view.py +11 -11
  224. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/telegram/service.py +69 -86
  225. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/telegram/view.py +6 -7
  226. autocua-3.0.0/AutoCua/windows/tool_registry/__init__.py +65 -0
  227. autocua-3.0.0/AutoCua/windows/tool_registry/service.rs +832 -0
  228. {autocua-0.2.0 → autocua-3.0.0}/PKG-INFO +80 -47
  229. {autocua-0.2.0 → autocua-3.0.0}/README.md +79 -46
  230. {autocua-0.2.0 → autocua-3.0.0}/THIRD_PARTY_NOTICES.md +11 -11
  231. {autocua-0.2.0 → autocua-3.0.0}/pyproject.toml +26 -7
  232. autocua-0.2.0/AutoCua/agent_conversation/__init__.py +0 -12
  233. autocua-0.2.0/AutoCua/agent_conversation/service.py +0 -982
  234. autocua-0.2.0/AutoCua/android/controller/tool/web/anthropic.rs +0 -44
  235. autocua-0.2.0/AutoCua/android/controller/tool/web/chatgpt.rs +0 -56
  236. autocua-0.2.0/AutoCua/android/controller/tool/web/google_search.rs +0 -61
  237. autocua-0.2.0/AutoCua/android/controller/tool/web/groq_search.rs +0 -52
  238. autocua-0.2.0/AutoCua/android/controller/tool/web/openrouter.rs +0 -48
  239. autocua-0.2.0/AutoCua/android/controller/tool/web/service.rs +0 -232
  240. autocua-0.2.0/AutoCua/android/controller/tool/web/web_agent.rs +0 -389
  241. autocua-0.2.0/AutoCua/coder/controller/tool/web/anthropic.rs +0 -44
  242. autocua-0.2.0/AutoCua/coder/controller/tool/web/google_search.rs +0 -61
  243. autocua-0.2.0/AutoCua/coder/controller/tool/web/groq_search.rs +0 -52
  244. autocua-0.2.0/AutoCua/coder/controller/tool/web/openrouter.rs +0 -48
  245. autocua-0.2.0/AutoCua/coder/controller/tool/web/perplexity_search.rs +0 -49
  246. autocua-0.2.0/AutoCua/coder/controller/tool/web/service.rs +0 -232
  247. autocua-0.2.0/AutoCua/coder/controller/tool/web/web.md +0 -24
  248. autocua-0.2.0/AutoCua/coder/controller/tool/web/web_agent.rs +0 -393
  249. autocua-0.2.0/AutoCua/ios/agent/iphone_use/__init__.py +0 -5
  250. autocua-0.2.0/AutoCua/ios/agent/iphone_use/service.py +0 -1305
  251. autocua-0.2.0/AutoCua/ios/agent/iphone_use/view.py +0 -402
  252. autocua-0.2.0/AutoCua/ios/agent/skills/__init__.py +0 -3
  253. autocua-0.2.0/AutoCua/ios/agent/skills/service.py +0 -116
  254. autocua-0.2.0/AutoCua/ios/controller/__init__.py +0 -8
  255. autocua-0.2.0/AutoCua/ios/controller/scratchpad/__init__.py +0 -3
  256. autocua-0.2.0/AutoCua/ios/controller/scratchpad/service.py +0 -74
  257. autocua-0.2.0/AutoCua/ios/controller/service.py +0 -391
  258. autocua-0.2.0/AutoCua/ios/controller/task_tracker/__init__.py +0 -4
  259. autocua-0.2.0/AutoCua/ios/controller/task_tracker/service.py +0 -115
  260. autocua-0.2.0/AutoCua/ios/controller/tool/__init__.py +0 -6
  261. autocua-0.2.0/AutoCua/ios/controller/tool/open_app.py +0 -438
  262. autocua-0.2.0/AutoCua/ios/controller/tool/shell.py +0 -204
  263. autocua-0.2.0/AutoCua/ios/controller/tool/videoplayer.py +0 -413
  264. autocua-0.2.0/AutoCua/ios/controller/tool/web/anthropic.py +0 -51
  265. autocua-0.2.0/AutoCua/ios/controller/tool/web/chatgpt.py +0 -65
  266. autocua-0.2.0/AutoCua/ios/controller/tool/web/google_search.py +0 -58
  267. autocua-0.2.0/AutoCua/ios/controller/tool/web/groq_search.py +0 -52
  268. autocua-0.2.0/AutoCua/ios/controller/tool/web/openrouter.py +0 -64
  269. autocua-0.2.0/AutoCua/ios/controller/tool/web/perplexity_search.py +0 -58
  270. autocua-0.2.0/AutoCua/ios/controller/tool/web/service.py +0 -92
  271. autocua-0.2.0/AutoCua/ios/controller/tool/web/web.md +0 -24
  272. autocua-0.2.0/AutoCua/ios/controller/tool/web/web_agent.py +0 -200
  273. autocua-0.2.0/AutoCua/ios/controller/view.py +0 -504
  274. autocua-0.2.0/AutoCua/ios/sandbox/__init__.py +0 -10
  275. autocua-0.2.0/AutoCua/ios/sandbox/service.py +0 -395
  276. autocua-0.2.0/AutoCua/ios/tool_registry/service.py +0 -303
  277. autocua-0.2.0/AutoCua/lib.rs +0 -712
  278. autocua-0.2.0/AutoCua/linux/agent/__init__.py +0 -5
  279. autocua-0.2.0/AutoCua/linux/agent/computer_use/__init__.py +0 -5
  280. autocua-0.2.0/AutoCua/linux/agent/computer_use/service.py +0 -1515
  281. autocua-0.2.0/AutoCua/linux/agent/computer_use/view.py +0 -375
  282. autocua-0.2.0/AutoCua/linux/agent/skills/__init__.py +0 -4
  283. autocua-0.2.0/AutoCua/linux/agent/skills/service.py +0 -226
  284. autocua-0.2.0/AutoCua/linux/controller/scratchpad/__init__.py +0 -3
  285. autocua-0.2.0/AutoCua/linux/controller/scratchpad/service.py +0 -60
  286. autocua-0.2.0/AutoCua/linux/controller/task_tracker/__init__.py +0 -4
  287. autocua-0.2.0/AutoCua/linux/controller/task_tracker/service.py +0 -117
  288. autocua-0.2.0/AutoCua/linux/controller/tool/android_agent.py +0 -577
  289. autocua-0.2.0/AutoCua/linux/controller/tool/android_agent_child.py +0 -172
  290. autocua-0.2.0/AutoCua/linux/controller/tool/browser_agent.py +0 -319
  291. autocua-0.2.0/AutoCua/linux/controller/tool/browser_agent_child.py +0 -148
  292. autocua-0.2.0/AutoCua/linux/controller/tool/shell.py +0 -114
  293. autocua-0.2.0/AutoCua/linux/controller/tool/web/anthropic.py +0 -51
  294. autocua-0.2.0/AutoCua/linux/controller/tool/web/chatgpt.py +0 -65
  295. autocua-0.2.0/AutoCua/linux/controller/tool/web/google_search.py +0 -58
  296. autocua-0.2.0/AutoCua/linux/controller/tool/web/groq_search.py +0 -52
  297. autocua-0.2.0/AutoCua/linux/controller/tool/web/openrouter.py +0 -64
  298. autocua-0.2.0/AutoCua/linux/controller/tool/web/perplexity_search.py +0 -58
  299. autocua-0.2.0/AutoCua/linux/controller/tool/web/service.py +0 -88
  300. autocua-0.2.0/AutoCua/linux/controller/tool/web/web.md +0 -24
  301. autocua-0.2.0/AutoCua/linux/controller/tool/web/web_agent.py +0 -200
  302. autocua-0.2.0/AutoCua/linux/sandbox/__init__.py +0 -10
  303. autocua-0.2.0/AutoCua/linux/sandbox/service.py +0 -383
  304. autocua-0.2.0/AutoCua/linux/tool_registry/service.py +0 -365
  305. autocua-0.2.0/AutoCua/llm_provider/anthropic/__init__.py +0 -4
  306. autocua-0.2.0/AutoCua/llm_provider/anthropic/service.py +0 -303
  307. autocua-0.2.0/AutoCua/llm_provider/anthropic/view.py +0 -155
  308. autocua-0.2.0/AutoCua/llm_provider/aws/__init__.py +0 -4
  309. autocua-0.2.0/AutoCua/llm_provider/aws/service.py +0 -290
  310. autocua-0.2.0/AutoCua/llm_provider/aws/view.py +0 -130
  311. autocua-0.2.0/AutoCua/llm_provider/cerebras/__init__.py +0 -4
  312. autocua-0.2.0/AutoCua/llm_provider/cerebras/service.py +0 -118
  313. autocua-0.2.0/AutoCua/llm_provider/cerebras/view.py +0 -34
  314. autocua-0.2.0/AutoCua/llm_provider/google/__init__.py +0 -4
  315. autocua-0.2.0/AutoCua/llm_provider/google/service.py +0 -322
  316. autocua-0.2.0/AutoCua/llm_provider/google/view.py +0 -108
  317. autocua-0.2.0/AutoCua/llm_provider/groq/__init__.py +0 -4
  318. autocua-0.2.0/AutoCua/llm_provider/groq/service.py +0 -116
  319. autocua-0.2.0/AutoCua/llm_provider/groq/view.py +0 -43
  320. autocua-0.2.0/AutoCua/llm_provider/llm_manager.py +0 -785
  321. autocua-0.2.0/AutoCua/llm_provider/openai/__init__.py +0 -4
  322. autocua-0.2.0/AutoCua/llm_provider/openai/service.py +0 -153
  323. autocua-0.2.0/AutoCua/llm_provider/openai/view.py +0 -74
  324. autocua-0.2.0/AutoCua/llm_provider/openrouter/__init__.py +0 -4
  325. autocua-0.2.0/AutoCua/llm_provider/openrouter/service.py +0 -246
  326. autocua-0.2.0/AutoCua/llm_provider/openrouter/view.py +0 -296
  327. autocua-0.2.0/AutoCua/llm_provider/perplexity/service.py +0 -191
  328. autocua-0.2.0/AutoCua/llm_provider/perplexity/view.py +0 -130
  329. autocua-0.2.0/AutoCua/llm_provider/requesty/__init__.py +0 -4
  330. autocua-0.2.0/AutoCua/llm_provider/requesty/service.py +0 -119
  331. autocua-0.2.0/AutoCua/llm_provider/requesty/view.py +0 -124
  332. autocua-0.2.0/AutoCua/llm_provider/responses.py +0 -313
  333. autocua-0.2.0/AutoCua/llm_provider/together/__init__.py +0 -4
  334. autocua-0.2.0/AutoCua/llm_provider/together/service.py +0 -127
  335. autocua-0.2.0/AutoCua/llm_provider/together/view.py +0 -42
  336. autocua-0.2.0/AutoCua/mac/__init__.py +0 -0
  337. autocua-0.2.0/AutoCua/mac/agent/__init__.py +0 -5
  338. autocua-0.2.0/AutoCua/mac/agent/computer_use/__init__.py +0 -5
  339. autocua-0.2.0/AutoCua/mac/agent/computer_use/service.py +0 -1555
  340. autocua-0.2.0/AutoCua/mac/agent/computer_use/view.py +0 -376
  341. autocua-0.2.0/AutoCua/mac/agent/skills/__init__.py +0 -4
  342. autocua-0.2.0/AutoCua/mac/agent/skills/service.py +0 -226
  343. autocua-0.2.0/AutoCua/mac/controller/scratchpad/__init__.py +0 -3
  344. autocua-0.2.0/AutoCua/mac/controller/scratchpad/service.py +0 -60
  345. autocua-0.2.0/AutoCua/mac/controller/task_tracker/__init__.py +0 -4
  346. autocua-0.2.0/AutoCua/mac/controller/task_tracker/service.py +0 -117
  347. autocua-0.2.0/AutoCua/mac/controller/tool/__init__.py +0 -6
  348. autocua-0.2.0/AutoCua/mac/controller/tool/android_agent.py +0 -577
  349. autocua-0.2.0/AutoCua/mac/controller/tool/android_agent_child.py +0 -172
  350. autocua-0.2.0/AutoCua/mac/controller/tool/browser_agent.py +0 -319
  351. autocua-0.2.0/AutoCua/mac/controller/tool/browser_agent_child.py +0 -148
  352. autocua-0.2.0/AutoCua/mac/controller/tool/shell.py +0 -114
  353. autocua-0.2.0/AutoCua/mac/controller/tool/web/anthropic.py +0 -51
  354. autocua-0.2.0/AutoCua/mac/controller/tool/web/chatgpt.py +0 -65
  355. autocua-0.2.0/AutoCua/mac/controller/tool/web/google_search.py +0 -58
  356. autocua-0.2.0/AutoCua/mac/controller/tool/web/groq_search.py +0 -52
  357. autocua-0.2.0/AutoCua/mac/controller/tool/web/openrouter.py +0 -64
  358. autocua-0.2.0/AutoCua/mac/controller/tool/web/perplexity_search.py +0 -58
  359. autocua-0.2.0/AutoCua/mac/controller/tool/web/service.py +0 -88
  360. autocua-0.2.0/AutoCua/mac/controller/tool/web/web.md +0 -24
  361. autocua-0.2.0/AutoCua/mac/controller/tool/web/web_agent.py +0 -200
  362. autocua-0.2.0/AutoCua/mac/sandbox/__init__.py +0 -10
  363. autocua-0.2.0/AutoCua/mac/sandbox/service.py +0 -395
  364. autocua-0.2.0/AutoCua/mac/tool_registry/__init__.py +0 -0
  365. autocua-0.2.0/AutoCua/mac/tool_registry/service.py +0 -330
  366. autocua-0.2.0/AutoCua/memory_compression/__init__.py +0 -13
  367. autocua-0.2.0/AutoCua/memory_compression/agent/__init__.py +0 -3
  368. autocua-0.2.0/AutoCua/memory_compression/agent/service.py +0 -144
  369. autocua-0.2.0/AutoCua/memory_compression/controller.py +0 -178
  370. autocua-0.2.0/AutoCua/memory_compression/memory_tracker.py +0 -66
  371. autocua-0.2.0/AutoCua/vault/__init__.py +0 -5
  372. autocua-0.2.0/AutoCua/vault/service.py +0 -572
  373. autocua-0.2.0/AutoCua/web/__init__.py +0 -0
  374. autocua-0.2.0/AutoCua/windows/agent/__init__.py +0 -4
  375. autocua-0.2.0/AutoCua/windows/agent/computer_use/__init__.py +0 -5
  376. autocua-0.2.0/AutoCua/windows/agent/computer_use/service.py +0 -1477
  377. autocua-0.2.0/AutoCua/windows/agent/computer_use/view.py +0 -375
  378. autocua-0.2.0/AutoCua/windows/agent/skills/__init__.py +0 -4
  379. autocua-0.2.0/AutoCua/windows/agent/skills/service.py +0 -207
  380. autocua-0.2.0/AutoCua/windows/controller/scratchpad/__init__.py +0 -3
  381. autocua-0.2.0/AutoCua/windows/controller/scratchpad/service.py +0 -60
  382. autocua-0.2.0/AutoCua/windows/controller/task_tracker/__init__.py +0 -4
  383. autocua-0.2.0/AutoCua/windows/controller/task_tracker/service.py +0 -117
  384. autocua-0.2.0/AutoCua/windows/controller/tool/__init__.py +0 -5
  385. autocua-0.2.0/AutoCua/windows/controller/tool/android_agent.py +0 -577
  386. autocua-0.2.0/AutoCua/windows/controller/tool/android_agent_child.py +0 -172
  387. autocua-0.2.0/AutoCua/windows/controller/tool/browser_agent.py +0 -319
  388. autocua-0.2.0/AutoCua/windows/controller/tool/browser_agent_child.py +0 -148
  389. autocua-0.2.0/AutoCua/windows/controller/tool/shell.py +0 -115
  390. autocua-0.2.0/AutoCua/windows/controller/tool/web/anthropic.py +0 -51
  391. autocua-0.2.0/AutoCua/windows/controller/tool/web/chatgpt.py +0 -65
  392. autocua-0.2.0/AutoCua/windows/controller/tool/web/google_search.py +0 -58
  393. autocua-0.2.0/AutoCua/windows/controller/tool/web/groq_search.py +0 -52
  394. autocua-0.2.0/AutoCua/windows/controller/tool/web/openrouter.py +0 -64
  395. autocua-0.2.0/AutoCua/windows/controller/tool/web/perplexity_search.py +0 -59
  396. autocua-0.2.0/AutoCua/windows/controller/tool/web/service.py +0 -88
  397. autocua-0.2.0/AutoCua/windows/controller/tool/web/web.md +0 -24
  398. autocua-0.2.0/AutoCua/windows/controller/tool/web/web_agent.py +0 -200
  399. autocua-0.2.0/AutoCua/windows/remote_connection/telegram/__init__.py +0 -0
  400. autocua-0.2.0/AutoCua/windows/sandbox/__init__.py +0 -10
  401. autocua-0.2.0/AutoCua/windows/sandbox/service.py +0 -434
  402. autocua-0.2.0/AutoCua/windows/tool_registry/__init__.py +0 -0
  403. autocua-0.2.0/AutoCua/windows/tool_registry/service.py +0 -292
  404. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/CUA_Sandbox/Win_CUA.py +0 -0
  405. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/Cargo.lock +0 -0
  406. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/__init__.py +0 -0
  407. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/__main__.py +0 -0
  408. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/claude_prompt.md +0 -0
  409. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/fast_system_prompt.md +0 -0
  410. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/service.rs +0 -0
  411. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/system_prompt.md +0 -0
  412. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/android_use/view.rs +0 -0
  413. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/agent/skills/service.rs +0 -0
  414. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/service.rs +0 -0
  415. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/controller/tool/back/service.rs +0 -0
  416. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/tool_registry/service.rs +0 -0
  417. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android/tree/element.rs +0 -0
  418. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/Helper.java +0 -0
  419. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/__init__.py +0 -0
  420. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/adb.py +0 -0
  421. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/autocua-helper.jar +0 -0
  422. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/build_helper.py +0 -0
  423. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/emulator.py +0 -0
  424. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/android_connector/stream.py +0 -0
  425. {autocua-0.2.0/AutoCua/ios → autocua-3.0.0/AutoCua/browser}/__init__.py +0 -0
  426. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/claude_prompt.md +0 -0
  427. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/fast_system_prompt.md +0 -0
  428. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/mod.rs +0 -0
  429. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/agent/main_driver/system_prompt.md +0 -0
  430. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/icon.png +0 -0
  431. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/manifest.json +0 -0
  432. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/send_button.html +0 -0
  433. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/send_button.js +0 -0
  434. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/sidepanel.html +0 -0
  435. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/sidepanel.js +0 -0
  436. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/test.html +0 -0
  437. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/test.js +0 -0
  438. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/wake.html +0 -0
  439. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/AutoCuaBridge/wake.js +0 -0
  440. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/glow/glow.css +0 -0
  441. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/glow/glow.html +0 -0
  442. {autocua-0.2.0/AutoCua/web/browser → autocua-3.0.0/AutoCua/browser/connector}/glow/glow.js +0 -0
  443. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/controller/mod.rs +0 -0
  444. {autocua-0.2.0/AutoCua/web → autocua-3.0.0/AutoCua/browser}/tree/element.config.json +0 -0
  445. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/build.rs +0 -0
  446. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/__main__.py +0 -0
  447. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/cli/service.rs +0 -0
  448. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/controller/tool/plan/service.rs +0 -0
  449. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/main/planner/planner.md +0 -0
  450. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/main/service.rs +0 -0
  451. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/main/system_prompt.md +0 -0
  452. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/main/view.rs +0 -0
  453. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/__init__.py +0 -0
  454. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/__main__.py +0 -0
  455. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/critic/critic.md +0 -0
  456. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/service.rs +0 -0
  457. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/system_prompt.md +0 -0
  458. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/coder/subagent/workflow/workflow.md +0 -0
  459. {autocua-0.2.0/AutoCua/linux/agent/computer_use → autocua-3.0.0/AutoCua/computer/linux}/claude_prompt.md +0 -0
  460. {autocua-0.2.0/AutoCua/linux/agent/computer_use → autocua-3.0.0/AutoCua/computer/linux}/fast_system_prompt.md +0 -0
  461. {autocua-0.2.0/AutoCua/linux/agent/computer_use → autocua-3.0.0/AutoCua/computer/linux}/system_prompt.md +0 -0
  462. {autocua-0.2.0/AutoCua/mac/agent/computer_use → autocua-3.0.0/AutoCua/computer/mac}/claude_prompt.md +0 -0
  463. {autocua-0.2.0/AutoCua/mac/agent/computer_use → autocua-3.0.0/AutoCua/computer/mac}/fast_system_prompt.md +0 -0
  464. {autocua-0.2.0/AutoCua/mac/agent/computer_use → autocua-3.0.0/AutoCua/computer/mac}/system_prompt.md +0 -0
  465. {autocua-0.2.0/AutoCua/windows/agent/computer_use → autocua-3.0.0/AutoCua/computer/windows}/claude_prompt.md +0 -0
  466. {autocua-0.2.0/AutoCua/windows/agent/computer_use → autocua-3.0.0/AutoCua/computer/windows}/fast_system_prompt.md +0 -0
  467. {autocua-0.2.0/AutoCua/windows/agent/computer_use → autocua-3.0.0/AutoCua/computer/windows}/system_prompt.md +0 -0
  468. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/data_extraction.py +0 -0
  469. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/android/instagram.md +0 -0
  470. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/android/skills.json +0 -0
  471. {autocua-0.2.0/AutoCua/default_skills/web → autocua-3.0.0/AutoCua/default_skills/browser}/domain_skill/google_sheets.md +0 -0
  472. {autocua-0.2.0/AutoCua/default_skills/web → autocua-3.0.0/AutoCua/default_skills/browser}/domain_skill/skills.json +0 -0
  473. {autocua-0.2.0/AutoCua/default_skills/web → autocua-3.0.0/AutoCua/default_skills/browser}/skills/scraping.md +0 -0
  474. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/ios/instagram.md +0 -0
  475. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/ios/skills.json +0 -0
  476. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/linux/browser.md +0 -0
  477. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/linux/skills.json +0 -0
  478. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/mac/browser.md +0 -0
  479. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/mac/libreoffice_calc.md +0 -0
  480. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/mac/maps.md +0 -0
  481. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/mac/skills.json +0 -0
  482. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/windows/browser.md +0 -0
  483. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/windows/libreoffice_calc.md +0 -0
  484. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/default_skills/windows/skills.json +0 -0
  485. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/desktop/main.js +0 -0
  486. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/desktop/package-lock.json +0 -0
  487. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/desktop/package.json +0 -0
  488. {autocua-0.2.0/AutoCua/ios/tool_registry → autocua-3.0.0/AutoCua/ios}/__init__.py +0 -0
  489. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/__init__.py +0 -0
  490. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/__main__.py +0 -0
  491. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/iphone_use/claude_prompt.md +0 -0
  492. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/iphone_use/fast_system_prompt.md +0 -0
  493. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/agent/iphone_use/system_prompt.md +0 -0
  494. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/tree/__init__.py +0 -0
  495. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios/tree/element.py +0 -0
  496. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/__init__.py +0 -0
  497. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/ddi.py +0 -0
  498. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ios_connector/setup_server.py +0 -0
  499. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/__init__.py +0 -0
  500. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/hotkey/__init__.py +0 -0
  501. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/hotkey/service.py +0 -0
  502. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/service.py +0 -0
  503. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/app_script.py +0 -0
  504. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/input_portal.py +0 -0
  505. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/open_app.py +0 -0
  506. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/controller/tool/screenshot.py +0 -0
  507. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/banner.py +0 -0
  508. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/telegram/setup.py +0 -0
  509. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/remote_connection/telegram/telergam_animation.html +0 -0
  510. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/tree/element.py +0 -0
  511. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/linux/tree/ocr.py +0 -0
  512. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/agents.html +0 -0
  513. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/agents.js +0 -0
  514. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/autocua-bots.png +0 -0
  515. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/logo.html +0 -0
  516. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/logo.png +0 -0
  517. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/logo/simulation_background.mp4 +0 -0
  518. {autocua-0.2.0/AutoCua/linux/tool_registry → autocua-3.0.0/AutoCua/mac}/__init__.py +0 -0
  519. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/__init__.py +0 -0
  520. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/hotkey/__init__.py +0 -0
  521. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/hotkey/service.py +0 -0
  522. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/service.py +0 -0
  523. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/applescript.py +0 -0
  524. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/open_app.py +0 -0
  525. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/controller/tool/screenshot.py +0 -0
  526. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/banner.py +0 -0
  527. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/telegram/setup.py +0 -0
  528. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/remote_connection/telegram/telergam_animation.html +0 -0
  529. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/tree/__init__.py +0 -0
  530. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/mac/tree/ocr.py +0 -0
  531. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/memory_compression/agent/system_prompt.md +0 -0
  532. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/__init__.py +0 -0
  533. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/agent_mode/android_session.js +0 -0
  534. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/autocua-eyes.webp +0 -0
  535. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/autocua-shine.webp +0 -0
  536. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/autocua.webp +0 -0
  537. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/coderuse-eyes.webp +0 -0
  538. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/coderuse-shine.webp +0 -0
  539. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/coderuse.webp +0 -0
  540. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/computeruse-eyes.webp +0 -0
  541. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/computeruse-shine.webp +0 -0
  542. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/computeruse.webp +0 -0
  543. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/minion-eyes.webp +0 -0
  544. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/minion-shine.webp +0 -0
  545. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/minion.webp +0 -0
  546. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/mobileuse-eyes.webp +0 -0
  547. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/mobileuse-shine.webp +0 -0
  548. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/mobileuse.webp +0 -0
  549. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/scraperuse-eyes.webp +0 -0
  550. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/scraperuse-shine.webp +0 -0
  551. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/scraperuse.webp +0 -0
  552. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/webuse-eyes.webp +0 -0
  553. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/webuse-shine.webp +0 -0
  554. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/bots/webuse.webp +0 -0
  555. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat/chat.css +0 -0
  556. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat/chat.tsx +0 -0
  557. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/link_toggle.js +0 -0
  558. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/pc_button.html +0 -0
  559. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/chat_input/send_button.html +0 -0
  560. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/agent.css +0 -0
  561. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/agent.tsx +0 -0
  562. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/chain_bot.css +0 -0
  563. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/tracking_progress.css +0 -0
  564. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/agent/tracking_progress.js +0 -0
  565. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/big_center_container/big_center_container.css +0 -0
  566. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/bottom_right/bottom_right.css +0 -0
  567. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/bottom_right/bottom_right.html +0 -0
  568. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/bottom_right/bottom_right.js +0 -0
  569. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/notes_stage/notes_stage.html +0 -0
  570. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/dead/notes_stage/notes_stage.js +0 -0
  571. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/globe_shell.css +0 -0
  572. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/globe_shell.js +0 -0
  573. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/screen.css +0 -0
  574. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/screen/screen.js +0 -0
  575. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/user/user.css +0 -0
  576. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/user/user.js +0 -0
  577. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/container/user/user.tsx +0 -0
  578. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/left_bar/left_bar.css +0 -0
  579. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/left_bar/left_bar.js +0 -0
  580. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/left_bar/left_bar.tsx +0 -0
  581. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/left_bar/logo_mark.svg +0 -0
  582. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/memory_bar/memory_bar.css +0 -0
  583. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/memory_bar/memory_bar.js +0 -0
  584. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/memory_bar/memory_bar.tsx +0 -0
  585. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/package-lock.json +0 -0
  586. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/package.json +0 -0
  587. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/settings/settings.css +0 -0
  588. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/settings/settings.js +0 -0
  589. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/settings/settings.tsx +0 -0
  590. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/setup/setup.css +0 -0
  591. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/setup/setup.html +0 -0
  592. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/setup/setup.js +0 -0
  593. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/skills/skills.tsx +0 -0
  594. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/skills/skills_stage.tsx +0 -0
  595. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/thinking_orb/shimmer.css +0 -0
  596. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/thinking_orb/thinking_orb.js +0 -0
  597. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/tsconfig.json +0 -0
  598. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/ui/vite.config.ts +0 -0
  599. {autocua-0.2.0/AutoCua/android/controller/tool → autocua-3.0.0/AutoCua/universal_tool}/web/web.md +0 -0
  600. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/agent_glow.py +0 -0
  601. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/consent.py +0 -0
  602. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/errors.py +0 -0
  603. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/ocr_models.py +0 -0
  604. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/sim_view.html +0 -0
  605. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/sim_view.py +0 -0
  606. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/third_party_licenses.py +0 -0
  607. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/tls.py +0 -0
  608. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/video_compress.py +0 -0
  609. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/utils/wda.py +0 -0
  610. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/__init__.py +0 -0
  611. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/hotkey/__init__.py +0 -0
  612. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/hotkey/service.py +0 -0
  613. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/service.py +0 -0
  614. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/tool/interception_toggle.ps1 +0 -0
  615. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/tool/kernel_input.py +0 -0
  616. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/tool/open_app.py +0 -0
  617. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/controller/tool/screenshot.py +0 -0
  618. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/banner.py +0 -0
  619. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/discord/service.py +0 -0
  620. {autocua-0.2.0/AutoCua/llm_provider/perplexity → autocua-3.0.0/AutoCua/windows/remote_connection/telegram}/__init__.py +0 -0
  621. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/telegram/setup.py +0 -0
  622. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/telegram/telergam_animation.html +0 -0
  623. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/remote_connection/whatsapp/service.py +0 -0
  624. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/tree/__init__.py +0 -0
  625. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/tree/element.py +0 -0
  626. {autocua-0.2.0 → autocua-3.0.0}/AutoCua/windows/tree/ocr_detection.py +0 -0
  627. {autocua-0.2.0 → autocua-3.0.0}/LICENSE +0 -0
  628. {autocua-0.2.0 → autocua-3.0.0}/THIRD_PARTY_LICENSES.txt +0 -0
@@ -1,11 +1,15 @@
1
- # The three Rust agents as ONE crate: the web agent (web/), the Android agent
2
- # (android/) and the coder (coder/). Cargo.toml, Cargo.lock, build.rs and
3
- # lib.rs sit here in AutoCua/, and each agent's sources sit in its own folder
4
- # beside them, no src/ (lib.rs declares the folders). One cargo build gives
5
- # agent_native, all three agents as one Python extension module (PyO3
6
- # cdylib), the same on macOS, Windows and Linux. AutoCua/utils/rust.py builds
7
- # it and copies it beside this file as agent_native.so, no maturin; a pip
8
- # wheel gets it from maturin (pyproject.toml).
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
- # -- all three agents ------------------------------------------------------
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 (web and Android).
46
+ # The screenshot the model gets (the browser agent and Android).
43
47
  base64 = "0.22"
44
- # -- the web agent (web/) --------------------------------------------------
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
- # browser/stage_bridge.rs: SHA-256 for AutoCuaBridge's file fingerprint and
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
- api_key/api_key.txt provider keys + Telegram token + Vertex config
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 at import time. Every
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 web agent usually stops.
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>: {...}}, "web": {<site>: {...}}}. Each
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 "web": {}\n}\n', encoding="utf-8")
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
- # api_key.txt — provider keys, the Telegram bot token, and Vertex config
303
+ # .env: provider keys, the Telegram bot token, and Vertex config
274
304
  # =============================================================================
275
- # Every consumer must agree on this ONE path, or the Settings panel writes a key
276
- # the agent can't read. Before this moved there were three different answers in
277
- # the tree: ui/service.py and windows/llm_provider walked up to
278
- # AutoCua/api_key/ (right), while mac and ios llm_provider stopped one
279
- # level short at <pkg>/api_key/ (a folder that never existed, so Vertex config
280
- # silently read back empty on those platforms). One function, one answer.
281
- _api_key_migrated = False
282
- _api_key_lock = threading.Lock()
283
-
284
-
285
- def api_key_file() -> Path:
286
- """AutoCua_data/api_key/api_key.txt, migrating a pre-AutoCua_data copy on
287
- the first call in each process. Idempotent and never raises."""
288
- path = _ensure(data_root() / "api_key") / "api_key.txt"
289
- _migrate_legacy_api_key(path)
290
- try:
291
- # Owner-only, also for a file an older build wrote in place as 0644.
292
- # New writes are 0600 already (replace_file_text: mkstemp + rename).
293
- os.chmod(str(path), 0o600)
294
- except OSError: # not there yet, or a read-only location
295
- pass
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
- Crash-safe by construction: the copy is staged as '<dest>.part' and renamed
303
- into place (atomic within the folder), and the legacy file is unlinked only
304
- after the rename succeeds. Skip-if-destination-exists makes a re-run a no-op
305
- and means the newer file always wins, so a downgrade/upgrade round trip can
306
- never overwrite live keys with stale ones."""
307
- global _api_key_migrated
308
- if _api_key_migrated or dest.exists():
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 _api_key_lock:
311
- if _api_key_migrated or dest.exists():
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
- legacy = install_dir() / "AutoCua" / "api_key" / "api_key.txt"
315
- if not legacy.is_file() or legacy.resolve() == dest.resolve():
316
- return
317
- # Path.read_bytes/write_bytes go through io.open, which the compiled
318
- # build's builtins.open patch does NOT replace.
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
- legacy.unlink()
324
- legacy.parent.rmdir() # only succeeds if now empty
325
- except OSError:
326
- pass
327
- logger.info("migrated api_key.txt: %s -> %s", legacy, dest)
328
- except Exception:
329
- logger.exception("migrate legacy api_key.txt")
330
- finally:
331
- # Set even on failure so we don't re-scan on every call; the next
332
- # app start retries from scratch.
333
- _api_key_migrated = True
334
-
335
-
336
- # One read-change-write of api_key.txt at a time in this process: the Settings
337
- # key routes (ui/service.py) and the Telegram bot, Connect and Disconnect
338
- # (remote_connection/telegram) all hold it, so no save drops another's change.
339
- api_key_lock = threading.RLock()
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"]