Commit Graph
100 Commits
Author SHA1 Message Date
xintaofeiandClaude Opus 4.6 d28c54a038 fix(settings): reorder nav menu to place model providers after skills
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 16:40:37 +08:00
xintaofeiandClaude Opus 4.6 ba19299696 feat(settings): add model provider management with full CRUD support
Add a new settings page for managing API model providers (name, API URL,
API key, applicable agent types). Includes database migration, SeaORM
entity, backend CRUD commands/handlers, frontend settings UI with agent
type filter, add/edit/delete dialogs, and i18n support for all 10 locales.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 16:35:14 +08:00
xintaofeiandClaude Opus 4.6 6359651247 feat(chat): add slash command dropdown button in message input toolbar
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:24:26 +08:00
xintaofei 576944ac1f # Release version 0.6.7
- feat: add export conversation to image, markdown, and HTML formats.
- feat: add copy button on hover for user messages in conversation.
- feat: add favicon for web/server mode browser tabs.
- chore: upgrade sacp to 11.0.0 stable and agent-client-protocol-schema to 0.11.
- chore: bump ACP agent SDK versions in registry.
-----------------------------
# 发布版本 0.6.7

- 新增:支持将会话导出为图片、Markdown 和 HTML 格式;
- 新增:用户消息悬停时显示复制按钮;
- 新增:Web/服务器模式浏览器标签页显示 favicon;
- 升级:sacp 升级至 11.0.0 稳定版,agent-client-protocol-schema 升级至 0.11;
- 升级:更新注册表中 ACP agent SDK 版本。
2026-04-03 23:47:51 +08:00
xintaofeiandClaude Opus 4.6 32a1c5adc0 fix: improve error message when exporting long conversations as image
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 23:38:25 +08:00
xintaofeiandClaude Opus 4.6 40d0a4b995 fix: disable "auto" config option for Claude Code to prevent errors
Claude Code errors when setting config options to "auto". Strip "auto"
values from config options returned to frontend and skip set requests
with "auto" value for Claude Code agent.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 22:54:48 +08:00
xintaofeiandClaude Opus 4.6 ac0d849a7b chore: upgrade sacp to 11.0.0 stable and agent-client-protocol-schema to 0.11
- Upgrade sacp/sacp-tokio from 11.0.0-alpha.1 to 11.0.0 stable
- Upgrade agent-client-protocol-schema from 0.10 to 0.11
- Rebase vendor/sacp-tokio patches (kill_tree, CREATE_NO_WINDOW, stderr
  truncation) onto official 11.0.0 baseline
- Adapt renamed types: FileSystemCapability → FileSystemCapabilities,
  KillTerminalCommandRequest/Response → KillTerminalRequest/Response

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 22:10:15 +08:00
xintaofeiandClaude Opus 4.6 56d6db7866 chore: bump ACP agent SDK versions in registry
Update Claude Code 0.25.0, Codex 0.11.1, Gemini 0.36.0, OpenClaw 2026.4.2, Cline 2.13.0, OpenCode 1.3.13

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 21:01:48 +08:00
xintaofeiandClaude Opus 4.6 c06e854975 feat: add favicon for web/server mode browser tabs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 19:03:55 +08:00
xintaofeiandClaude Opus 4.6 4c36369dd2 feat: add export conversation to image, markdown, and HTML formats
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 18:56:37 +08:00
xintaofeiandClaude Opus 4.6 1282dcee19 feat: add copy button on hover for user messages in conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 15:22:34 +08:00
xintaofei c1158bf669 # Release version 0.6.6
New @ file mention support in chat and fixes for terminal and Docker stability.

- feat: add @ file mention support in chat input and unify directory attachment.
- fix: update run button state when terminal tab is closed directly.
- fix: fix terminal not opening in Docker and slim down Docker image.
-----------------------------
# 发布版本 0.6.6

新增聊天输入框 @ 文件提及功能,并修复终端与 Docker 稳定性问题。

