computer-use-ootb-internal 0.0.180__tar.gz → 0.0.181__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.180 → computer_use_ootb_internal-0.0.181}/PKG-INFO +1 -1
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/pyproject.toml +1 -1
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/guard_service.py +22 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/.gitignore +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/README.md +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/app_teachmode.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/animation/click_animation.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/animation/test_animation.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/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.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/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.180 → computer_use_ootb_internal-0.0.181}/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.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/llm_utils.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/oai.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_litellm.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_llm.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/aws_request.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/base.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/bash.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/collection.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/computer.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/edit.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/run.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/dependency_check.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/preparation/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/preparation/excel_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/preparation/powerpoint_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/preparation/pr_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/preparation/star_rail_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/preparation/word_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/requirements-lite.txt +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/run_teachmode_ootb_args.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/service_manager.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/signal_connection.py +0 -0
- {computer_use_ootb_internal-0.0.180 → computer_use_ootb_internal-0.0.181}/src/computer_use_ootb_internal/test_autogui.py +0 -0
@@ -261,6 +261,28 @@ class GuardService(win32serviceutil.ServiceFramework):
|
|
261
261
|
self.server_thread.start()
|
262
262
|
self.log_info(f"Web server thread started, listening on {_LISTEN_HOST}:{_LISTEN_PORT}.")
|
263
263
|
|
264
|
+
# Ensure logon tasks exist for predefined guest users on service start
|
265
|
+
self.log_info("Ensuring logon tasks exist for predefined guest users (guest01-guest10)...")
|
266
|
+
predefined_guest_users = [f"guest{i:02d}" for i in range(1, 11)] # Creates guest01, guest02, ..., guest10
|
267
|
+
self.log_info(f"Target guest users: {predefined_guest_users}")
|
268
|
+
|
269
|
+
tasks_created_count = 0
|
270
|
+
tasks_failed_count = 0
|
271
|
+
for username in predefined_guest_users:
|
272
|
+
try:
|
273
|
+
# Call the task creation function directly
|
274
|
+
success = self.create_or_update_logon_task(username)
|
275
|
+
if success:
|
276
|
+
tasks_created_count += 1
|
277
|
+
else:
|
278
|
+
tasks_failed_count += 1
|
279
|
+
# Error is already logged within create_or_update_logon_task
|
280
|
+
except Exception as task_create_err:
|
281
|
+
tasks_failed_count += 1
|
282
|
+
self.log_error(f"SvcDoRun: Unexpected exception creating/updating task for user {username} on startup: {task_create_err}", exc_info=True)
|
283
|
+
|
284
|
+
self.log_info(f"Finished checking predefined guest users. Tasks created/updated: {tasks_created_count}, Failures: {tasks_failed_count}")
|
285
|
+
|
264
286
|
self.log_info(f"{_SERVICE_NAME} running. Waiting for stop signal.")
|
265
287
|
# Keep the main service thread alive waiting for stop signal
|
266
288
|
win32event.WaitForSingleObject(self.hWaitStop, win32event.INFINITE)
|
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
|
File without changes
|
File without changes
|