Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-13T21:02:35Z
- Changes: 3 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-13 21:02:35 +00:00
1 parent 671d3fcae4
commit 48ddaf268e
3 files changed
+16 -19

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@claude-flow/cli",
"version": "3.0.0-alpha.89",
"version": "3.0.0-alpha.90",
"type": "module",
"description": "CLI module - command parsing, prompts, output formatting",
"main": "dist/src/index.js",
@@ -487,6 +487,18 @@ All MCP tools now exposed via CLI commands in `@claude-flow/cli@3.0.0-alpha.7`:
2. **Null Coalescing** - Added null checks for optional response fields
- `agent pool`, `agent health`, `hive-mind status` now handle undefined values
3. **Init Source Directory Path Calculation** (alpha.90) - Fixed path calculation in `findSourceDir()`, `findSourceHelpersDir()`, and `findSourceClaudeDir()`
- Issue: Init command resulted in empty folders (skills, agents, commands, helpers)
- Root cause: Path calculation went up 4 levels from `dist/src/init` instead of 3 levels
- Fix: Changed `path.resolve(__dirname, '..', '..', '..', '..')` to `path.resolve(__dirname, '..', '..', '..')`
- Affected: 3 functions in `executor.ts` (lines 465, 584, 778)
- Result: Init now correctly populates 91 agents, 29 skills, 10 commands, 38 helpers
4. **Mac Settings Validation** (alpha.89) - Fixed Claude Code settings.json validation errors on macOS
- Issue: `PermissionRequest` hook type not recognized; permission patterns required `:*` syntax
- Fix: Removed `PermissionRequest` hook block; changed patterns from `*` to `:*` (e.g., `Bash(npx claude-flow:*)`)
- Affected: `settings-generator.ts`, `types.ts`, `.claude/settings.json`
#### Testing Results
```bash
+3 -18
View File
@@ -925,7 +925,7 @@
}
},
"@claude-flow/cli": {
"version": "3.0.0-alpha.89",
"version": "3.0.0-alpha.90",
"dependencies": {
"@claude-flow/aidefence": "^3.0.2",
"@claude-flow/embeddings": "^3.0.0-alpha.12",
@@ -1181,11 +1181,11 @@
}
},
"claude-flow": {
"version": "3.0.0-alpha.35",
"version": "3.0.0-alpha.37",
"license": "MIT",
"dependencies": {
"@claude-flow/aidefence": "^3.0.2",
"@claude-flow/cli": "3.0.0-alpha.88",
"@claude-flow/cli": "3.0.0-alpha.90",
"@claude-flow/embeddings": "^3.0.0-alpha.1",
"@claude-flow/hooks": "^3.0.0-alpha.2",
"@claude-flow/mcp": "^3.0.0-alpha.1",
@@ -1204,21 +1204,6 @@
"node": ">=18.0.0"
}
},
"claude-flow/node_modules/@claude-flow/cli": {
"version": "3.0.0-alpha.88",
"resolved": "https://registry.npmjs.org/@claude-flow/cli/-/cli-3.0.0-alpha.88.tgz",
"integrity": "sha512-oAmxDIHDiDGUpW/8rOgrOozii2S4+YCcnUpRj9UVGtcdEYFE7aDZZ9XLLt/XLV1+DOP/+OHrtbTjlNBYSXXhWA==",
"dependencies": {
"@claude-flow/aidefence": "^3.0.2",
"@claude-flow/embeddings": "^3.0.0-alpha.12",
"@claude-flow/shared": "^3.0.0-alpha.1"
},
"bin": {
"claude-flow": "bin/cli.js",
"claude-flow-mcp": "bin/mcp-server.js",
"cli": "bin/cli.js"
}
},
"node_modules/@actions/core": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-2.0.1.tgz",