@rallycry/conveyor-agent 10.3.0 → 10.3.1

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/dist/cli.js CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  runSetupCommand,
26
26
  runStartCommand,
27
27
  sampleKeyUsage
28
- } from "./chunk-AMPYOJJC.js";
28
+ } from "./chunk-HAH2S5AD.js";
29
29
  import "./chunk-7TQO4ZF4.js";
30
30
 
31
31
  // src/cli.ts
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  unshallowRepo,
21
21
  updateRemoteToken,
22
22
  uploadSnapshotToGcs
23
- } from "./chunk-AMPYOJJC.js";
23
+ } from "./chunk-HAH2S5AD.js";
24
24
  import "./chunk-7TQO4ZF4.js";
25
25
 
26
26
  // src/runner/worktree.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rallycry/conveyor-agent",
3
- "version": "10.3.0",
3
+ "version": "10.3.1",
4
4
  "description": "Conveyor Agent Runner v10 - PTY harness for the task chat (SDK harness for audit/project-chat). Agent-as-User architecture with BaseService patterns. Works locally too.",
5
5
  "keywords": [
6
6
  "agent",
@@ -318,6 +318,14 @@ seed_claude_json() {
318
318
  # back to PROJECT_ID from the pod env.
319
319
  USER_HOME_MOUNT="/mnt/conveyor-users"
320
320
  USER_HOME_PROJECT_ID="${CONVEYOR_PROJECT_ID_FROM_BUNDLE:-${PROJECT_ID:-}}"
321
+
322
+ # Bake steps that run as root while ENV HOME points at /home/conveyor can leave
323
+ # root-owned $HOME entries (a uv install receipt in ~/.config once bricked every
324
+ # pod boot fleet-wide); reclaim them before the symlink work below so a baked
325
+ # ownership slip cannot EACCES the entrypoint under `set -e`. Runs before any
326
+ # symlinks exist, so there is nothing to follow into the FUSE mount.
327
+ sudo -n chown -R conveyor:conveyor /home/conveyor/.config /home/conveyor/.local 2>/dev/null || true
328
+
321
329
  if [ -n "${CONVEYOR_USER_ID}" ] && [ -n "${USER_HOME_PROJECT_ID}" ] && [ -d "${USER_HOME_MOUNT}" ]; then
322
330
  USER_HOME_ROOT="${USER_HOME_MOUNT}/users/${CONVEYOR_USER_ID}/${USER_HOME_PROJECT_ID}"
323
331
  echo "[pool] Linking Claude state to ${USER_HOME_ROOT}"