@comfanion/workflow 4.36.28 → 4.36.29

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/bin/cli.js CHANGED
@@ -255,10 +255,25 @@ program
255
255
  message: 'Enable auto-indexing? (reindex files on save)',
256
256
  when: (answers) => answers.install_vectorizer,
257
257
  default: true
258
+ },
259
+ {
260
+ type: 'checkbox',
261
+ name: 'mcp_servers',
262
+ message: 'Select MCP servers to enable:',
263
+ choices: [
264
+ { name: 'context7 - Library docs for npm, Go, Python (recommended)', value: 'context7', checked: true },
265
+ { name: 'sequential-thinking - Enhanced reasoning for complex tasks', value: 'sequential-thinking', checked: false },
266
+ { name: 'playwright - Browser automation and testing', value: 'playwright', checked: false },
267
+ { name: 'chrome-devtools - Chrome debugging and inspection', value: 'chrome-devtools', checked: false },
268
+ { name: 'atlassian - Jira/Confluence integration', value: 'atlassian', checked: false },
269
+ { name: 'github - GitHub repos, issues, PRs', value: 'github', checked: false },
270
+ { name: 'postgres - PostgreSQL database queries', value: 'postgres', checked: false }
271
+ ]
258
272
  }
259
273
  ]);
260
274
 
261
275
  config = { ...config, ...answers };
276
+ config.mcp_servers = answers.mcp_servers || [];
262
277
  } else {
263
278
  // Apply CLI flags for non-interactive mode
264
279
  if (options.tdd) config.methodology = 'tdd';
@@ -488,6 +503,28 @@ program
488
503
  await fs.copy(changelogTemplate, changelogPath);
489
504
  }
490
505
  }
506
+
507
+ // Save MCP server selections (only if user made selections)
508
+ if (config.mcp_servers && config.mcp_servers.length > 0) {
509
+ spinner.text = 'Configuring MCP servers...';
510
+ const mcpEnabledPath = path.join(targetDir, 'mcp', 'enabled.yaml');
511
+
512
+ // Don't overwrite existing enabled.yaml if updating
513
+ if (!isUpdate || !await fs.pathExists(mcpEnabledPath)) {
514
+ let mcpContent = `# Enabled MCP Servers
515
+ # Your personal selection of MCP servers
516
+ # This file is NOT modified by updates
517
+
518
+ `;
519
+ for (const server of config.mcp_servers) {
520
+ mcpContent += `${server}:
521
+ enabled: true
522
+
523
+ `;
524
+ }
525
+ await fs.writeFile(mcpEnabledPath, mcpContent);
526
+ }
527
+ }
491
528
 
492
529
  // Install plugin dependencies
493
530
  spinner.text = 'Installing plugin dependencies...';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfanion/workflow",
3
- "version": "4.36.28",
3
+ "version": "4.36.29",
4
4
  "description": "Initialize OpenCode Workflow system for AI-assisted development with semantic code search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "4.36.28",
3
- "buildDate": "2026-01-24T20:51:16.620Z",
2
+ "version": "4.36.29",
3
+ "buildDate": "2026-01-24T20:54:34.023Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",