computer-use-ootb-internal 0.0.145__py3-none-any.whl → 0.0.146__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.
@@ -382,6 +382,8 @@ class ComputerTool(BaseAnthropicTool):
382
382
  x = coordinate[0]+self.offset_x
383
383
  y = coordinate[1]+self.offset_y
384
384
  show_click(x, y)
385
+ time.sleep(0.25)
386
+ self.marbot_auto_gui.click(x=x, y=y)
385
387
  self.marbot_auto_gui.click(x=x, y=y)
386
388
  return ToolResult(output=f"Left click", action_base_type="click")
387
389
 
@@ -389,7 +391,7 @@ class ComputerTool(BaseAnthropicTool):
389
391
  if coordinate is None:
390
392
  raise ToolError(output=f"coordinate is required for {action}", action_base_type="error")
391
393
 
392
- time.sleep(0.5)
394
+ time.sleep(0.25)
393
395
  x0, y0 = pyautogui.position()
394
396
  # x0, y0 = self.scale_coordinates(ScalingSource.COMPUTER, x0, y0)
395
397
  x1 = coordinate[0]+self.offset_x
@@ -397,6 +399,7 @@ class ComputerTool(BaseAnthropicTool):
397
399
 
398
400
  show_move_to(x0, y0, x1, y1)
399
401
  self.marbot_auto_gui.moveTo(x=x1, y=y1)
402
+ time.sleep(0.5)
400
403
 
401
404
  return ToolResult(output=f"Mouse move", action_base_type="move")
402
405
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: computer-use-ootb-internal
3
- Version: 0.0.145
3
+ Version: 0.0.146
4
4
  Summary: Computer Use OOTB
5
5
  Author-email: Siyuan Hu <siyuan.hu.sg@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -27,14 +27,14 @@ computer_use_ootb_internal/computer_use_demo/tools/base.py,sha256=XKG8UpjTvG3-Pl
27
27
  computer_use_ootb_internal/computer_use_demo/tools/bash.py,sha256=rHetQ80_v-TTi-1oxIA7ncFEwJxFTh8FJCErIoZbGeY,4236
28
28
  computer_use_ootb_internal/computer_use_demo/tools/collection.py,sha256=8RzHLobL44_Jjt8ltXS6I8XJlEAQOfc75dmnDUaHE-8,922
29
29
  computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py,sha256=cvlmnhAImDTwoRRwhT5au7mNFhfAD7ZfeoDEVdVzDKw,892
30
- computer_use_ootb_internal/computer_use_demo/tools/computer.py,sha256=R7nY2eq3V9Ql88PenREns7UngyUC5FtGGOQyWt6EgyQ,27228
30
+ computer_use_ootb_internal/computer_use_demo/tools/computer.py,sha256=qkUT6YFVXo_nXAIGXhrkMn4WIdwRl_-nOZzZNtZ2smY,27355
31
31
  computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py,sha256=zZuWz9ArfP3Zss-afnscrPkgCtB5UWbCy7HwAOvO2bo,5970
32
32
  computer_use_ootb_internal/computer_use_demo/tools/edit.py,sha256=b0PwUitxckHCQqFP3ZwlthWdqNkn7WETeTHeB6-o98c,11486
33
33
  computer_use_ootb_internal/computer_use_demo/tools/run.py,sha256=xhXdnBK1di9muaO44CEirL9hpGy3NmKbjfMpyeVmn8Y,1595
34
34
  computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qfvtUkPPQGt92N-2Zfw5ZTDBzLsDps39uMnX3_uSA,6857
35
35
  computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
36
36
  computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=RAriQxrv55csBNBm0m8CKyd_RW8k1tXx0kdJAcOpYlg,4734
37
- computer_use_ootb_internal-0.0.145.dist-info/METADATA,sha256=racGo2dngye8Juq4H1U4N-jEjygAtDehfNZNh-BGscg,910
38
- computer_use_ootb_internal-0.0.145.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
- computer_use_ootb_internal-0.0.145.dist-info/entry_points.txt,sha256=-AbmawU7IRQuDZihgVMVDrFoY4E6rnXYOUB-5vSeBKs,93
40
- computer_use_ootb_internal-0.0.145.dist-info/RECORD,,
37
+ computer_use_ootb_internal-0.0.146.dist-info/METADATA,sha256=L5-rdFpXktFmfq6sIYk4WSoGkUPyZSElGUdEE3oI1t4,910
38
+ computer_use_ootb_internal-0.0.146.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
+ computer_use_ootb_internal-0.0.146.dist-info/entry_points.txt,sha256=-AbmawU7IRQuDZihgVMVDrFoY4E6rnXYOUB-5vSeBKs,93
40
+ computer_use_ootb_internal-0.0.146.dist-info/RECORD,,