claude-flow 3.5.14 → 3.5.16

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.16",
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",
@@ -2805,7 +2805,7 @@ const statuslineCommand = {
2805
2805
  function getUserInfo() {
2806
2806
  let name = 'user';
2807
2807
  let gitBranch = '';
2808
- const modelName = 'Opus 4.5';
2808
+ const modelName = 'Opus 4.6 (1M context)';
2809
2809
  const isWindows = process.platform === 'win32';
2810
2810
  try {
2811
2811
  const nameCmd = isWindows
@@ -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
  /**
@@ -13,7 +13,7 @@ import type { InitOptions } from './types.js';
13
13
  /**
14
14
  * Generate optimized statusline script
15
15
  * Output format:
16
- * ▊ RuFlo V3 ● user │ ⎇ branch │ Opus 4.6
16
+ * ▊ RuFlo V3.5 ● user │ ⎇ branch │ Opus 4.6 (1M context)
17
17
  * ─────────────────────────────────────────────────────
18
18
  * 🏗️ DDD Domains [●●○○○] 2/5 ⚡ HNSW 150x
19
19
  * 🤖 Swarm ◉ [ 5/15] 👥 2 🪝 10/17 🟢 CVE 3/3 💾 4MB 🧠 63%
@@ -12,7 +12,7 @@
12
12
  /**
13
13
  * Generate optimized statusline script
14
14
  * Output format:
15
- * ▊ RuFlo V3 ● user │ ⎇ branch │ Opus 4.6
15
+ * ▊ RuFlo V3.5 ● user │ ⎇ branch │ Opus 4.6 (1M context)
16
16
  * ─────────────────────────────────────────────────────
17
17
  * 🏗️ DDD Domains [●●○○○] 2/5 ⚡ HNSW 150x
18
18
  * 🤖 Swarm ◉ [ 5/15] 👥 2 🪝 10/17 🟢 CVE 3/3 💾 4MB 🧠 63%
@@ -175,7 +175,7 @@ function getModelName() {
175
175
  const ts = usage[id] && usage[id].lastUsedAt ? new Date(usage[id].lastUsedAt).getTime() : 0;
176
176
  if (ts > latest) { latest = ts; modelId = id; }
177
177
  }
178
- if (modelId.includes('opus')) return 'Opus 4.6';
178
+ if (modelId.includes('opus')) return 'Opus 4.6 (1M context)';
179
179
  if (modelId.includes('sonnet')) return 'Sonnet 4.6';
180
180
  if (modelId.includes('haiku')) return 'Haiku 4.5';
181
181
  return modelId.split('-').slice(1, 3).join(' ');
@@ -191,7 +191,7 @@ function getModelName() {
191
191
  const settings = getSettings();
192
192
  if (settings && settings.model) {
193
193
  const m = settings.model;
194
- if (m.includes('opus')) return 'Opus 4.6';
194
+ if (m.includes('opus')) return 'Opus 4.6 (1M context)';
195
195
  if (m.includes('sonnet')) return 'Sonnet 4.6';
196
196
  if (m.includes('haiku')) return 'Haiku 4.5';
197
197
  }
@@ -578,7 +578,7 @@ function generateStatusline() {
578
578
  const lines = [];
579
579
 
580
580
  // Header
581
- let header = c.bold + c.brightPurple + '\\u258A RuFlo V3 ' + c.reset;
581
+ let header = c.bold + c.brightPurple + '\\u258A RuFlo V3.5 ' + c.reset;
582
582
  header += (swarm.coordinationActive ? c.brightCyan : c.dim) + '\\u25CF ' + c.brightCyan + git.name + c.reset;
583
583
  if (git.gitBranch) {
584
584
  header += ' ' + c.dim + '\\u2502' + c.reset + ' ' + c.brightBlue + '\\u23C7 ' + git.gitBranch + c.reset;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.5.14",
3
+ "version": "3.5.16",
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",