harness-evolver 2.4.0 → 2.5.0
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/install.js +9 -18
- package/package.json +1 -1
package/bin/install.js
CHANGED
|
@@ -15,28 +15,19 @@ const VERSION = require("../package.json").version;
|
|
|
15
15
|
const PLUGIN_ROOT = path.resolve(__dirname, "..");
|
|
16
16
|
const HOME = process.env.HOME || process.env.USERPROFILE;
|
|
17
17
|
|
|
18
|
-
const
|
|
19
|
-
const BRIGHT_MAGENTA = "\x1b[95m";
|
|
20
|
-
const GREEN = "\x1b[32m";
|
|
18
|
+
const GREEN = "\x1b[38;2;0;255;136m";
|
|
21
19
|
const YELLOW = "\x1b[33m";
|
|
22
20
|
const RED = "\x1b[31m";
|
|
23
21
|
const DIM = "\x1b[2m";
|
|
24
22
|
const BOLD = "\x1b[1m";
|
|
25
23
|
const RESET = "\x1b[0m";
|
|
26
24
|
|
|
27
|
-
const LOGO =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝╚══════╝╚══════╝
|
|
34
|
-
${MAGENTA}${BOLD}███████╗██╗ ██╗ ██████╗ ██╗ ██╗ ██╗███████╗██████╗
|
|
35
|
-
██╔════╝██║ ██║██╔═══██╗██║ ██║ ██║██╔════╝██╔══██╗
|
|
36
|
-
█████╗ ██║ ██║██║ ██║██║ ██║ ██║█████╗ ██████╔╝
|
|
37
|
-
██╔══╝ ╚██╗ ██╔╝██║ ██║██║ ╚██╗ ██╔╝██╔══╝ ██╔══██╗
|
|
38
|
-
███████╗ ╚████╔╝ ╚██████╔╝███████╗╚████╔╝ ███████╗██║ ██║
|
|
39
|
-
╚══════╝ ╚═══╝ ╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝${RESET}
|
|
25
|
+
const LOGO = `${BOLD}${GREEN}
|
|
26
|
+
╦ ╦╔═╗╦═╗╔╗╔╔═╗╔═╗╔═╗ ╔═╗╦ ╦╔═╗╦ ╦ ╦╔═╗╦═╗
|
|
27
|
+
╠═╣╠═╣╠╦╝║║║║╣ ╚═╗╚═╗ ║╣ ╚╗╔╝║ ║║ ╚╗╔╝║╣ ╠╦╝
|
|
28
|
+
╩ ╩╩ ╩╩╚═╝╚╝╚═╝╚═╝╚═╝ ╚═╝ ╚╝ ╚═╝╩═╝ ╚╝ ╚═╝╩╚═
|
|
29
|
+
${RESET}
|
|
30
|
+
${DIM}${GREEN} End-to-end harness optimization for AI agents${RESET}
|
|
40
31
|
`;
|
|
41
32
|
|
|
42
33
|
function ask(rl, question) {
|
|
@@ -218,7 +209,7 @@ async function main() {
|
|
|
218
209
|
console.log();
|
|
219
210
|
|
|
220
211
|
for (const runtime of selected) {
|
|
221
|
-
console.log(` Installing for ${
|
|
212
|
+
console.log(` Installing for ${GREEN}${runtime.name}${RESET}\n`);
|
|
222
213
|
cleanupBrokenPluginEntry(runtime.dir);
|
|
223
214
|
installForRuntime(runtime.dir, scope);
|
|
224
215
|
console.log();
|
|
@@ -232,7 +223,7 @@ async function main() {
|
|
|
232
223
|
fs.writeFileSync(versionPath, VERSION);
|
|
233
224
|
console.log(` ${GREEN}✓${RESET} VERSION ${VERSION}`);
|
|
234
225
|
|
|
235
|
-
console.log(`\n ${GREEN}Done!${RESET} Restart Claude Code, then run ${
|
|
226
|
+
console.log(`\n ${GREEN}Done!${RESET} Restart Claude Code, then run ${GREEN}/harness-evolver:init${RESET}\n`);
|
|
236
227
|
|
|
237
228
|
// Optional integrations
|
|
238
229
|
console.log(` ${YELLOW}Install optional integrations?${RESET}\n`);
|