shin-engine 1.0.8 → 1.0.10
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/bin/ee.js +21 -6
- package/package.json +1 -1
package/bin/ee.js
CHANGED
|
@@ -19,6 +19,15 @@ const PORT = 8080;
|
|
|
19
19
|
|
|
20
20
|
const cmd = process.argv[2];
|
|
21
21
|
|
|
22
|
+
const ASCII = `
|
|
23
|
+
███████╗██╗ ██╗██╗███╗ ██╗
|
|
24
|
+
██╔════╝██║ ██║██║████╗ ██║
|
|
25
|
+
███████╗███████║██║██╔██╗ ██║
|
|
26
|
+
╚════██║██╔══██║██║██║╚██╗██║
|
|
27
|
+
███████║██║ ██║██║██║ ╚████║
|
|
28
|
+
╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝
|
|
29
|
+
`;
|
|
30
|
+
|
|
22
31
|
function log(msg) { console.log(msg); }
|
|
23
32
|
function ok(msg) { console.log(` \u2713 ${msg}`); }
|
|
24
33
|
function step(msg) { console.log(`\n\u2192 ${msg}`); }
|
|
@@ -74,7 +83,7 @@ function installJava() {
|
|
|
74
83
|
async function ensureSetup() {
|
|
75
84
|
if (existsSync(JAR)) return true;
|
|
76
85
|
|
|
77
|
-
step("SHIN v" + VERSION + " first-time setup");
|
|
86
|
+
step("SHIN v" + VERSION + " first-time setup (developed by ragwhoo)");
|
|
78
87
|
|
|
79
88
|
// Check/Install Java
|
|
80
89
|
try {
|
|
@@ -142,9 +151,11 @@ async function main() {
|
|
|
142
151
|
}
|
|
143
152
|
|
|
144
153
|
if (!cmd) {
|
|
145
|
-
log(
|
|
146
|
-
log("
|
|
147
|
-
log("
|
|
154
|
+
log(ASCII);
|
|
155
|
+
log(" shin-engine v" + VERSION + " — (developed by ragwhoo)");
|
|
156
|
+
log("");
|
|
157
|
+
log(" Install: npm install -g shin-engine");
|
|
158
|
+
log(" Usage: shin --help");
|
|
148
159
|
return;
|
|
149
160
|
}
|
|
150
161
|
|
|
@@ -164,7 +175,7 @@ async function main() {
|
|
|
164
175
|
for (let i = 0; i < 30; i++) {
|
|
165
176
|
await sleep(1000);
|
|
166
177
|
if (isRunning()) {
|
|
167
|
-
log("SHIN v" + VERSION + " ready on port " + PORT);
|
|
178
|
+
log("SHIN v" + VERSION + " ready on port " + PORT + " (developed by ragwhoo)");
|
|
168
179
|
log("\nTell your OpenCode agent: 'load the engineering-experience-engine skill'");
|
|
169
180
|
return;
|
|
170
181
|
}
|
|
@@ -201,7 +212,11 @@ async function main() {
|
|
|
201
212
|
}
|
|
202
213
|
|
|
203
214
|
if (cmd === "--help" || cmd === "-h") {
|
|
204
|
-
log(
|
|
215
|
+
log(ASCII);
|
|
216
|
+
log(" shin-engine v" + VERSION + " — (developed by ragwhoo)");
|
|
217
|
+
log("");
|
|
218
|
+
log("Install:");
|
|
219
|
+
log(" npm install -g shin-engine");
|
|
205
220
|
log("");
|
|
206
221
|
log("Commands:");
|
|
207
222
|
log(" shin start Start the SHIN backend (first run downloads + installs)");
|