claude-flow 3.10.44 → 3.10.45
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.10.
|
|
3
|
+
"version": "3.10.45",
|
|
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",
|
|
@@ -251,7 +251,16 @@ async function spawnClaudeCodeInstance(swarmId, swarmName, objective, workers, f
|
|
|
251
251
|
// HIGH-02: Strict boolean check (=== true) instead of loose truthiness (!== false)
|
|
252
252
|
// to prevent undefined/null from being treated as "skip permissions".
|
|
253
253
|
// Behavior change: only explicit --dangerously-skip-permissions flag triggers skip.
|
|
254
|
-
|
|
254
|
+
// #2269: the arg parser normalizes kebab-case to camelCase (parser.ts:350,
|
|
255
|
+
// normalizeKey) and stores only the normalized key, so reading
|
|
256
|
+
// flags['dangerously-skip-permissions'] alone is always undefined. Accept
|
|
257
|
+
// both forms — mirroring the isNonInteractive pattern a few lines above.
|
|
258
|
+
// The deny clause must ALSO accept the yargs-style negation the parser
|
|
259
|
+
// produces for `--no-auto-permissions` (stored as `autoPermissions: false`,
|
|
260
|
+
// NOT `noAutoPermissions: true`); without this third clause, the deny half
|
|
261
|
+
// never fires and `--no-auto-permissions` is silently ignored.
|
|
262
|
+
const skipPermissions = (flags['dangerously-skip-permissions'] === true || flags.dangerouslySkipPermissions === true) &&
|
|
263
|
+
!(flags['no-auto-permissions'] || flags.noAutoPermissions || flags.autoPermissions === false);
|
|
255
264
|
if (skipPermissions) {
|
|
256
265
|
claudeArgs.push('--dangerously-skip-permissions');
|
|
257
266
|
if (!isNonInteractive) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.45",
|
|
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",
|