claude-flow 3.31.1 → 3.31.2

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.31.1",
3
+ "version": "3.31.2",
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",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generation": 1,
4
- "generatedAt": "2026-07-15T16:11:08.066Z",
5
- "gitSha": "23abe26b",
4
+ "generatedAt": "2026-07-15T16:44:05.609Z",
5
+ "gitSha": "f00d78ff",
6
6
  "catalog": {
7
7
  "agents": 164,
8
8
  "tools": 387,
@@ -144,6 +144,21 @@ async function maybeInstallSkillsSh(ctx) {
144
144
  return;
145
145
  if (/^(1|true|on|yes)$/i.test(String(process.env.RUFLO_NO_SKILLS_SH || '')))
146
146
  return;
147
+ // Idempotency gate: if this project has already registered ruflo with
148
+ // skills.sh, don't re-clone the repo + re-fire a fresh install telemetry
149
+ // event on every `ruflo init --force` / `init upgrade` / etc. Each install
150
+ // pings skills.sh's leaderboard AND clones the whole ruvnet/ruflo repo
151
+ // (~50MB) — re-running per-init would silently inflate our own metrics
152
+ // (GitHub unique-cloners, skills.sh rank) and waste user bandwidth. This
153
+ // check makes the registration once-per-project, matching the intent.
154
+ const nodePath = await import('path');
155
+ const nodeFs = await import('fs');
156
+ const marker = nodePath.join(ctx.cwd, '.agents', 'skills', 'ruflo');
157
+ if (nodeFs.existsSync(marker)) {
158
+ output.writeln();
159
+ output.writeln(output.dim(' skills.sh registration already present at .agents/skills/ruflo — skipping'));
160
+ return;
161
+ }
147
162
  const npxCmd = process.platform === 'win32' ? 'npx.cmd' : 'npx';
148
163
  if (!commandExists('npx'))
149
164
  return;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.31.1",
3
+ "version": "3.31.2",
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",