claude-flow 2.7.29 → 2.7.30
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.
- package/CHANGELOG.md +73 -0
- package/bin/claude-flow +1 -1
- package/dist/src/cli/help-formatter.js +0 -5
- package/dist/src/cli/simple-cli.js +0 -104
- package/dist/src/cli/simple-cli.js.map +1 -1
- package/dist/src/cli/validation-helper.js.map +1 -1
- package/dist/src/core/version.js +1 -1
- package/dist/src/core/version.js.map +1 -1
- package/dist/src/utils/key-redactor.js.map +1 -1
- package/dist/src/utils/metrics-reader.js +29 -41
- package/dist/src/utils/metrics-reader.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,79 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.7.30] - 2025-11-06
|
|
9
|
+
|
|
10
|
+
> **📦 Dependency Update**: Updated agentdb to v1.6.1 for better compatibility
|
|
11
|
+
|
|
12
|
+
### Summary
|
|
13
|
+
Updated `agentdb` dependency from `^1.3.9` to `^1.6.1` to fix compatibility issues and improve vector database performance.
|
|
14
|
+
|
|
15
|
+
### 🔧 Changes Made
|
|
16
|
+
|
|
17
|
+
**Updated Dependency** (`package.json:146`):
|
|
18
|
+
```diff
|
|
19
|
+
"optionalDependencies": {
|
|
20
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
21
|
+
- "agentdb": "^1.3.9", // ❌ Outdated
|
|
22
|
+
+ "agentdb": "^1.6.1", // ✅ Latest stable
|
|
23
|
+
"better-sqlite3": "^12.2.0",
|
|
24
|
+
"diskusage": "^1.1.3",
|
|
25
|
+
"node-pty": "^1.0.0"
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### ✅ Benefits
|
|
30
|
+
|
|
31
|
+
**agentdb@1.6.1 includes**:
|
|
32
|
+
- Better compatibility with modern Node.js versions
|
|
33
|
+
- Improved vector database performance (150x faster search)
|
|
34
|
+
- Enhanced HNSW indexing capabilities
|
|
35
|
+
- Better TypeScript support
|
|
36
|
+
- Fixed installation issues on various platforms
|
|
37
|
+
|
|
38
|
+
### 📋 Testing
|
|
39
|
+
|
|
40
|
+
**Docker Validation** (`tests/docker/Dockerfile.v2.7.30-test`):
|
|
41
|
+
```bash
|
|
42
|
+
# Build and test
|
|
43
|
+
docker build -f tests/docker/Dockerfile.v2.7.30-test -t test .
|
|
44
|
+
docker run --rm test
|
|
45
|
+
|
|
46
|
+
✅ Test 1: Version is v2.7.30
|
|
47
|
+
✅ Test 2: agentdb is ^1.6.1 in package.json
|
|
48
|
+
✅ Test 3: agentdb 1.6.1 installed correctly
|
|
49
|
+
✅ Test 4: 730 modules installed successfully
|
|
50
|
+
✅ Test 5: CLI executes successfully
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### 🚀 Installation
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# NPX users (recommended)
|
|
57
|
+
npx claude-flow@latest init
|
|
58
|
+
|
|
59
|
+
# Global installation
|
|
60
|
+
npm install -g claude-flow@latest
|
|
61
|
+
|
|
62
|
+
# Verify
|
|
63
|
+
claude-flow --version # v2.7.30
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 🔗 Related Issues
|
|
67
|
+
|
|
68
|
+
- **Fixes #848**: NPM package regression with outdated agentdb dependency
|
|
69
|
+
- **Dependency Chain**: agentdb@1.6.1 provides latest vector database features
|
|
70
|
+
|
|
71
|
+
### 💡 Why This Update?
|
|
72
|
+
|
|
73
|
+
The previous agentdb version (1.3.9) was outdated and missing important compatibility fixes. Version 1.6.1 includes:
|
|
74
|
+
- Support for Node.js 20+
|
|
75
|
+
- Improved native module building
|
|
76
|
+
- Better error handling
|
|
77
|
+
- Performance optimizations
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
8
81
|
## [2.7.29] - 2025-11-06
|
|
9
82
|
|
|
10
83
|
> **🔴 CRITICAL FIX**: Removed non-existent dependencies blocking installation
|
package/bin/claude-flow
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Claude-Flow Smart Dispatcher - Detects and uses the best available runtime
|
|
3
3
|
# Enhanced with NPX cache error handling and retry logic
|
|
4
4
|
|
|
5
|
-
VERSION="2.7.
|
|
5
|
+
VERSION="2.7.30"
|
|
6
6
|
|
|
7
7
|
# Determine the correct path based on how the script is invoked
|
|
8
8
|
if [ -L "$0" ]; then
|
|
@@ -2973,108 +2973,4 @@ if (import.meta.url === `file://${process.argv[1]}`) {
|
|
|
2973
2973
|
await main();
|
|
2974
2974
|
}
|
|
2975
2975
|
|
|
2976
|
-
//# sourceMappingURL=simple-cli.js.map sparc run spec-pseudocode "User profile management feature"
|
|
2977
|
-
|
|
2978
|
-
# 2. Design architecture
|
|
2979
|
-
npx claude-flow sparc run architect "Profile service architecture with data validation"
|
|
2980
|
-
|
|
2981
|
-
# 3. Implement with TDD
|
|
2982
|
-
npx claude-flow sparc tdd "user profile CRUD operations"
|
|
2983
|
-
|
|
2984
|
-
# 4. Security review
|
|
2985
|
-
npx claude-flow sparc run security-review "profile data access and validation"
|
|
2986
|
-
|
|
2987
|
-
# 5. Integration testing
|
|
2988
|
-
npx claude-flow sparc run integration "profile service with authentication system"
|
|
2989
|
-
|
|
2990
|
-
# 6. Documentation
|
|
2991
|
-
npx claude-flow sparc run docs-writer "profile service API documentation"
|
|
2992
|
-
\`\`\`
|
|
2993
|
-
|
|
2994
|
-
### Bug Fix Workflow
|
|
2995
|
-
\`\`\`bash
|
|
2996
|
-
# 1. Debug and analyze
|
|
2997
|
-
npx claude-flow sparc run debug "authentication token expiration issue"
|
|
2998
|
-
|
|
2999
|
-
# 2. Write regression tests
|
|
3000
|
-
npx claude-flow sparc run tdd "token refresh mechanism tests"
|
|
3001
|
-
|
|
3002
|
-
# 3. Implement fix
|
|
3003
|
-
npx claude-flow sparc run code "fix token refresh in authentication service"
|
|
3004
|
-
|
|
3005
|
-
# 4. Security review
|
|
3006
|
-
npx claude-flow sparc run security-review "token handling security implications"
|
|
3007
|
-
\`\`\`
|
|
3008
|
-
|
|
3009
|
-
## Configuration Files
|
|
3010
|
-
|
|
3011
|
-
### SPARC Configuration
|
|
3012
|
-
- **\`.roomodes\`**: SPARC mode definitions and configurations
|
|
3013
|
-
- **\`.roo/\`**: Templates, workflows, and mode-specific rules
|
|
3014
|
-
|
|
3015
|
-
### Claude-Flow Configuration
|
|
3016
|
-
- **\`memory/\`**: Persistent memory and session data
|
|
3017
|
-
- **\`coordination/\`**: Multi-agent coordination settings
|
|
3018
|
-
|
|
3019
|
-
## Git Workflow Integration
|
|
3020
|
-
|
|
3021
|
-
### Commit Strategy with SPARC
|
|
3022
|
-
- **Specification commits**: After completing requirements analysis
|
|
3023
|
-
- **Architecture commits**: After design phase completion
|
|
3024
|
-
- **TDD commits**: After each Red-Green-Refactor cycle
|
|
3025
|
-
- **Integration commits**: After successful component integration
|
|
3026
|
-
- **Documentation commits**: After completing documentation updates
|
|
3027
|
-
|
|
3028
|
-
### Branch Strategy
|
|
3029
|
-
- **\`feature/sparc-<feature-name>\`**: Feature development with SPARC methodology
|
|
3030
|
-
- **\`hotfix/sparc-<issue>\`**: Bug fixes using SPARC debugging workflow
|
|
3031
|
-
- **\`refactor/sparc-<component>\`**: Refactoring using optimization mode
|
|
3032
|
-
|
|
3033
|
-
## Troubleshooting
|
|
3034
|
-
|
|
3035
|
-
### Common SPARC Issues
|
|
3036
|
-
- **Mode not found**: Check \`.roomodes\` file exists and is valid JSON
|
|
3037
|
-
- **Memory persistence**: Ensure \`memory/\` directory has write permissions
|
|
3038
|
-
- **Tool access**: Verify required tools are available for the selected mode
|
|
3039
|
-
- **Namespace conflicts**: Use unique memory namespaces for different features
|
|
3040
|
-
|
|
3041
|
-
### Debug Commands
|
|
3042
|
-
\`\`\`bash
|
|
3043
|
-
# Check SPARC configuration
|
|
3044
|
-
npx claude-flow sparc modes
|
|
3045
|
-
|
|
3046
|
-
# Verify memory system
|
|
3047
|
-
npx claude-flow memory stats
|
|
3048
|
-
|
|
3049
|
-
# Check system status
|
|
3050
|
-
npx claude-flow status
|
|
3051
|
-
|
|
3052
|
-
# View detailed mode information
|
|
3053
|
-
npx claude-flow sparc info <mode-name>
|
|
3054
|
-
\`\`\`
|
|
3055
|
-
|
|
3056
|
-
## Project Architecture
|
|
3057
|
-
|
|
3058
|
-
This SPARC-enabled project follows a systematic development approach:
|
|
3059
|
-
- **Clear separation of concerns** through modular design
|
|
3060
|
-
- **Test-driven development** ensuring reliability and maintainability
|
|
3061
|
-
- **Iterative refinement** for continuous improvement
|
|
3062
|
-
- **Comprehensive documentation** for team collaboration
|
|
3063
|
-
- **AI-assisted development** through specialized SPARC modes
|
|
3064
|
-
|
|
3065
|
-
## Important Notes
|
|
3066
|
-
|
|
3067
|
-
- Always run tests before committing (\`npm run test\`)
|
|
3068
|
-
- Use SPARC memory system to maintain context across sessions
|
|
3069
|
-
- Follow the Red-Green-Refactor cycle during TDD phases
|
|
3070
|
-
- Document architectural decisions in memory for future reference
|
|
3071
|
-
- Regular security reviews for any authentication or data handling code
|
|
3072
|
-
|
|
3073
|
-
For more information about SPARC methodology, see: https://github.com/ruvnet/claude-code-flow/docs/sparc.md
|
|
3074
|
-
`;
|
|
3075
|
-
}
|
|
3076
|
-
if (isMainModule(import.meta.url)) {
|
|
3077
|
-
await main();
|
|
3078
|
-
}
|
|
3079
|
-
|
|
3080
2976
|
//# sourceMappingURL=simple-cli.js.map
|