@runuai/host 0.8.12 → 0.8.13
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/lib/engines.ts +11 -2
- package/package.json +1 -1
package/lib/engines.ts
CHANGED
|
@@ -184,8 +184,17 @@ function defaultSeams(): EngineSeams {
|
|
|
184
184
|
return {
|
|
185
185
|
spawn: (command, args, spawnEnv) =>
|
|
186
186
|
nodeSpawn(command, args, {
|
|
187
|
-
// stdin
|
|
188
|
-
|
|
187
|
+
// macOS: stdin MUST be /dev/null ("ignore"), never a node pipe. Node's
|
|
188
|
+
// child pipes are SOCKETPAIRS, and Apple's BSD script(1) hard-exits on
|
|
189
|
+
// a socket stdin ("tcgetattr/ioctl: Operation not supported on
|
|
190
|
+
// socket") while tolerating /dev/null (ENOTTY → notty mode). The
|
|
191
|
+
// "Press Enter" auto-ack is therefore Linux-only; the real token flow
|
|
192
|
+
// needs no input before the token renders (verified empirically).
|
|
193
|
+
stdio: [
|
|
194
|
+
process.platform === "darwin" ? "ignore" : "pipe",
|
|
195
|
+
"pipe",
|
|
196
|
+
"pipe",
|
|
197
|
+
],
|
|
189
198
|
env: spawnEnv,
|
|
190
199
|
}),
|
|
191
200
|
envLocalPath: () => join(env.uaiHome, ".env.local"),
|
package/package.json
CHANGED