Skip to content

Commit 15bca05

Browse files
macOS26claude
andcommitted
Add mode tool to Coding group (was coding_mode)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 135a220 commit 15bca05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AgentXcode/Agent/Services/ToolPreferencesService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class ToolPreferencesService {
2929

3030
/// Tool group definitions - maps group name to tool name prefixes
3131
static let toolGroups: [String: Set<String>] = [
32-
"Coding": Set(["xcode", "file_manager", "project_folder", "coding_mode"]),
32+
"Coding": Set(["xcode", "file_manager", "project_folder", "mode"]),
3333
"Automation": Set(["applescript_tool", "accessibility", "javascript_tool", "lookup_sdef"]),
3434
"Experimental": Set(["selenium", "ax_screenshot"]),
3535
"Core": Set(["task_complete", "list_tools", "web_search"]),

AgentXcode/Agent/Views/ToolsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ struct ToolsView: View {
99

1010
// Group definitions matching ToolPreferencesService — use exact name sets to avoid overlap
1111
static let groups: [String: (filter: (AgentTools.ToolDef) -> Bool, icon: String)] = [
12-
"Coding": ({ ["read_file", "write_file", "edit_file", "create_diff", "apply_diff", "diff_and_apply", "undo_edit", "list_files", "search_files", "read_dir", "file_manager", "xcode", "project_folder", "coding_mode"].contains($0.name) }, "chevron.left.forwardslash.chevron.right"),
12+
"Coding": ({ ["read_file", "write_file", "edit_file", "create_diff", "apply_diff", "diff_and_apply", "undo_edit", "list_files", "search_files", "read_dir", "file_manager", "xcode", "project_folder", "mode"].contains($0.name) }, "chevron.left.forwardslash.chevron.right"),
1313
"Automation": ({ ["applescript_tool", "accessibility", "javascript_tool", "lookup_sdef"].contains($0.name) }, "gearshape.2"),
1414
"Experimental": ({ ["ax_screenshot", "selenium"].contains($0.name) }, "flask"),
1515
"Core": ({ ["task_complete", "list_tools", "web_search"].contains($0.name) }, "checkmark.circle"),

0 commit comments

Comments
 (0)