- 新增:聊天输入框支持 @ 文件提及,并统一目录附件处理逻辑;
- 修复:终端标签页直接关闭时正确更新运行按钮状态;
- 修复:修复 Docker 环境下终端无法打开的问题,并精简 Docker 镜像。
2026-04-03 14:40:14 +08:00
xintaofeiandClaude Opus 4.6 743b2a97ac docs: update AGENTS.md and CLAUDE.md with enriched project documentation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 14:33:46 +08:00
xintaofeiandClaude Opus 4.6 858ea9d10a fix: fix terminal not opening in Docker and slim down Docker image
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 13:59:30 +08:00
xintaofeiandClaude Opus 4.6 ae93cc062b fix: optimize communication flow diagram icons and layout
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 11:46:12 +08:00
xintaofeiandClaude Opus 4.6 ea3b20b2d9 fix: update run button state when terminal tab is closed directly
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 10:42:50 +08:00
xintaofeiandClaude Opus 4.6 9396127cd9 feat: add @ file mention support in chat input and unify directory attachment
Support typing "@" in the chat input to trigger a file list popup with
filtering, keyboard navigation, and file/directory attachment. Directories
from the sidebar file tree now attach as resource links instead of injecting
text into the input.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 22:43:27 +08:00
xintaofeiandClaude Opus 4.6 4f394ea521 fix: use randomUUID fallback for non-secure contexts in terminal-context
Replace crypto.randomUUID() with the existing randomUUID() utility
that falls back to crypto.getRandomValues() over plain HTTP.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:21:56 +08:00
xintaofeiandClaude Opus 4.6 e7bd12e16f fix: sync run button state with terminal process via centralized exit tracking
Centralize terminal process lifecycle in terminal-context as single
source of truth. TerminalView reports exit/failure via callback,
context maintains exitedTerminals set, command-dropdown reacts to it.

Removes redundant polling and per-component exit event subscriptions
that raced with deferred spawn introduced in b2d10fa.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:02:01 +08:00
xintaofei 236f0ed5e3 Merge branch 'main-fix' 2026-04-02 16:25:00 +08:00
xintaofeiandClaude Opus 4.6 efd8e1104f features: add commit and push option to git commit window
- Add split button with dropdown in commit dialog supporting both
  "Commit" and "Commit and Push" actions
- Pass folderId through gitCommit/gitPush API calls so backend emits
  events that the folder window can receive for toast notifications
- Update Tauri git_commit and git_push commands to accept folder_id
  parameter with window label fallback for cross-window compatibility
- Wrap commit page with GitCredentialProvider for push authentication
- Keep commit window open when push fails so user can see the error
- Add i18n translations for all 10 locales

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:22:41 +08:00
xintaofeiandClaude Opus 4.6 9b50d75266 fix: skip rendering img element when src is empty in image preview dialog
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:26:17 +08:00
xintaofeiandClaude Opus 4.6 f23ed12650 feat: add click-to-preview for image attachments in chat
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:23:48 +08:00
XinTaoFei 2a3b4b1908 Merge pull request #54 from isYangs/main
fix: disable macOS overscroll bounce
2026-04-02 14:55:04 +08:00
xintaofeiandClaude Opus 4.6 d3d53c8b8d docs: add animated communication flow diagram to README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 14:51:23 +08:00
xintaofeiandClaude Opus 4.6 1287dab37c docs: add iLink (Weixin) to supported chat channels in README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 14:11:12 +08:00
xintaofeiandClaude Opus 4.6 b2d10fa008 optimize: terminal spawn lifecycle to eliminate output race condition
Move PTY spawn from context layer to view layer so event subscription
happens before spawn, preventing loss of initial terminal output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 13:55:38 +08:00
xintaofeiandClaude Opus 4.6 d0e0aad525 optimize: WeChat QR code auth flow and channel reliability
- Generate QR code server-side when iLink API returns SPA page URL
  (added qrcode + image crates for PNG generation)
