codiedev 0.9.47 → 0.9.48

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.
Files changed (2) hide show
  1. package/dist/codie.js +7 -1
  2. package/package.json +1 -1
package/dist/codie.js CHANGED
@@ -172,10 +172,12 @@ function installBrandWordmarkUnsafe(runtime) {
172
172
  async function runNonInteractive(runtime, runtimeArgs, env) {
173
173
  const detached = process.platform !== "win32";
174
174
  const child = (0, child_process_1.spawn)(runtime, runtimeArgs, {
175
- stdio: ["inherit", "pipe", "pipe"],
175
+ stdio: ["pipe", "pipe", "pipe"],
176
176
  env,
177
177
  detached,
178
178
  });
179
+ if (child.stdin)
180
+ process.stdin.pipe(child.stdin);
179
181
  const signalChild = (signal) => {
180
182
  if (detached && child.pid) {
181
183
  try {
@@ -261,11 +263,15 @@ async function runNonInteractive(runtime, runtimeArgs, env) {
261
263
  stderrGate.push(Buffer.from(chunk), Boolean(blockReason));
262
264
  });
263
265
  child.once("error", (error) => {
266
+ if (child.stdin)
267
+ process.stdin.unpipe(child.stdin);
264
268
  process.removeListener("SIGINT", forwardInterrupt);
265
269
  process.removeListener("SIGTERM", forwardTermination);
266
270
  reject(error);
267
271
  });
268
272
  child.once("close", (status) => {
273
+ if (child.stdin)
274
+ process.stdin.unpipe(child.stdin);
269
275
  process.removeListener("SIGINT", forwardInterrupt);
270
276
  process.removeListener("SIGTERM", forwardTermination);
271
277
  stdoutGate.finish(Boolean(blockReason));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codiedev",
3
- "version": "0.9.47",
3
+ "version": "0.9.48",
4
4
  "description": "Connect Claude Code, Codex, Cursor, OpenCode, or VS Code Copilot to Codiedev for team session capture and artifact collaboration — and run the governed Codie harness",
5
5
  "bin": {
6
6
  "codiedev": "dist/cli.js",