claude-flow 2.7.32 → 2.7.34

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 (73) hide show
  1. package/.claude/settings.local.json +9 -2
  2. package/.claude/skills/agentic-jujutsu/SKILL.md +645 -0
  3. package/CHANGELOG.md +75 -0
  4. package/bin/claude-flow +1 -1
  5. package/dist/src/cli/commands/mcp.js +61 -7
  6. package/dist/src/cli/commands/mcp.js.map +1 -1
  7. package/dist/src/cli/help-formatter.js +5 -3
  8. package/dist/src/cli/help-formatter.js.map +1 -1
  9. package/dist/src/cli/simple-cli.js +173 -79
  10. package/dist/src/cli/simple-cli.js.map +1 -1
  11. package/dist/src/cli/validation-helper.js.map +1 -1
  12. package/dist/src/core/version.js +2 -2
  13. package/dist/src/core/version.js.map +1 -1
  14. package/dist/src/mcp/async/job-manager-mcp25.js +240 -0
  15. package/dist/src/mcp/async/job-manager-mcp25.js.map +1 -0
  16. package/dist/src/mcp/index.js +8 -0
  17. package/dist/src/mcp/index.js.map +1 -1
  18. package/dist/src/mcp/protocol/version-negotiation.js +182 -0
  19. package/dist/src/mcp/protocol/version-negotiation.js.map +1 -0
  20. package/dist/src/mcp/registry/mcp-registry-client-2025.js +210 -0
  21. package/dist/src/mcp/registry/mcp-registry-client-2025.js.map +1 -0
  22. package/dist/src/mcp/server-factory.js +189 -0
  23. package/dist/src/mcp/server-factory.js.map +1 -0
  24. package/dist/src/mcp/server-mcp-2025.js +283 -0
  25. package/dist/src/mcp/server-mcp-2025.js.map +1 -0
  26. package/dist/src/mcp/tool-registry-progressive.js +319 -0
  27. package/dist/src/mcp/tool-registry-progressive.js.map +1 -0
  28. package/dist/src/mcp/tools/_template.js +62 -0
  29. package/dist/src/mcp/tools/_template.js.map +1 -0
  30. package/dist/src/mcp/tools/loader.js +228 -0
  31. package/dist/src/mcp/tools/loader.js.map +1 -0
  32. package/dist/src/mcp/tools/system/search.js +224 -0
  33. package/dist/src/mcp/tools/system/search.js.map +1 -0
  34. package/dist/src/mcp/tools/system/status.js +168 -0
  35. package/dist/src/mcp/tools/system/status.js.map +1 -0
  36. package/dist/src/mcp/validation/schema-validator-2025.js +198 -0
  37. package/dist/src/mcp/validation/schema-validator-2025.js.map +1 -0
  38. package/dist/src/memory/swarm-memory.js +340 -421
  39. package/dist/src/memory/swarm-memory.js.map +1 -1
  40. package/docs/.claude-flow/metrics/performance.json +3 -3
  41. package/docs/.claude-flow/metrics/task-metrics.json +3 -3
  42. package/docs/.github-release-issue-v2.7.33.md +488 -0
  43. package/docs/AGENTDB_BRANCH_MERGE_VERIFICATION.md +436 -0
  44. package/docs/BRANCH_REVIEW_SUMMARY.md +439 -0
  45. package/docs/DEEP_CODE_REVIEW_v2.7.33.md +1159 -0
  46. package/docs/MCP_2025_FEATURE_CONFIRMATION.md +698 -0
  47. package/docs/NPM_PUBLISH_GUIDE_v2.7.33.md +628 -0
  48. package/docs/REGRESSION_TEST_REPORT_v2.7.33.md +397 -0
  49. package/docs/RELEASE_NOTES_v2.7.33.md +618 -0
  50. package/docs/RELEASE_READINESS_SUMMARY.md +377 -0
  51. package/docs/RELEASE_SUMMARY_v2.7.33.md +456 -0
  52. package/docs/agentic-flow-agentdb-mcp-integration.md +1198 -0
  53. package/docs/mcp-2025-implementation-summary.md +459 -0
  54. package/docs/mcp-spec-2025-implementation-plan.md +1330 -0
  55. package/docs/phase-1-2-implementation-summary.md +676 -0
  56. package/docs/regression-analysis-phase-1-2.md +555 -0
  57. package/package.json +5 -1
  58. package/src/cli/commands/mcp.ts +86 -9
  59. package/src/mcp/async/job-manager-mcp25.ts +456 -0
  60. package/src/mcp/index.ts +60 -0
  61. package/src/mcp/protocol/version-negotiation.ts +329 -0
  62. package/src/mcp/registry/mcp-registry-client-2025.ts +334 -0
  63. package/src/mcp/server-factory.ts +426 -0
  64. package/src/mcp/server-mcp-2025.ts +507 -0
  65. package/src/mcp/tool-registry-progressive.ts +539 -0
  66. package/src/mcp/tools/_template.ts +174 -0
  67. package/src/mcp/tools/loader.ts +362 -0
  68. package/src/mcp/tools/system/search.ts +276 -0
  69. package/src/mcp/tools/system/status.ts +206 -0
  70. package/src/mcp/validation/schema-validator-2025.ts +294 -0
  71. package/docs/AGENTDB_V1.6.1_DEEP_REVIEW.md +0 -386
  72. package/docs/RECENT_RELEASES_SUMMARY.md +0 -375
  73. package/docs/V2.7.31_RELEASE_NOTES.md +0 -375