- Strip bot_token from frontend response (new WeixinQrcodeStatusPublic type)
- Add request timeouts and shared HTTP client for QR code endpoints
- Fix TOCTOU race on reply_context double-lock (single lock scope)
- Extract do_send() helper to deduplicate sendmessage logic; resend now
  checks ret field for context expiry instead of HTTP status only
- Cap pending_messages buffer at 50 to prevent unbounded memory growth
- Generate stable X-WECHAT-UIN per backend instance instead of per request
- Extract ILINK_CHANNEL_VERSION constant (was hardcoded in 4 places)
- Add 5-minute client-side QR expiry timeout in frontend dialog
- Track consecutive polling errors and show warning after 3 failures
- Stabilise onAuthSuccess/onClose callback refs to prevent polling restarts
- Replace dead i18n key weixinOpenQrcode with weixinPollError

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 11:22:51 +08:00
xintaofeiandClaude Opus 4.6 0ef36ee918 optimize: WeChat channel message handling and error resilience
- Filter messages by message_type=1 to skip bot echo and prevent loops
- Add voice message support (type=3) with voice-to-text extraction
- Check resend results and re-buffer failed messages to prevent loss
- Handle session expiry (ret=-14) with 30s pause in polling loop
- Use exponential backoff (5s–30s) for network errors instead of fixed 5s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 00:29:01 +08:00
xintaofei 8050e30a55 features: supports WeChat channel 2026-04-02 00:17:23 +08:00
xintaofeiandClaude Opus 4.6 b4aaebeb54 docs: update chat channels section with session interaction and new commands
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 18:55:44 +08:00
xintaofei 46c8874f43 Merge branch 'main-fix' 2026-04-01 18:29:16 +08:00
xintaofeiandClaude Opus 4.6 098c9adb80 optimize: channel tool call details, permission context and stop reason i18n
- Display specific file paths, commands, and patterns in tool call messages
  instead of generic titles (e.g. ">> Read: src/main.rs")
