computer-use-ootb-internal 0.0.178__py3-none-any.whl → 0.0.179__py3-none-any.whl
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.
- computer_use_ootb_internal/app_teachmode.py +1 -1
- computer_use_ootb_internal/run_teachmode_ootb_args.py +3 -1
- computer_use_ootb_internal/{test_click_0425.py → test_autogui.py} +39 -1
- {computer_use_ootb_internal-0.0.178.dist-info → computer_use_ootb_internal-0.0.179.dist-info}/METADATA +1 -1
- {computer_use_ootb_internal-0.0.178.dist-info → computer_use_ootb_internal-0.0.179.dist-info}/RECORD +7 -7
- {computer_use_ootb_internal-0.0.178.dist-info → computer_use_ootb_internal-0.0.179.dist-info}/WHEEL +0 -0
- {computer_use_ootb_internal-0.0.178.dist-info → computer_use_ootb_internal-0.0.179.dist-info}/entry_points.txt +0 -0
@@ -559,7 +559,7 @@ def process_input():
|
|
559
559
|
stop_msg = f"Task '{shared_state.task}' was stopped. Ready for new tasks."
|
560
560
|
final_message = {"role": "assistant", "content": stop_msg, "type": "text", "action_type": ""}
|
561
561
|
else:
|
562
|
-
complete_msg = f"Task '{shared_state.task}' completed. Thanks for using
|
562
|
+
complete_msg = f"Task '{shared_state.task}' completed. Thanks for using Marbot Run."
|
563
563
|
final_message = {"role": "assistant", "content": complete_msg, "type": "text", "action_type": ""}
|
564
564
|
|
565
565
|
shared_state.chatbot_messages.append(final_message)
|
@@ -139,8 +139,10 @@ def simple_teachmode_sampling_loop(
|
|
139
139
|
if step_action.get("action") == "STOP":
|
140
140
|
final_sc, final_sc_path = get_screenshot_external_cmd(selected_screen=selected_screen)
|
141
141
|
|
142
|
+
with open(final_sc_path, "rb") as image_file:
|
143
|
+
final_sc_base64 = base64.b64encode(image_file.read()).decode('utf-8')
|
142
144
|
yield {"role": "assistant", "content": "Task completed. Final screenshot:", "type": "text"}
|
143
|
-
yield {"role": "assistant", "content":
|
145
|
+
yield {"role": "assistant", "content": final_sc_base64, "type": "image_base64", "action_type": "screenshot"}
|
144
146
|
|
145
147
|
# reset action history
|
146
148
|
action_history = []
|
@@ -54,5 +54,43 @@ async def test_animations():
|
|
54
54
|
|
55
55
|
print("Test completed")
|
56
56
|
|
57
|
+
|
58
|
+
def test_pyautogui():
|
59
|
+
|
60
|
+
pyautogui.click(x=2820, y=208)
|
61
|
+
time.sleep(3)
|
62
|
+
|
63
|
+
pyautogui.moveTo(x=3491, y=381, duration=0.4)
|
64
|
+
time.sleep(0.1)
|
65
|
+
pyautogui.click(x=3491, y=381)
|
66
|
+
time.sleep(0.5)
|
67
|
+
|
68
|
+
pyautogui.typewrite("Add a fasinating 'fly wheel' transition to my presentation at the slide 6. ", interval=0.03)
|
69
|
+
time.sleep(0.5)
|
70
|
+
pyautogui.typewrite("Preview it when you're done.", interval=0.03)
|
71
|
+
time.sleep(2)
|
72
|
+
|
73
|
+
pyautogui.moveTo(x=4086, y=450, duration=0.4)
|
74
|
+
time.sleep(0.5)
|
75
|
+
pyautogui.click(x=4086, y=450)
|
76
|
+
|
77
|
+
time.sleep(6)
|
78
|
+
|
79
|
+
pyautogui.moveTo(x=3258, y=1033, duration=0.4)
|
80
|
+
time.sleep(0.1)
|
81
|
+
pyautogui.click(x=3258, y=1033)
|
82
|
+
|
83
|
+
time.sleep(3)
|
84
|
+
|
85
|
+
pyautogui.moveTo(x=2826, y=63, duration=0.4)
|
86
|
+
time.sleep(0.1)
|
87
|
+
pyautogui.click(x=2826, y=63)
|
88
|
+
|
89
|
+
pyautogui.moveTo(x=0, y=0)
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
57
94
|
if __name__ == "__main__":
|
58
|
-
asyncio.run(test_animations())
|
95
|
+
# asyncio.run(test_animations()) w
|
96
|
+
test_pyautogui()
|
{computer_use_ootb_internal-0.0.178.dist-info → computer_use_ootb_internal-0.0.179.dist-info}/RECORD
RENAMED
@@ -1,13 +1,13 @@
|
|
1
1
|
computer_use_ootb_internal/README.md,sha256=FxpW95lyub2iX73ZDfK6ML7SdEKg060H5I6Grub7li4,31
|
2
2
|
computer_use_ootb_internal/__init__.py,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
3
|
-
computer_use_ootb_internal/app_teachmode.py,sha256=
|
3
|
+
computer_use_ootb_internal/app_teachmode.py,sha256=tfuZPiTVzVRIAVDdYAmzUmOZ91R8qrJEWIXBvfzCdSA,27758
|
4
4
|
computer_use_ootb_internal/dependency_check.py,sha256=y8RMEP6RXQzTgU1MS_1piBLtz4J-Hfn9RjUZg59dyvo,1333
|
5
5
|
computer_use_ootb_internal/guard_service.py,sha256=ThF_Y8FcBQseXo6-5hIh_Z4cISkCLLEgjWrR2BIV-C0,50940
|
6
6
|
computer_use_ootb_internal/requirements-lite.txt,sha256=5DAHomz4A_P2BmTIXNkNqkHbnIF0AyZ4_1XAlb1LaYs,290
|
7
|
-
computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=
|
7
|
+
computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=Tntyv-tokV767n7IkO3r9xjLG3UKHziMnps7ydOvg7M,8700
|
8
8
|
computer_use_ootb_internal/service_manager.py,sha256=_aFUtvSbovX73PY1QE01RkaqGV6swJaStrOwcg_Df94,9928
|
9
9
|
computer_use_ootb_internal/signal_connection.py,sha256=e6eGByhb2Gx8HHJHrHM3HvchobSUmba1y7-YRB6L59E,1821
|
10
|
-
computer_use_ootb_internal/
|
10
|
+
computer_use_ootb_internal/test_autogui.py,sha256=UM5A8e2fArUovZIC_E6Fd1zsa5LBQRTYiRgq8H9I4Dw,2705
|
11
11
|
computer_use_ootb_internal/computer_use_demo/animation/click_animation.py,sha256=tP1gsayFy-CKk10UlrE9RlexwlHWiHQUe5Ogg4vQvSg,3234
|
12
12
|
computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif,sha256=4LfwsfFQnREXrNRs32aJU2jO65JXianJoL_8q7-8elg,30966
|
13
13
|
computer_use_ootb_internal/computer_use_demo/animation/test_animation.py,sha256=SOJz2yffXTkjuAHqk0IZLcMriR0KQYTo7W1b8wGyRGY,1222
|
@@ -36,7 +36,7 @@ computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qf
|
|
36
36
|
computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
|
37
37
|
computer_use_ootb_internal/preparation/powerpoint_prepare.py,sha256=1je2N_Pedvp2p_o3aQGl2FF4A8R0H9-GK_e3nqkpzzA,3267
|
38
38
|
computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=RAriQxrv55csBNBm0m8CKyd_RW8k1tXx0kdJAcOpYlg,4734
|
39
|
-
computer_use_ootb_internal-0.0.
|
40
|
-
computer_use_ootb_internal-0.0.
|
41
|
-
computer_use_ootb_internal-0.0.
|
42
|
-
computer_use_ootb_internal-0.0.
|
39
|
+
computer_use_ootb_internal-0.0.179.dist-info/METADATA,sha256=reNlGleAst1Q9UPYNIYsc_6XHfLgnm8ooOCwaBG71po,910
|
40
|
+
computer_use_ootb_internal-0.0.179.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
41
|
+
computer_use_ootb_internal-0.0.179.dist-info/entry_points.txt,sha256=-AbmawU7IRQuDZihgVMVDrFoY4E6rnXYOUB-5vSeBKs,93
|
42
|
+
computer_use_ootb_internal-0.0.179.dist-info/RECORD,,
|
{computer_use_ootb_internal-0.0.178.dist-info → computer_use_ootb_internal-0.0.179.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|