@haposoft/cafekit 0.5.0 → 0.5.2

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/bin/install.js +8 -8
  2. package/package.json +1 -1
package/bin/install.js CHANGED
@@ -785,12 +785,12 @@ function checkGeminiCLI() {
785
785
  function installGeminiCLI() {
786
786
  console.log('\n⚙ Installing gemini-cli...');
787
787
  try {
788
- execSync('npm install -g @google/generative-ai-cli', { stdio: 'inherit' });
788
+ execSync('npm install -g @google/gemini-cli', { stdio: 'inherit' });
789
789
  console.log(' ✓ gemini-cli installed successfully');
790
790
  return true;
791
791
  } catch (error) {
792
792
  console.log(' ✗ Failed to install gemini-cli automatically');
793
- console.log(' Please run manually: npm install -g @google/generative-ai-cli');
793
+ console.log(' Please run manually: npm install -g @google/gemini-cli');
794
794
  return false;
795
795
  }
796
796
  }
@@ -802,7 +802,7 @@ async function promptInstallGemini() {
802
802
  });
803
803
 
804
804
  console.log('\n📦 Optional: Gemini CLI Installation');
805
- console.log(' hapo:inspect with ext mode requires gemini-cli');
805
+ console.log(' hapo:inspector with ext mode requires gemini-cli');
806
806
  console.log(' • Install now: Auto-install and configure API key');
807
807
  console.log(' • Skip: You can still use hapo:inspect in internal mode');
808
808
  console.log();
@@ -858,8 +858,8 @@ async function setupGeminiCLI() {
858
858
 
859
859
  if (!shouldInstall) {
860
860
  console.log('\n ℹ Skipped gemini-cli installation');
861
- console.log(' • hapo:inspect will work in internal mode (default)');
862
- console.log(' • To install later: npm install -g @google/generative-ai-cli');
861
+ console.log(' • hapo:inspector will work in internal mode (default)');
862
+ console.log(' • To install later: npm install -g @google/gemini-cli');
863
863
  return;
864
864
  }
865
865
 
@@ -877,7 +877,7 @@ async function setupGeminiCLI() {
877
877
  }
878
878
  } else {
879
879
  console.log('\n📝 Manual installation steps:');
880
- console.log(' 1. npm install -g @google/generative-ai-cli');
880
+ console.log(' 1. npm install -g @google/gemini-cli');
881
881
  console.log(' 2. Get API key: https://aistudio.google.com/apikey');
882
882
  console.log(' 3. gemini config set-key YOUR_API_KEY');
883
883
  }
@@ -965,8 +965,8 @@ async function main() {
965
965
  console.log();
966
966
  }
967
967
 
968
- // Setup Gemini CLI for hapo:inspect ext mode
969
- setupGeminiCLI();
968
+ // Setup Gemini CLI for hapo:inspector ext mode
969
+ await setupGeminiCLI();
970
970
 
971
971
  // Note: CLAUDE.md and docs/ are generated via /docs init command
972
972
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haposoft/cafekit",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Spec-Driven Development workflow for AI coding assistants. Supports Claude Code and Antigravity with spec-first workflows plus Claude Code hapo: skills.",
5
5
  "author": "Haposoft <nghialt@haposoft.com>",
6
6
  "license": "MIT",