π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
fix(statusline): bake in the real CLI version, fixing the npx-only fallback
ruvb254e3215e89
diff --git a/.claude/helpers/statusline.cjs b/.claude/helpers/statusline.cjsindex 85f64b6188..afcffb035e 100755--- a/.claude/helpers/statusline.cjs+++ b/.claude/helpers/statusline.cjs@@ -597,7 +597,6 @@ function getCostFromStdin() {return null;}-// Read package version from the first package.json we find.// Compares dotted-numeric version strings (e.g. "3.27.1" vs "3.27.10").// Returns >0 if a>b, <0 if a<b, 0 if equal-as-far-as-parseable. Deliberately// simple (no prerelease/build-metadata handling) β this only orders local@@ -615,7 +614,11 @@ function compareVersions(a, b) {}function getPkgVersion() {- let ver = '3.6';+ // Baked in at generation time from the real running CLI's own resolved+ // version (see generateStatuslineScript()'s doc comment) β correct even+ // when this renders via a pure npx invocation with no local install for+ // the candidate scan below to find.+ let ver = "3.27.3";try {const home = os.homedir();const pkgPaths = [diff --git a/package-lock.json b/package-lock.jsonindex 7ccee7ed90..f9fc4c4b42 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "claude-flow",- "version": "3.27.1",+ "version": "3.27.3","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "claude-flow",- "version": "3.27.1",+ "version": "3.27.3","license": "MIT","dependencies": {"@claude-flow/cli-core": "3.7.0-alpha.5",diff --git a/package.json b/package.jsonindex f4b06d455a..66e28b9573 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "claude-flow",- "version": "3.27.1",+ "version": "3.27.3","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","main": "dist/index.js","type": "module",diff --git a/ruflo/package.json b/ruflo/package.jsonindex c64647885c..f3be246fb0 100644--- a/ruflo/package.json+++ b/ruflo/package.json@@ -1,6 +1,6 @@{"name": "ruflo",- "version": "3.27.1",+ "version": "3.27.3","description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration","main": "bin/ruflo.js","type": "module",diff --git a/v3/@claude-flow/cli/.claude/helpers/helpers.manifest.json b/v3/@claude-flow/cli/.claude/helpers/helpers.manifest.jsonindex e7f0980dac..c5ca847b41 100644--- a/v3/@claude-flow/cli/.claude/helpers/helpers.manifest.json+++ b/v3/@claude-flow/cli/.claude/helpers/helpers.manifest.json@@ -1,13 +1,12 @@{"manifest": {- "version": "3.27.2",+ "version": "3.23.0","files": {"auto-memory-hook.mjs": "68be7e9a9eba7bf9c4e8a230db7bf61a243b965639f8504842799d6c6ca28762",- "hook-handler.cjs": "2e4927ff158c0079a67a6f0ef0b99ac748d600d33798b0a5fbd5a6a82225ec03",- "intelligence.cjs": "bd1f8e4b034944aee1df0391dc47ac2e8cc4b3aa542c65407a59d49620bbf76b",- "statusline.cjs": "f553f12a34e7df405a64501cdedb684374ef92670279380bc95f625fc68b2d1b"+ "hook-handler.cjs": "bc4d2d26823d49b3ab1dded2946b66369f1f67bd76b4c30dca9f3b6df3cca8f0",+ "intelligence.cjs": "760cb82ed2000031abc1ac1fa90a014e7d91d93966e3aa4741b07ab7aff8d066"}},- "signature": "40Y8+mFRgH7LZZ5TeeDM6aIUcAKrNaN82nyJJzFyepx/HM1chZeK2yEUIbtPhyE0PdyoO4W1OuR3mlxLHgBjCA==",+ "signature": "of5l9RP68iPcmcC5dckDv+KIOiENJKifWxYKwQTwAiXiyRNNZuMwQ8y8Bd8+wGviTRxIzBfSuxL1nuJ/rX3xDQ==","algorithm": "ed25519"}diff --git a/v3/@claude-flow/cli/.claude/helpers/statusline.cjs b/v3/@claude-flow/cli/.claude/helpers/statusline.cjsindex 85f64b6188..afcffb035e 100644--- a/v3/@claude-flow/cli/.claude/helpers/statusline.cjs+++ b/v3/@claude-flow/cli/.claude/helpers/statusline.cjs@@ -597,7 +597,6 @@ function getCostFromStdin() {return null;}-// Read package version from the first package.json we find.// Compares dotted-numeric version strings (e.g. "3.27.1" vs "3.27.10").// Returns >0 if a>b, <0 if a<b, 0 if equal-as-far-as-parseable. Deliberately// simple (no prerelease/build-metadata handling) β this only orders local@@ -615,7 +614,11 @@ function compareVersions(a, b) {}function getPkgVersion() {- let ver = '3.6';+ // Baked in at generation time from the real running CLI's own resolved+ // version (see generateStatuslineScript()'s doc comment) β correct even+ // when this renders via a pure npx invocation with no local install for+ // the candidate scan below to find.+ let ver = "3.27.3";try {const home = os.homedir();const pkgPaths = [diff --git a/v3/@claude-flow/cli/catalog-manifest.json b/v3/@claude-flow/cli/catalog-manifest.jsonindex d4f8837644..0c5f406efb 100644--- a/v3/@claude-flow/cli/catalog-manifest.json+++ b/v3/@claude-flow/cli/catalog-manifest.json@@ -1,8 +1,8 @@{"schemaVersion": 1,"generation": 1,- "generatedAt": "2026-07-14T04:02:10.768Z",- "gitSha": "dbcfe15f",+ "generatedAt": "2026-07-14T04:26:59.494Z",+ "gitSha": "6643d44d","catalog": {"agents": 164,"tools": 387,diff --git a/v3/@claude-flow/cli/package-lock.json b/v3/@claude-flow/cli/package-lock.jsonindex 0830e9d2ae..39875f227c 100644--- a/v3/@claude-flow/cli/package-lock.json+++ b/v3/@claude-flow/cli/package-lock.json@@ -1,12 +1,12 @@{"name": "@claude-flow/cli",- "version": "3.27.2",+ "version": "3.27.3","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "@claude-flow/cli",- "version": "3.27.2",+ "version": "3.27.3","hasInstallScript": true,"license": "MIT","dependencies": {diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.jsonindex 7b76a5593b..52a1fcb8ba 100644--- a/v3/@claude-flow/cli/package.json+++ b/v3/@claude-flow/cli/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/cli",- "version": "3.27.2",+ "version": "3.27.3","type": "module","description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code","main": "dist/src/index.js",diff --git a/v3/@claude-flow/cli/src/init/statusline-generator.ts b/v3/@claude-flow/cli/src/init/statusline-generator.tsindex d74cef31bb..f7105f3c7e 100644--- a/v3/@claude-flow/cli/src/init/statusline-generator.ts+++ b/v3/@claude-flow/cli/src/init/statusline-generator.ts@@ -11,6 +11,7 @@*/import type { InitOptions } from './types.js';+import { getInstalledCliVersion } from './helper-refresh.js';/*** Generate optimized statusline script@@ -24,6 +25,18 @@ import type { InitOptions } from './types.js';*/export function generateStatuslineScript(options: InitOptions): string {const maxAgents = options.runtime.maxAgents;+ // Resolved reliably HERE (inside the actual running CLI process, via+ // getInstalledCliVersion()'s createRequire/findPackageRoot resolution) β+ // never wrong at generation time. Baked in as getPkgVersion()'s fallback+ // so a pure-npx render (no persistent local install: no marketplace+ // checkout, no project node_modules, nothing under a global prefix β npx+ // only ever installs into its own ephemeral, unpredictably-hashed+ // ~/.npm/_npx/<hash>/ directory, which none of getPkgVersion()'s+ // candidate paths can find) shows the real version instead of the+ // previous hardcoded "3.6" placeholder. getPkgVersion()'s own runtime+ // candidate scan still wins over this baked-in value when it finds+ // something newer (e.g. a later `npm update` in the same project).+ const bakedVersion = getInstalledCliVersion();return `#!/usr/bin/env node/**@@ -624,7 +637,6 @@ function getCostFromStdin() {return null;}-// Read package version from the first package.json we find.// Compares dotted-numeric version strings (e.g. "3.27.1" vs "3.27.10").// Returns >0 if a>b, <0 if a<b, 0 if equal-as-far-as-parseable. Deliberately// simple (no prerelease/build-metadata handling) β this only orders local@@ -642,7 +654,11 @@ function compareVersions(a, b) {}function getPkgVersion() {- let ver = '3.6';+ // Baked in at generation time from the real running CLI's own resolved+ // version (see generateStatuslineScript()'s doc comment) β correct even+ // when this renders via a pure npx invocation with no local install for+ // the candidate scan below to find.+ let ver = ${JSON.stringify(bakedVersion)};try {const home = os.homedir();const pkgPaths = [