wispy-cli 2.7.29 → 2.7.30
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/lib/wispy-tui-v3.mjs +7 -1
- package/package.json +1 -1
package/lib/wispy-tui-v3.mjs
CHANGED
|
@@ -347,7 +347,13 @@ class WispyTUI {
|
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
// Load initial conversation
|
|
350
|
-
|
|
350
|
+
// Start fresh — use `wispy resume` to continue a previous session
|
|
351
|
+
// Only load if explicitly resuming via env var
|
|
352
|
+
if (process.env.WISPY_SESSION_ACTION === "resume") {
|
|
353
|
+
this._conversation = await loadConversation(this.activeWorkstream);
|
|
354
|
+
} else {
|
|
355
|
+
this._conversation = [];
|
|
356
|
+
}
|
|
351
357
|
this.messages = this._conversation.map(m => ({ ...m }));
|
|
352
358
|
|
|
353
359
|
// Load sidebar data
|
package/package.json
CHANGED