phewsh 0.15.61 → 0.15.62

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.
@@ -439,15 +439,15 @@ async function main() {
439
439
  const dot = teal('●');
440
440
  const tools = `${toolCount} AI tool${toolCount !== 1 ? 's' : ''}`;
441
441
  if (hasProject && toolCount > 1) {
442
- console.log(` ${dot} ${sage('Welcome back. One shared memory of')} ${cream(projectName)}${sage(`, and ${tools} that all read it`)} ${slate('— switch tools mid-thought, nothing re-explained.')}`);
442
+ console.log(` ${dot} ${sage('phew you made it.')} ${slate('shh,')} ${cream(projectName)} ${sage(`and your ${tools} are aligned to one thread`)} ${slate('— switch mid-thought, nothing re-explained.')}`);
443
443
  } else if (hasProject) {
444
- console.log(` ${dot} ${sage('Welcome back. One verified memory of')} ${cream(projectName)} ${sage('— ready for whatever AI tool you reach for next.')}`);
444
+ console.log(` ${dot} ${sage('phew — you made it.')} ${slate('shh,')} ${sage('one verified memory of')} ${cream(projectName)} ${sage('— ready for whatever tool you reach for next.')}`);
445
445
  } else if (toolCount > 1) {
446
- console.log(` ${dot} ${sage(`Welcome — you made it. ${tools} here; this is where they share one thread.`)} ${slate('/init')} ${sage('to begin.')}`);
446
+ console.log(` ${dot} ${sage(`phew — you made it.`)} ${slate('shh,')} ${sage(`time to align your ${tools} to you and get down to business.`)} ${cream('/init')} ${sage('to begin.')}`);
447
447
  } else if (toolCount === 1) {
448
- console.log(` ${dot} ${sage('Welcome — you made it. Add Codex or Gemini and phewsh keeps every tool on the same page.')}`);
448
+ console.log(` ${dot} ${sage('phew — you made it.')} ${slate('shh,')} ${sage('add Codex or Gemini and phewsh keeps every tool aligned to you.')}`);
449
449
  } else {
450
- console.log(` ${dot} ${sage('Welcome — you made it. Install Claude Code, Codex, or Gemini and phewsh keeps them all on the same page.')}`);
450
+ console.log(` ${dot} ${sage('phew — you made it.')} ${slate('shh,')} ${sage('install Claude Code, Codex, or Gemini and phewsh keeps them aligned to you.')}`);
451
451
  }
452
452
  console.log('');
453
453
  } catch { /* the welcome is a flourish, never a blocker */ }
@@ -2469,7 +2469,15 @@ async function main() {
2469
2469
  rl.prompt();
2470
2470
  return;
2471
2471
  }
2472
- const target = cmdArg.trim().toLowerCase();
2472
+ // Forgiving aliases — people type the tool's everyday name, not its id.
2473
+ // `/use claude` should just work, not bounce off "Unknown route".
2474
+ const USE_ALIASES = {
2475
+ claude: 'claude-code', cc: 'claude-code', claudecode: 'claude-code',
2476
+ gpt: 'codex', chatgpt: 'codex', openai: 'codex',
2477
+ grokbuild: 'grok',
2478
+ };
2479
+ const raw = cmdArg.trim().toLowerCase();
2480
+ const target = USE_ALIASES[raw] || raw;
2473
2481
  if (target === 'api') {
2474
2482
  if (!config?.apiKey) {
2475
2483
  console.log(` ${ember('!')} ${sage('No API key set — run /key first.')}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phewsh",
3
- "version": "0.15.61",
3
+ "version": "0.15.62",
4
4
  "description": "Turn intent into action. Structure your thinking, execute your next step.",
5
5
  "bin": {
6
6
  "phewsh": "bin/phewsh.js"