protovibe 1.1.6 → 1.1.7

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.mjs +8 -4
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -637,10 +637,14 @@ function App({ terminalWidth, version }) {
637
637
  process.stdout.write("\nLogin cancelled. Run protovibe again when ready.\n");
638
638
  process.exit(0);
639
639
  }
640
- process.stdout.write(
641
- "\nOpening Claude Code to log you in.\nOnce logged in, type /exit to return to ProtoVibe.\n\n"
642
- );
643
- spawnSync("claude", [], { stdio: "inherit", shell: true });
640
+ process.stdout.write("\n Opening browser to log you in to Claude Code...\n\n");
641
+ const loginResult = spawnSync("claude", ["auth", "login"], { stdio: "inherit", shell: true });
642
+ if (loginResult.status !== 0 && loginResult.status !== null) {
643
+ process.stdout.write(
644
+ "\n Opening Claude Code to log you in.\n Once logged in, type /exit to return to ProtoVibe.\n\n"
645
+ );
646
+ spawnSync("claude", [], { stdio: "inherit", shell: true });
647
+ }
644
648
  if (!isAuthenticated()) {
645
649
  process.stderr.write("\n\u2717 Not logged in. Run protovibe again after logging in.\n");
646
650
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protovibe",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "A branded CLI platform layer on top of Claude Code",
5
5
  "author": "razorgojo",
6
6
  "license": "MIT",