mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
Features 统一对话系统 - 新增 useUnifiedChat Hook 支持多种对话模式 (Agent/General/Creator) - 新增统一对话 API 封装 (unified-chat.ts) - 新增 Chat 类型定义系统 (chat.ts) - 支持流式响应和工具调用 内容创作增强 - 新增 Content Creator 文档和系统提示词 - 新增 writeFile 解析器支持画布输出 - 优化 General Chat 组件支持内容创作模式 - 支持多种创作主题 (社交媒体/海报/音乐/知识/规划/文档/视频/小说) 会话管理优化 - 增强 Aster Agent 状态管理 - 新增统一会话命令 (unified_chat_cmd) - 新增 Chat DAO 数据访问层 - 优化数据库迁移脚本 Bug Fixes - 修复 ESLint 警告和未使用变量问题 - 修复 React Hooks 依赖警告 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
aiprompts
架构说明
AI Agent 专用文档目录,提供模块级别的详细说明。 参考 aster-rust 的 aiprompts 模式设计。
文件索引
核心系统
overview.md- 项目架构概览providers.md- Provider 系统(OAuth/API Key 认证)credential-pool.md- 凭证池管理(负载均衡、健康检查)converter.md- 协议转换(OpenAI ↔ CW/Claude)server.md- HTTP 服务器(API 端点)
前端模块
components.md- React 组件系统hooks.md- 自定义 React Hookslib.md- 工具库和 API 封装
后端模块
services.md- 业务服务层commands.md- Tauri 命令database.md- 数据库层(SQLite)
功能模块
flow-monitor.md- LLM 流量监控terminal.md- 内置终端mcp.md- MCP 服务器管理plugins.md- 插件系统
Aster 集成
aster-integration.md- Aster 框架集成方案workspace.md- Workspace 设计文档(工作目录管理)
内容创作
content-creator.md- 内容创作系统(write_file 标签、画布联动)
使用方式
AI Agent 在处理特定模块时,应先阅读对应的 aiprompts 文档:
# 处理 Provider 相关任务
→ 先读 docs/aiprompts/providers.md
# 处理凭证池相关任务
→ 先读 docs/aiprompts/credential-pool.md
# 处理 Aster Agent 集成
→ 先读 docs/aiprompts/aster-integration.md
# 处理 Workspace 相关任务
→ 先读 docs/aiprompts/workspace.md
# 处理内容创作、画布联动
→ 先读 docs/aiprompts/content-creator.md
更新提醒
任何文件变更后,请更新此文档和相关的上级文档。