- Show tool call details only on completion to ensure raw_input availability
- Enrich permission request messages with tool details from rawInput
- Localize stop_reason in turn_complete messages for all 10 languages
- Fix UTF-8 byte-slice panic in format_completion for multi-byte content

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 18:28:34 +08:00
xintaofeiandClaude Opus 4.6 b23f6a5aaa fix: enable inline math formula rendering with single dollar signs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 17:48:46 +08:00
xintaofeiandClaude Opus 4.6 ce95148232 fix: truncate_title panic on multi-byte UTF-8 strings
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 17:29:01 +08:00
xintaofei 05214d09de Merge remote-tracking branch 'origin/botwork' 2026-04-01 15:03:41 +08:00
xintaofei 4f8b99e5b6 Merge branch 'main-fix' 2026-04-01 13:41:33 +08:00
xintaofei 058245c284 Merge branch 'main' into main-fix 2026-04-01 13:01:25 +08:00
xintaofei b5924829b1 Merge branch 'channel' into cv-channel-urci3p 2026-03-31 16:00:12 +08:00
xintaofei 99c60ce4a5 Merge branch 'cv-channel-urci3p' into channel 2026-03-31 14:05:16 +08:00
xintaofei d18cec33bf 初步集成消息通道,支持Telegram + Lark机器人 2026-03-30 22:51:49 +08:00
xintaofei d75f94acf3 Merge branch 'main' into cline 2026-03-28 20:15:21 +08:00
xintaofei f893d9ff24 Merge branch 'cv-main-z5swdp' 2026-03-28 14:45:24 +08:00
xintaofei 9da1cbb4fd Release version 0.4.2
重构会话agent连接、初始化、加载配置流程;
升级Claude Code、Gemini、OpenClaw、OpenCode的SDK版本;
修复Agent安装/升级在部分环境下会失败;
优化agent列表和工作模式的选择滑块样式;
Web服务设置页面里的访问地址、访问Token右边的按钮改为一直显示,不需要悬停。
2026-03-26 23:14:36 +08:00
xintaofei 9141b9b71c Web服务设置页面里的访问地址、访问Token右边的按钮改为一直显示,不需要悬停 2026-03-26 23:07:49 +08:00
xintaofei fc0422cee0 优化agent列表的滑块样式 2026-03-26 23:02:38 +08:00
xintaofei 8037c5b9fd 升级claude code的sdk版本 2026-03-26 22:52:44 +08:00
xintaofei aacada1253 优化agent列表和工作模式的选择滑块样式 2026-03-26 22:50:45 +08:00
xintaofei 1b7c61e5af 优化agent列表加载 2026-03-26 22:37:52 +08:00
xintaofei bf32cb71e7 修复build问题 2026-03-26 22:19:19 +08:00
xintaofei de917697b5 修复Agent安装/升级在特殊环境下会失败 2026-03-26 22:12:54 +08:00
xintaofei e56bcd6f41 升级Claude Code的SDK版本 2026-03-26 21:52:08 +08:00
xintaofei f61f9fb025 修复所有lint警告和错误 2026-03-26 21:47:13 +08:00
xintaofei 5e5c48338b 优化agent配置选项加载逻辑 2026-03-26 21:37:30 +08:00
xintaofei a9b0a69f81 Release version 0.4.1
重磅更新,现在支持在设置页面启用Web服务,启用之后可以在浏览器内访问codeg,内网穿透之后就可以公网访问;
修复github actions打包问题。
2026-03-26 00:44:12 +08:00
xintaofei 140819b55e 修复github工作流打包 2026-03-26 00:42:23 +08:00
xintaofei a6e64d2d36 Release version 0.4.0
重磅更新,现在支持在设置页面启用Web服务,启用之后可以在浏览器内访问codeg,内网穿透之后就可以公网访问
2026-03-25 23:59:18 +08:00
xintaofei 3af6474b4d folder页面标题间距调整 2026-03-25 23:54:49 +08:00
xintaofei 2d3d8d791f 优化web服务页面样式 2026-03-25 23:52:01 +08:00
xintaofei 20c5bb4944 去掉设置窗口打开时强制置顶逻辑,以及去掉禁用其它窗口逻辑 2026-03-25 23:42:08 +08:00
xintaofei 8026af79a4 优化 Web 服务页面样式 2026-03-25 23:36:16 +08:00
xintaofei d17148f3ba 设置 Web 页面标题 2026-03-25 23:29:12 +08:00
xintaofei c4bb0ed092 web浏览器下页面都新窗口打开 2026-03-25 23:21:56 +08:00
xintaofei eeaa7890e5 修复web端下的git配置和语言设置 2026-03-25 23:15:24 +08:00
xintaofei 21e51dabf3 支持web端访问更新/web管理接口 2026-03-25 23:07:59 +08:00
xintaofei c4809bec46 folder标题适配web端 2026-03-25 22:39:57 +08:00
xintaofei ae70f17d2e Release version 0.3.0
重构会话页面的消息渲染,支持块级虚拟化,提升长会话性能,减少卡断;
修改claude code模型的上下文窗口的上限为1M;
修复git未跟踪文件目录显示不全;
支持在软件内预览图片;
优化agent选择和模式选择的样式;
会话页面发送消息后检查当前 tab 是否为临时,如果是临时则将其转为持久tab;
会话部分文本表达优化。
2026-03-25 00:49:35 +08:00
xintaofei ba64b2224b 会话部分文本表达优化 2026-03-25 00:46:13 +08:00
xintaofei f6a9da79df 会话页面发送消息后检查当前 tab 是否为临时,如果是临时则将其转为持久tab 2026-03-25 00:34:54 +08:00
xintaofei 0fc829a618 同步会话实时响应时的样式 2026-03-25 00:27:44 +08:00
xintaofei 421857f249 优化folder窗口顶部的模式选择样式 2026-03-24 23:53:37 +08:00
xintaofei 593bbe70e3 修复会话页面的滚动条位置在切换模式之后会丢失 2026-03-24 23:47:11 +08:00
xintaofei da95b9f8a7 优化agent选择列表样式 2026-03-24 23:27:03 +08:00
xintaofei 9e0eb98f3d 优化agent选择列表样式 2026-03-24 23:25:42 +08:00
xintaofei 4a47ec217e 统一mermaid版本 2026-03-24 23:06:43 +08:00
xintaofei 2072d0ff0c Suppress benign ResizeObserver loop warnings (W3C spec §3.3) 2026-03-24 22:47:22 +08:00
xintaofei 1da1fd1e38 使用Virtua替换@tanstack/react-virtual来实现虚拟列表 2026-03-24 22:35:52 +08:00
xintaofei 7d1db72b3e 修复消息turn有时展开异常 2026-03-24 21:36:00 +08:00
xintaofei 0d16d82eb9 优化claude code系统消息显示 2026-03-24 21:13:25 +08:00
xintaofei b7df63c5f8 支持在软件内预览图片 2026-03-24 16:31:33 +08:00
xintaofei a4805621f9 修改claude code模型的上下文窗口的上限为1M 2026-03-23 23:35:12 +08:00
xintaofei 6a5c0edb2d Release version 0.2.13
优化系统管理的布局和操作交互;
支持把目录附加到会话(临时处理);
修复新会话页面连接到未安装的agent时,后续连接其它agent没有反应了。
2026-03-23 20:30:47 +08:00
xintaofei d0655066b6 发送系统通知时携带folder名 2026-03-21 19:14:38 +08:00
xintaofei a9e0a742ac 集成系统通知,并在Agent响应完成后发出通知 2026-03-21 18:39:28 +08:00
xintaofei 32d922a346 修复lint问题 2026-03-21 18:06:59 +08:00
itpkcn@gmail.com 3b6da2b477 修复git凭据回退逻辑 2026-03-21 14:52:03 +08:00
itpkcn@gmail.com 9e21ac439b 支持快捷打开github凭据生成页面 2026-03-21 14:15:16 +08:00
itpkcn@gmail.com 24f0b580ce 后台设置里添加非github的git服务器管理 2026-03-21 13:57:11 +08:00
itpkcn@gmail.com dac99fdccf 优化git提交用户名处理逻辑 2026-03-21 13:29:50 +08:00
itpkcn@gmail.com aaad19adb5 支持实时处理Git凭证 2026-03-21 13:20:46 +08:00
itpkcn@gmail.com 59327f6e02 增强git凭证处理 2026-03-21 12:01:40 +08:00
itpkcn@gmail.com 62fab2c3f2 设置界面支持版本控制和github账号管理 2026-03-21 11:33:48 +08:00
itpkcn@gmail.com e801f041a0 Merge remote-tracking branch 'origin/main' 2026-03-21 10:51:22 +08:00
itpkcn@gmail.com e002280cf6 临时会话被顶替后立即断开连接 2026-03-21 10:45:41 +08:00
itpkcn@gmail.com 954e5e60e0 非活跃连接在 1 分钟内没有活动就会被自动断开 2026-03-21 09:35:07 +08:00
xintaofei cd4d816154 Release version 0.2.5
修复windows下执行部分git命令没有带上CREATE_NO_WINDOW标识;
右侧边栏变更区域支持删除操作;
优化文件树git状态检测性能;
修复在文件编辑时一直按撤销会导致文件内容变空白。
2026-03-20 23:19:25 +08:00
xintaofei dbf3971134 修复在文件编辑时一直按撤销会导致文件内容变空白 2026-03-20 23:16:32 +08:00
xintaofei aeddc37655 优化文件树git状态检测性能 2026-03-20 22:46:17 +08:00
xintaofei 1ce062dce4 右侧边栏变更区域支持删除操作 2026-03-20 22:23:40 +08:00
xintaofei f8ea694986 修复windows下执行部分git命令没有带上CREATE_NO_WINDOW标识 2026-03-20 21:35:39 +08:00