computer-use-ootb-internal 0.0.167__tar.gz → 0.0.168__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 (40) hide show
  1. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/PKG-INFO +1 -1
  2. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/pyproject.toml +1 -1
  3. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/computer.py +6 -6
  4. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/.gitignore +0 -0
  5. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/README.md +0 -0
  6. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/__init__.py +0 -0
  7. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/app_teachmode.py +0 -0
  8. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/animation/click_animation.py +0 -0
  9. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif +0 -0
  10. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/animation/test_animation.py +0 -0
  11. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py +0 -0
  12. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py +0 -0
  13. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/gui_capture.py +0 -0
  14. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +0 -0
  15. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py +0 -0
  16. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_cli.py +0 -0
  17. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_service.py +0 -0
  18. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/llm_utils.py +0 -0
  19. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/oai.py +0 -0
  20. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_litellm.py +0 -0
  21. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_llm.py +0 -0
  22. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/__init__.py +0 -0
  23. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/aws_request.py +0 -0
  24. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/base.py +0 -0
  25. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/bash.py +0 -0
  26. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/collection.py +0 -0
  27. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py +0 -0
  28. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py +0 -0
  29. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/edit.py +0 -0
  30. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/run.py +0 -0
  31. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py +0 -0
  32. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/dependency_check.py +0 -0
  33. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/guard_service.py +0 -0
  34. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/preparation/__init__.py +0 -0
  35. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/preparation/star_rail_prepare.py +0 -0
  36. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/requirements-lite.txt +0 -0
  37. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/run_teachmode_ootb_args.py +0 -0
  38. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/service_manager.py +0 -0
  39. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/signal_connection.py +0 -0
  40. {computer_use_ootb_internal-0.0.167 → computer_use_ootb_internal-0.0.168}/src/computer_use_ootb_internal/test_click_0425.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: computer-use-ootb-internal
3
- Version: 0.0.167
3
+ Version: 0.0.168
4
4
  Summary: Computer Use OOTB
5
5
  Author-email: Siyuan Hu <siyuan.hu.sg@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "computer-use-ootb-internal"
7
- version = "0.0.167"
7
+ version = "0.0.168"
8
8
  description = "Computer Use OOTB"
9
9
  authors = [{ name = "Siyuan Hu", email = "siyuan.hu.sg@gmail.com" }]
10
10
  requires-python = ">=3.11"
@@ -374,7 +374,7 @@ class ComputerTool(BaseAnthropicTool):
374
374
  if action in ("left_click_windll", "mouse_move_windll", "right_click_windll", "key_down_windll", "key_up_windll"):
375
375
  if action == "left_click_windll":
376
376
  if coordinate is None:
377
- time.sleep(0.2)
377
+ time.sleep(0.25)
378
378
  x, y = pyautogui.position()
379
379
  show_click(x, y)
380
380
  self.marbot_auto_gui.click()
@@ -382,7 +382,7 @@ 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.2)
385
+ time.sleep(0.25)
386
386
  self.marbot_auto_gui.click(x=x, y=y)
387
387
  # self.marbot_auto_gui.click(x=x, y=y)
388
388
  return ToolResult(output=f"Left click", action_base_type="click")
@@ -391,7 +391,7 @@ class ComputerTool(BaseAnthropicTool):
391
391
  if coordinate is None:
392
392
  raise ToolError(output=f"coordinate is required for {action}", action_base_type="error")
393
393
 
394
- time.sleep(0.2)
394
+ time.sleep(0.5)
395
395
  x0, y0 = pyautogui.position()
396
396
  # x0, y0 = self.scale_coordinates(ScalingSource.COMPUTER, x0, y0)
397
397
  x1 = coordinate[0]+self.offset_x
@@ -399,7 +399,7 @@ class ComputerTool(BaseAnthropicTool):
399
399
 
400
400
  show_move_to(x0, y0, x1, y1)
401
401
  self.marbot_auto_gui.moveTo(x=x1, y=y1)
402
- time.sleep(0.2)
402
+ time.sleep(0.5)
403
403
 
404
404
  return ToolResult(output=f"Mouse move", action_base_type="move")
405
405
 
@@ -407,11 +407,11 @@ class ComputerTool(BaseAnthropicTool):
407
407
  # self.marbot_auto_gui.rightClick(x=coordinate[0], y=coordinate[1])
408
408
  elif action == "key_down_windll":
409
409
  self.marbot_auto_gui.keyDown(text)
410
- time.sleep(0.2)
410
+ time.sleep(0.5)
411
411
  return ToolResult(output=f"Key down '{text}'", type="hidden", action_base_type="key")
412
412
 
413
413
  elif action == "key_up_windll":
414
- time.sleep(0.2)
414
+ time.sleep(0.25)
415
415
  self.marbot_auto_gui.keyUp(text)
416
416
  return ToolResult(output=f"Key up '{text}'", type="hidden", action_base_type="key")
417
417