@sagentlab/navarch-runtime 0.1.3 → 0.1.4

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.
@@ -70,6 +70,11 @@ async function runOnHost(options, args) {
70
70
  cwd: options.cwd,
71
71
  env: { ...process.env, ...options.env },
72
72
  });
73
+ // `claude -p` checks stdin for an additional piped prompt. Node opens a
74
+ // pipe by default, so close it immediately when the complete prompt was
75
+ // supplied as an argument. Leaving it open makes Claude wait and emit a
76
+ // "no stdin data received" warning that the runtime treats as failure.
77
+ child.stdin?.end();
73
78
  const timer = setTimeout(() => {
74
79
  timedOut = true;
75
80
  child.kill("SIGKILL");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sagentlab/navarch-runtime",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Navarch machine-side session manager: registers a machine, claims tasks from the control-plane dispatcher, runs them via the Claude Code or Codex adapter, and reports results back.",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",