claude-flow 3.5.45 → 3.5.46

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.45",
3
+ "version": "3.5.46",
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",
@@ -99,26 +99,15 @@ export function generateSettings(options) {
99
99
  enabled: options.runtime.enableNeural,
100
100
  },
101
101
  daemon: {
102
- autoStart: true,
102
+ autoStart: false, // Opt-in only — prevents unintended token consumption (#1427, #1330)
103
103
  workers: [
104
104
  'map', // Codebase mapping
105
105
  'audit', // Security auditing (critical priority)
106
106
  'optimize', // Performance optimization (high priority)
107
- 'consolidate', // Memory consolidation
108
- 'testgaps', // Test coverage gaps
109
- 'ultralearn', // Deep knowledge acquisition
110
- 'deepdive', // Deep code analysis
111
- 'document', // Auto-documentation for ADRs
112
- 'refactor', // Refactoring suggestions (DDD alignment)
113
- 'benchmark', // Performance benchmarking
114
107
  ],
115
108
  schedules: {
116
- audit: { interval: '1h', priority: 'critical' },
117
- optimize: { interval: '30m', priority: 'high' },
118
- consolidate: { interval: '2h', priority: 'low' },
119
- document: { interval: '1h', priority: 'normal', triggers: ['adr-update', 'api-change'] },
120
- deepdive: { interval: '4h', priority: 'normal', triggers: ['complex-change'] },
121
- ultralearn: { interval: '1h', priority: 'normal' },
109
+ audit: { interval: '4h', priority: 'critical' },
110
+ optimize: { interval: '2h', priority: 'high' },
122
111
  },
123
112
  },
124
113
  learning: {
@@ -1376,13 +1376,13 @@ export const hooksSessionStart = {
1376
1376
  properties: {
1377
1377
  sessionId: { type: 'string', description: 'Optional session ID' },
1378
1378
  restoreLatest: { type: 'boolean', description: 'Restore latest session state' },
1379
- startDaemon: { type: 'boolean', description: 'Auto-start worker daemon (default: true)' },
1379
+ startDaemon: { type: 'boolean', description: 'Start worker daemon (default: false — opt-in to prevent unintended token usage)' },
1380
1380
  },
1381
1381
  },
1382
1382
  handler: async (params) => {
1383
1383
  const sessionId = params.sessionId || `session-${Date.now()}`;
1384
1384
  const restoreLatest = params.restoreLatest;
1385
- const shouldStartDaemon = params.startDaemon !== false;
1385
+ const shouldStartDaemon = params.startDaemon === true;
1386
1386
  // Auto-start daemon if enabled
1387
1387
  let daemonStatus = { started: false };
1388
1388
  if (shouldStartDaemon) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.5.45",
3
+ "version": "3.5.46",
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",
@@ -94,7 +94,7 @@
94
94
  "@claude-flow/codex": "^3.0.0-alpha.8",
95
95
  "@claude-flow/embeddings": "^3.0.0-alpha.12",
96
96
  "@claude-flow/guidance": "^3.0.0-alpha.1",
97
- "@claude-flow/memory": "^3.0.0-alpha.11",
97
+ "@claude-flow/memory": "^3.0.0-alpha.12",
98
98
  "@claude-flow/plugin-gastown-bridge": "^0.1.3",
99
99
  "agentic-flow": "^3.0.0-alpha.1",
100
100
  "@ruvector/attention": "^0.1.4",