valent-pipeline 0.2.10 → 0.2.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valent-pipeline",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "v3 multi-agent AI pipeline for software development lifecycle",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@ Use the standard 200k context window. Per `pipeline-config.yaml` `orchestration.
25
25
  After loading `pipeline-config.yaml`, check if visual validation infrastructure is required:
26
26
 
27
27
  1. If `project.type` is `fullstack-web` or `frontend-only`, verify `{tech_stack.browser_automation_mcp}` is accessible (e.g., `npx @anthropic-ai/playwright-mcp --version` or check `.claude/settings.json` for the MCP registration).
28
- 2. If not accessible → **STOP** with: `Browser automation MCP ({tech_stack.browser_automation_mcp}) is not installed. Visual validation cannot run. Install it with: npx valent-pipeline init --force (or npm install -g @anthropic-ai/{tech_stack.browser_automation_mcp}). Then re-run this epic.`
28
+ 2. If not accessible → **STOP** with: `Browser automation MCP ({tech_stack.browser_automation_mcp}) is not installed. Visual validation cannot run. Install it with: npx valent-pipeline init --force (or npm install -g @playwright/mcp). Then re-run this epic.`
29
29
 
30
30
  This is an infrastructure prerequisite. Don't waste tokens spawning Lead into a pipeline that can't run visual validation for UI projects.
31
31
 
@@ -18,7 +18,7 @@ Use the standard 200k context window. Auto-compression fires every 2-3 stories.
18
18
  After loading `pipeline-config.yaml`, check if visual validation infrastructure is required:
19
19
 
20
20
  1. If `project.type` is `fullstack-web` or `frontend-only`, verify `{tech_stack.browser_automation_mcp}` is accessible (e.g., `npx @anthropic-ai/playwright-mcp --version` or check `.claude/settings.json` for the MCP registration).
21
- 2. If not accessible → **STOP** with: `Browser automation MCP ({tech_stack.browser_automation_mcp}) is not installed. Visual validation cannot run. Install it with: npx valent-pipeline init --force (or npm install -g @anthropic-ai/{tech_stack.browser_automation_mcp}). Then re-run.`
21
+ 2. If not accessible → **STOP** with: `Browser automation MCP ({tech_stack.browser_automation_mcp}) is not installed. Visual validation cannot run. Install it with: npx valent-pipeline init --force (or npm install -g @playwright/mcp). Then re-run.`
22
22
 
23
23
  This is an infrastructure prerequisite. Don't waste tokens spawning Lead into a pipeline that can't run visual validation for UI projects.
24
24
 
@@ -23,7 +23,7 @@ If no argument is provided, resolve the next work item from the backlog (see Ste
23
23
  After loading `pipeline-config.yaml`, check if visual validation infrastructure is required:
24
24
 
25
25
  1. If `project.type` is `fullstack-web` or `frontend-only`, verify `{tech_stack.browser_automation_mcp}` is accessible (e.g., `npx @anthropic-ai/playwright-mcp --version` or check `.claude/settings.json` for the MCP registration).
26
- 2. If not accessible → **STOP** with: `Browser automation MCP ({tech_stack.browser_automation_mcp}) is not installed. Visual validation cannot run. Install it with: npx valent-pipeline init --force (or npm install -g @anthropic-ai/{tech_stack.browser_automation_mcp}). Then re-run this story.`
26
+ 2. If not accessible → **STOP** with: `Browser automation MCP ({tech_stack.browser_automation_mcp}) is not installed. Visual validation cannot run. Install it with: npx valent-pipeline init --force (or npm install -g @playwright/mcp). Then re-run this story.`
27
27
 
28
28
  This is an infrastructure prerequisite — same category as "does `pipeline-config.yaml` exist?" Don't waste tokens spawning Lead into a pipeline that can't run visual validation for UI projects.
29
29
 
@@ -106,13 +106,14 @@ export async function init(options = {}) {
106
106
  : config.install_browser_mcp;
107
107
  if (shouldInstallMcp) {
108
108
  const mcpName = config.tech_stack?.browser_automation_mcp || 'playwright-mcp';
109
- console.log(` Installing ${mcpName}...`);
109
+ const mcpPackage = '@playwright/mcp';
110
+ console.log(` Installing ${mcpPackage}...`);
110
111
  const { execSync } = await import('child_process');
111
112
  try {
112
- execSync(`npm install -g @anthropic-ai/${mcpName}`, { stdio: 'pipe' });
113
- console.log(` Installed ${mcpName}`);
113
+ execSync(`npm install -g ${mcpPackage}`, { stdio: 'pipe' });
114
+ console.log(` Installed ${mcpPackage}`);
114
115
  } catch (err) {
115
- console.warn(` Warning: Failed to install ${mcpName}. Run "npm install -g @anthropic-ai/${mcpName}" manually.`);
116
+ console.warn(` Warning: Failed to install ${mcpPackage}. Run "npm install -g ${mcpPackage}" manually.`);
116
117
  }
117
118
  // Register in .claude/settings.json mcpServers
118
119
  const mcpSettingsPath = join(projectRoot, '.claude', 'settings.json');
@@ -126,7 +127,7 @@ export async function init(options = {}) {
126
127
  if (!mcpSettings.mcpServers[mcpName]) {
127
128
  mcpSettings.mcpServers[mcpName] = {
128
129
  command: 'npx',
129
- args: [`@anthropic-ai/${mcpName}`]
130
+ args: [mcpPackage]
130
131
  };
131
132
  writeFileSafe(mcpSettingsPath, JSON.stringify(mcpSettings, null, 2) + '\n');
132
133
  console.log(` Registered ${mcpName} in .claude/settings.json`);