dsh-neotui 0.1.20 → 0.1.21

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/package.json +1 -1
  2. package/src/index.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-neotui",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Neo-TUI: mouse-driven terminal UI client for DeepSeek Harness (B-tier per dsh-tui-design.md)",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -44,6 +44,9 @@ export function launchTui(opts = {}) {
44
44
  app.run();
45
45
  } catch (e) {
46
46
  log("fatal:", e);
47
+ // the profile's ctx.logger may swallow output once the TUI owns the
48
+ // terminal — always surface the fatal on stderr too
49
+ try { console.error("[dsh-tui] fatal:", e?.message ?? e); } catch {}
47
50
  term.stop();
48
51
  process.exit(1);
49
52
  }