@runuai/host 0.9.62 → 0.9.63

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runuai/host",
3
- "version": "0.9.62",
3
+ "version": "0.9.63",
4
4
  "description": "Uai host — runs ephemeral AI tasks in containers on a machine you control.",
5
5
  "license": "MIT",
6
6
  "author": "Uai Tech <team@runuai.com>",
@@ -83,6 +83,10 @@ project_env_json=$(printf '%s' "$project_env_json" | jq -c '.')
83
83
  task_dir="$UAI_WORKSPACE_ROOT/tasks/$task_id"
84
84
  task_workspace="$task_dir/workspace"
85
85
  task_uai_dir="$task_dir/.uai"
86
+ # Agents are told to save browser screenshots and other artifacts under
87
+ # /workspace/.uai/attachments/, but nothing created the directory — every
88
+ # first browser_take_screenshot hit ENOENT (found by an agent in the first
89
+ # apple-container task, 2026-08-24). Created with the .uai dir below.
86
90
  projects_root="$UAI_WORKSPACE_ROOT/projects"
87
91
  compose_project=$(compose_project_for_task "$task_id")
88
92
  app_container=$(app_container_for_task "$task_id")
@@ -1279,7 +1283,7 @@ done < <(jq -c '.[]' <<<"$projects_json")
1279
1283
  # uid-501 macOS host. The sanitizer above repairs its rewritten control files
1280
1284
  # on every later resume.
1281
1285
  step "WORKTREE_FAILED" "share task files with container"
1282
- mkdir -p "$task_uai_dir"
1286
+ mkdir -p "$task_uai_dir" "$task_uai_dir/attachments"
1283
1287
  # The shared group may be a broad host group (for example macOS `staff`). Keep
1284
1288
  # its writable leaves behind host-only parents; Docker bind-mounts the exact
1285
1289
  # workspace/repository roots, so node does not need host-path traversal here.
@@ -1327,7 +1331,7 @@ fi
1327
1331
 
1328
1332
  step "RENDER_FAILED" "generate compose"
1329
1333
 
1330
- mkdir -p "$task_uai_dir"
1334
+ mkdir -p "$task_uai_dir" "$task_uai_dir/attachments"
1331
1335
 
1332
1336
  STANDARD_CONTAINER_DIR="${UAI_STANDARD_CONTAINER_ASSETS_DIR:-$SCRIPT_DIR/../../images/standard/container}"
1333
1337
  if ! STANDARD_CONTAINER_DIR=$(cd "$STANDARD_CONTAINER_DIR" && pwd -P); then