Commit Graph

281 Commits

Author SHA1 Message Date
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
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
c5fe85d309 推送窗口现在会判断是否有配置Git远程仓库,显示正确的提示信息 2026-03-31 18:52:18 +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
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
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
f893d9ff24 Merge branch 'cv-main-z5swdp' 2026-03-28 14:45:24 +08:00
xintaofei
d5471d2ceb 优化消息里的读/写工具代码样式 2026-03-28 14:30:12 +08:00
xintaofei
8bd19738d0 优化消息里读/写内容显示样式 2026-03-28 14:04:19 +08:00
xintaofei
beb6ae0226 优化会话页面滚动到底部的按钮样式 2026-03-28 10:57:07 +08:00
xintaofei
33186b2c03 Welcome页面支持快捷键 2026-03-28 10:39:23 +08:00
xintaofei
e2b76132ba 调整folder顶部的终端按钮 2026-03-28 10:32:51 +08:00
xintaofei
393785746a 修改项目启动器主题和图表的默认值为Orange 2026-03-27 22:27:37 +08:00
xintaofei
adba9c0279 修复lint问题 2026-03-27 22:20:24 +08:00
xintaofei
10725df8ab 现在会话输入框会记住用户的配置选项和模型选择,避免每次都要重新勾选 2026-03-27 22:19:07 +08:00
xintaofei
f50c85ce84 修复web服务页面未处理多语言 2026-03-27 20:49:56 +08:00
xintaofei
c013876bbd 优化项目启动器的配置样式 2026-03-27 17:05:06 +08:00
xintaofei
1518bc625f 创建项目失败提示语优化 2026-03-27 16:33:34 +08:00
xintaofei
ea77c5b0e8 folder增加项目启动器入口,优化窗口跳转 2026-03-27 15:25:55 +08:00
xintaofei
3b080c801b 优化项目启动器的创建功能 2026-03-27 15:08:53 +08:00
xintaofei
06580b0c9c 优化启动器样式 2026-03-27 14:13:43 +08:00