claude-flow 3.31.0 → 3.31.1
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.
|
|
3
|
+
"version": "3.31.1",
|
|
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",
|
|
@@ -125,10 +125,13 @@ async function maybeAutoDetectCodex(ctx, options) {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
// Cross-agent skill registration via skills.sh. Runs `npx --yes skills add
|
|
128
|
-
// ruvnet/ruflo
|
|
129
|
-
// (
|
|
130
|
-
//
|
|
131
|
-
//
|
|
128
|
+
// ruvnet/ruflo --skill ruflo --yes` so the *single* canonical ruflo skill
|
|
129
|
+
// (SKILL.md at the ruvnet/ruflo repo root — describes the platform + entry
|
|
130
|
+
// points) reaches whatever agent the project uses (Claude Code, Cursor,
|
|
131
|
+
// Copilot, Gemini, Cline, …). Users who want ALL 267 plugin-specific skills
|
|
132
|
+
// can run `npx skills add ruvnet/ruflo --all` themselves. Best-effort — never
|
|
133
|
+
// fails init. Opt-out: --no-skills-sh flag OR RUFLO_NO_SKILLS_SH=1. Skipped
|
|
134
|
+
// under --skip-claude and scripted `--format json` output.
|
|
132
135
|
//
|
|
133
136
|
// windowsHide silences the console flash the npx child would otherwise produce
|
|
134
137
|
// (anthropics/claude-code#14828 spawn hazard applies to hook-fired spawns,
|
|
@@ -145,17 +148,18 @@ async function maybeInstallSkillsSh(ctx) {
|
|
|
145
148
|
if (!commandExists('npx'))
|
|
146
149
|
return;
|
|
147
150
|
output.writeln();
|
|
148
|
-
output.printInfo('Registering ruflo with skills.sh (cross-agent
|
|
151
|
+
output.printInfo('Registering the core `ruflo` skill with skills.sh (cross-agent catalog)…');
|
|
149
152
|
const { spawnSync } = await import('child_process');
|
|
150
|
-
const result = spawnSync(npxCmd, ['--yes', 'skills', 'add', 'ruvnet/ruflo'], { cwd: ctx.cwd, stdio: 'pipe', timeout: 60_000, windowsHide: true, encoding: 'utf-8' });
|
|
153
|
+
const result = spawnSync(npxCmd, ['--yes', 'skills', 'add', 'ruvnet/ruflo', '--skill', 'ruflo', '--yes'], { cwd: ctx.cwd, stdio: 'pipe', timeout: 60_000, windowsHide: true, encoding: 'utf-8' });
|
|
151
154
|
if (result.status === 0) {
|
|
152
|
-
output.writeln(output.success(' ✓ ruflo
|
|
155
|
+
output.writeln(output.success(' ✓ ruflo registered via skills.sh — the platform skill is available to any agent in this project'));
|
|
156
|
+
output.writeln(output.dim(' Want all 267 plugin skills? npx skills add ruvnet/ruflo --all'));
|
|
153
157
|
output.writeln(output.dim(' Opt out next time: --no-skills-sh or RUFLO_NO_SKILLS_SH=1'));
|
|
154
158
|
}
|
|
155
159
|
else {
|
|
156
160
|
// Common non-fatal reasons: offline, npx cache miss, skills CLI version
|
|
157
161
|
// mismatch, unknown package. Log a soft note; users can retry manually.
|
|
158
|
-
output.writeln(output.dim(' skills.sh registration skipped (network or npx cache) — retry with: npx
|
|
162
|
+
output.writeln(output.dim(' skills.sh registration skipped (network or npx cache) — retry with: npx skills add ruvnet/ruflo --skill ruflo --yes'));
|
|
159
163
|
}
|
|
160
164
|
}
|
|
161
165
|
catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.1",
|
|
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",
|