mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
The stdinDoesNotEnd option was completely broken. The original code had a conditional stdin.end() scoped to object-type promptOrOptions, followed by an unconditional stdin.end() that always ran — so stdinDoesNotEnd: true had no effect. Restructure as an explicit keepStdinOpen check: close stdin unless the caller passed an options object with stdinDoesNotEnd: true. The string- prompt call path still closes stdin, and null is guarded (typeof null === 'object' in JS). |
||
|---|---|---|
| .. | ||
| cli | ||
| concurrent-runner | ||
| fixtures/settings-migration | ||
| hook-integration | ||
| interactive | ||
| sdk-typescript | ||
| terminal-bench | ||
| terminal-capture | ||
| channel-plugin.test.ts | ||
| globalSetup.ts | ||
| test-helper.ts | ||
| test-mcp-server.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||
| vitest.terminal-bench.config.ts | ||