computer-use-ootb-internal 0.0.175__py3-none-any.whl → 0.0.177__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/computer_use_demo/executor/teachmode_executor.py +7 -0
- computer_use_ootb_internal/computer_use_demo/tools/computer.py +2 -0
- {computer_use_ootb_internal-0.0.175.dist-info → computer_use_ootb_internal-0.0.177.dist-info}/METADATA +1 -1
- {computer_use_ootb_internal-0.0.175.dist-info → computer_use_ootb_internal-0.0.177.dist-info}/RECORD +6 -6
- {computer_use_ootb_internal-0.0.175.dist-info → computer_use_ootb_internal-0.0.177.dist-info}/WHEEL +0 -0
- {computer_use_ootb_internal-0.0.175.dist-info → computer_use_ootb_internal-0.0.177.dist-info}/entry_points.txt +0 -0
@@ -25,6 +25,7 @@ class TeachmodeExecutor:
|
|
25
25
|
self.supported_action_type={
|
26
26
|
# "showui_action": "anthropic_tool_action"
|
27
27
|
"CLICK": 'key', # TBD
|
28
|
+
"RIGHT_CLICK": 'key', # TBD
|
28
29
|
"INPUT": "key",
|
29
30
|
"MOVE": "key",
|
30
31
|
"HOVER": "key",
|
@@ -139,6 +140,12 @@ class TeachmodeExecutor:
|
|
139
140
|
refined_output.append({"action": "mouse_move", "text": None, "coordinate": tuple(action_item["position"])})
|
140
141
|
refined_output.append({"action": "left_click", "text": None, "coordinate": tuple(action_item["position"])})
|
141
142
|
|
143
|
+
elif action_item["action"] == "RIGHT_CLICK": # 1. click -> mouse_move + left_click
|
144
|
+
x, y = action_item["position"]
|
145
|
+
action_item["position"] = (int(x), int(y))
|
146
|
+
refined_output.append({"action": "mouse_move", "text": None, "coordinate": tuple(action_item["position"])})
|
147
|
+
refined_output.append({"action": "right_click", "text": None, "coordinate": tuple(action_item["position"])})
|
148
|
+
|
142
149
|
elif action_item["action"] == "INPUT": # 2. input -> type
|
143
150
|
if "text" in action_item:
|
144
151
|
refined_output.append({"action": "type", "text": action_item["text"], "coordinate": None})
|
{computer_use_ootb_internal-0.0.175.dist-info → computer_use_ootb_internal-0.0.177.dist-info}/RECORD
RENAMED
@@ -11,7 +11,7 @@ computer_use_ootb_internal/test_click_0425.py,sha256=uZtP6DsPVRFonKMYlbe9eHmPY6h
|
|
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
|
14
|
-
computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py,sha256=
|
14
|
+
computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py,sha256=7wG3K4s2HkLznXPRER4jOo20qakFA9Iw_tYMg9d3r9s,16154
|
15
15
|
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py,sha256=h2CNeuACklxVpJC65QR8_6AvSybEZLmeO45hY_-lLBs,61
|
16
16
|
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/gui_capture.py,sha256=CxFJbsSb68ERKH7-C4RaaZy7FIhhzrzGx5qQJ4C37cA,13907
|
17
17
|
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py,sha256=OOVxy4Qlbk5q-X9kXFXqt6AmuOMl6FWWqtH269DvJJA,10005
|
@@ -28,7 +28,7 @@ computer_use_ootb_internal/computer_use_demo/tools/base.py,sha256=XKG8UpjTvG3-Pl
|
|
28
28
|
computer_use_ootb_internal/computer_use_demo/tools/bash.py,sha256=rHetQ80_v-TTi-1oxIA7ncFEwJxFTh8FJCErIoZbGeY,4236
|
29
29
|
computer_use_ootb_internal/computer_use_demo/tools/collection.py,sha256=8RzHLobL44_Jjt8ltXS6I8XJlEAQOfc75dmnDUaHE-8,922
|
30
30
|
computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py,sha256=cvlmnhAImDTwoRRwhT5au7mNFhfAD7ZfeoDEVdVzDKw,892
|
31
|
-
computer_use_ootb_internal/computer_use_demo/tools/computer.py,sha256=
|
31
|
+
computer_use_ootb_internal/computer_use_demo/tools/computer.py,sha256=UOTrmcMSKWinyupzmkIJolRTRy-yCwS4KkhhsAuoWlk,27702
|
32
32
|
computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py,sha256=zZuWz9ArfP3Zss-afnscrPkgCtB5UWbCy7HwAOvO2bo,5970
|
33
33
|
computer_use_ootb_internal/computer_use_demo/tools/edit.py,sha256=b0PwUitxckHCQqFP3ZwlthWdqNkn7WETeTHeB6-o98c,11486
|
34
34
|
computer_use_ootb_internal/computer_use_demo/tools/run.py,sha256=xhXdnBK1di9muaO44CEirL9hpGy3NmKbjfMpyeVmn8Y,1595
|
@@ -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.177.dist-info/METADATA,sha256=ErPlnqdyovsvrnv2j-Mcd2wrXXYohIjqlz3dVoRbJdY,910
|
40
|
+
computer_use_ootb_internal-0.0.177.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
41
|
+
computer_use_ootb_internal-0.0.177.dist-info/entry_points.txt,sha256=-AbmawU7IRQuDZihgVMVDrFoY4E6rnXYOUB-5vSeBKs,93
|
42
|
+
computer_use_ootb_internal-0.0.177.dist-info/RECORD,,
|
{computer_use_ootb_internal-0.0.175.dist-info → computer_use_ootb_internal-0.0.177.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|