computer-use-ootb-internal 0.0.95__tar.gz → 0.0.95.post2__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.
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/PKG-INFO +2 -1
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/pyproject.toml +2 -1
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/computer.py +6 -4
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/requirements-lite.txt +2 -1
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/.gitignore +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/README.md +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/app_teachmode.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/app_teachmode_gradio.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/animation/click_animation.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/gui_capture.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/gui_parser.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/icon_detection/icon_detection.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/panel_recognition/llm_panel_recognize.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/test_capture.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/uia_parser.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_cli.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_service.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/llm_utils.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/oai.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_litellm.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_llm.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/vlm_utils/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/vlm_utils/run_vlm.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/aws_request.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/base.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/bash.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/collection.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/edit.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/run.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/dependency_check.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/example_websocket_js.html +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/run_teachmode_ootb_args.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/service_teachmode.py +0 -0
- {computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/src/computer_use_ootb_internal/service_teachmode_test.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: computer-use-ootb-internal
|
3
|
-
Version: 0.0.95
|
3
|
+
Version: 0.0.95.post2
|
4
4
|
Summary: Computer Use OOTB
|
5
5
|
Author-email: Siyuan Hu <siyuan.hu.sg@gmail.com>
|
6
6
|
Requires-Python: >=3.11
|
@@ -14,6 +14,7 @@ Requires-Dist: matplotlib
|
|
14
14
|
Requires-Dist: opencv-python
|
15
15
|
Requires-Dist: pre-commit==3.8.0
|
16
16
|
Requires-Dist: pyautogui==0.9.54
|
17
|
+
Requires-Dist: pyside6
|
17
18
|
Requires-Dist: pytest-asyncio==0.23.6
|
18
19
|
Requires-Dist: pytest==8.3.3
|
19
20
|
Requires-Dist: pywinauto
|
{computer_use_ootb_internal-0.0.95 → computer_use_ootb_internal-0.0.95.post2}/pyproject.toml
RENAMED
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "computer-use-ootb-internal"
|
7
|
-
version = "0.0.95"
|
7
|
+
version = "0.0.95.post2"
|
8
8
|
description = "Computer Use OOTB"
|
9
9
|
authors = [{ name = "Siyuan Hu", email = "siyuan.hu.sg@gmail.com" }]
|
10
10
|
requires-python = ">=3.11"
|
@@ -27,6 +27,7 @@ dependencies = [
|
|
27
27
|
"textdistance",
|
28
28
|
"matplotlib",
|
29
29
|
"litellm",
|
30
|
+
"PySide6",
|
30
31
|
]
|
31
32
|
|
32
33
|
[project.optional-dependencies]
|
@@ -355,7 +355,7 @@ class ComputerTool(BaseAnthropicTool):
|
|
355
355
|
if action == "left_click_windll":
|
356
356
|
if coordinate is None:
|
357
357
|
x, y = pyautogui.position()
|
358
|
-
x, y = self.scale_coordinates(ScalingSource.COMPUTER, x, y)
|
358
|
+
# x, y = self.scale_coordinates(ScalingSource.COMPUTER, x, y)
|
359
359
|
show_click(x, y)
|
360
360
|
self.marbot_auto_gui.click()
|
361
361
|
else:
|
@@ -366,11 +366,12 @@ class ComputerTool(BaseAnthropicTool):
|
|
366
366
|
elif action == "mouse_move_windll":
|
367
367
|
if coordinate is None:
|
368
368
|
raise ToolError(f"coordinate is required for {action}")
|
369
|
+
x0, y0 = pyautogui.position()
|
370
|
+
# x0, y0 = self.scale_coordinates(ScalingSource.COMPUTER, x0, y0)
|
369
371
|
x1 = coordinate[0]+self.offset_x
|
370
372
|
y1 = coordinate[1]+self.offset_y
|
373
|
+
|
371
374
|
self.marbot_auto_gui.moveTo(x=x1, y=y1)
|
372
|
-
x0, y0 = pyautogui.position()
|
373
|
-
x0, y0 = self.scale_coordinates(ScalingSource.COMPUTER, x0, y0)
|
374
375
|
show_move_to(x0, y0, x1, y1, duration_ms=2000)
|
375
376
|
|
376
377
|
# elif action == "right_click_windll":
|
@@ -611,4 +612,5 @@ class ComputerTool(BaseAnthropicTool):
|
|
611
612
|
if __name__ == "__main__":
|
612
613
|
computer = ComputerTool()
|
613
614
|
# test left_click_windll
|
614
|
-
asyncio.run(computer(action="left_click_windll", coordinate=(500, 500)))
|
615
|
+
# asyncio.run(computer(action="left_click_windll", coordinate=(500, 500)))
|
616
|
+
asyncio.run(computer(action="mouse_move_windll", coordinate=(500, 500)))
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|