orquesta-agent 0.1.61 → 0.1.62
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 +4 -2
- package/scripts/postinstall.js +25 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orquesta-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.62",
|
|
4
4
|
"description": "Local agent for Orquesta - connects your VM to the Orquesta dashboard",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build": "tsc",
|
|
12
12
|
"dev": "tsc --watch",
|
|
13
13
|
"start": "node dist/index.js",
|
|
14
|
-
"prepublishOnly": "npm run build"
|
|
14
|
+
"prepublishOnly": "npm run build",
|
|
15
|
+
"postinstall": "node scripts/postinstall.js || true"
|
|
15
16
|
},
|
|
16
17
|
"keywords": [
|
|
17
18
|
"orquesta",
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
},
|
|
39
40
|
"files": [
|
|
40
41
|
"dist",
|
|
42
|
+
"scripts",
|
|
41
43
|
"README.md"
|
|
42
44
|
],
|
|
43
45
|
"repository": {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// Postinstall script - shows welcome message after npm install
|
|
4
|
+
// This file uses vanilla JS (no TypeScript) to avoid build dependencies
|
|
5
|
+
|
|
6
|
+
const GREEN = '\x1b[32m'
|
|
7
|
+
const CYAN = '\x1b[36m'
|
|
8
|
+
const WHITE = '\x1b[37m'
|
|
9
|
+
const BOLD = '\x1b[1m'
|
|
10
|
+
const DIM = '\x1b[2m'
|
|
11
|
+
const RESET = '\x1b[0m'
|
|
12
|
+
|
|
13
|
+
console.log('')
|
|
14
|
+
console.log(`${BOLD}${CYAN} ╔═══════════════════════════════════════════════════╗${RESET}`)
|
|
15
|
+
console.log(`${BOLD}${CYAN} ║${RESET}${BOLD}${WHITE} Orquesta Agent installed successfully! ${RESET}${BOLD}${CYAN}║${RESET}`)
|
|
16
|
+
console.log(`${BOLD}${CYAN} ╚═══════════════════════════════════════════════════╝${RESET}`)
|
|
17
|
+
console.log('')
|
|
18
|
+
console.log(`${GREEN} ✓${RESET} Installation complete`)
|
|
19
|
+
console.log('')
|
|
20
|
+
console.log(`${DIM} Next steps:${RESET}`)
|
|
21
|
+
console.log(` 1. Get your token from ${CYAN}https://orquesta.live${RESET}`)
|
|
22
|
+
console.log(` 2. Run: ${WHITE}orquesta-agent --token <your-token>${RESET}`)
|
|
23
|
+
console.log('')
|
|
24
|
+
console.log(`${DIM} Need help? Run:${RESET} ${WHITE}orquesta-agent setup${RESET}`)
|
|
25
|
+
console.log('')
|