π Fix v1.1.1 - Template Path Error
What's Fixed
Critical bug fix for v1.1.0 where cak init and cak update commands failed with:
β Error: Template folder not found. Please reinstall the package.
Root Cause
The npm package was configured to include a template/ folder that didn't exist:
"files": ["bin/", "lib/", "template/"] β template/ doesn't exist!The actual template folder is .claude/, and the CLI code referenced the wrong path.
Changes
β package.json: Fixed files array
- "template/"
+ ".claude/"β lib/init.js: Fixed template path
- const templatePath = path.join(__dirname, '../template/.claude');
+ const templatePath = path.join(__dirname, '../.claude');β lib/update.js: Fixed template path
- const templatePath = path.join(__dirname, '../template/.claude');
+ const templatePath = path.join(__dirname, '../.claude');Testing
# Install the fixed version
npm install -g @champpaba/claude-agent-kit@1.1.1
# Test init command
cd your-project
cak init
# β
Should work now!
# Test update command
cak update
# β
Should work now!Upgrade Instructions
If you installed v1.1.0, upgrade immediately:
npm update -g @champpaba/claude-agent-kit
# Verify version
cak --version
# β 1.1.1Impact
- β
Fixes:
cak initcommand (initialize template in new projects) - β
Fixes:
cak updatecommand (update existing templates) - β No breaking changes - fully compatible with v1.1.0
π¦ Installation
npm install -g @champpaba/claude-agent-kit@1.1.1π€ Generated with Claude Code