shin-engine 1.0.9 → 1.0.11
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 +25 -6
- package/package.json +5 -2
package/bin/ee.js
CHANGED
|
@@ -19,6 +19,23 @@ const PORT = 8080;
|
|
|
19
19
|
|
|
20
20
|
const cmd = process.argv[2];
|
|
21
21
|
|
|
22
|
+
const ASCII = `\x1b[0;37;40m\u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584 \u2588\u2588\u2588 \x1b[0m
|
|
23
|
+
\x1b[0;37;40m\u2588\u2588\u2588\u2584\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2588\u2588\u2584\u2588\u2588\u2588 \x1b[0m
|
|
24
|
+
\x1b[0;37;40m \u2580\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2588\u2588\u2588\u2580\u2580\u2580\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588 \x1b[0m
|
|
25
|
+
\x1b[0;37;40m\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \x1b[0m
|
|
26
|
+
\x1b[0;37;40m \u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \x1b[0m
|
|
27
|
+
\x1b[0;37;40m\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2584 \u2584\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584 \u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \x1b[0m
|
|
28
|
+
\x1b[0;37;40m\u2588\u2588\u2588 \u2580\u2588\u2588\u2588\u2588\u2588\u2580 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2588\u2588\u2584\u2588\u2588\u2588 \u2588\u2588\u2588\u2580 \u2580\u2580\u2580 \u2588\u2588\u2588 \x1b[0m
|
|
29
|
+
\x1b[0;37;40m\u2588\u2588\u2588\u2580\u2580\u2580 \u2584\u2588\u2588\u2588\u2584 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2580 \u2588\u2588\u2588\u2580\u2580\u2580 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2580\u2580 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2580\u2580 \x1b[0m
|
|
30
|
+
\x1b[0;37;40m\u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \u2584\u2588\u2588\u2588\u2580\u2588\u2588\u2588\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2584\u2584\u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \x1b[0m
|
|
31
|
+
\x1b[0;37;40m\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \x1b[0m
|
|
32
|
+
\x1b[0;37;40m\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584 \u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \x1b[0m
|
|
33
|
+
\x1b[0;37;40m\u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2588\u2588\u2584\u2588\u2588\u2588 \u2588\u2588\u2588\u2580 \u2580\u2580\u2580 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2588\u2588\u2584\u2588\u2588\u2588 \u2588\u2588\u2588 \x1b[0m
|
|
34
|
+
\x1b[0;37;40m\u2588\u2588\u2588\u2580\u2580\u2580 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588\u2580 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2580\u2580 \x1b[0m
|
|
35
|
+
\x1b[0;37;40m\u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2584\u2584\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \x1b[0m
|
|
36
|
+
\x1b[0;37;40m\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \x1b[0m
|
|
37
|
+
`;
|
|
38
|
+
|
|
22
39
|
function log(msg) { console.log(msg); }
|
|
23
40
|
function ok(msg) { console.log(` \u2713 ${msg}`); }
|
|
24
41
|
function step(msg) { console.log(`\n\u2192 ${msg}`); }
|
|
@@ -74,7 +91,7 @@ function installJava() {
|
|
|
74
91
|
async function ensureSetup() {
|
|
75
92
|
if (existsSync(JAR)) return true;
|
|
76
93
|
|
|
77
|
-
step("SHIN v" + VERSION + " first-time setup");
|
|
94
|
+
step("SHIN v" + VERSION + " first-time setup (developed by ragwhoo)");
|
|
78
95
|
|
|
79
96
|
// Check/Install Java
|
|
80
97
|
try {
|
|
@@ -142,10 +159,11 @@ async function main() {
|
|
|
142
159
|
}
|
|
143
160
|
|
|
144
161
|
if (!cmd) {
|
|
145
|
-
log(
|
|
162
|
+
log(ASCII);
|
|
163
|
+
log(" shin-engine v" + VERSION + " — (developed by ragwhoo)");
|
|
146
164
|
log("");
|
|
147
|
-
log("Install: npm install -g shin-engine");
|
|
148
|
-
log("Usage: shin --help");
|
|
165
|
+
log(" Install: npm install -g shin-engine");
|
|
166
|
+
log(" Usage: shin --help");
|
|
149
167
|
return;
|
|
150
168
|
}
|
|
151
169
|
|
|
@@ -165,7 +183,7 @@ async function main() {
|
|
|
165
183
|
for (let i = 0; i < 30; i++) {
|
|
166
184
|
await sleep(1000);
|
|
167
185
|
if (isRunning()) {
|
|
168
|
-
log("SHIN v" + VERSION + " ready on port " + PORT);
|
|
186
|
+
log("SHIN v" + VERSION + " ready on port " + PORT + " (developed by ragwhoo)");
|
|
169
187
|
log("\nTell your OpenCode agent: 'load the engineering-experience-engine skill'");
|
|
170
188
|
return;
|
|
171
189
|
}
|
|
@@ -202,7 +220,8 @@ async function main() {
|
|
|
202
220
|
}
|
|
203
221
|
|
|
204
222
|
if (cmd === "--help" || cmd === "-h") {
|
|
205
|
-
log(
|
|
223
|
+
log(ASCII);
|
|
224
|
+
log(" shin-engine v" + VERSION + " — (developed by ragwhoo)");
|
|
206
225
|
log("");
|
|
207
226
|
log("Install:");
|
|
208
227
|
log(" npm install -g shin-engine");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shin-engine",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Engineering Experience Engine — engineering judgment for AI coding agents",
|
|
5
5
|
"bin": {
|
|
6
6
|
"shin": "bin/ee.js"
|
|
@@ -16,5 +16,8 @@
|
|
|
16
16
|
"knowledge",
|
|
17
17
|
"brain"
|
|
18
18
|
],
|
|
19
|
-
"license": "MIT"
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"figlet": "^1.11.0"
|
|
22
|
+
}
|
|
20
23
|
}
|