@axiomatic-labs/claudeflow 2.13.73 → 2.13.74

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.
Files changed (2) hide show
  1. package/lib/doctor.js +4 -2
  2. package/package.json +1 -1
package/lib/doctor.js CHANGED
@@ -42,7 +42,9 @@ function readPlaywrightCdpEndpoint(mcpPath) {
42
42
  const flagIdx = entry.args.indexOf('--cdp-endpoint');
43
43
  if (flagIdx === -1) return { state: 'no-flag', parsed };
44
44
  const value = entry.args[flagIdx + 1];
45
- const match = /localhost:(\d+)/.exec(value || '');
45
+ // Accept localhost OR 127.0.0.1 (v2.13.72+ writes the latter explicitly to
46
+ // dodge the IPv4/IPv6 dual-daemon trap — see observer-loopback lint test).
47
+ const match = /(?:localhost|127\.0\.0\.1):(\d+)/.exec(value || '');
46
48
  if (!match) return { state: 'unparseable', value, parsed };
47
49
  return { state: 'ok', port: Number(match[1]), flagIdx, parsed };
48
50
  }
@@ -78,7 +80,7 @@ function checkCdpPortMismatch(cwd) {
78
80
 
79
81
  function applyCdpPortFix(check) {
80
82
  const { mcpPath, expected, parsed, flagIdx } = check.fix;
81
- parsed.mcpServers.playwright.args[flagIdx + 1] = `http://localhost:${expected}`;
83
+ parsed.mcpServers.playwright.args[flagIdx + 1] = `http://127.0.0.1:${expected}`;
82
84
  fs.writeFileSync(mcpPath, JSON.stringify(parsed, null, 2) + '\n');
83
85
  }
84
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiomatic-labs/claudeflow",
3
- "version": "2.13.73",
3
+ "version": "2.13.74",
4
4
  "description": "Claudeflow — AI-powered development toolkit for Claude Code. Skills, agents, hooks, and quality gates that ship production apps.",
5
5
  "bin": {
6
6
  "claudeflow": "./bin/cli.js"