computer-use-ootb-internal 0.0.129__tar.gz → 0.0.130__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.129 → computer_use_ootb_internal-0.0.130}/PKG-INFO +1 -1
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/pyproject.toml +1 -1
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/guard_service.py +21 -9
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/.gitignore +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/README.md +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/app_teachmode.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/animation/click_animation.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/animation/test_animation.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/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.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/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.129 → computer_use_ootb_internal-0.0.130}/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.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/llm_utils.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/oai.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_litellm.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_llm.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/aws_request.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/base.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/bash.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/collection.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/computer.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/edit.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/run.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/dependency_check.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/preparation/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/preparation/star_rail_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/requirements-lite.txt +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/run_teachmode_ootb_args.py +0 -0
- {computer_use_ootb_internal-0.0.129 → computer_use_ootb_internal-0.0.130}/src/computer_use_ootb_internal/service_manager.py +0 -0
@@ -616,27 +616,39 @@ class GuardService(win32serviceutil.ServiceFramework):
|
|
616
616
|
token = win32ts.WTSQueryUserToken(session_id)
|
617
617
|
env = win32profile.CreateEnvironmentBlock(token, False)
|
618
618
|
startup = win32process.STARTUPINFO()
|
619
|
-
|
620
|
-
startup.
|
619
|
+
# No need to hide the window now, cmd /K will keep it open.
|
620
|
+
# startup.dwFlags = win32process.STARTF_USESHOWWINDOW
|
621
|
+
# startup.wShowWindow = win32con.SW_HIDE
|
621
622
|
creation_flags = 0x00000010 # CREATE_NEW_CONSOLE
|
622
623
|
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
624
|
+
# --- Launch via cmd /K ---
|
625
|
+
# Use cmd.exe to launch the target, keeping the window open
|
626
|
+
lpApplicationName = None # We specify cmd.exe in the command line
|
627
|
+
# Ensure target path is quoted correctly within the command string
|
628
|
+
# self.target_executable_path should already be quoted if needed
|
629
|
+
lpCommandLine = f'cmd.exe /K "{self.target_executable_path}"'
|
630
|
+
|
631
|
+
# Determine CWD for the cmd process (can be None to use default)
|
632
|
+
cwd = os.path.dirname(self.target_executable_path.strip('"')) if os.path.dirname(self.target_executable_path.strip('"')) != '' else None
|
633
|
+
# --- End Launch via cmd /K ---
|
634
|
+
|
635
|
+
self.log_info(f"Calling CreateProcessAsUser to launch via cmd /K:")
|
636
|
+
self.log_info(f" lpApplicationName: {lpApplicationName}")
|
637
|
+
self.log_info(f" lpCommandLine: {lpCommandLine}")
|
638
|
+
self.log_info(f" lpCurrentDirectory: {cwd if cwd else 'Default'}")
|
627
639
|
self.log_info(f" dwCreationFlags: {creation_flags} (CREATE_NEW_CONSOLE)")
|
628
640
|
|
629
641
|
# CreateProcessAsUser call
|
630
642
|
hProcess, hThread, dwPid, dwTid = win32process.CreateProcessAsUser(
|
631
643
|
token, # User token
|
632
|
-
|
633
|
-
|
644
|
+
lpApplicationName, # Application name (None)
|
645
|
+
lpCommandLine, # Command line (cmd.exe /K "...")
|
634
646
|
None, # Process attributes
|
635
647
|
None, # Thread attributes
|
636
648
|
False, # Inherit handles
|
637
649
|
creation_flags, # Creation flags (CREATE_NEW_CONSOLE)
|
638
650
|
env, # Environment block
|
639
|
-
|
651
|
+
cwd, # Current directory for cmd.exe
|
640
652
|
startup # Startup info
|
641
653
|
)
|
642
654
|
|
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
|