Commit Graph

467 Commits

Author SHA1 Message Date
xintaofei
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
xintaofei
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
xintaofei
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
xintaofei
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
xintaofei
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
isYangs
03a6f8b5eb Merge remote-tracking branch 'origin/main' 2026-04-02 10:40:50 +08:00
isYangs
92dd5b1bbe fix: disable macOS overscroll bounce 2026-04-02 09:54:23 +08:00
xintaofei
8050e30a55 features: supports WeChat channel 2026-04-02 00:17:23 +08:00
xintaofei
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
xintaofei
d76dc716e4 optimize: Enhanced session command processing logic 2026-04-01 17:22:56 +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
3a5d720cc9 optimize: session list loading 2026-04-01 13:41:22 +08:00
xintaofei
058245c284 Merge branch 'main' into main-fix 2026-04-01 13:01:25 +08:00
xintaofei
c983779dea fix: resolve real-time update issue in tiled view with multiple active sessions 2026-04-01 13:00:37 +08:00
xintaofei
b98f50340f Feature: Supports remote branch deletion 2026-04-01 12:41:15 +08:00
xintaofei
c25e4062b9 fix lint 2026-04-01 11:18:51 +08:00
xintaofei
245151dda2 优化提交代码的处理逻辑,避免一些情况无法提交代码 2026-04-01 11:16:41 +08:00
xintaofei
f33f658a85 修复:“添加到VCS”的弹框显示了已经被git跟踪的文件 2026-04-01 10:39:15 +08:00
xintaofei
58611a6bc1 消息渠道支持会话相关指令 2026-04-01 10:08:20 +08:00
xintaofei
967a16aeaa 支持配置cline的skills 2026-03-31 22:35:42 +08:00
xintaofei
296b0c7806 优化MCP管理,支持所有Agent 2026-03-31 22:15:48 +08:00
xintaofei
fafe970309 调整:web/server模式下,设置页面不显示“Web 服务”菜单项 2026-03-31 19:28:49 +08:00
xintaofei
995d1e20c4 修复de.json多语言一处引号错误 2026-03-31 19:10:49 +08:00
xintaofei
c5fe85d309 推送窗口现在会判断是否有配置Git远程仓库,显示正确的提示信息 2026-03-31 18:52:18 +08:00
xintaofei
8937543f80 修复设置页面的“消息渠道”菜单项未适配所有多语言 2026-03-31 18:43:31 +08:00
xintaofei
4f051715bf folder窗口异常处理 2026-03-31 16:31:14 +08:00
xintaofei
25a2bd0922 Agent在实时响应中因为错误而中断时发送系统通知 2026-03-31 15:43:00 +08:00
xintaofei
a9f6ce9105 优化消息渠道的实现代码 2026-03-31 15:26:29 +08:00
xintaofei
f06360a59d 消息渠道的消息支持多语言 2026-03-31 13:49:16 +08:00
xintaofei
f2a53acc9d 修复错误警告 2026-03-31 13:11:08 +08:00
xintaofei
007b52c183 精简事件管理里的事件 2026-03-31 12:05:51 +08:00
xintaofei
edc12a0e39 支持渠道、指令(自定义前缀)和事件(启用/禁用)管理 2026-03-31 11:49:24 +08:00
xintaofei
d18cec33bf 初步集成消息通道,支持Telegram + Lark机器人 2026-03-30 22:51:49 +08:00
xintaofei
8d393b3b4f 优化web/server模式下的目录选择,现在支持目录树选择,而不是硬文本写入 2026-03-30 14:59:23 +08:00
xintaofei
695c20b1c9 系统管理页面添加github信息 2026-03-29 20:24:22 +08:00
xintaofei
d653a20779 修复:会话消息的工具调用里展开后无法显示新文件的内容 2026-03-29 11:34:32 +08:00
xintaofei
cf0f514d25 去掉状态栏初始化task超时设定 2026-03-29 09:53:32 +08:00
xintaofei
aa799760fc 修复会话页面缓存的模式和模型没有实际生效 2026-03-29 00:15:55 +08:00
xintaofei
356d1fbd88 Cline所有Provicer都支持自定义API URL 2026-03-28 20:25:07 +08:00
xintaofei
d75f94acf3 Merge branch 'main' into cline 2026-03-28 20:15:21 +08:00
xintaofei
be3f4986d7 支持Cline Agent 2026-03-28 20:14:48 +08:00
xintaofei
ab8a936767 优化文件编辑权限请求的差异样式 2026-03-28 18:47:00 +08:00
xintaofei
a049db51e2 优化agent请求文件修改权限时的文件差异显示样式 2026-03-28 18:10:20 +08:00
xintaofei
0ab9d46b63 支持实时响应时解析编辑工具的代码行号 2026-03-28 17:13:29 +08:00
xintaofei
75139a1226 优化文件编辑工具里多hunk的显示样式 2026-03-28 16:17:21 +08:00
xintaofei
c0b3e9aff9 优化编辑工具调用的行号解析 2026-03-28 15:46:52 +08:00
xintaofei
cb1c7211ef 修复右侧边栏“差异”区域统计的行数不正确 2026-03-28 15:07:23 +08:00
xintaofei
f893d9ff24 Merge branch 'cv-main-z5swdp' 2026-03-28 14:45:24 +08:00