wispy-cli 2.7.21 → 2.7.22

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.
Files changed (2) hide show
  1. package/bin/wispy.mjs +16 -1
  2. package/package.json +1 -1
package/bin/wispy.mjs CHANGED
@@ -1468,7 +1468,22 @@ if (command === "server" || command === "overview") {
1468
1468
  // Already set up env flags above, fall through to REPL
1469
1469
  }
1470
1470
 
1471
- // If we get here: no args (REPL), server, overview, or a chat message
1471
+ // If we get here with no args launch TUI (like OpenClaw)
1472
+ // Chat is only available through TUI. Use `wispy exec` for non-interactive one-shot.
1473
+ if (!command || command === "server" || command === "overview") {
1474
+ // No args → TUI
1475
+ if (!command) {
1476
+ try {
1477
+ await import(join(rootDir, "bin/wispy-tui.mjs"));
1478
+ } catch (err) {
1479
+ console.error("TUI failed to start:", err.message);
1480
+ console.log("Falling back to REPL...");
1481
+ await import(join(rootDir, "lib/wispy-repl.mjs"));
1482
+ }
1483
+ process.exit(0);
1484
+ }
1485
+ }
1486
+
1472
1487
  try {
1473
1488
  await import(join(rootDir, "lib/wispy-repl.mjs"));
1474
1489
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wispy-cli",
3
- "version": "2.7.21",
3
+ "version": "2.7.22",
4
4
  "description": "🌿 Wispy — AI workspace assistant with trustworthy execution (harness, receipts, approvals, diffs)",
5
5
  "license": "MIT",
6
6
  "author": "Minseo & Poropo",