@axiomatic-labs/claudeflow 2.10.198 → 2.10.200

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/install.js +16 -6
  2. package/package.json +1 -1
package/lib/install.js CHANGED
@@ -77,12 +77,22 @@ async function run() {
77
77
  fs.copyFileSync(srcSettings, dstSettings);
78
78
  }
79
79
 
80
- // Copy .mcp.json (MCP server config)
81
- const srcMcp = path.join(path.dirname(srcClaude), '.mcp.json');
82
- const dstMcp = path.join(cwd, '.mcp.json');
83
- if (fs.existsSync(srcMcp)) {
84
- fs.copyFileSync(srcMcp, dstMcp);
85
- }
80
+ // Generate .mcp.json with project-specific CDP port
81
+ const cdpHash = require('crypto').createHash('sha1').update(cwd).digest();
82
+ const cdpPort = 9200 + (cdpHash.readUInt16BE(2) % 100);
83
+ const mcpConfig = {
84
+ mcpServers: {
85
+ playwright: {
86
+ command: "npx",
87
+ args: [
88
+ "@playwright/mcp@latest",
89
+ "--cdp-endpoint", `http://localhost:${cdpPort}`,
90
+ "--caps", "vision,devtools",
91
+ ],
92
+ },
93
+ },
94
+ };
95
+ fs.writeFileSync(path.join(cwd, '.mcp.json'), JSON.stringify(mcpConfig, null, 2) + '\n');
86
96
 
87
97
  // Copy all template-managed skills from the ZIP, including subskills.
88
98
  const srcSkills = path.join(srcClaude, 'skills');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiomatic-labs/claudeflow",
3
- "version": "2.10.198",
3
+ "version": "2.10.200",
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"