computer-use-ootb-internal 0.0.172__py3-none-any.whl → 0.0.174__py3-none-any.whl

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.
@@ -53,7 +53,7 @@ def run_preparation(state):
53
53
  desktop_path = Path.home() / "Desktop"
54
54
 
55
55
  # Construct path to template file
56
- template_file = desktop_path / "template.txt"
56
+ template_file = desktop_path / "template.pptx"
57
57
  log.info(f"Looking for template file at: {template_file}")
58
58
 
59
59
  if not template_file.exists():
@@ -119,17 +119,21 @@ def simple_teachmode_sampling_loop(
119
119
 
120
120
  try:
121
121
  step_plan = infer_server_response["generated_plan"]
122
- step_reasoning = step_plan["reasoning"]
123
- step_info = step_plan["step_info"]
122
+ step_plan_observation = step_plan["observation"]
123
+ step_plan_reasoning = step_plan["reasoning"]
124
+ step_plan_info = step_plan["step_info"]
124
125
  step_action = infer_server_response["generated_action"]["content"]
125
126
  step_traj_idx = infer_server_response["current_traj_step"]
126
127
 
128
+ # chat_visable_content = f"{step_plan_observation}{step_plan_reasoning}"
129
+
127
130
  except Exception as e:
128
131
  print("Error parsing generated_action content:", e)
129
132
  yield {"role": "assistant", "content": "Error parsing response from Marbot Run server. Exiting.", "type": "error"}
130
133
  break
131
-
132
- yield {"role": "assistant", "content": step_reasoning, "type": "text"}
134
+
135
+ yield {"role": "assistant", "content": step_plan_observation, "type": "text"}
136
+ yield {"role": "assistant", "content": step_plan_reasoning, "type": "text"}
133
137
 
134
138
  if step_action.get("action") == "STOP":
135
139
  final_sc, final_sc_path = get_screenshot_external_cmd(selected_screen=selected_screen)
@@ -141,7 +145,7 @@ def simple_teachmode_sampling_loop(
141
145
  action_history = []
142
146
  break
143
147
 
144
- action_history.append(f"Executing guidance trajectory step [{step_traj_idx}]: {{Plan: {step_info}, Action: {step_action}}}\n")
148
+ action_history.append(f"Executing guidance trajectory step [{step_traj_idx}]: {{Plan: {step_plan_info}, Action: {step_action}}}\n")
145
149
 
146
150
  for exec_message in executor({"role": "assistant", "content": step_action}):
147
151
  yield exec_message
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: computer-use-ootb-internal
3
- Version: 0.0.172
3
+ Version: 0.0.174
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 @@ computer_use_ootb_internal/app_teachmode.py,sha256=S3qqkizoEs18qU_1zsaqHoYeHwQ-N
4
4
  computer_use_ootb_internal/dependency_check.py,sha256=y8RMEP6RXQzTgU1MS_1piBLtz4J-Hfn9RjUZg59dyvo,1333
5
5
  computer_use_ootb_internal/guard_service.py,sha256=0-lUbJO02XAT9t5zUPgrfjbv1Uy8KAJjVeK2mLp5mHk,49990
6
6
  computer_use_ootb_internal/requirements-lite.txt,sha256=5DAHomz4A_P2BmTIXNkNqkHbnIF0AyZ4_1XAlb1LaYs,290
7
- computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=eUPpfA7bB3bdBBiIBIxKJSS-Jpz2G6R46fpDO440Jyo,7687
7
+ computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=74S2wMXhuSshavDCEsgbC8g8z2-kZjd_GPT1L2CVh_0,7932
8
8
  computer_use_ootb_internal/service_manager.py,sha256=SD8jzfn0VVXBOr_nP6zmBWSC2TzrU_sp2e5JJkSlQFU,9734
9
9
  computer_use_ootb_internal/signal_connection.py,sha256=8jPLOj0WSBXI_NElm5A-F146DTAE5LdL07lov7YXTNQ,1774
10
10
  computer_use_ootb_internal/test_click_0425.py,sha256=gJUBpPK6gGgVS6nkJSgoCj4mKl-ngcoR_jeVmDslSAs,1751
@@ -34,9 +34,9 @@ computer_use_ootb_internal/computer_use_demo/tools/edit.py,sha256=b0PwUitxckHCQq
34
34
  computer_use_ootb_internal/computer_use_demo/tools/run.py,sha256=xhXdnBK1di9muaO44CEirL9hpGy3NmKbjfMpyeVmn8Y,1595
35
35
  computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qfvtUkPPQGt92N-2Zfw5ZTDBzLsDps39uMnX3_uSA,6857
36
36
  computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
37
- computer_use_ootb_internal/preparation/powerpoint_prepare.py,sha256=cYRlGs6YWKe1lk-74lkLr-nlwC1W_Q6-tuddxlDrKFM,4149
37
+ computer_use_ootb_internal/preparation/powerpoint_prepare.py,sha256=tmT6GJ9JFaXtPVb-vsoN1LTROK6lCptDlPpmkAPVTng,4150
38
38
  computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=r0b19M_c1sXkN3_MRFjql8w_ThC9nZUe8zbSLYUvKS8,4635
39
- computer_use_ootb_internal-0.0.172.dist-info/METADATA,sha256=uonjcUD5IHJ228RElNz8IDbwocnNyEd0i4FK7XWrQcY,1048
40
- computer_use_ootb_internal-0.0.172.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
41
- computer_use_ootb_internal-0.0.172.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
42
- computer_use_ootb_internal-0.0.172.dist-info/RECORD,,
39
+ computer_use_ootb_internal-0.0.174.dist-info/METADATA,sha256=qBC0CKCS_vJP1pOikq3YBLjBpUWgGePpYIvSONEG0Qg,1048
40
+ computer_use_ootb_internal-0.0.174.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
41
+ computer_use_ootb_internal-0.0.174.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
42
+ computer_use_ootb_internal-0.0.174.dist-info/RECORD,,