claude-flow 3.5.34 → 3.5.36
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-flow",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.36",
|
|
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",
|
|
@@ -154,40 +154,23 @@ export function generateSettings(options) {
|
|
|
154
154
|
*/
|
|
155
155
|
const IS_WINDOWS = process.platform === 'win32';
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
158
|
-
* Claude Code
|
|
159
|
-
*
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
return IS_WINDOWS ? '%CLAUDE_PROJECT_DIR%' : '$CLAUDE_PROJECT_DIR';
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Build a cross-platform hook command.
|
|
166
|
-
* On Windows, wraps with `cmd /c` to avoid PowerShell stdin/process issues
|
|
167
|
-
* that cause "UserPromptSubmit hook error" in Claude Code.
|
|
157
|
+
* Build a hook command using relative paths.
|
|
158
|
+
* Claude Code always runs hooks from the project root directory,
|
|
159
|
+
* so relative paths like ".claude/helpers/..." work reliably across
|
|
160
|
+
* all platforms without depending on $CLAUDE_PROJECT_DIR expansion.
|
|
161
|
+
* On Windows, wraps with `cmd /c` to avoid PowerShell stdin issues.
|
|
168
162
|
*/
|
|
169
163
|
function hookCmd(script, subcommand) {
|
|
170
164
|
const cmd = `node ${script} ${subcommand}`.trim();
|
|
171
165
|
return IS_WINDOWS ? `cmd /c ${cmd}` : cmd;
|
|
172
166
|
}
|
|
173
|
-
/**
|
|
174
|
-
* Build a cross-platform hook command for ESM scripts (.mjs).
|
|
175
|
-
*/
|
|
176
|
-
function hookCmdEsm(script, subcommand) {
|
|
177
|
-
const cmd = `node ${script} ${subcommand}`.trim();
|
|
178
|
-
return IS_WINDOWS ? `cmd /c ${cmd}` : cmd;
|
|
179
|
-
}
|
|
180
167
|
/** Shorthand for CJS hook-handler commands */
|
|
181
168
|
function hookHandlerCmd(subcommand) {
|
|
182
|
-
|
|
183
|
-
const quote = IS_WINDOWS ? '' : '"';
|
|
184
|
-
return hookCmd(`${quote}${dir}/.claude/helpers/hook-handler.cjs${quote}`, subcommand);
|
|
169
|
+
return hookCmd('.claude/helpers/hook-handler.cjs', subcommand);
|
|
185
170
|
}
|
|
186
171
|
/** Shorthand for ESM auto-memory-hook commands */
|
|
187
172
|
function autoMemoryCmd(subcommand) {
|
|
188
|
-
|
|
189
|
-
const quote = IS_WINDOWS ? '' : '"';
|
|
190
|
-
return hookCmdEsm(`${quote}${dir}/.claude/helpers/auto-memory-hook.mjs${quote}`, subcommand);
|
|
173
|
+
return hookCmd('.claude/helpers/auto-memory-hook.mjs', subcommand);
|
|
191
174
|
}
|
|
192
175
|
/**
|
|
193
176
|
* Generate statusLine configuration for Claude Code
|
|
@@ -199,11 +182,9 @@ function generateStatusLineConfig(_options) {
|
|
|
199
182
|
// The script runs after each assistant message (debounced 300ms).
|
|
200
183
|
// NOTE: statusline must NOT use `cmd /c` — Claude Code manages its stdin
|
|
201
184
|
// directly for statusline commands, and `cmd /c` blocks stdin forwarding.
|
|
202
|
-
const dir = projectDirVar();
|
|
203
|
-
const quote = IS_WINDOWS ? '' : '"';
|
|
204
185
|
return {
|
|
205
186
|
type: 'command',
|
|
206
|
-
command:
|
|
187
|
+
command: 'node .claude/helpers/statusline.cjs',
|
|
207
188
|
};
|
|
208
189
|
}
|
|
209
190
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.36",
|
|
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",
|