open-agents-ai 0.187.111 → 0.187.112
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 +11 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -310120,18 +310120,18 @@ ${opts.systemPromptAddition}` : `Working directory: ${repoRoot}`;
|
|
|
310120
310120
|
}
|
|
310121
310121
|
statusBar.refreshHeaderContent();
|
|
310122
310122
|
if (isResumed) {
|
|
310123
|
-
statusBar.beginContentWrite();
|
|
310124
310123
|
const { getLastTaskSummary: getLastTaskSummary2 } = (init_oa_directory(), __toCommonJS(oa_directory_exports));
|
|
310125
310124
|
const taskSummary = hasTaskToResume ? getLastTaskSummary2(repoRoot) : null;
|
|
310126
310125
|
const resumeMsg = taskSummary ? `v${version4} \u2014 picking up: ${taskSummary}` : `Updated to v${version4}.`;
|
|
310127
|
-
|
|
310128
|
-
|
|
310129
|
-
|
|
310130
|
-
|
|
310131
|
-
|
|
310132
|
-
|
|
310133
|
-
|
|
310134
|
-
|
|
310126
|
+
writeContent(() => {
|
|
310127
|
+
renderInfo(resumeMsg);
|
|
310128
|
+
const resumePrompt = buildContextRestorePrompt(repoRoot);
|
|
310129
|
+
if (resumePrompt) {
|
|
310130
|
+
restoredSessionContext = resumePrompt;
|
|
310131
|
+
const info = loadSessionContext(repoRoot);
|
|
310132
|
+
renderInfo(`Context restored from ${info?.entries.length ?? 0} session(s).`);
|
|
310133
|
+
}
|
|
310134
|
+
});
|
|
310135
310135
|
}
|
|
310136
310136
|
setContentWriteHook({
|
|
310137
310137
|
begin: () => statusBar.beginContentWrite(),
|
|
@@ -310279,16 +310279,12 @@ ${opts.systemPromptAddition}` : `Working directory: ${repoRoot}`;
|
|
|
310279
310279
|
voiceEngine.toggle().then((msg) => {
|
|
310280
310280
|
statusBar.setVoiceStatus(voiceEngine.enabled, voiceEngine.modelId || "");
|
|
310281
310281
|
if (statusBar?.isActive && !statusBar.isStreaming) {
|
|
310282
|
-
|
|
310283
|
-
renderInfo(msg);
|
|
310284
|
-
statusBar.endContentWrite();
|
|
310282
|
+
writeContent(() => renderInfo(msg));
|
|
310285
310283
|
}
|
|
310286
310284
|
}).catch((err) => {
|
|
310287
310285
|
const msg = err instanceof Error ? err.message : String(err);
|
|
310288
310286
|
if (statusBar?.isActive && !statusBar.isStreaming) {
|
|
310289
|
-
|
|
310290
|
-
renderWarning(`Voice: ${msg.slice(0, 80)}`);
|
|
310291
|
-
statusBar.endContentWrite();
|
|
310287
|
+
writeContent(() => renderWarning(`Voice: ${msg.slice(0, 80)}`));
|
|
310292
310288
|
}
|
|
310293
310289
|
});
|
|
310294
310290
|
}
|
package/package.json
CHANGED