Warn user about excessive non-builtin tools

main
Low
Unlisted
show a warning in web/'s /settings screen if the user has more than 20 enabled non-builtin tools from all MCP servers combined

Done!

Summary

Added a warning to the settings page that displays when users have more than 20 enabled non-builtin tools from MCP servers combined:

Changes to web/src/routes/settings/tool-settings-section.svelte:

  1. Imports: Added Alert components and AlertTriangle icon
  2. Logic (lines 77-87):
    • enabledNonBuiltinToolsCount: Counts enabled tools that are NOT builtin and NOT toolbox
    • showTooManyToolsWarning: Boolean that triggers when count > 20
  3. UI (lines 94-107): Warning alert displays only when threshold is exceeded, showing:
    • Alert title: "Too many tools enabled"
    • Current count of enabled non-builtin tools
    • Performance impact message
    • Suggestion to disable unused tools

✅ Type checks pass
✅ All tests pass