superclaude-kiro 1.0.2 → 1.0.4

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.
@@ -6,6 +6,9 @@
6
6
  "args": [
7
7
  "-y",
8
8
  "@modelcontextprotocol/server-sequential-thinking"
9
+ ],
10
+ "autoApprove": [
11
+ "sequentialthinking"
9
12
  ]
10
13
  },
11
14
  "context7": {
@@ -14,6 +17,10 @@
14
17
  "args": [
15
18
  "-y",
16
19
  "@upstash/context7-mcp"
20
+ ],
21
+ "autoApprove": [
22
+ "resolve-library-id",
23
+ "get-library-docs"
17
24
  ]
18
25
  },
19
26
  "playwright": {
@@ -22,6 +29,30 @@
22
29
  "args": [
23
30
  "-y",
24
31
  "@playwright/mcp@latest"
32
+ ],
33
+ "autoApprove": [
34
+ "browser_close",
35
+ "browser_resize",
36
+ "browser_console_messages",
37
+ "browser_handle_dialog",
38
+ "browser_evaluate",
39
+ "browser_file_upload",
40
+ "browser_fill_form",
41
+ "browser_install",
42
+ "browser_press_key",
43
+ "browser_type",
44
+ "browser_navigate",
45
+ "browser_navigate_back",
46
+ "browser_network_requests",
47
+ "browser_run_code",
48
+ "browser_take_screenshot",
49
+ "browser_snapshot",
50
+ "browser_click",
51
+ "browser_drag",
52
+ "browser_hover",
53
+ "browser_select_option",
54
+ "browser_tabs",
55
+ "browser_wait_for"
25
56
  ]
26
57
  },
27
58
  "serena": {
@@ -38,6 +69,31 @@
38
69
  "false",
39
70
  "--enable-gui-log-window",
40
71
  "false"
72
+ ],
73
+ "autoApprove": [
74
+ "list_dir",
75
+ "find_file",
76
+ "search_for_pattern",
77
+ "get_symbols_overview",
78
+ "find_symbol",
79
+ "find_referencing_symbols",
80
+ "replace_symbol_body",
81
+ "insert_after_symbol",
82
+ "insert_before_symbol",
83
+ "rename_symbol",
84
+ "write_memory",
85
+ "read_memory",
86
+ "list_memories",
87
+ "delete_memory",
88
+ "edit_memory",
89
+ "activate_project",
90
+ "get_current_config",
91
+ "check_onboarding_performed",
92
+ "onboarding",
93
+ "think_about_collected_information",
94
+ "think_about_task_adherence",
95
+ "think_about_whether_you_are_done",
96
+ "initial_instructions"
41
97
  ]
42
98
  }
43
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superclaude-kiro",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "SuperClaude Framework for Kiro CLI - Easy installation for teams",
5
5
  "type": "module",
6
6
  "bin": {
package/src/installer.js CHANGED
@@ -277,13 +277,29 @@ async function configureMcpServers() {
277
277
  newServers = await fs.readJson(templatePath);
278
278
  }
279
279
 
280
- // Merge MCP servers (existing takes precedence to preserve user customizations)
281
- const mergedConfig = {
282
- mcpServers: {
283
- ...newServers.mcpServers,
284
- ...existingConfig.mcpServers
285
- }
286
- };
280
+ // Deep merge MCP servers - add autoApprove from template while preserving user settings
281
+ const mergedServers = {};
282
+
283
+ // Start with all servers from both configs
284
+ const allServerNames = new Set([
285
+ ...Object.keys(newServers.mcpServers || {}),
286
+ ...Object.keys(existingConfig.mcpServers || {})
287
+ ]);
288
+
289
+ for (const serverName of allServerNames) {
290
+ const templateServer = newServers.mcpServers?.[serverName] || {};
291
+ const existingServer = existingConfig.mcpServers?.[serverName] || {};
292
+
293
+ // Deep merge: existing settings win, but add autoApprove from template if missing
294
+ mergedServers[serverName] = {
295
+ ...templateServer,
296
+ ...existingServer,
297
+ // Always use template's autoApprove (the whole point of this update)
298
+ ...(templateServer.autoApprove ? { autoApprove: templateServer.autoApprove } : {})
299
+ };
300
+ }
301
+
302
+ const mergedConfig = { mcpServers: mergedServers };
287
303
 
288
304
  await fs.ensureDir(path.join(KIRO_DIR, 'settings'));
289
305
  await fs.writeJson(mcpPath, mergedConfig, { spaces: 2 });