computer-use-ootb-internal 0.0.176__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.
@@ -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})
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: computer-use-ootb-internal
3
- Version: 0.0.176
3
+ Version: 0.0.177
4
4
  Summary: Computer Use OOTB
5
5
  Author-email: Siyuan Hu <siyuan.hu.sg@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -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=JCKttfLqQOfHEEFhZq3TLgWSIBf2JaTVOvrB3gDXDUw,15661
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
@@ -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.176.dist-info/METADATA,sha256=BH4n97ilImCfJuzVJrcs_3gsKsYv-9jBkJALGKraS3c,910
40
- computer_use_ootb_internal-0.0.176.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
41
- computer_use_ootb_internal-0.0.176.dist-info/entry_points.txt,sha256=-AbmawU7IRQuDZihgVMVDrFoY4E6rnXYOUB-5vSeBKs,93
42
- computer_use_ootb_internal-0.0.176.dist-info/RECORD,,
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,,