@claude-flow/cli 3.27.2 → 3.27.3

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.
@@ -1 +1 @@
1
- 3.23.0
1
+ 3.25.6
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "manifest": {
3
- "version": "3.27.2",
3
+ "version": "3.27.3",
4
4
  "files": {
5
5
  "auto-memory-hook.mjs": "68be7e9a9eba7bf9c4e8a230db7bf61a243b965639f8504842799d6c6ca28762",
6
6
  "hook-handler.cjs": "2e4927ff158c0079a67a6f0ef0b99ac748d600d33798b0a5fbd5a6a82225ec03",
7
7
  "intelligence.cjs": "bd1f8e4b034944aee1df0391dc47ac2e8cc4b3aa542c65407a59d49620bbf76b",
8
- "statusline.cjs": "f553f12a34e7df405a64501cdedb684374ef92670279380bc95f625fc68b2d1b"
8
+ "statusline.cjs": "ca46b9c780fee974d4b54cfd610b3b09d77c78c40761dc49ae76355da2f643ba"
9
9
  }
10
10
  },
11
- "signature": "40Y8+mFRgH7LZZ5TeeDM6aIUcAKrNaN82nyJJzFyepx/HM1chZeK2yEUIbtPhyE0PdyoO4W1OuR3mlxLHgBjCA==",
11
+ "signature": "XuS7Mn0CwcqZYTTEoSRuCXG3f9fH7Mu7pILRJi86I+Qj4tDmaroqEhu8TWN1PEVXCK5tiLTMnG20ZxcY+twbDg==",
12
12
  "algorithm": "ed25519"
13
13
  }
@@ -597,7 +597,6 @@ function getCostFromStdin() {
597
597
  return null;
598
598
  }
599
599
 
600
- // Read package version from the first package.json we find.
601
600
  // Compares dotted-numeric version strings (e.g. "3.27.1" vs "3.27.10").
602
601
  // Returns >0 if a>b, <0 if a<b, 0 if equal-as-far-as-parseable. Deliberately
603
602
  // simple (no prerelease/build-metadata handling) — this only orders local
@@ -615,7 +614,11 @@ function compareVersions(a, b) {
615
614
  }
616
615
 
617
616
  function getPkgVersion() {
618
- let ver = '3.6';
617
+ // Baked in at generation time from the real running CLI's own resolved
618
+ // version (see generateStatuslineScript()'s doc comment) — correct even
619
+ // when this renders via a pure npx invocation with no local install for
620
+ // the candidate scan below to find.
621
+ let ver = "3.27.3";
619
622
  try {
620
623
  const home = os.homedir();
621
624
  const pkgPaths = [
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generation": 1,
4
- "generatedAt": "2026-07-14T04:02:10.768Z",
5
- "gitSha": "dbcfe15f",
4
+ "generatedAt": "2026-07-14T04:26:59.494Z",
5
+ "gitSha": "6643d44d",
6
6
  "catalog": {
7
7
  "agents": 164,
8
8
  "tools": 387,
@@ -9,6 +9,7 @@
9
9
  * - Shared settings cache
10
10
  * - Strict 2s timeouts on all shell calls
11
11
  */
12
+ import { getInstalledCliVersion } from './helper-refresh.js';
12
13
  /**
13
14
  * Generate optimized statusline script
14
15
  * Output format:
@@ -21,6 +22,18 @@
21
22
  */
22
23
  export function generateStatuslineScript(options) {
23
24
  const maxAgents = options.runtime.maxAgents;
25
+ // Resolved reliably HERE (inside the actual running CLI process, via
26
+ // getInstalledCliVersion()'s createRequire/findPackageRoot resolution) —
27
+ // never wrong at generation time. Baked in as getPkgVersion()'s fallback
28
+ // so a pure-npx render (no persistent local install: no marketplace
29
+ // checkout, no project node_modules, nothing under a global prefix — npx
30
+ // only ever installs into its own ephemeral, unpredictably-hashed
31
+ // ~/.npm/_npx/<hash>/ directory, which none of getPkgVersion()'s
32
+ // candidate paths can find) shows the real version instead of the
33
+ // previous hardcoded "3.6" placeholder. getPkgVersion()'s own runtime
34
+ // candidate scan still wins over this baked-in value when it finds
35
+ // something newer (e.g. a later `npm update` in the same project).
36
+ const bakedVersion = getInstalledCliVersion();
24
37
  return `#!/usr/bin/env node
25
38
  /**
26
39
  * RuFlo V3 Statusline — delegation build (#2195)
@@ -620,7 +633,6 @@ function getCostFromStdin() {
620
633
  return null;
621
634
  }
622
635
 
623
- // Read package version from the first package.json we find.
624
636
  // Compares dotted-numeric version strings (e.g. "3.27.1" vs "3.27.10").
625
637
  // Returns >0 if a>b, <0 if a<b, 0 if equal-as-far-as-parseable. Deliberately
626
638
  // simple (no prerelease/build-metadata handling) — this only orders local
@@ -638,7 +650,11 @@ function compareVersions(a, b) {
638
650
  }
639
651
 
640
652
  function getPkgVersion() {
641
- let ver = '3.6';
653
+ // Baked in at generation time from the real running CLI's own resolved
654
+ // version (see generateStatuslineScript()'s doc comment) — correct even
655
+ // when this renders via a pure npx invocation with no local install for
656
+ // the candidate scan below to find.
657
+ let ver = ${JSON.stringify(bakedVersion)};
642
658
  try {
643
659
  const home = os.homedir();
644
660
  const pkgPaths = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.27.2",
3
+ "version": "3.27.3",
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",