wogiflow 1.0.8 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wogiflow",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "AI-powered development workflow management system with multi-model support",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -81,26 +81,29 @@ async function main() {
81
81
 
82
82
  // Already initialized - short message
83
83
  if (isAlreadyInitialized()) {
84
- console.log('\x1b[36mWogiFlow:\x1b[0m Already initialized. Run \x1b[33mnpx flow status\x1b[0m to see project state.');
84
+ // Use stderr - npm suppresses stdout from postinstall
85
+ process.stderr.write('\x1b[36mWogiFlow:\x1b[0m Already initialized. Run \x1b[33mnpx flow status\x1b[0m to see project state.\n');
85
86
  return;
86
87
  }
87
88
 
88
- // Show setup instructions (always show, even without TTY)
89
- console.log('');
90
- console.log('\x1b[36m╔════════════════════════════════════════════════════════════╗\x1b[0m');
91
- console.log('\x1b[36m║\x1b[0m \x1b[1mWogiFlow installed successfully!\x1b[0m \x1b[36m║\x1b[0m');
92
- console.log('\x1b[36m╚════════════════════════════════════════════════════════════╝\x1b[0m');
93
- console.log('');
94
- console.log(' \x1b[33mNext step:\x1b[0m Run the setup wizard:');
95
- console.log('');
96
- console.log(' \x1b[36mnpx flow onboard\x1b[0m \x1b[2m# For existing projects (recommended)\x1b[0m');
97
- console.log(' \x1b[36mnpx flow init\x1b[0m \x1b[2m# For new projects\x1b[0m');
98
- console.log('');
89
+ // Show setup instructions using stderr (npm suppresses stdout from postinstall)
90
+ const msg = `
91
+ \x1b[36m╔════════════════════════════════════════════════════════════╗\x1b[0m
92
+ \x1b[36m║\x1b[0m \x1b[1mWogiFlow installed successfully!\x1b[0m \x1b[36m║\x1b[0m
93
+ \x1b[36m╚════════════════════════════════════════════════════════════╝\x1b[0m
94
+
95
+ \x1b[33mNext step:\x1b[0m Run the setup wizard:
96
+
97
+ \x1b[36mnpx flow onboard\x1b[0m \x1b[2m# For existing projects (recommended)\x1b[0m
98
+ \x1b[36mnpx flow init\x1b[0m \x1b[2m# For new projects\x1b[0m
99
+
100
+ `;
101
+ process.stderr.write(msg);
99
102
  }
100
103
 
101
104
  // Run
102
105
  main().catch((err) => {
103
106
  // Don't fail npm install on postinstall errors
104
- console.log(`\x1b[33mWogiFlow postinstall warning:\x1b[0m ${err.message}`);
107
+ process.stderr.write(`\x1b[33mWogiFlow postinstall warning:\x1b[0m ${err.message}\n`);
105
108
  createMinimalStructure();
106
109
  });