@claude-flow/cli 3.32.4 → 3.32.5

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,6 +1,6 @@
1
1
  {
2
2
  "manifest": {
3
- "version": "3.32.4",
3
+ "version": "3.32.5",
4
4
  "files": {
5
5
  "auto-memory-hook.mjs": "e3e1033b24704992ddef6b31c7fa9dd7fcd9e1af7935dd77ef73402b916b31e6",
6
6
  "hook-handler.cjs": "f87ec28684bfc5fd0a54c46bd2a53a3fb037defe71d0ea4b8a5cb88a2cd87a3f",
@@ -8,6 +8,6 @@
8
8
  "statusline.cjs": "af2703bdd710fb52af3221669266771ba1684157f34d77de21373890b5c2a126"
9
9
  }
10
10
  },
11
- "signature": "sexJgMxhPXdN6hdOAUxiBupen/PSnwe93zxnEiqok8TkWlA9ltiajTkC2ImizGlSUhuYBP6yfLoNCvH+nNlXCw==",
11
+ "signature": "5OD1HOgN6EGws9zwZPLOwHKEvI0Xq7paKis9hcyOuolduBTzVf7ng4+YQoHkMDr+aoFA0WtFHW1ZBOZ/pYuBBQ==",
12
12
  "algorithm": "ed25519"
13
13
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generation": 1,
4
- "generatedAt": "2026-07-17T19:12:15.849Z",
5
- "gitSha": "5122b0e7",
4
+ "generatedAt": "2026-07-17T20:16:41.277Z",
5
+ "gitSha": "b592160f",
6
6
  "catalog": {
7
7
  "agents": 164,
8
8
  "tools": 387,
@@ -6,7 +6,15 @@
6
6
  * `proxyCommand` in proxy.ts.
7
7
  */
8
8
  import type { Command } from '../types.js';
9
+ import { type ProxyStatus } from '../proxy/lifecycle.js';
9
10
  /** Pinned and reviewed; later upgrades remain explicit commands. */
10
11
  export declare const DEFAULT_PROXY_RELEASE = "0.4.0";
12
+ /**
13
+ * Human-oriented next steps for `ruflo proxy` and `ruflo proxy status`.
14
+ * Keep this independent of the command framework so the state-specific
15
+ * guidance has a small, direct regression-test surface.
16
+ */
17
+ export declare function proxyConsoleGuidance(status: ProxyStatus): string[];
18
+ export declare function printProxyConsoleGuidance(status: ProxyStatus): void;
11
19
  export declare const proxyLifecycleSubcommands: Command[];
12
20
  //# sourceMappingURL=proxy-lifecycle.d.ts.map
@@ -13,6 +13,53 @@ import { proxyTokenPath } from '../proxy/paths.js';
13
13
  import { removeInjectedToken, startTokenRefreshPump } from '../proxy/token-bridge.js';
14
14
  /** Pinned and reviewed; later upgrades remain explicit commands. */
15
15
  export const DEFAULT_PROXY_RELEASE = '0.4.0';
16
+ const PROXY_COMMAND = 'npx ruflo@latest proxy';
17
+ const AUTH_COMMAND = 'npx ruflo@latest auth';
18
+ /**
19
+ * Human-oriented next steps for `ruflo proxy` and `ruflo proxy status`.
20
+ * Keep this independent of the command framework so the state-specific
21
+ * guidance has a small, direct regression-test surface.
22
+ */
23
+ export function proxyConsoleGuidance(status) {
24
+ if (!status.installed) {
25
+ return [
26
+ '',
27
+ 'Next step',
28
+ ` ${PROXY_COMMAND} install --yes Install signed Meta-Proxy v${DEFAULT_PROXY_RELEASE}`,
29
+ '',
30
+ 'After installation, start it in the background:',
31
+ ` ${PROXY_COMMAND} start --service`,
32
+ ];
33
+ }
34
+ if (!status.running) {
35
+ return [
36
+ '',
37
+ 'Next step',
38
+ ` ${PROXY_COMMAND} start --service Start the proxy in the background`,
39
+ '',
40
+ 'Foreground mode (shows live logs; Ctrl+C stops it):',
41
+ ` ${PROXY_COMMAND} start`,
42
+ '',
43
+ 'Optional: enable Cognitum cloud routing (local-only is the default):',
44
+ ` ${AUTH_COMMAND} login`,
45
+ ` ${PROXY_COMMAND} config --cloud --yes`,
46
+ ];
47
+ }
48
+ return [
49
+ '',
50
+ 'Meta Proxy is ready.',
51
+ ` Logs: ${PROXY_COMMAND} logs`,
52
+ ` Stop: ${PROXY_COMMAND} stop`,
53
+ '',
54
+ 'Optional: enable Cognitum cloud routing (local-only is the default):',
55
+ ` ${AUTH_COMMAND} login`,
56
+ ` ${PROXY_COMMAND} config --cloud --yes`,
57
+ ];
58
+ }
59
+ export function printProxyConsoleGuidance(status) {
60
+ for (const line of proxyConsoleGuidance(status))
61
+ output.writeln(line);
62
+ }
16
63
  const INSTALL_DISCLOSURE = [
17
64
  'Installing the Meta LLM Proxy (ADR-304/307).',
18
65
  '',
@@ -163,14 +210,12 @@ const statusSub = {
163
210
  output.printJson(status);
164
211
  return { success: true, data: status };
165
212
  }
166
- output.writeln(`Installed: ${status.installed ? 'yes' : 'no'}`);
167
- output.writeln(`Running: ${status.running ? `yes (pid ${status.pid})` : 'no'}`);
213
+ output.writeln('Meta Proxy');
214
+ output.writeln(` Installation: ${status.installed ? 'ready' : 'not installed'}`);
215
+ output.writeln(` Process: ${status.running ? `running (pid ${status.pid})` : 'not running'}`);
168
216
  if (status.stalePidFile)
169
217
  output.writeln(' (a stale PID file was found and will be cleared on next start)');
170
- if (!status.installed)
171
- output.writeln(`Run: ruflo proxy install --yes (installs ${DEFAULT_PROXY_RELEASE})`);
172
- else if (!status.running)
173
- output.writeln('Run: ruflo proxy start');
218
+ printProxyConsoleGuidance(status);
174
219
  return { success: true, data: status };
175
220
  },
176
221
  };
@@ -23,7 +23,8 @@ import { clearRateLimitStatus, readRateLimitStatus } from '../funnel/rate-limit-
23
23
  import { clearQuotaLowStatus, readQuotaLowStatus } from '../funnel/power-saver-notifier.js';
24
24
  import { getInstalledCliVersion } from '../init/helper-refresh.js';
25
25
  import * as path from 'path';
26
- import { proxyLifecycleSubcommands } from './proxy-lifecycle.js';
26
+ import { proxyLifecycleSubcommands, printProxyConsoleGuidance } from './proxy-lifecycle.js';
27
+ import { getProxyStatus } from '../proxy/lifecycle.js';
27
28
  const PROXY_CONFIG_FILE = 'proxy-config.toml';
28
29
  /**
29
30
  * Minimal hand-rolled TOML writer — this config has exactly one boolean
@@ -387,11 +388,15 @@ export const proxyCommand = {
387
388
  { command: 'ruflo proxy power-saver-enable --yes', description: 'Opt into power saver mode' },
388
389
  { command: 'ruflo proxy training-share-enable --yes', description: 'Opt into training-data sharing (ADR-315)' },
389
390
  ],
390
- action: async (ctx) => {
391
- const { getProxyStatus } = await import('../proxy/lifecycle.js');
391
+ action: async () => {
392
392
  const status = getProxyStatus();
393
- output.writeln(`Installed: ${status.installed ? 'yes' : 'no'}; Running: ${status.running ? `yes (pid ${status.pid})` : 'no'}`);
394
- return sponsorStatusSub.action(ctx);
393
+ output.writeln('Meta Proxy');
394
+ output.writeln(` Installation: ${status.installed ? 'ready' : 'not installed'}`);
395
+ output.writeln(` Process: ${status.running ? `running (pid ${status.pid})` : 'not running'}`);
396
+ if (status.stalePidFile)
397
+ output.writeln(' (a stale PID file was found and will be cleared on next start)');
398
+ printProxyConsoleGuidance(status);
399
+ return { success: true, data: status };
395
400
  },
396
401
  };
397
402
  export default proxyCommand;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.32.4",
3
+ "version": "3.32.5",
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",