vortix 1.0.2 → 1.0.3
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 +5 -1
- package/scripts/postinstall.js +73 -0
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vortix",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "AI-powered OS control system with remote command execution",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"vortix": "./bin/vortix.js"
|
|
8
8
|
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"postinstall": "node scripts/postinstall.js"
|
|
11
|
+
},
|
|
9
12
|
"keywords": [
|
|
10
13
|
"ai",
|
|
11
14
|
"automation",
|
|
@@ -27,6 +30,7 @@
|
|
|
27
30
|
"bin/",
|
|
28
31
|
"agent/",
|
|
29
32
|
"backend/",
|
|
33
|
+
"scripts/",
|
|
30
34
|
"README.md"
|
|
31
35
|
],
|
|
32
36
|
"dependencies": {
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const colors = {
|
|
4
|
+
reset: '\x1b[0m',
|
|
5
|
+
bright: '\x1b[1m',
|
|
6
|
+
green: '\x1b[32m',
|
|
7
|
+
cyan: '\x1b[36m',
|
|
8
|
+
yellow: '\x1b[33m',
|
|
9
|
+
magenta: '\x1b[35m',
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const box = {
|
|
13
|
+
topLeft: '╔',
|
|
14
|
+
topRight: '╗',
|
|
15
|
+
bottomLeft: '╚',
|
|
16
|
+
bottomRight: '╝',
|
|
17
|
+
horizontal: '═',
|
|
18
|
+
vertical: '║',
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
function printBox(lines, width = 60) {
|
|
22
|
+
console.log('\n');
|
|
23
|
+
console.log(colors.green + box.topLeft + box.horizontal.repeat(width) + box.topRight + colors.reset);
|
|
24
|
+
|
|
25
|
+
lines.forEach(line => {
|
|
26
|
+
const padding = width - line.length;
|
|
27
|
+
const leftPad = Math.floor(padding / 2);
|
|
28
|
+
const rightPad = padding - leftPad;
|
|
29
|
+
console.log(
|
|
30
|
+
colors.green + box.vertical + colors.reset +
|
|
31
|
+
' '.repeat(leftPad) + line + ' '.repeat(rightPad) +
|
|
32
|
+
colors.green + box.vertical + colors.reset
|
|
33
|
+
);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
console.log(colors.green + box.bottomLeft + box.horizontal.repeat(width) + box.bottomRight + colors.reset);
|
|
37
|
+
console.log('\n');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
console.log('\n');
|
|
41
|
+
console.log(colors.bright + colors.green + ' ╦ ╦┌─┐┬─┐┌┬┐┬─┐ ┬' + colors.reset);
|
|
42
|
+
console.log(colors.bright + colors.green + ' ╚╗╔╝│ │├┬┘ │ │┌┴┬┘' + colors.reset);
|
|
43
|
+
console.log(colors.bright + colors.green + ' ╚╝ └─┘┴└─ ┴ ┴┴ └─' + colors.reset);
|
|
44
|
+
console.log('\n');
|
|
45
|
+
|
|
46
|
+
printBox([
|
|
47
|
+
colors.bright + colors.cyan + '🚀 Installation Successful!' + colors.reset,
|
|
48
|
+
'',
|
|
49
|
+
colors.yellow + 'AI-Powered Remote OS Control' + colors.reset,
|
|
50
|
+
]);
|
|
51
|
+
|
|
52
|
+
console.log(colors.bright + ' 📖 Quick Start:' + colors.reset);
|
|
53
|
+
console.log('');
|
|
54
|
+
console.log(' ' + colors.cyan + '1.' + colors.reset + ' Set device password:');
|
|
55
|
+
console.log(' ' + colors.green + 'vortix login' + colors.reset);
|
|
56
|
+
console.log('');
|
|
57
|
+
console.log(' ' + colors.cyan + '2.' + colors.reset + ' Start the agent:');
|
|
58
|
+
console.log(' ' + colors.green + 'vortix start' + colors.reset);
|
|
59
|
+
console.log('');
|
|
60
|
+
console.log(' ' + colors.cyan + '3.' + colors.reset + ' Open dashboard:');
|
|
61
|
+
console.log(' ' + colors.magenta + colors.bright + 'https://vortixai.vercel.app' + colors.reset);
|
|
62
|
+
console.log('');
|
|
63
|
+
|
|
64
|
+
console.log(colors.bright + ' 📚 Documentation:' + colors.reset);
|
|
65
|
+
console.log(' ' + colors.cyan + 'https://github.com/Vaibhav262610/vortix' + colors.reset);
|
|
66
|
+
console.log('');
|
|
67
|
+
|
|
68
|
+
console.log(colors.bright + ' 💡 Need Help?' + colors.reset);
|
|
69
|
+
console.log(' ' + colors.cyan + 'Run:' + colors.reset + ' ' + colors.green + 'vortix help' + colors.reset);
|
|
70
|
+
console.log('');
|
|
71
|
+
|
|
72
|
+
console.log(colors.yellow + ' ⚡ Pro Tip: ' + colors.reset + 'Use AI commands in the dashboard for natural language control!');
|
|
73
|
+
console.log('');
|