claude-flow 3.5.12 → 3.5.13
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.13",
|
|
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",
|
|
@@ -149,21 +149,25 @@ export function generateSettings(options) {
|
|
|
149
149
|
};
|
|
150
150
|
return settings;
|
|
151
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* Detect if we're on Windows for platform-aware hook commands.
|
|
154
|
+
*/
|
|
155
|
+
const IS_WINDOWS = process.platform === 'win32';
|
|
152
156
|
/**
|
|
153
157
|
* Build a cross-platform hook command.
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
* with shell-quoting issues on Windows cmd.exe and PowerShell.
|
|
158
|
+
* On Windows, wraps with `cmd /c` to avoid PowerShell stdin/process issues
|
|
159
|
+
* that cause "UserPromptSubmit hook error" in Claude Code.
|
|
157
160
|
*/
|
|
158
161
|
function hookCmd(script, subcommand) {
|
|
159
|
-
|
|
162
|
+
const cmd = `node ${script} ${subcommand}`.trim();
|
|
163
|
+
return IS_WINDOWS ? `cmd /c ${cmd}` : cmd;
|
|
160
164
|
}
|
|
161
165
|
/**
|
|
162
166
|
* Build a cross-platform hook command for ESM scripts (.mjs).
|
|
163
|
-
* Same direct invocation — Node.js handles .mjs files natively.
|
|
164
167
|
*/
|
|
165
168
|
function hookCmdEsm(script, subcommand) {
|
|
166
|
-
|
|
169
|
+
const cmd = `node ${script} ${subcommand}`.trim();
|
|
170
|
+
return IS_WINDOWS ? `cmd /c ${cmd}` : cmd;
|
|
167
171
|
}
|
|
168
172
|
/** Shorthand for CJS hook-handler commands */
|
|
169
173
|
function hookHandlerCmd(subcommand) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.13",
|
|
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",
|