derolicia 1.0.3 → 1.0.4

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/postinstall.js +21 -28
  2. package/package.json +1 -1
@@ -1,38 +1,31 @@
1
1
  'use strict';
2
2
 
3
3
  /**
4
- * Dera postinstall script
5
- * Cross-platform (Windows + Unix) no shebang, no shell operators
6
- *
7
- * Runs the installation wizard after "npm install derolicia"
8
- * Silently skips if wizard is not found or errors occur
4
+ * Dera postinstall — cross-platform banner
5
+ * Shows welcome message and next steps.
6
+ * Does NOT run interactive wizard (stdin is not available during npm install).
9
7
  */
10
8
 
11
- const path = require('path');
12
- const fs = require('fs');
13
-
14
- // Skip in CI environments
9
+ // Skip in CI
15
10
  if (process.env.CI === 'true' || process.env.GITHUB_ACTIONS === 'true') {
16
11
  process.exit(0);
17
12
  }
18
13
 
19
- const wizardPath = path.join(__dirname, '..', 'packages', 'installer', 'src', 'wizard', 'index.js');
20
- const legacyPath = path.join(__dirname, 'dera-init.js');
21
-
22
- async function run() {
23
- try {
24
- if (fs.existsSync(wizardPath)) {
25
- const { runWizard } = require(wizardPath);
26
- await runWizard({ quiet: false });
27
- } else if (fs.existsSync(legacyPath)) {
28
- require(legacyPath);
29
- } else {
30
- console.log('\n✅ derolicia installed! Run "npx derolicia" to set up your project.\n');
31
- }
32
- } catch (err) {
33
- // Never block install due to wizard errors
34
- console.log('\n✅ derolicia installed! Run "npx derolicia" to set up your project.\n');
35
- }
36
- }
14
+ const banner = `
15
+ ██████╗ ███████╗██████╗ █████╗
16
+ ██╔══██╗██╔════╝██╔══██╗██╔══██╗
17
+ ██║ ██║█████╗ ██████╔╝███████║
18
+ ██║ ██║██╔══╝ ██╔══██╗██╔══██║
19
+ ██████╔╝███████╗██║ ██║██║ ██║
20
+ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝
21
+ `;
37
22
 
38
- run();
23
+ console.log('\x1b[36m' + banner + '\x1b[0m');
24
+ console.log('\x1b[35m Universal AI Agent Framework for Any Domain\x1b[0m');
25
+ console.log('\x1b[33m derolicia v' + require('../package.json').version + '\x1b[0m');
26
+ console.log('\n \x1b[90m' + '─'.repeat(50) + '\x1b[0m\n');
27
+ console.log(' \x1b[32m✅ derolicia installed!\x1b[0m\n');
28
+ console.log(' \x1b[1mNext step — run the setup wizard:\x1b[0m');
29
+ console.log(' \x1b[36m npx derolicia init\x1b[0m\n');
30
+ console.log(' \x1b[90mThis will configure your IDE, agents, and project.\x1b[0m');
31
+ console.log('\n \x1b[90m' + '─'.repeat(50) + '\x1b[0m\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "derolicia",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Dera: AI-Orchestrated System for Full Stack Development - Core Framework",
5
5
  "bin": {
6
6
  "derolicia": "bin/dera.js",