vibeview 0.36.0 → 0.36.1

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/cli.js +5 -5
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3662,8 +3662,10 @@ var CLAUDE_MD_SUGGESTION = "After changing UI or app behavior, verify it on a li
3662
3662
  function claudeCliAvailable() {
3663
3663
  return spawnSync("claude", ["--version"], { stdio: "ignore" }).error === void 0;
3664
3664
  }
3665
+ var MCP_COMMAND = ["npx", "-y", "vibeview", "mcp"];
3666
+ var MCP_ADD_HINT = `claude mcp add vibeview -- ${MCP_COMMAND.join(" ")}`;
3665
3667
  function registerMcp() {
3666
- const res = spawnSync("claude", ["mcp", "add", "vibeview", "--", "vibeview", "mcp"], {
3668
+ const res = spawnSync("claude", ["mcp", "add", "vibeview", "--", ...MCP_COMMAND], {
3667
3669
  encoding: "utf8"
3668
3670
  });
3669
3671
  if (res.status === 0) {
@@ -3676,7 +3678,7 @@ function registerMcp() {
3676
3678
  return;
3677
3679
  }
3678
3680
  console.error(chalk21.yellow(`\u26A0 could not register the MCP server: ${out.trim() || res.error}`));
3679
- console.error(chalk21.yellow(" register it manually: claude mcp add vibeview -- vibeview mcp"));
3681
+ console.error(chalk21.yellow(` register it manually: ${MCP_ADD_HINT}`));
3680
3682
  }
3681
3683
  async function agentSetup(opts) {
3682
3684
  const moduleDir = dirname(fileURLToPath(import.meta.url));
@@ -3702,9 +3704,7 @@ async function agentSetup(opts) {
3702
3704
  if (!claudeCliAvailable()) {
3703
3705
  if (opts.mcp === true) {
3704
3706
  console.error(
3705
- chalk21.yellow(
3706
- "\u26A0 claude CLI not found \u2014 install Claude Code, then run: claude mcp add vibeview -- vibeview mcp"
3707
- )
3707
+ chalk21.yellow(`\u26A0 claude CLI not found \u2014 install Claude Code, then run: ${MCP_ADD_HINT}`)
3708
3708
  );
3709
3709
  }
3710
3710
  } else if (opts.mcp === true || process.stdin.isTTY && await confirm({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeview",
3
- "version": "0.36.0",
3
+ "version": "0.36.1",
4
4
  "description": "VibeView CLI -- run your app on cloud iOS simulators, Android emulators, Apple TV, Android TV and Roku devices: a React Native dev loop, device control for you or your coding agent (CLI or MCP), and tests from CI",
5
5
  "mcpName": "io.github.vibeview/vibeview",
6
6
  "type": "module",