-
Notifications
You must be signed in to change notification settings - Fork 14.4k
fix(config): migrate coreTools setting to tools.core #27947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0646cb6
4d91e11
6b2092d
d7fa933
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,9 +27,6 @@ export const USER_SETTINGS_PATH = path.join(USER_SETTINGS_DIR, 'settings.json'); | |
| // similar to how packages/cli/src/config/settings.ts handles it. | ||
| export interface Settings { | ||
| mcpServers?: Record<string, MCPServerConfig>; | ||
| coreTools?: string[]; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing References
|
||
| excludeTools?: string[]; | ||
| allowedTools?: string[]; | ||
| tools?: { | ||
| allowed?: string[]; | ||
| exclude?: string[]; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since
settings.tools.coreis now used instead ofcoreTools, the assertion on line 114 of this file should be updated to use the new nested configuration format. This aligns with removing backward compatibility logic for deprecated settings.References