wispy-cli 2.7.29 → 2.7.31

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/bin/wispy.mjs CHANGED
@@ -1400,14 +1400,12 @@ _wispy() {
1400
1400
  local -a commands flags
1401
1401
  commands=(${cmds.map(c => `'${c}'`).join(" ")})
1402
1402
  flags=(${flags.map(f => `'${f}'`).join(" ")})
1403
- if (( CURRENT == 2 )); then
1404
- _describe 'command' commands
1405
- _describe 'flag' flags
1406
- else
1407
- _files
1408
- fi
1403
+ _arguments -C '1:command:->cmd' '*:file:_files' && return
1404
+ case "$state" in
1405
+ cmd) _describe 'command' commands -- flags ;;
1406
+ esac
1409
1407
  }
1410
- _wispy "$@"`);
1408
+ compdef _wispy wispy 2>/dev/null`);
1411
1409
  } else if (shell === "bash") {
1412
1410
  console.log(`_wispy_completions() {
1413
1411
  local cur="\${COMP_WORDS[COMP_CWORD]}"
@@ -347,7 +347,13 @@ class WispyTUI {
347
347
  }
348
348
 
349
349
  // Load initial conversation
350
- this._conversation = await loadConversation(this.activeWorkstream);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wispy-cli",
3
- "version": "2.7.29",
3
+ "version": "2.7.31",
4
4
  "description": "🌿 Wispy — AI workspace assistant with trustworthy execution (harness, receipts, approvals, diffs)",
5
5
  "license": "MIT",
6
6
  "author": "Minseo & Poropo",