@nowcrew/daemon 0.6.93-beta.5 → 0.6.93

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.
@@ -86,8 +86,13 @@ export async function prepareEnvironmentExecutionSnapshot(input) {
86
86
  directory,
87
87
  prompt: `## Per-directory environment configuration\nThis execution uses environment revision ${parsed.data.revision}. `
88
88
  + `Directory layers are independent: Agent root is inherited by training and each repo; sibling repos do not inherit each other. `
89
- + `When running a command in a training or repository directory, use the immutable environment harness: `
90
- + `\`node ${JSON.stringify(join(directory, "run.mjs"))} --cwd <absolute-directory> -- <command> [arguments...]\`. `
89
+ + `The runtime starts in the task directory \`$CREW_TASK_DIR\`, which uses Agent-root variables. `
90
+ + `Training variables are available only when the harness \`--cwd\` points to \`$QA_RUNTIME_ROOT\` (the training directory); `
91
+ + `do not pass \`$PWD\` unless it is that directory. For a training command, use: `
92
+ + `\`node ${JSON.stringify(join(directory, "run.mjs"))} --cwd \"$QA_RUNTIME_ROOT\" -- <command> [arguments...]\`. `
93
+ + `For a repository command, pass that repository's absolute root to \`--cwd\`. `
94
+ + `Keep task outputs under \`$CREW_TASK_DIR\` and pass absolute values such as \`$CREW_TASK_DIR/outputs\` to --report-root, --output-dir, and --runtime-dir; `
95
+ + `do not let changing the harness cwd relocate task outputs. `
91
96
  + `Changing directory alone does not reload process variables. Do not source mutable .env files or print environment values.`,
92
97
  };
93
98
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nowcrew/daemon",
3
- "version": "0.6.93-beta.5",
3
+ "version": "0.6.93",
4
4
  "type": "module",
5
5
  "description": "crew daemon — 运行在用户机器:拉起/管理 agent 进程,注入 crew CLI,归一化 runtime 事件",
6
6
  "license": "Apache-2.0",