computer-use-ootb-internal 0.0.186__tar.gz → 0.0.188__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.186 → computer_use_ootb_internal-0.0.188}/PKG-INFO +1 -1
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/pyproject.toml +1 -1
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/app_teachmode.py +14 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/preparation/excel_prepare.py +10 -3
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/preparation/powerpoint_prepare.py +10 -3
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/preparation/pr_prepare.py +10 -3
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/preparation/word_prepare.py +10 -3
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/.gitignore +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/README.md +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/animation/click_animation.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/animation/test_animation.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/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.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/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.186 → computer_use_ootb_internal-0.0.188}/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.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/llm_utils.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/oai.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_litellm.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_llm.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/aws_request.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/base.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/bash.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/collection.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/computer.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/edit.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/run.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/dependency_check.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/guard_service.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/preparation/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/preparation/star_rail_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/requirements-lite.txt +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/run_teachmode_ootb_args.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/service_manager.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/signal_connection.py +0 -0
- {computer_use_ootb_internal-0.0.186 → computer_use_ootb_internal-0.0.188}/src/computer_use_ootb_internal/test_autogui.py +0 -0
@@ -55,6 +55,20 @@ except Exception as log_setup_e:
|
|
55
55
|
print(f"FATAL: Failed to set up logging: {log_setup_e}")
|
56
56
|
# Fallback logging might be needed here if file logging fails
|
57
57
|
|
58
|
+
# --- Get the root logger ---
|
59
|
+
root_logger = logging.getLogger()
|
60
|
+
root_logger.setLevel(log_level) # Ensure root logger level is set
|
61
|
+
|
62
|
+
# --- File Handler (as before) ---
|
63
|
+
file_handler = RotatingFileHandler(log_file, maxBytes=5*1024*1024, backupCount=2, encoding='utf-8')
|
64
|
+
file_handler.setFormatter(logging.Formatter(log_format))
|
65
|
+
root_logger.addHandler(file_handler)
|
66
|
+
|
67
|
+
# --- Console Handler (New) ---
|
68
|
+
console_handler = logging.StreamHandler(sys.stdout) # Log to standard output
|
69
|
+
console_handler.setFormatter(logging.Formatter(log_format))
|
70
|
+
root_logger.addHandler(console_handler)
|
71
|
+
|
58
72
|
# --- End App Logging Setup ---
|
59
73
|
|
60
74
|
app = FastAPI()
|
@@ -48,9 +48,9 @@ def run_preparation(state):
|
|
48
48
|
template_file = desktop_path / "template.xlsx" # Changed extension
|
49
49
|
log.info(f"Looking for template file at: {template_file}")
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
51
|
+
template_exists = template_file.exists()
|
52
|
+
if not template_exists:
|
53
|
+
log.warning(f"Template file not found at: {template_file}. Will attempt to launch Excel directly.")
|
54
54
|
|
55
55
|
# --- Kill existing Excel processes ---
|
56
56
|
log.info("Attempting to close existing Microsoft Excel processes...")
|
@@ -85,8 +85,15 @@ def run_preparation(state):
|
|
85
85
|
cmd = ['cmd', '/c', 'start', '/max', 'excel']
|
86
86
|
|
87
87
|
log.info(f"Executing command: {' '.join(cmd)}")
|
88
|
+
print(f"[DEBUG] Attempting command in excel_prepare: {' '.join(cmd)}")
|
88
89
|
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
89
90
|
|
91
|
+
# ADDED PRINTS for result
|
92
|
+
print(f"[DEBUG] excel_prepare command result:")
|
93
|
+
print(f"[DEBUG] Return Code: {result.returncode}")
|
94
|
+
print(f"[DEBUG] Stdout: {result.stdout.strip() if result.stdout else ''}")
|
95
|
+
print(f"[DEBUG] Stderr: {result.stderr.strip() if result.stderr else ''}")
|
96
|
+
|
90
97
|
if result.returncode == 0:
|
91
98
|
log.info(f"Successfully executed command for Excel.")
|
92
99
|
else:
|
@@ -47,9 +47,9 @@ def run_preparation(state):
|
|
47
47
|
template_file = desktop_path / "template.pptx"
|
48
48
|
log.info(f"Looking for template file at: {template_file}")
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
|
50
|
+
template_exists = template_file.exists()
|
51
|
+
if not template_exists:
|
52
|
+
log.warning(f"Template file not found at: {template_file}. Will attempt to launch PowerPoint directly.")
|
53
53
|
|
54
54
|
# --- Kill existing PowerPoint processes ---
|
55
55
|
log.info("Attempting to close existing Microsoft PowerPoint processes...")
|
@@ -87,8 +87,15 @@ def run_preparation(state):
|
|
87
87
|
cmd = ['cmd', '/c', 'start', '/max', 'powerpnt']
|
88
88
|
|
89
89
|
log.info(f"Executing command: {' '.join(cmd)}")
|
90
|
+
print(f"[DEBUG] Attempting command in powerpoint_prepare: {' '.join(cmd)}")
|
90
91
|
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
91
92
|
|
93
|
+
# ADDED PRINTS for result
|
94
|
+
print(f"[DEBUG] powerpoint_prepare command result:")
|
95
|
+
print(f"[DEBUG] Return Code: {result.returncode}")
|
96
|
+
print(f"[DEBUG] Stdout: {result.stdout.strip() if result.stdout else ''}")
|
97
|
+
print(f"[DEBUG] Stderr: {result.stderr.strip() if result.stderr else ''}")
|
98
|
+
|
92
99
|
if result.returncode == 0:
|
93
100
|
log.info(f"Successfully executed command for PowerPoint.")
|
94
101
|
else:
|
@@ -48,9 +48,9 @@ def run_preparation(state):
|
|
48
48
|
template_file = desktop_path / "template.prproj" # Changed extension
|
49
49
|
log.info(f"Looking for template file at: {template_file}")
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
51
|
+
template_exists = template_file.exists()
|
52
|
+
if not template_exists:
|
53
|
+
log.warning(f"Template file not found at: {template_file}. Will attempt to launch Premiere Pro directly.")
|
54
54
|
|
55
55
|
# --- Kill existing Premiere Pro processes ---
|
56
56
|
log.info("Attempting to close existing Adobe Premiere Pro processes...")
|
@@ -88,8 +88,15 @@ def run_preparation(state):
|
|
88
88
|
cmd = ['cmd', '/c', 'start', '/max', '""', pr_executable]
|
89
89
|
|
90
90
|
log.info(f"Executing command: {' '.join(cmd)}")
|
91
|
+
print(f"[DEBUG] Attempting command in pr_prepare: {' '.join(cmd)}")
|
91
92
|
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
92
93
|
|
94
|
+
# ADDED PRINTS for result
|
95
|
+
print(f"[DEBUG] pr_prepare command result:")
|
96
|
+
print(f"[DEBUG] Return Code: {result.returncode}")
|
97
|
+
print(f"[DEBUG] Stdout: {result.stdout.strip() if result.stdout else ''}")
|
98
|
+
print(f"[DEBUG] Stderr: {result.stderr.strip() if result.stderr else ''}")
|
99
|
+
|
93
100
|
if result.returncode == 0:
|
94
101
|
log.info(f"Successfully executed command for Premiere Pro.")
|
95
102
|
else:
|
@@ -48,9 +48,9 @@ def run_preparation(state):
|
|
48
48
|
template_file = desktop_path / "template.docx" # Changed extension
|
49
49
|
log.info(f"Looking for template file at: {template_file}")
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
51
|
+
template_exists = template_file.exists()
|
52
|
+
if not template_exists:
|
53
|
+
log.warning(f"Template file not found at: {template_file}. Will attempt to launch Word directly.")
|
54
54
|
|
55
55
|
# --- Kill existing Word processes ---
|
56
56
|
log.info("Attempting to close existing Microsoft Word processes...")
|
@@ -85,8 +85,15 @@ def run_preparation(state):
|
|
85
85
|
cmd = ['cmd', '/c', 'start', '/max', 'winword']
|
86
86
|
|
87
87
|
log.info(f"Executing command: {' '.join(cmd)}")
|
88
|
+
print(f"[DEBUG] Attempting command in word_prepare: {' '.join(cmd)}")
|
88
89
|
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
89
90
|
|
91
|
+
# ADDED PRINTS for result
|
92
|
+
print(f"[DEBUG] word_prepare command result:")
|
93
|
+
print(f"[DEBUG] Return Code: {result.returncode}")
|
94
|
+
print(f"[DEBUG] Stdout: {result.stdout.strip() if result.stdout else ''}")
|
95
|
+
print(f"[DEBUG] Stderr: {result.stderr.strip() if result.stderr else ''}")
|
96
|
+
|
90
97
|
if result.returncode == 0:
|
91
98
|
log.info(f"Successfully executed command for Word.")
|
92
99
|
else:
|
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
|