junecoder 1.0.15 → 1.0.16
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/package.json +1 -1
- package/tui.mjs +2 -0
package/package.json
CHANGED
package/tui.mjs
CHANGED
|
@@ -535,7 +535,9 @@ export async function startTUI(agent, opts = {}) {
|
|
|
535
535
|
if (typeof raw === "string") state.lines.push({ text: raw, color: C.text });
|
|
536
536
|
else if (raw && typeof raw.text === "string") state.lines.push(raw);
|
|
537
537
|
}
|
|
538
|
+
if (restored.history) agent.history = restored.history;
|
|
538
539
|
if (restored.tasks) { state.tasks = restored.tasks; agent.tasks = restored.tasks; }
|
|
540
|
+
if (restored.goal) agent.goal = restored.goal;
|
|
539
541
|
if (restored.planMode !== undefined) agent.planMode = restored.planMode;
|
|
540
542
|
state.status = "Session restored";
|
|
541
543
|
} else if (!setupMode) {
|