@@ -1,375 +0,0 @@
1
- # claude-flow v2.7.31 Release Notes
2
-
3
- **Release Date**: 2025-11-06
4
- **Release Type**: Dependency Update (agentic-flow v1.9.4)
5
- **Risk Level**: LOW ✅
6
- **Git Tag**: `v2.7.31`
7
- **NPM**: `claude-flow@2.7.31` (latest, alpha)
8
-
9
- ---
10
-
11
- ## 🎯 Summary
12
-
13
- Updated `agentic-flow` dependency from `^1.8.10` to `^1.9.4`, adding enterprise-grade features including provider fallback, Supabase cloud integration, circuit breaker patterns, and enhanced reliability capabilities.
14
-
15
- ---
16
-
17
- ## 📦 Dependency Changes
18
-
19
- ### Updated Dependencies
20
- ```json
21
- {
22
- "agentic-flow": "^1.9.4" // Was: ^1.8.10
23
- }
24
- ```
25
-
26
- ### New Transitive Dependencies
27
- ```json
28
- {
29
- "@supabase/supabase-js": "^2.78.0" // Cloud database features
30
- }
31
- ```
32
-
33
- ### Unchanged (No Regression)
34
- - **agentdb**: `^1.6.1` (stable from v2.7.30)
35
- - **16 other dependencies**: All version numbers unchanged
36
- - **Full backwards compatibility**: No breaking changes
37
-
38
- ---
39
-
40
- ## ✨ New Features (via agentic-flow v1.9.4)
41
-
42
- ### 1. Enterprise Provider Fallback
43
- **Automatic failover chain**: `Gemini → Claude → OpenRouter → ONNX`
44
-
45
- - **Circuit breaker**: Prevents cascading failures in distributed systems
46
- - **Real-time health monitoring**: Automatic provider health checks
47
- - **Auto-recovery**: Seamless failover when providers are down
48
- - **Cost optimization**: 70% cost savings with intelligent routing
49
-
50
- **Usage**:
51
- ```bash
52
- # Check provider health
53
- npx agentic-flow@latest providers health
54
-
55
- # List available providers
56
- npx agentic-flow@latest providers list
57
- ```
58
-
59
- ### 2. Supabase Cloud Integration
60
- **Cloud database and authentication platform**
61
-
62
- - **Distributed coordination**: Multi-instance agent synchronization
63
- - **Real-time updates**: Live data synchronization across agents
64
- - **Authentication**: Secure cloud-based auth system
65
- - **Persistent storage**: Cloud-backed memory and state
66
-
67
- ### 3. Reliability Improvements
68
- **Enterprise-grade stability features**
69
-
70
- - **Checkpointing**: Automatic crash recovery
71
- ```bash
72
- npx agentic-flow@latest checkpoint save
73
- npx agentic-flow@latest checkpoint restore
74
- ```
75
- - **Budget controls**: Cost tracking and limits
76
- ```bash
77
- npx agentic-flow@latest cost budget --max 100
78
- ```
79
- - **Enhanced retry logic**: Intelligent error handling
80
- - **Performance monitoring**: Real-time diagnostics
81
-
82
- ### 4. Cost Optimization
83
- - **Provider selection**: Automatic cost-aware routing
84
- - **Token tracking**: Real-time usage monitoring
85
- - **Budget alerts**: Prevent overspending
86
- - **Analytics**: Cost analysis and recommendations
87
-
88
- ---
89
-
90
- ## 🔍 Risk Assessment: LOW ✅
91
-
92
- ### Why This Update is Safe
93
-
94
- 1. **Minimal Dependency Changes**
95
- - 16 existing dependencies: **All unchanged**
96
- - 1 new optional dependency: `@supabase/supabase-js`
97
- - No version bumps in critical dependencies
98
-
99
- 2. **Full Backwards Compatibility**
100
- - No breaking changes in agentic-flow API
101
- - All existing features continue to work
102
- - agentdb remains at v1.6.1 (no regression)
103
-
104
- 3. **Comprehensive Testing**
105
- - ✅ 8/8 Docker regression tests passed
106
- - ✅ Local validation complete
107
- - ✅ CLI, memory, ReasoningBank all functional
108
-
109
- ---
110
-
111
- ## 📋 Testing Results
112
-
113
- ### Docker Validation Suite
114
- **Image**: `claude-flow-test:v2.7.31`
115
- **Test File**: `tests/docker/Dockerfile.v2.7.31-test`
116
-
117
- ```bash
118
- # Build and run tests
119
- docker build -f tests/docker/Dockerfile.v2.7.31-test -t test .
120
- docker run --rm test
121
- ```
122
-
123
- **Test Results**:
124
- 1. ✅ **Version Check**: Claude-Flow v2.7.31 confirmed
125
- 2. ✅ **package.json**: agentic-flow ^1.9.4 present
126
- 3. ✅ **Installation**: agentic-flow 1.9.4 installed correctly
127
- 4. ✅ **No Regression**: agentdb still v1.6.1
128
- 5. ✅ **ReasoningBank**: Initialization successful
129
- 6. ✅ **Memory Command**: Functional
130
- 7. ✅ **CLI Execution**: Working correctly
131
- 8. ✅ **New Dependency**: @supabase/supabase-js@2.80.0 available
132
-
133
- ### Local Regression Tests
134
- ```bash
135
- ✅ CLI version: v2.7.31
136
- ✅ Memory stats: Working
137
- ✅ ReasoningBank init: Success
138
- ✅ agentdb: v1.6.1 (no regression)
139
- ```
140
-
141
- ---
142
-
143
- ## 💻 Installation
144
-
145
- ### For End Users
146
- ```bash
147
- # NPX (recommended for quick use)
148
- npx claude-flow@latest init
149
-
150
- # Global installation
151
- npm install -g claude-flow@latest
152
-
153
- # Local project installation
154
- npm install claude-flow@latest
155
-
156
- # Verify installation
157
- claude-flow --version # Output: v2.7.31
158
- ```
159
-
160
- ### For Developers
161
- ```bash
162
- # Clone repository
163
- git clone https://github.com/ruvnet/claude-flow.git
164
- cd claude-flow
165
-
166
- # Checkout v2.7.31 tag
167
- git checkout v2.7.31
168
-
169
- # Install dependencies
170
- npm install --legacy-peer-deps
171
-
172
- # Run tests
173
- npm test
174
- ```
175
-
176
- ---
177
-
178
- ## 🚀 New CLI Commands (via agentic-flow)
179
-
180
- ### Provider Management
181
- ```bash
182
- # List available LLM providers
183
- npx agentic-flow@latest providers list
184
-
185
- # Check provider health status
186
- npx agentic-flow@latest providers health
187
-
188
- # Get provider details
189
- npx agentic-flow@latest providers info gemini
190
- ```
191
-
192
- ### Cost Management
193
- ```bash
194
- # Analyze current costs
195
- npx agentic-flow@latest cost analyze
196
-
197
- # Set budget limit
198
- npx agentic-flow@latest cost budget --max 100
199
-
200
- # View cost history
201
- npx agentic-flow@latest cost history
202
- ```
203
-
204
- ### Checkpointing
205
- ```bash
206
- # Save current state
207
- npx agentic-flow@latest checkpoint save
208
-
209
- # List checkpoints
210
- npx agentic-flow@latest checkpoint list
211
-
212
- # Restore from checkpoint
213
- npx agentic-flow@latest checkpoint restore <id>
214
- ```
215
-
216
- ### Agent Management
217
- ```bash
218
- # List all 66 available agents
219
- npx agentic-flow@latest agents list
220
-
221
- # Get agent details
222
- npx agentic-flow@latest agent info coder
223
-
224
- # Run agent with task
225
- npx agentic-flow@latest agent run coder "Build REST API"
226
- ```
227
-
228
- ---
229
-
230
- ## 📊 Performance Metrics
231
-
232
- ### Installation
233
- - **Added packages**: 2
234
- - **Removed packages**: 16
235
- - **Changed packages**: 8
236
- - **Install time**: ~45 seconds (with --legacy-peer-deps)
237
- - **Total packages**: 730+ (consistent with v2.7.30)
238
-
239
- ### Runtime
240
- - **Startup time**: No regression (< 1s)
241
- - **Memory usage**: Similar to v2.7.30
242
- - **CLI responsiveness**: Excellent
243
- - **ReasoningBank init**: ~2-3 seconds
244
-
245
- ---
246
-
247
- ## 🔗 Related Documentation
248
-
249
- ### This Release
250
- - **CHANGELOG.md**: Full v2.7.31 release notes
251
- - **Docker Tests**: `tests/docker/Dockerfile.v2.7.31-test`
252
- - **Dependency Comparison**: `/tmp/compare-versions.md` (build artifact)
253
-
254
- ### Previous Release (v2.7.30)
255
- - **agentdb Update**: `docs/AGENTDB_V1.6.1_DEEP_REVIEW.md`
256
- - **Docker Tests**: `tests/docker/Dockerfile.agentdb-deep-review`
257
-
258
- ### General Documentation
259
- - **README.md**: Project overview and quick start
260
- - **CLAUDE.md**: Development guidelines and SPARC methodology
261
- - **GitHub**: https://github.com/ruvnet/claude-flow
262
-
263
- ---
264
-
265
- ## 🐛 Known Issues
266
-
267
- ### None Detected
268
- No known issues or regressions in v2.7.31. All tests passing.
269
-
270
- If you encounter any issues, please report at:
271
- - **GitHub Issues**: https://github.com/ruvnet/claude-flow/issues
272
-
273
- ---
274
-
275
- ## 🔄 Migration Guide
276
-
277
- ### From v2.7.30 to v2.7.31
278
- **No migration needed** - Drop-in replacement
279
-
280
- ```bash
281
- # Update existing installation
282
- npm install -g claude-flow@latest
283
-
284
- # Verify update
285
- claude-flow --version # Should show v2.7.31
286
- ```
287
-
288
- ### From v2.7.29 or Earlier
289
- If upgrading from v2.7.29 or earlier:
290
- 1. Update to v2.7.30 first (agentdb update)
291
- 2. Then update to v2.7.31 (agentic-flow update)
292
-
293
- Or directly update to v2.7.31 (fully compatible).
294
-
295
- ---
296
-
297
- ## 🎉 What's Next?
298
-
299
- ### Potential Future Enhancements
300
- Based on new agentic-flow v1.9.4 features:
301
-
302
- 1. **Cloud Coordination**: Leverage Supabase for distributed swarms
303
- 2. **Cost Dashboards**: Visual cost analytics and budget management
304
- 3. **Enhanced Checkpointing**: Automatic state recovery
305
- 4. **Provider Analytics**: Deep insights into LLM usage patterns
306
- 5. **Enterprise Features**: Multi-tenant support, SSO, audit logs
307
-
308
- ---
309
-
310
- ## 🙏 Credits
311
-
312
- ### Contributors
313
- - **rUv**: Package maintainer and primary developer
314
- - **Claude Code**: AI assistant for testing and documentation
315
- - **agentic-flow team**: Upstream dependency maintainers
316
-
317
- ### Dependencies
318
- - **agentic-flow@1.9.4**: Core agent orchestration platform
319
- - **agentdb@1.6.1**: High-performance vector database
320
- - **@supabase/supabase-js@2.78.0**: Cloud database integration
321
-
322
- ---
323
-
324
- ## 📝 Changelog Entry
325
-
326
- ```markdown
327
- ## [2.7.31] - 2025-11-06
328
-
329
- > **📦 Dependency Update**: Updated agentic-flow to v1.9.4 with new enterprise features
330
-
331
- ### Summary
332
- Updated `agentic-flow` dependency from `^1.8.10` to `^1.9.4` to add new enterprise features including Supabase cloud integration, provider fallback, circuit breaker patterns, and enhanced reliability features.
333
-
334
- ### Changes
335
- - agentic-flow: ^1.8.10 → ^1.9.4
336
- - NEW: @supabase/supabase-js@^2.78.0
337
- - agentdb: Still v1.6.1 (no regression)
338
-
339
- ### Testing
340
- ✅ 8/8 Docker tests passed
341
- ✅ All regression tests passed
342
- ✅ No breaking changes detected
343
-
344
- ### Risk: LOW
345
- - 16 existing dependencies unchanged
346
- - 1 new optional dependency
347
- - Full backwards compatibility
348
- ```
349
-
350
- ---
351
-
352
- ## 📅 Release Timeline
353
-
354
- - **2025-11-05**: agentdb updated to v1.6.1 (v2.7.30)
355
- - **2025-11-06**: agentic-flow updated to v1.9.4 (v2.7.31)
356
- - **Next**: Monitor for user feedback and potential hotfixes
357
-
358
- ---
359
-
360
- ## 🔍 Version Matrix
361
-
362
- | Package | v2.7.30 | v2.7.31 | Notes |
363
- |---------|---------|---------|-------|
364
- | claude-flow | 2.7.30 | **2.7.31** | ✅ Updated |
365
- | agentic-flow | 1.8.10 | **1.9.4** | ✅ Updated |
366
- | agentdb | 1.6.1 | 1.6.1 | ✅ Stable |
367
- | better-sqlite3 | 12.2.0 | 12.2.0 | ✅ Unchanged |
368
- | @anthropic-ai/sdk | 0.65.0 | 0.65.0 | ✅ Unchanged |
369
- | @supabase/supabase-js | - | **2.78.0** | ✨ NEW |
370
-
371
- ---
372
-
373
- **Release Notes Generated**: 2025-11-06
374
- **Document Version**: 1.0
375
- **Status**: ✅ Published and Validated