mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
Safety enforcement: - Command Timeout: use user setting in MCP Server (execViaPty/execViaChannel) and Catty Agent path (aiBridge execViaPtyForCatty/execViaChannel fallback) - Max Iterations: read user setting for Catty (stepCountIs) and ACP (via IPC) - Permission Mode: observer mode hard-blocks write ops in MCP Server dispatch; Catty SDK tools wired to checkToolPermission(); all synced via IPC on change Command Blocklist UI: - Add editable regex pattern list in Settings AI Safety section - Reset to defaults button, add/remove patterns - IPC sync to MCP Server on change and on mount Provider UX: - ModelSelector rewritten as combobox: type-to-filter with suggestions dropdown - All providers use unified ModelSelector (modelsEndpoint optional) - API key passed as auth header for model fetching (Bearer / x-api-key) - Skip model fetch when no API key (except Ollama) - Provider toggle is now mutually exclusive (activating one disables others) - New providers default to disabled (switch off) - Custom provider supports editable display name - No-provider error: friendly message shown in chat i18n: - Full i18n coverage for Settings AI tab (~55 keys) - Full i18n for AI chat panel (placeholder, empty state, time, sessions) - en.ts and zh-CN.ts locale files updated Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>