Skip to content

Commit 19f3eb3

Browse files
lapfelixclaude
andcommitted
Add --no-clean parameter to disable clean tool for safety
- Add optional includeClean parameter to getToolDefinitions() - Update XcodeServer constructor to accept includeClean option - Modify MCP server to parse --no-clean command line argument - Update CLI to support --no-clean with proper tool filtering - Clean tool is completely removed from tools list when disabled - Tool handlers return "Clean tool is disabled" error when accessed - Maintains backward compatibility (clean tool enabled by default) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 18ac4c2 commit 19f3eb3

19 files changed

+152
-912
lines changed

dist/XcodeServer.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ export declare class XcodeServer {
77
private environmentValidation;
88
private isValidated;
99
private canOperateInDegradedMode;
10-
constructor();
10+
private includeClean;
11+
constructor(options?: {
12+
includeClean?: boolean;
13+
});
1114
/**
1215
* Validates the environment and sets up the server accordingly
1316
*/

dist/XcodeServer.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)