Release: v2.0.0-alpha.65
- Dominant language
- TypeScript
- Stars
- 72.6k
- Forks
- 8.6k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 85
Description
## 🚀 Release v2.0.0-alpha.65
### Overview
This release fixes a critical database schema issue and improves build stability.
### 🔧 Critical Bug Fixes
#### Database Schema Fix (#403)
- **Issue**: "table agents has no column named role" error when running `npx claude-flow hive-mind wizard`
- **Solution**: Added missing `role` column to agents table schema in init/index.js
- **Impact**: Hive-mind wizard now works correctly for new installations
### 🏗️ Build & Infrastructure Improvements
- Fixed critical TypeScript compilation errors
- Resolved ILogger interface issues
- Fixed async/await problems in hive-mind commands
- Added proper type annotations throughout codebase
- Improved build process stability
### 📚 Migration Guide
For users upgrading from alpha.64 or earlier who encounter the database error:
**Option 1 - Reinitialize (Recommended for new projects):**
```bash
rm -rf .hive-mind/hive.db
npx claude-flow@alpha init
```
**Option 2 - Manual Migration (For existing data):**
```bash
sqlite3 .hive-mind/hive.db "ALTER TABLE agents ADD COLUMN role TEXT"
```
### 📦 Installation
```bash
npm install -g claude-flow@alpha
# or
npx claude-flow@alpha [command]
```
### Related Issues
- Fixes #403 - Bug: table agents has no column named role
### Pull Request
- PR #414 - fix: Add missing role column to agents table schema
### Checklist
- [x] Version bumped to alpha.65
- [x] CHANGELOG updated
- [x] Database schema fix implemented
- [x] TypeScript errors reduced
- [x] Published to npm
- [ ] GitHub release created
- [x] Related issues updated
Contributor guide
Assessment
This issue has not been assessed yet.