mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 22:53:17 +09:00
- Reorganize v3/ into implementation/ subfolders: - planning/, architecture/, migration/, integration/ - security/, adrs/, research/, swarm-plans/ - Add 15-agent concurrent swarm implementation plans: - SWARM-OVERVIEW.md: Hierarchical mesh topology, 4 phases - AGENT-SPECIFICATIONS.md: 15 agent configs with capabilities - TDD-LONDON-SCHOOL-PLAN.md: Mock-first TDD methodology - BENCHMARK-OPTIMIZATION.md: Performance targets (2.49x-7.47x) - DEPLOYMENT-PLAN.md: Release strategy, CI/CD, rollback - GITHUB-ISSUE-TRACKING.md: Issue workflow with agent replies - Update .claude/settings.json with proper hooks format - Add bash aliases for claude --dangerously-skip-permissions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
250 lines
7.0 KiB
Markdown
250 lines
7.0 KiB
Markdown
# claude-flow v2.7.25 Release Notes
|
|
|
|
**Date:** January 25, 2025
|
|
**Version:** 2.7.25
|
|
**Status:** ✅ Published to npm (alpha channel)
|
|
|
|
---
|
|
|
|
## 🎉 Summary
|
|
|
|
This release integrates **agentic-flow@1.8.9** which provides a **clean, error-free npx experience** for memory commands by detecting npx environments and gracefully using hash-based embeddings.
|
|
|
|
## Key Changes
|
|
|
|
### 1. ✨ Clean NPX Experience (No More ONNX/WASM Errors)
|
|
|
|
**What was fixed:**
|
|
- npx installations no longer show confusing ONNX/WASM initialization errors
|
|
- Clean, professional output with helpful guidance
|
|
|
|
**Before (v2.7.24):**
|
|
```bash
|
|
npx claude-flow@alpha memory store "test" "value"
|
|
|
|
[Embeddings] Initializing local embedding model...
|
|
Error: Attempt to use DefaultLogger but none has been registered.
|
|
Something went wrong during model construction. Using `wasm` as a fallback.
|
|
[Embeddings] Failed to initialize: no available backend found.
|
|
[Embeddings] Falling back to hash-based embeddings
|
|
✅ Stored successfully
|
|
```
|
|
|
|
**After (v2.7.25):**
|
|
```bash
|
|
npx claude-flow@alpha memory store "test" "value"
|
|
|
|
[Embeddings] NPX environment detected - using hash-based embeddings
|
|
[Embeddings] For semantic search, install globally: npm install -g claude-flow
|
|
✅ Stored successfully
|
|
```
|
|
|
|
### 2. 🚀 Updated to agentic-flow@1.8.9
|
|
|
|
**What's included:**
|
|
- NPX environment detection
|
|
- Automatic hash-based embeddings fallback
|
|
- Clean error-free initialization
|
|
- Helpful user guidance
|
|
|
|
**Benefits:**
|
|
- **Professional user experience** - No confusing error messages
|
|
- **Full functionality** - All memory commands work perfectly
|
|
- **Clear upgrade path** - Users know how to get semantic search
|
|
- **Zero breaking changes** - Backward compatible
|
|
|
|
---
|
|
|
|
## Installation
|
|
|
|
### NPX (Recommended for Quick Use)
|
|
```bash
|
|
npx claude-flow@alpha memory store "key" "value"
|
|
```
|
|
- ✅ Works out of the box
|
|
- ✅ Uses hash-based embeddings (text similarity)
|
|
- ✅ No setup required
|
|
|
|
### Global Installation (For Semantic Search)
|
|
```bash
|
|
npm install -g claude-flow@alpha
|
|
claude-flow memory store "key" "value"
|
|
```
|
|
- ✅ Full transformer model support
|
|
- ✅ True semantic similarity (finds related concepts)
|
|
- ✅ 384-dimensional embeddings with Xenova/all-MiniLM-L6-v2
|
|
|
|
---
|
|
|
|
## Memory System Behavior
|
|
|
|
### NPX Environment
|
|
- **Embeddings:** Hash-based (deterministic, fast, offline)
|
|
- **Query matching:** Text similarity (exact/partial matches)
|
|
- **Performance:** Instant (no model loading)
|
|
- **Use case:** Quick prototyping, simple key-value storage
|
|
|
|
### Local Installation
|
|
- **Embeddings:** Transformer-based (Xenova/all-MiniLM-L6-v2)
|
|
- **Query matching:** Semantic similarity (finds related concepts)
|
|
- **Performance:** 50-100ms per query (after model loads)
|
|
- **Use case:** Production use, semantic search, RAG applications
|
|
|
|
---
|
|
|
|
## Upgrade Guide
|
|
|
|
### From v2.7.24
|
|
```bash
|
|
# No changes required - fully backward compatible
|
|
npm install -g claude-flow@alpha
|
|
```
|
|
|
|
### From v2.7.23 or earlier
|
|
- All previous memory data preserved in `.swarm/memory.db`
|
|
- No migration needed
|
|
- Hash-based and transformer embeddings work with same database
|
|
|
|
---
|
|
|
|
## Technical Details
|
|
|
|
### Dependencies Updated
|
|
- `agentic-flow`: ^1.8.7 → ^1.8.9
|
|
|
|
### What's Under the Hood
|
|
|
|
**NPX Detection Logic (agentic-flow@1.8.9):**
|
|
```typescript
|
|
const isNpx = process.env.npm_config_user_agent?.includes('npx') ||
|
|
process.cwd().includes('_npx') ||
|
|
process.cwd().includes('npm/_npx');
|
|
|
|
if (isNpx && !process.env.FORCE_TRANSFORMERS) {
|
|
console.log('[Embeddings] NPX environment detected - using hash-based embeddings');
|
|
console.log('[Embeddings] For semantic search, install globally: npm install -g claude-flow');
|
|
return false; // Skip transformer initialization
|
|
}
|
|
```
|
|
|
|
**Result:**
|
|
- Clean initialization
|
|
- No ONNX/WASM errors
|
|
- Helpful user guidance
|
|
- Full functionality maintained
|
|
|
|
---
|
|
|
|
## Release Timeline
|
|
|
|
**agentic-flow progression:**
|
|
- v1.8.6: Initial local embeddings with transformers.js
|
|
- v1.8.7: Config file copying and WASM fixes
|
|
- v1.8.8: WASM backend proxy configuration
|
|
- v1.8.9: **NPX environment detection (final clean solution)** ✅
|
|
|
|
**claude-flow progression:**
|
|
- v2.7.21: SQLite + ReasoningBank integration
|
|
- v2.7.22: Attempted postinstall log fix (didn't work for npx)
|
|
- v2.7.23: Fixed yoctocolors-cjs dependency
|
|
- v2.7.24: Local embeddings integration (had ONNX/WASM errors in npx)
|
|
- v2.7.25: **Clean npx experience with agentic-flow@1.8.9** ✅
|
|
|
|
---
|
|
|
|
## Testing
|
|
|
|
### Verified Scenarios
|
|
|
|
**1. NPX Installation (Clean Experience):**
|
|
```bash
|
|
npx claude-flow@alpha memory store "test" "Clean npx experience!"
|
|
# ✅ No errors, clean output, helpful guidance
|
|
|
|
npx claude-flow@alpha memory query "test"
|
|
# ✅ Works with hash-based embeddings
|
|
|
|
npx claude-flow@alpha memory list
|
|
# ✅ Shows all stored memories
|
|
```
|
|
|
|
**2. Local Installation (Full Semantic Search):**
|
|
```bash
|
|
npm install -g claude-flow@alpha
|
|
claude-flow memory store "api-design" "REST with JWT auth"
|
|
# ✅ Transformer model loads successfully
|
|
|
|
claude-flow memory query "authentication patterns"
|
|
# ✅ Semantic search finds related concepts
|
|
```
|
|
|
|
**3. Memory Persistence:**
|
|
- All data stored in `.swarm/memory.db`
|
|
- Works across npx and local installations
|
|
- No data loss during upgrades
|
|
|
|
---
|
|
|
|
## Breaking Changes
|
|
|
|
**None.** This release is fully backward compatible.
|
|
|
|
---
|
|
|
|
## Known Issues
|
|
|
|
**None.** All major issues from v2.7.24 have been resolved:
|
|
|
|
✅ ONNX DefaultLogger error - **Fixed** (npx detection)
|
|
✅ WASM backend failure - **Fixed** (clean fallback)
|
|
✅ Confusing error messages - **Fixed** (helpful guidance)
|
|
✅ yoctocolors-cjs missing - **Fixed** (v2.7.23)
|
|
✅ "Enabled: false" log - **Fixed** (v2.7.22/agentic-flow@1.8.5)
|
|
|
|
---
|
|
|
|
## Documentation
|
|
|
|
**Related Docs:**
|
|
- [TRANSFORMER_INITIALIZATION_ISSUE.md](./TRANSFORMER_INITIALIZATION_ISSUE.md) - Technical details of npx limitations
|
|
- [OPTIONAL_LOCAL_EMBEDDINGS.md](./OPTIONAL_LOCAL_EMBEDDINGS.md) - Optional semantic search guide
|
|
- [SQLITE_FIX_COMPLETE_v2.7.21.md](./SQLITE_FIX_COMPLETE_v2.7.21.md) - SQLite integration history
|
|
|
|
---
|
|
|
|
## Contributors
|
|
|
|
- **@rUv** - Package maintainer
|
|
- **Community feedback** - Testing and issue reporting
|
|
|
|
---
|
|
|
|
## Next Steps
|
|
|
|
**For Users:**
|
|
1. Try npx for quick testing: `npx claude-flow@alpha memory store "test" "value"`
|
|
2. Install globally for semantic search: `npm install -g claude-flow@alpha`
|
|
3. Report any issues on GitHub
|
|
|
|
**For Developers:**
|
|
1. Monitor npm CDN propagation (5-10 minutes)
|
|
2. Test in fresh Docker containers
|
|
3. Update documentation examples
|
|
|
|
---
|
|
|
|
## Links
|
|
|
|
- **Package:** https://www.npmjs.com/package/claude-flow/v/2.7.25
|
|
- **Repository:** https://github.com/ruvnet/claude-code-flow
|
|
- **Issues:** https://github.com/ruvnet/claude-code-flow/issues
|
|
- **Dependency:** https://www.npmjs.com/package/agentic-flow/v/1.8.9
|
|
|
|
---
|
|
|
|
## Conclusion
|
|
|
|
This release delivers on the promise of a **clean, professional npx experience** while maintaining **full backward compatibility** and **optional semantic search** for power users. The memory system now works beautifully in both npx and local installations with appropriate behavior for each environment.
|
|
|
|
**Upgrade today for the best memory command experience!** 🚀
|