claude-flow 3.5.14 → 3.5.15

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.
@@ -47,7 +47,7 @@
47
47
  "hooks": [
48
48
  {
49
49
  "type": "command",
50
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" pre-bash",
50
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" pre-bash",
51
51
  "timeout": 5000
52
52
  }
53
53
  ]
@@ -59,7 +59,7 @@
59
59
  "hooks": [
60
60
  {
61
61
  "type": "command",
62
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" post-edit",
62
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" post-edit",
63
63
  "timeout": 10000
64
64
  }
65
65
  ]
@@ -70,7 +70,7 @@
70
70
  "hooks": [
71
71
  {
72
72
  "type": "command",
73
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" route",
73
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" route",
74
74
  "timeout": 10000
75
75
  }
76
76
  ]
@@ -81,12 +81,12 @@
81
81
  "hooks": [
82
82
  {
83
83
  "type": "command",
84
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" session-restore",
84
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" session-restore",
85
85
  "timeout": 15000
86
86
  },
87
87
  {
88
88
  "type": "command",
89
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/auto-memory-hook.mjs\" import",
89
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/auto-memory-hook.mjs\" import",
90
90
  "timeout": 8000
91
91
  }
92
92
  ]
@@ -97,7 +97,7 @@
97
97
  "hooks": [
98
98
  {
99
99
  "type": "command",
100
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" session-end",
100
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" session-end",
101
101
  "timeout": 10000
102
102
  }
103
103
  ]
@@ -108,7 +108,7 @@
108
108
  "hooks": [
109
109
  {
110
110
  "type": "command",
111
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/auto-memory-hook.mjs\" sync",
111
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/auto-memory-hook.mjs\" sync",
112
112
  "timeout": 10000
113
113
  }
114
114
  ]
@@ -120,11 +120,11 @@
120
120
  "hooks": [
121
121
  {
122
122
  "type": "command",
123
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" compact-manual"
123
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" compact-manual"
124
124
  },
125
125
  {
126
126
  "type": "command",
127
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" session-end",
127
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" session-end",
128
128
  "timeout": 5000
129
129
  }
130
130
  ]
@@ -134,11 +134,11 @@
134
134
  "hooks": [
135
135
  {
136
136
  "type": "command",
137
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" compact-auto"
137
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" compact-auto"
138
138
  },
139
139
  {
140
140
  "type": "command",
141
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" session-end",
141
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" session-end",
142
142
  "timeout": 6000
143
143
  }
144
144
  ]
@@ -149,7 +149,7 @@
149
149
  "hooks": [
150
150
  {
151
151
  "type": "command",
152
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" status",
152
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" status",
153
153
  "timeout": 3000
154
154
  }
155
155
  ]
@@ -160,7 +160,7 @@
160
160
  "hooks": [
161
161
  {
162
162
  "type": "command",
163
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" post-task",
163
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" post-task",
164
164
  "timeout": 5000
165
165
  }
166
166
  ]
@@ -171,7 +171,7 @@
171
171
  "hooks": [
172
172
  {
173
173
  "type": "command",
174
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/hook-handler.cjs\" post-task",
174
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs\" post-task",
175
175
  "timeout": 5000
176
176
  }
177
177
  ]
@@ -286,7 +286,7 @@
286
286
  },
287
287
  "statusLine": {
288
288
  "type": "command",
289
- "command": "node \"$(git rev-parse --show-toplevel)/.claude/helpers/statusline.cjs\""
289
+ "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/statusline.cjs\""
290
290
  },
291
291
  "mcpServers": {
292
292
  "claude-flow": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "3.5.14",
3
+ "version": "3.5.15",
4
4
  "description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -171,11 +171,11 @@ function hookCmdEsm(script, subcommand) {
171
171
  }
172
172
  /** Shorthand for CJS hook-handler commands */
173
173
  function hookHandlerCmd(subcommand) {
174
- return hookCmd('.claude/helpers/hook-handler.cjs', subcommand);
174
+ return hookCmd('"$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs"', subcommand);
175
175
  }
176
176
  /** Shorthand for ESM auto-memory-hook commands */
177
177
  function autoMemoryCmd(subcommand) {
178
- return hookCmdEsm('.claude/helpers/auto-memory-hook.mjs', subcommand);
178
+ return hookCmdEsm('"$CLAUDE_PROJECT_DIR/.claude/helpers/auto-memory-hook.mjs"', subcommand);
179
179
  }
180
180
  /**
181
181
  * Generate statusLine configuration for Claude Code
@@ -189,7 +189,7 @@ function generateStatusLineConfig(_options) {
189
189
  // directly for statusline commands, and `cmd /c` blocks stdin forwarding.
190
190
  return {
191
191
  type: 'command',
192
- command: `node .claude/helpers/statusline.cjs`,
192
+ command: `node "$CLAUDE_PROJECT_DIR/.claude/helpers/statusline.cjs"`,
193
193
  };
194
194
  }
195
195
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.5.14",
3
+ "version": "3.5.15",
4
4
  "type": "module",
5
5
  "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",