fireqa-agent 0.1.2 → 0.1.3
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/dist/runner/adapters.js +4 -0
- package/package.json +1 -1
package/dist/runner/adapters.js
CHANGED
|
@@ -27,6 +27,7 @@ function buildArgs(cliType, prompt, sessionId) {
|
|
|
27
27
|
args: [
|
|
28
28
|
"--print", prompt,
|
|
29
29
|
"--output-format", "stream-json",
|
|
30
|
+
"--verbose",
|
|
30
31
|
...(sessionId ? ["--resume", sessionId] : []),
|
|
31
32
|
],
|
|
32
33
|
stdinPrompt: null,
|
|
@@ -63,6 +64,9 @@ export async function spawnCli(cliType, command, prompt, options) {
|
|
|
63
64
|
child.stdin?.write(stdinPrompt);
|
|
64
65
|
child.stdin?.end();
|
|
65
66
|
}
|
|
67
|
+
else {
|
|
68
|
+
child.stdin?.end();
|
|
69
|
+
}
|
|
66
70
|
const chunks = [];
|
|
67
71
|
let fullOutput = "";
|
|
68
72
|
let buffer = "";
|