harness-bujang 0.8.2 → 0.8.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.
|
@@ -492,17 +492,8 @@ async function runInit(args) {
|
|
|
492
492
|
}
|
|
493
493
|
console.log(c.bold(c.green("\u2705 Done.")));
|
|
494
494
|
console.log();
|
|
495
|
-
console.log("Next steps:");
|
|
496
|
-
console.log(` ${c.cyan("1.")} Open Claude Code in this project`);
|
|
497
|
-
console.log(` ${c.cyan("2.")} Run ${c.bold("/bujang-status")} (if the plugin is installed) or just`);
|
|
498
|
-
console.log(` ask ${c.bold('"Director, please add a hello-world endpoint"')}`);
|
|
499
|
-
if (scan.framework.startsWith("Next.js") && opts.installTemplate) {
|
|
500
|
-
console.log(` ${c.cyan("3.")} Watch ${c.bold(context.ADMIN_HARNESS_ROUTE)} for live updates (after env setup)`);
|
|
501
|
-
} else {
|
|
502
|
-
console.log(` ${c.cyan("3.")} Watch the chat room: ${c.bold("npx harness-bujang chat")} ${c.dim("\u2192 http://localhost:7777")}`);
|
|
503
|
-
}
|
|
504
|
-
console.log();
|
|
505
495
|
printRestartReminder(opts.lang);
|
|
496
|
+
printNextSteps(opts.lang, scan.framework.startsWith("Next.js") && opts.installTemplate, context.ADMIN_HARNESS_ROUTE);
|
|
506
497
|
}
|
|
507
498
|
function printRestartReminder(lang) {
|
|
508
499
|
const ko = lang === "ko";
|
|
@@ -510,17 +501,44 @@ function printRestartReminder(lang) {
|
|
|
510
501
|
const top = ` ${c.dim("\u256D" + "\u2500".repeat(64) + "\u256E")}`;
|
|
511
502
|
const bot = ` ${c.dim("\u2570" + "\u2500".repeat(64) + "\u256F")}`;
|
|
512
503
|
console.log(top);
|
|
513
|
-
console.log(line(ko ? c.bold(c.yellow("\u26A0\uFE0F
|
|
504
|
+
console.log(line(ko ? c.bold(c.yellow("\u26A0\uFE0F STEP 1 \u2014 Claude Code \uAED0\uB2E4 \uB2E4\uC2DC \uCF1C\uC8FC\uC138\uC694")) : c.bold(c.yellow("\u26A0\uFE0F STEP 1 \u2014 Restart Claude Code"))));
|
|
505
|
+
console.log(line(""));
|
|
506
|
+
console.log(line(ko ? "\uC5D0\uC774\uC804\uD2B8 \uB4F1\uB85D\uC740 \uC138\uC158 \uC2DC\uC791 \uC2DC\uC810\uC5D0\uB9CC \uC77C\uC5B4\uB098\uC11C, \uC9C0\uAE08 \uB5A0 \uC788\uB294" : "Agents register at session start only, so the running session"));
|
|
507
|
+
console.log(line(ko ? "\uC138\uC158\uC5D0\uC11C\uB294 \uC0C8\uB85C \uAE50 \uBD80\uC7A5 + \uD300\uC774 \uC548 \uBCF4\uC785\uB2C8\uB2E4." : "won't see the newly-installed director + teams yet."));
|
|
514
508
|
console.log(line(""));
|
|
515
|
-
console.log(line(ko ? "\
|
|
516
|
-
console.log(line(ko ? "\
|
|
509
|
+
console.log(line(` ${c.bold(ko ? "\uAD8C\uC7A5: " : "Recommended: ")}${c.cyan(ko ? "Claude Code \uC644\uC804 \uC885\uB8CC \u2192 \uAC19\uC740 \uD3F4\uB354\uC5D0\uC11C \uB2E4\uC2DC \uC2DC\uC791" : "Fully quit Claude Code \u2192 relaunch in this folder")}`));
|
|
510
|
+
console.log(line(` ${c.dim(ko ? "\uB300\uC548: " : "Or: ")}${c.cyan("/agents")}${c.dim(ko ? " (\uC5D0\uC774\uC804\uD2B8 \uBA54\uB274\uC5D0\uC11C \uC7AC\uB85C\uB4DC, \uAC00\uB054 \uC548 \uB428)" : " (refresh menu \u2014 sometimes flaky)")}`));
|
|
517
511
|
console.log(line(""));
|
|
518
|
-
console.log(line(
|
|
519
|
-
console.log(
|
|
512
|
+
console.log(line(c.dim(ko ? "\u26A0 /clear \uB294 \uCEE8\uD14D\uC2A4\uD2B8\uB9CC \uBE44\uC6C0 \u2014 \uC5D0\uC774\uC804\uD2B8 \uC7AC\uB4F1\uB85D \uC548 \uB428" : "\u26A0 /clear only wipes context \u2014 it does NOT re-register agents")));
|
|
513
|
+
console.log(bot);
|
|
514
|
+
console.log();
|
|
515
|
+
}
|
|
516
|
+
function printNextSteps(lang, nextjsEmbedded, adminRoute) {
|
|
517
|
+
const ko = lang === "ko";
|
|
518
|
+
const line = (s) => ` ${c.dim("\u2502")} ${s}`;
|
|
519
|
+
const top = ` ${c.dim("\u256D" + "\u2500".repeat(64) + "\u256E")}`;
|
|
520
|
+
const bot = ` ${c.dim("\u2570" + "\u2500".repeat(64) + "\u256F")}`;
|
|
521
|
+
console.log(top);
|
|
522
|
+
console.log(line(c.bold(c.green(ko ? "\u2728 STEP 2 \u2014 \uC7AC\uC2DC\uC791 \uD6C4 \uD1A1\uBC29 \uC5F4\uAE30" : "\u2728 STEP 2 \u2014 After restart, open the chat room"))));
|
|
523
|
+
console.log(line(""));
|
|
524
|
+
console.log(line(` ${c.bold(ko ? "Claude Code \uC548\uC5D0\uC11C: " : "Inside Claude Code: ")}${c.cyan("/open-chat")}`));
|
|
525
|
+
console.log(line(` ${c.dim(ko ? "\u2192 \uBC31\uADF8\uB77C\uC6B4\uB4DC\uB85C \uD1A1\uBC29 \uC11C\uBC84 \uB744\uC6B0\uACE0 \uBE0C\uB77C\uC6B0\uC800 \uC790\uB3D9 \uC624\uD508" : "\u2192 launches the chat-room server in background + opens the browser")}`));
|
|
526
|
+
console.log(line(""));
|
|
527
|
+
console.log(line(c.dim(ko ? "\uD50C\uB7EC\uADF8\uC778 \uC548 \uC124\uCE58\uD558\uC168\uC73C\uBA74 (\uBCC4\uB3C4 \uD130\uBBF8\uB110):" : "No plugin installed? (separate terminal):")));
|
|
528
|
+
console.log(line(` ${c.dim("$")} ${c.cyan("npx harness-bujang chat")} ${c.dim("\u2192 http://localhost:7777")}`));
|
|
529
|
+
if (nextjsEmbedded) {
|
|
530
|
+
console.log(line(""));
|
|
531
|
+
console.log(line(c.dim(ko ? `\uB610\uB294 dev \uC11C\uBC84 \uB744\uC6B0\uACE0 ${c.bold(adminRoute)} \uBC29\uBB38 (\uAC19\uC740 \uD1A1\uBC29, \uB2E4\uB978 surface)` : `Or run your dev server and visit ${c.bold(adminRoute)} (same chat, different surface)`)));
|
|
532
|
+
}
|
|
533
|
+
console.log(bot);
|
|
534
|
+
console.log();
|
|
535
|
+
console.log(top);
|
|
536
|
+
console.log(line(c.bold(c.cyan(ko ? "\u{1F3AF} STEP 3 \u2014 \uBD80\uC7A5\uD55C\uD14C \uCCAB \uC9C0\uC2DC" : "\u{1F3AF} STEP 3 \u2014 Give the Director a first task"))));
|
|
520
537
|
console.log(line(""));
|
|
521
|
-
console.log(line(
|
|
538
|
+
console.log(line(c.dim(ko ? "\uC608:" : "e.g.:")));
|
|
539
|
+
console.log(line(` ${c.bold(ko ? '"\uBD80\uC7A5\uB2D8, hello-world \uC5D4\uB4DC\uD3EC\uC778\uD2B8 \uD558\uB098 \uB9CC\uB4E4\uC5B4\uC918"' : '"Director, please add a hello-world endpoint"')}`));
|
|
522
540
|
console.log(line(""));
|
|
523
|
-
console.log(line(c.dim(ko ? "
|
|
541
|
+
console.log(line(c.dim(ko ? "\uBD80\uC7A5\uC774 \uD300 \uD638\uCD9C \u2192 \uC791\uC5C5 \u2192 \uD1A1\uBC29\uC5D0 \uBAA8\uB4E0 INSERT \uAC00 \uC2E4\uC2DC\uAC04\uC73C\uB85C \uBCF4\uC784" : "Director dispatches teams \u2192 work \u2192 every INSERT streams to the chat room")));
|
|
524
542
|
console.log(bot);
|
|
525
543
|
console.log();
|
|
526
544
|
}
|
package/dist/index.js
CHANGED
|
@@ -191,7 +191,7 @@ async function main() {
|
|
|
191
191
|
const command = args[0];
|
|
192
192
|
switch (command) {
|
|
193
193
|
case "init":
|
|
194
|
-
await (await import("./init-
|
|
194
|
+
await (await import("./init-C7AW2PST.js")).runInit(args.slice(1));
|
|
195
195
|
break;
|
|
196
196
|
case "status":
|
|
197
197
|
await (await import("./status-UE2TQQPU.js")).runStatus(args.slice(1));
|
|
@@ -203,7 +203,7 @@ async function main() {
|
|
|
203
203
|
await (await import("./adapt-VPWOYF6W.js")).runAdapt(args.slice(1));
|
|
204
204
|
break;
|
|
205
205
|
case "update":
|
|
206
|
-
await (await import("./update-
|
|
206
|
+
await (await import("./update-H6LOWP46.js")).runUpdate(args.slice(1));
|
|
207
207
|
break;
|
|
208
208
|
case "migrate":
|
|
209
209
|
await (await import("./migrate-PISZFX6C.js")).runMigrate(args.slice(1));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harness-bujang",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "Install the Harness-Bujang multi-agent harness into any project — Director, 7 specialist teams, real-time chat-room UI. Korean and English personas. Works with Claude Code, Cursor, Cline, Aider, or any tool that reads .claude/agents/.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|