open-agents-ai 0.187.273 → 0.187.274
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 +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -329288,6 +329288,7 @@ function startTask(task, config, repoRoot, voice, stream, taskStores, bruteForce
|
|
|
329288
329288
|
const modelTier = getModelTier(config.model);
|
|
329289
329289
|
const projectCtx = buildProjectContext(repoRoot, taskStores?.contextStores);
|
|
329290
329290
|
let dynamicContext = formatContextForPrompt(projectCtx, modelTier);
|
|
329291
|
+
let _autoJumpedThisStream = false;
|
|
329291
329292
|
const environmentProvider = () => {
|
|
329292
329293
|
try {
|
|
329293
329294
|
let env2 = formatSnapshotForContext(collectSnapshot(repoRoot));
|
|
@@ -330085,6 +330086,7 @@ ${entry.fullContent}`
|
|
|
330085
330086
|
case "stream_start":
|
|
330086
330087
|
streamStartMs = Date.now();
|
|
330087
330088
|
streamTextBuffer = "";
|
|
330089
|
+
_autoJumpedThisStream = false;
|
|
330088
330090
|
if (!isNeovimActive()) {
|
|
330089
330091
|
if (stream?.enabled) {
|
|
330090
330092
|
if (statusBar?.isActive) statusBar.beginContentWrite();
|
|
@@ -330103,6 +330105,15 @@ ${entry.fullContent}`
|
|
|
330103
330105
|
writeToNeovimOutput(event.content);
|
|
330104
330106
|
}
|
|
330105
330107
|
} else if (stream?.enabled) {
|
|
330108
|
+
if (statusBar?.isActive && statusBar.isScrolledBack && !_autoJumpedThisStream) {
|
|
330109
|
+
if ((event.streamKind ?? "content") === "thinking") {
|
|
330110
|
+
try {
|
|
330111
|
+
statusBar.jumpToLive();
|
|
330112
|
+
} catch {
|
|
330113
|
+
}
|
|
330114
|
+
_autoJumpedThisStream = true;
|
|
330115
|
+
}
|
|
330116
|
+
}
|
|
330106
330117
|
stream.renderer.write(
|
|
330107
330118
|
event.content ?? "",
|
|
330108
330119
|
event.streamKind ?? "content"
|
|
@@ -331191,6 +331202,7 @@ ${opts.systemPromptAddition}` : `Working directory: ${repoRoot}`;
|
|
|
331191
331202
|
let adminSessionKey = null;
|
|
331192
331203
|
const callSubAgents = /* @__PURE__ */ new Map();
|
|
331193
331204
|
const streamRenderer = new StreamRenderer();
|
|
331205
|
+
let _autoJumpedThisStream = false;
|
|
331194
331206
|
if (savedSettings.voice) {
|
|
331195
331207
|
if (savedSettings.voiceModel) {
|
|
331196
331208
|
voiceEngine.modelId = savedSettings.voiceModel;
|
package/package.json
CHANGED