start-vibing 3.0.2 → 3.0.4

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 +31 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -420,10 +420,12 @@ async function installClaudeUnix() {
420
420
  }
421
421
  function launchClaude(cwd, options = {}) {
422
422
  const { isWindows } = getPlatformInfo();
423
+ const resumeSession = !options.newSession;
423
424
  const args = ["--dangerously-skip-permissions"];
424
- if (!options.newSession) {
425
+ if (resumeSession) {
425
426
  args.unshift("-c");
426
427
  }
428
+ const startTime = Date.now();
427
429
  const claude = spawn("claude", args, {
428
430
  cwd,
429
431
  stdio: "inherit",
@@ -445,6 +447,13 @@ function launchClaude(cwd, options = {}) {
445
447
  process.exit(1);
446
448
  });
447
449
  claude.on("exit", (code) => {
450
+ if (code !== 0 && resumeSession && Date.now() - startTime < 5000) {
451
+ console.log("");
452
+ console.log(" No conversation found to continue. Starting new session...");
453
+ console.log("");
454
+ launchClaude(cwd, { newSession: true });
455
+ return;
456
+ }
448
457
  process.exit(code || 0);
449
458
  });
450
459
  }
@@ -502,6 +511,24 @@ var CORE_MCPS = [
502
511
  description: "browser automation",
503
512
  command: "npx",
504
513
  args: ["-y", "@playwright/mcp@latest", "--user-data-dir", "./.playwright-data"]
514
+ },
515
+ {
516
+ name: "nextjs-devtools",
517
+ description: "Next.js dev tools",
518
+ command: "npx",
519
+ args: ["-y", "next-devtools-mcp@latest"]
520
+ },
521
+ {
522
+ name: "mongodb",
523
+ description: "database operations",
524
+ command: "npx",
525
+ args: ["-y", "@mongodb-js/mongodb-mcp-server"]
526
+ },
527
+ {
528
+ name: "jira",
529
+ description: "issue tracking",
530
+ command: "npx",
531
+ args: ["-y", "@aashari/mcp-server-atlassian-jira"]
505
532
  }
506
533
  ];
507
534
  function isClaudeMcpReady() {
@@ -825,11 +852,12 @@ function formatElapsed(startMs) {
825
852
  function printOptionalMcps() {
826
853
  console.log("");
827
854
  console.log(` ${c.dim}Optional MCPs (install manually):${c.reset}`);
828
- console.log(` ${c.cyan}nextjs-devtools${c.reset} ${c.dim}\xB7${c.reset} claude mcp add -s user nextjs-devtools -- npx -y next-devtools-mcp@latest`);
829
- console.log(` ${c.cyan}mongodb${c.reset} ${c.dim}\xB7${c.reset} claude mcp add -s user mongodb -- npx -y @mongodb-js/mongodb-mcp-server`);
830
855
  console.log(` ${c.cyan}github${c.reset} ${c.dim}\xB7${c.reset} claude mcp add --transport http -s user github https://api.githubcopilot.com/mcp/`);
831
856
  console.log(` ${c.cyan}sentry${c.reset} ${c.dim}\xB7${c.reset} claude mcp add --transport http -s user sentry https://mcp.sentry.dev/mcp`);
832
857
  console.log(` ${c.cyan}figma${c.reset} ${c.dim}\xB7${c.reset} claude mcp add --transport http -s user figma https://mcp.figma.com/mcp`);
858
+ console.log(` ${c.cyan}linear${c.reset} ${c.dim}\xB7${c.reset} claude mcp add --transport http -s user linear https://mcp.linear.app/sse`);
859
+ console.log(` ${c.cyan}stripe${c.reset} ${c.dim}\xB7${c.reset} claude mcp add --transport http -s user stripe https://mcp.stripe.com`);
860
+ console.log(` ${c.cyan}vercel${c.reset} ${c.dim}\xB7${c.reset} claude mcp add --transport http -s user vercel https://mcp.vercel.com`);
833
861
  }
834
862
 
835
863
  // src/cli.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "start-vibing",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "Setup Claude Code agents, skills, and hooks in your project. Smart copy that preserves your custom domains and configurations.",
5
5
  "type": "module",
6
6
  "bin": {