mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +00:00
Refactored 1348-line monolithic file into proper folder structure following folder-pattern.md conventions: Structure: - components/ - UI components (card, header, settings, warning) - dialogs/ - 5 dialog components (add/edit, delete, import, json edit) - hooks/use-mcp-servers.ts - all state management & handlers - types.ts, constants.ts, utils.tsx - shared code Main file reduced from 1348 to 192 lines (composition only). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
331 B
TypeScript
15 lines
331 B
TypeScript
// Patterns that indicate sensitive values in URLs or config
|
|
export const SENSITIVE_PARAM_PATTERNS = [
|
|
/api[-_]?key/i,
|
|
/api[-_]?token/i,
|
|
/auth/i,
|
|
/token/i,
|
|
/secret/i,
|
|
/password/i,
|
|
/credential/i,
|
|
/bearer/i,
|
|
];
|
|
|
|
// Maximum recommended MCP tools before performance degradation
|
|
export const MAX_RECOMMENDED_TOOLS = 80;
|