harness-bujang 0.5.7 → 0.5.8

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1080,11 +1080,10 @@ function portIsFree(port) {
1080
1080
  }
1081
1081
  function openBrowser(url) {
1082
1082
  const platform = process.platform;
1083
- const cmd = platform === "darwin" ? "open" : platform === "win32" ? "start" : "xdg-open";
1084
- try {
1085
- spawn(cmd, [url], { detached: true, stdio: "ignore" }).unref();
1086
- } catch {
1087
- }
1083
+ const child = platform === "darwin" ? spawn("open", [url], { detached: true, stdio: "ignore" }) : platform === "win32" ? spawn("cmd", ["/c", "start", '""', url], { detached: true, stdio: "ignore" }) : spawn("xdg-open", [url], { detached: true, stdio: "ignore" });
1084
+ child.on("error", () => {
1085
+ });
1086
+ child.unref();
1088
1087
  }
1089
1088
  function readBody(req) {
1090
1089
  return new Promise((resolve7, reject) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harness-bujang",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
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",