Commit Graph

542 Commits

Author SHA1 Message Date
xintaofei
236f0ed5e3 Merge branch 'main-fix' 2026-04-02 16:25:00 +08:00
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
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
xintaofei
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
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
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
xintaofei
a34d14bf59 Release versioin 0.6.3
Supports conversational Interaction — run full agent sessions from your chat app: /folder to pick a project, /agent to choose an agent, /task <description> to start a task, then send follow-up messages as plain text. /resume to continue a previous session, /cancel to abort, /sessions to list active sessions

- feature: messaging channels now support session-related commands.
- fix: enable inline math formula rendering with single dollar signs.

-----------------------------

发布版本 0.6.3

支持会话交互 — 在聊天应用中运行完整代理会话:/folder 选择项目、/agent 选择代理、/task <描述> 启动任务,然后直接发送纯文本作为后续消息。/resume 恢复历史会话、/cancel 取消任务、/sessions 查看活跃会话

- 功能:消息通道现已支持会话相关指令;
- 修复:启用单美元符号行内数学公式渲染。
2026-04-01 19:04:39 +08:00
xintaofei
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
xintaofei
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
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
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
d76dc716e4 optimize: Enhanced session command processing logic 2026-04-01 17:22:56 +08:00
xintaofei
adb5829613 optimize: channel Message Commands — Multilingual Support and Prefixes 2026-04-01 16:22:54 +08:00
xintaofei
05214d09de Merge remote-tracking branch 'origin/botwork' 2026-04-01 15:03:41 +08:00
xintaofei
925d068bd9 Release version 0.6.2
fix: "Add to VCS" dialog displayed files already tracked by Git.
optimize: Refined the code submission logic to prevent scenarios where code submission fails.
feature: Supports remote branch deletion.
fix: resolve real-time update issue in tiled view with multiple active sessions.
optimize: session list loading.
-------------------------------------------------------
发布版本 0.6.2

修复:“添加到VCS”的弹框显示了已经被git跟踪的文件;
优化:提交代码的处理逻辑,避免一些情况无法提交代码;
特性:支持删除远程分支;
修复:解决平铺视图下多活跃会话时的实时更新问题;
优化:会话列表加载。
2026-04-01 15:02:38 +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
8d8eadb994 更新README信息 2026-03-31 22:55:12 +08:00
xintaofei
e8f27b0c32 Release version 0.6.1
修复设置页面的“消息渠道”菜单项未适配所有多语言;
优化MCP管理,支持所有Agent;
支持配置cline的skills;
推送窗口现在会判断是否有配置Git远程仓库,显示正确的提示信息;
修复:提交列表的提交项是否推送远程的判断基线分支之前固定是folder的分支,而不是过滤的分支;
调整:web/server模式下,设置页面不显示“Web 服务”菜单项;
修复acp返回空用量信息导致会话中断。
2026-03-31 22:39:54 +08:00
xintaofei
967a16aeaa 支持配置cline的skills 2026-03-31 22:35:42 +08:00
xintaofei
80a5f8c589 修复acp返回空用量信息导致会话中断 2026-03-31 22:18:14 +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
d5db553e0b 修复:提交列表的提交项是否推送远程的判断基线分支之前固定是folder的分支,而不是过滤的分支 2026-03-31 19:12:27 +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
c4ae6188f5 Release version 0.6.0
集成消息通道,初步支持Telegram + Lark机器人、命令、事件管理;
修复:未支持docker运行环境的必要依赖;
修复部分窗口的权限设置;
Agent在实时响应中因为错误而中断时发送系统通知;
优化node全局安装时的权限处理。
2026-03-31 17:39:25 +08:00
xintaofei
2d5bd6454c 更新README信息 2026-03-31 17:30:21 +08:00
xintaofei
4f051715bf folder窗口异常处理 2026-03-31 16:31:14 +08:00
xintaofei
b5924829b1 Merge branch 'channel' into cv-channel-urci3p 2026-03-31 16:00:12 +08:00
xintaofei
13c8deee84 修复node全局安装时的权限问题 2026-03-31 16:00:04 +08:00
xintaofei
25a2bd0922 Agent在实时响应中因为错误而中断时发送系统通知 2026-03-31 15:43:00 +08:00
xintaofei
a9f6ce9105 优化消息渠道的实现代码 2026-03-31 15:26:29 +08:00
xintaofei
99c60ce4a5 Merge branch 'cv-channel-urci3p' into channel 2026-03-31 14:05:16 +08:00