@sylphx/flow 2.1.6 → 2.1.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @sylphx/flow
2
2
 
3
+ ## 2.1.7 (2025-11-28)
4
+
5
+ ### 🐛 Bug Fixes
6
+
7
+ - **mcp:** approve MCP servers for Claude Code during attach ([19cdc3b](https://github.com/SylphxAI/flow/commit/19cdc3bea9df58bc9c1fe55242a8e2858c1303c1))
8
+
3
9
  ## 2.1.6 (2025-11-28)
4
10
 
5
11
  ### 🐛 Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/flow",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "One CLI to rule them all. Unified orchestration layer for Claude Code, OpenCode, Cursor and all AI development tools. Auto-detection, auto-installation, auto-upgrade.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -327,6 +327,12 @@ export class AttachManager {
327
327
  // Write updated config
328
328
  await fs.writeFile(configPath, JSON.stringify(config, null, 2));
329
329
 
330
+ // Approve MCP servers if target supports it (e.g., Claude Code needs enabledMcpjsonServers)
331
+ if (target.approveMCPServers) {
332
+ const serverNames = mcpServers.map((s) => s.name);
333
+ await target.approveMCPServers(projectPath, serverNames);
334
+ }
335
+
330
336
  // Track in manifest
331
337
  manifest.backup.config = {
332
338
  path: configPath,