mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
## Terminal AI Features - Add Terminal AI panel with command execution support - Add term_get_scrollback tool for reading terminal output history - Add terminal tool with command approval workflow - Add auto-execute mode for trusted commands - Add duplicate command detection to prevent AI loops - Improve command response format with clear success markers ## Screenshot Chat (Experimental) - Add screenshot chat window for quick AI conversations - Add global shortcut support for screenshot capture - Add experimental settings page ## Code Quality - Fix all compiler warnings with proper analysis - Remove unused imports and dead code - Add #[allow(dead_code)] for reserved/planned features - Remove deprecated terminal-plugin from recommendations ## Other Changes - Update model registry with new capabilities - Improve config observer system - Add webview panel position fields (reserved) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lib
架构说明
前端工具库和 API 封装层。 包含 Tauri 命令封装、工具函数和服务类。
文件索引
api/- API 调用封装apiKeyProvider.ts- API Key Provider API 封装(Requirements 9.1)pluginUI.ts- 插件 UI API(Requirements 3.1)
config/- 配置模块providers.ts- System Provider 预设配置(Requirements 3.1-3.6)
types/- 类型定义模块provider.ts- API Key Provider 系统类型定义(Requirements 5.1)
errors/- 错误处理模块playwrightErrors.ts- Playwright 登录错误处理(Requirements 5.1, 5.2, 5.3, 5.4)
plugin-ui/- 插件 UI 系统(基于 A2UI 设计理念)types.ts- 类型定义ComponentRegistry.ts- 组件注册表DataStore.ts- 数据存储SurfaceManager.ts- Surface 管理器PluginUIRenderer.tsx- 核心渲染器PluginUIContainer.tsx- 容器组件usePluginUI.ts- React Hookcomponents/- 标准组件实现
tauri/- Tauri 命令封装utils/- 通用工具函数apiKeyValidation.ts- API Key 格式验证(Requirements 3.8)syntaxHighlight.ts- 语法高亮工具
flowEventManager.ts- 流量事件管理器notificationService.ts- 通知服务terminal-api.ts- 终端核心能力 API 封装(Terminal Core)webview-api.ts- Webview 管理 API(Tauri 2.x multiwebview)utils.ts- 通用工具函数
更新提醒
任何文件变更后,请更新此文档和相关的上级文档。