@bobfrankston/msger 0.1.404 → 0.1.405

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/msger",
3
- "version": "0.1.404",
3
+ "version": "0.1.405",
4
4
  "description": "Fast, lightweight, cross-platform message box - Rust-powered alternative to msgview",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@bobfrankston/msgcommon": "^0.1.23",
54
- "@bobfrankston/rust-builder": "^0.1.5",
54
+ "@bobfrankston/rust-builder": "file:../../rust-builder",
55
55
  "ansi-to-html": "^0.7.2",
56
56
  "json5": "^2.2.3"
57
57
  },
@@ -62,19 +62,5 @@
62
62
  "msger-native/bin/",
63
63
  "msger-native/builder/",
64
64
  "README.md"
65
- ],
66
- ".dependencies": {
67
- "@bobfrankston/msgcommon": "^0.1.23",
68
- "@bobfrankston/rust-builder": "file:../../rust-builder",
69
- "ansi-to-html": "^0.7.2",
70
- "json5": "^2.2.3"
71
- },
72
- ".transformedSnapshot": {
73
- "dependencies": {
74
- "@bobfrankston/msgcommon": "^0.1.23",
75
- "@bobfrankston/rust-builder": "^0.1.5",
76
- "ansi-to-html": "^0.7.2",
77
- "json5": "^2.2.3"
78
- }
79
- }
65
+ ]
80
66
  }
package/shower.js CHANGED
@@ -411,9 +411,15 @@ function createMessageBoxHandle(options) {
411
411
  child.stdout?.on('data', (data) => {
412
412
  stdout += data.toString();
413
413
  });
414
- // Collect stderr (only if not detached)
414
+ // Collect stderr for the exit-code error message AND forward it live
415
+ // to the parent's stderr, same as showService does. Collect-only meant
416
+ // a popout's `[msger-focus]` / `[msger]` diagnostics never reached the
417
+ // host log unless the process died nonzero — an invisible window for
418
+ // exactly the "window opened but focus is wrong" class of report
419
+ // (cost a debugging round-trip on rmfmail 2026-07-19).
415
420
  child.stderr?.on('data', (data) => {
416
421
  stderr += data.toString();
422
+ process.stderr.write(data);
417
423
  });
418
424
  // Handle process completion
419
425
  child.on('close', (code) => {