open-agents-ai 0.138.37 → 0.138.39
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/index.js +6 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53402,8 +53402,10 @@ ${entry.fullContent}`
|
|
|
53402
53402
|
} else {
|
|
53403
53403
|
if (stream?.enabled) {
|
|
53404
53404
|
stream.renderer.onStreamEnd();
|
|
53405
|
-
if (statusBar?.isActive)
|
|
53405
|
+
if (statusBar?.isActive) {
|
|
53406
53406
|
statusBar.endContentWrite();
|
|
53407
|
+
statusBar.positionAtInput();
|
|
53408
|
+
}
|
|
53407
53409
|
}
|
|
53408
53410
|
if (config.verbose && streamDurationMs > 0) {
|
|
53409
53411
|
const streamChars = event.content?.length ?? 0;
|
|
@@ -54059,23 +54061,9 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
|
|
|
54059
54061
|
statusBar.scrollContentDown(lines);
|
|
54060
54062
|
});
|
|
54061
54063
|
process.stdin.pipe(mouseFilter);
|
|
54062
|
-
const { PassThrough } = await import("node:stream");
|
|
54063
|
-
const rlOutput = new PassThrough();
|
|
54064
|
-
rlOutput.on("data", (chunk) => {
|
|
54065
|
-
if (!statusBar.isActive) {
|
|
54066
|
-
process.stdout.write(chunk);
|
|
54067
|
-
return;
|
|
54068
|
-
}
|
|
54069
|
-
if (statusBar.isStreaming) {
|
|
54070
|
-
return;
|
|
54071
|
-
}
|
|
54072
|
-
process.stdout.write(chunk);
|
|
54073
|
-
});
|
|
54074
54064
|
const rl = readline2.createInterface({
|
|
54075
54065
|
input: mouseFilter,
|
|
54076
|
-
|
|
54077
|
-
output: rlOutput,
|
|
54078
|
-
// forced to input row, NOT raw stdout
|
|
54066
|
+
output: process.stdout,
|
|
54079
54067
|
prompt: idlePrompt,
|
|
54080
54068
|
terminal: true,
|
|
54081
54069
|
historySize: MAX_HISTORY_LINES,
|
|
@@ -54083,6 +54071,7 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
|
|
|
54083
54071
|
completer
|
|
54084
54072
|
});
|
|
54085
54073
|
statusBar.hookReadlineScroll(rl);
|
|
54074
|
+
rl.output = null;
|
|
54086
54075
|
function persistHistoryLine(line) {
|
|
54087
54076
|
if (!line.trim())
|
|
54088
54077
|
return;
|
|
@@ -55757,6 +55746,7 @@ Execute this skill now. Follow the behavioral guidance above.`;
|
|
|
55757
55746
|
const task = startTask(skillPrompt, currentConfig, repoRoot, voiceEngine, {
|
|
55758
55747
|
enabled: streamEnabled,
|
|
55759
55748
|
renderer: streamRenderer
|
|
55749
|
+
// rl.output permanently null — all display via footer renderer
|
|
55760
55750
|
}, {
|
|
55761
55751
|
contextStores,
|
|
55762
55752
|
taskMemoryStore: taskMemoryStore ?? void 0,
|
package/package.json
CHANGED