Commit Graph

132 Commits

Author SHA1 Message Date
晴天
3f0f13d793 fix: 微信插件自动检测 OpenClaw 版本,旧版自动安装兼容的 v1.0.3
- messaging.rs: run_channel_action weixin install 检测 OpenClaw 版本
- OpenClaw < 2026.3.22 → 自动用 @tencent-weixin/openclaw-weixin-cli@1.0.3
- OpenClaw >= 2026.3.22 → 用 @latest
2026-03-26 03:59:43 +08:00
晴天
6794b72379 fix: 微信插件兼容性检测 + 不兼容时显示红色警告引导重装
- messaging.rs: check_weixin_plugin_status 新增 compatible/compatError 字段,检测 SDK 模块是否存在
- channels.js: 不兼容时显示红色警告 + 安装按钮变为「重新安装兼容版本」
2026-03-26 03:31:06 +08:00
晴天
540da00b91 feat: 渠道插件安装自动 pin 版本,兼容旧版 OpenClaw
- messaging.rs: install_channel_plugin/install_qqbot_plugin/run_channel_action 新增 version 参数
- 微信插件 npx 安装也支持版本 pin(@tencent-weixin/openclaw-weixin-cli@{version})
- channels.js: 安装前自动获取用户 OpenClaw 版本,pin 到基础版本号
- tauri-api.js/dev-api.js: 同步支持 version 参数传递
2026-03-26 02:57:43 +08:00
晴天
ee09ebbc98 fix: 插件安装失败时检测 minHostVersion 不满足,给出明确升级提示
- messaging.rs: install_channel_plugin 和 install_qqbot_plugin 均捕获 stderr 检测宿主版本过低
- 上游 v2026.3.22+ 所有渠道插件要求 minHostVersion>=2026.3.22,推荐版 2026.3.13 用户会遇到此问题
2026-03-26 02:40:50 +08:00
晴天
878f866dce style: clippy sort_by → sort_by_key 修复 CI 2026-03-26 02:30:24 +08:00
晴天
31db22e156 style: cargo fmt 修复 CI 格式检查 2026-03-26 02:25:24 +08:00
晴天
1141b5867b fix: #142 子Agent模型配置不再被全局主模型覆盖 + #143 nvm/fnm版本按倒序排列
- models.js: 移除 applyDefaults 中强制同步全局 primary 到所有子 Agent 的逻辑 (#142)
- mod.rs: nvm/fnm 版本目录按文件名倒序排列,最新版优先 (#143,macOS + Linux)
2026-03-26 02:11:53 +08:00
晴天
7de40624f7 fix: #145 仪表盘版本缓存 + #144 macOS手动安装检测 + #146 更新提示持久化 + #148 AI助手Web模式CORS
- dashboard.js: 版本/状态信息持久化缓存,实例切换时自动清空 (#145)
- service.rs: macOS is_cli_installed 改为真实路径探测,无plist时返回默认Gateway条目 (#144)
- utils.rs: 新增 common_non_windows_cli_candidates,resolve_openclaw_cli_path 优先检测 standalone/手动安装路径 (#144)
- config.rs: macOS get_local_version 增加 resolve_cli + canonicalize,detect_installed_source 增加 CLI 分类 + standalone 检测 (#144)
- dev-api.js: macOS CLI/版本/来源检测补齐 Intel Homebrew + standalone + findOpenclawBin (#144)
- main.js: 更新 banner dismiss 从 sessionStorage 改 localStorage (#146)
- assistant.js: Web 模式 AI 测试走后端代理 api.testModel 绕过 CORS (#148)
2026-03-26 02:02:19 +08:00
晴天
66fc932666 chore: bump version to 0.9.9 + changelog 2026-03-24 22:33:56 +08:00
晴天
985d263dc6 feat: i18n 11 languages + website update + fix #139 #140 #141
i18n:
- Add 9 new locale files (ja/ko/de/es/fr/pt/ru/vi/zh-TW)
- Add multilingual README files for all 11 languages
- Add locale helper, index, and modular translation system
- Add translation generation scripts

Website (docs/index.html):
- Replace 公益AI接口 branding with 晴辰云AI接口
- Remove OpenClaw 独立安装包 promotion block
- Update SEO meta tags (description, keywords, OG, Twitter, JSON-LD)
- Add 11-language README links to footer
- Update 元宝派 link to new URL

Bug fixes:
- fix(cron): delivery format mode:'push' → mode:'announce', remove invalid 'to' field (fixes #141)
- fix(cron): allow single-channel users to select delivery channel
- fix(cron): preserve delivery field in job state for editing
- fix(models): add 'ollama' as recognized API type, prevent overwriting native ollama config (fixes #140)
- fix(models): skip /v1 append for ollama native API baseUrl
- fix(assistant): normalize 'google-generative-ai' consistently, add ollama hints
- fix(version): use CLI path classification for source detection on Windows (fixes #139)
- fix(version): default to 'official' instead of 'chinese' when source unknown
- fix(version): reorder npm global package check based on active CLI
2026-03-24 22:31:11 +08:00
晴天
f8af3bea4a feat(i18n): full i18n for all pages + sidebar lang switcher + zh-TW locale
- All pages now use t() for internationalization
- Sidebar footer: searchable upward dropdown language switcher
- Generated zh-TW.json (Traditional Chinese) via gen-locales.cjs
- CSS for lang switcher with mobile/collapsed sidebar support
- Removed language toggle from settings page
2026-03-24 18:51:36 +08:00
晴天
0c062e93e0 feat: multi-OpenClaw CLI detection/binding + i18n infrastructure
Multi-OpenClaw Detection & Binding:
- Add resolve_openclaw_cli_path() and classify_cli_source() in utils.rs
- Support openclawCliPath binding in clawpanel.json (user selects CLI)
- VersionInfo now includes cli_path, cli_source, all_installations
- scan_all_installations() detects all OpenClaw installs on system
- Dashboard shows CLI source label + multi-install warning
- Settings page: CLI binding UI with auto-detect and manual selection
- dev-api.js synced with cli_path/cli_source fields for Web mode

i18n Infrastructure:
- Create src/lib/i18n.js core module (t(), setLang(), initI18n())
- Create src/locales/zh-CN.json and src/locales/en.json
- Sidebar fully i18n-ized (nav labels, sections, instance switcher)
- Dashboard stat cards fully i18n-ized
- Settings page: language switcher UI (live reload)
- initI18n() called in main.js on startup
2026-03-24 11:57:40 +08:00
晴天
3687e26d5d feat: 飞书官方插件迁移 + 配对审批 + Gateway防卡死 + 微信升级修复 + 更新检测修复
- 飞书渠道从 @openclaw/feishu 迁移到 @larksuite/openclaw-lark 官方插件
- 保存飞书配置时自动禁用旧 feishu 插件,防止新旧插件冲突
- 所有主要渠道(飞书/Telegram/Discord/Slack)启用配对审批UI
- gateway_command 增加20s超时,超时后force-kill+fresh start
- 全平台启动前端口占用检查,防止Guardian无限拉起
- Linux gateway_command 补齐 Duration 导入和 cleanup_zombie 实现
- Guardian自动守护在Tauri桌面端也启用,轮询间隔30s→15s
- 微信渠道:升级操作不再弹出扫码二维码,按钮文案区分安装/升级
- 版本更新检测:CI不再将minAppVersion写死为当前版本
- 部署脚本增强OpenClaw检测,支持已安装的官方版
- 日间/夜间模式圆形扩散切换动画(View Transitions API)
- API错误信息完整展示(429限流等),URL自动转可点击链接
- 第三方API接入引导优化:移除内置密钥,引导式流程
- 修复全平台 Clippy 警告(strip_prefix/dead_code/unnecessary_unwrap等)
- Rust代码格式化修复(cargo fmt)
- toast组件支持HTML内容渲染
- Rust后端test_model返回详细错误信息
2026-03-23 21:51:34 +08:00
晴天
6494cf6551 chore: release v0.9.7 2026-03-21 04:11:13 +08:00
晴天
8485df7fab fix: resolve clippy dead_code and manual_flatten warnings 2026-03-18 17:38:15 +08:00
晴天
c3634fd49a style: cargo fmt 2026-03-18 16:35:51 +08:00
晴天
97c0054a3a chore: release v0.9.6 2026-03-18 15:51:47 +08:00
晴天
7764a32799 fix: dashboard null crash, chat layout, markdown escaping, gzip, gateway banner delay
feat: hosted agent with auto-stop, context compression, visual sliders
feat: auto-reload gateway after config save (debounced 3s)
style: toast solid bg, chat input enlargement, hosted agent panel CSS
chore: fix dev.ps1 encoding, engagement share text
2026-03-18 15:02:04 +08:00
晴天
961e8e4949 chore: release v0.9.5 2026-03-17 19:57:06 +08:00
晴天
8e23b1a3e1 chore: update quinn-proto 0.11.13 -> 0.11.14 (fix GHSA-6xvm-j4wr-6v98) 2026-03-17 17:40:53 +08:00
晴天
1809329aaa feat: standalone 独立安装包集成 + 安装方式选择器 (0.9.4)
- 新增 standalone 安装链路(自带 Node.js,零依赖,无需 npm)
- 安装方式选择器:自动/CDN加速/GitHub/npm 四选一
- 动态查询 latest.json 获取最新版本,不怕旧资源被删除
- GitHub 模式:从 GitHub Releases 下载(CDN 不可用时备选)
- CherryStudio openclaw.exe 干扰过滤
- 默认源改为汉化优化版
- 日志隐藏 R2 下载地址(安全)
- 卸载兼容:standalone + npm 双清理
- 版本检测覆盖所有 standalone 安装路径
- README + 官网添加独立安装包说明
- macOS npm 权限问题通过 standalone 自动解决
2026-03-17 06:32:23 +08:00
晴天
029ec3704f style: 更新项目样式和文档说明 2026-03-17 00:22:54 +08:00
晴天
21c32b42ff fix: #91 macOS Gateway启动不再重复触发'后台项已添加'通知(检查launchctl注册状态) 2026-03-17 00:03:17 +08:00
晴天
20d80c3ec5 feat: v0.9.3 — 9项Bug修复+ARM性能优化+R2 CDN加速+非商用协议 2026-03-16 23:45:03 +08:00
晴天
51e49d0781 fix: list_agents始终包含main agent(OpenClaw的main是隐式的不在agents.list中) 2026-03-16 20:42:37 +08:00
晴天
6665c4fc5f fix: #89 stripUiFields清理version info根字段,防止污染openclaw.json导致Gateway启动失败 2026-03-16 19:25:36 +08:00
晴天
f8d725e572 fix: R2优先级反转 — 平台预装归档优先(零网络),通用tarball兜底(仍需npm) 2026-03-16 17:19:26 +08:00
晴天
68b3034403 feat: R2通用tarball模式 — 一个52MB包覆盖全平台(win/mac/linux/arm64) 2026-03-16 16:08:15 +08:00
晴天
41c4d6f9fe fix: R2归档解压路径修正(qingchencloud→@qingchencloud) + Docker构建脚本 2026-03-16 15:06:05 +08:00
晴天
61434137d7 perf: ARM设备性能优化 — in-flight请求去重+后端缓存+仪表盘轮询降频+R2 CDN加速 2026-03-16 13:56:36 +08:00
晴天
48cffe1f42 feat: v0.9.2 — SkillHub双源技能管理、消息渠道多Agent绑定、模型配置优化、白屏安全网等 2026-03-16 04:26:30 +08:00
晴天
3552085826 style: cargo fmt for CI compliance 2026-03-14 20:07:43 +08:00
晴天
394813a96c feat: v0.9.1 — 面板设置页、网络代理、后台安装、模型服务商扩展、多项修复
新功能:
- 新增独立面板设置页面(网络代理 + 代理测试 + 模型代理开关 + npm源)
- 网络代理支持:下载类操作走代理,自动绕过内网地址
- 安装/升级/卸载改为后台执行,不再阻塞界面
- 全局任务状态栏:关闭弹窗后顶部显示进度,可重新查看日志
- 安装/卸载完成后自动刷新界面状态
- 新增多个模型服务商快捷配置(硅基流动、火山引擎、阿里云百炼、智谱AI、MiniMax、NVIDIA NIM、胜算云)
- AI助手浮动按钮恢复,首次提示可拖动,实时聊天页隐藏

修复:
- 修复版本更新误判(本地版本高于远端不再误弹更新)
- 修复Windows下nvm/自定义Node路径CLI检测
- 修复npm EEXIST文件冲突(--force + 安装前自动清理)
- 修复汉化版-zh.x后缀版本比较错误
- 修复模型URL自动拼接/v1问题
- 修复切换版本后Gateway重装失败(PATH缓存刷新)
- 修复切换助手服务商时旧模型名残留

优化:
- macOS图标改用docs/logo.png统一生成
- 内置推荐版本号更新到OpenClaw 2026.3.13
- 错误诊断增强(EEXIST识别)
- 弹窗标题根据操作类型显示
- 新增版本维护文档
2026-03-14 19:57:22 +08:00
晴天
205d349917 feat: v0.9.0 — Usage analytics, Communication config, 晴辰云 branding, multi-agent channels, 7 bug fixes 2026-03-14 07:09:50 +08:00
晴天
879cdd1083 fix: Skills page JSON parse error when CLI output contains Node warnings (#64) 2026-03-13 21:50:01 +08:00
晴天
f0015118d1 chore: release v0.8.6 — fix SSH auth in version switch, improve error diagnosis 2026-03-13 17:17:44 +08:00
晴天
bc6eb7a4c3 fix: resolve all cross-platform clippy warnings (unused_imports, needless_return) 2026-03-13 16:31:35 +08:00
晴天
17f0e34f07 style: match CI rustfmt formatting for Err() line 2026-03-13 16:24:28 +08:00
晴天
39072ccdab fix: resolve clippy needless_return and and_then→map warnings 2026-03-13 16:21:11 +08:00
晴天
bafcdb91a8 style: cargo fmt (fix CI rustfmt check) 2026-03-13 16:07:17 +08:00
晴天
64cb35ada7 chore: release v0.8.5 — Web mode handler 100% coverage 2026-03-13 15:36:16 +08:00
晴天
0dd202d50d chore: release v0.8.4 — 移除龙虾军团入口,精简前端 2026-03-13 15:24:35 +08:00
晴天
df0863010b fix: v0.8.3 — default to official package + CI clippy fix (remove libc) 2026-03-13 02:02:55 +08:00
晴天
b3531aca5f fix: replace unsafe libc::geteuid with std::env for CI clippy compatibility 2026-03-13 01:14:44 +08:00
晴天
db30f29abf feat: v0.8.2 — 15 fixes + 4 features + 3 improvements
Fixes:
- Stop force-appending /v1 to API URLs (breaks Volcengine /v3 etc)
- SSH upgrade: --unset-all + --add for 4 git insteadOf rules
- Feishu: builtin detection, overlay→modal fix, select field, plugin version persistence
- Docker: HTML response detection, Web mode guidance
- Chat: runId dedup prevents duplicate messages
- Cron: RPC params name→id
- Channels: Gateway reload async (instant UI response), toggle cache invalidation
- Linux: auto sudo for non-root npm installs (libc geteuid)
- Control UI: dynamic hostname + auth token for remote access
- npm: mirror fallback (npmmirror→npmjs.org)
- QQBot: native binding friendly error message
- Error diagnosis: SSH vs Git-not-installed, native binding detection

Features:
- About page: company info (武汉晴辰天下网络科技有限公司)
- model-presets.js: shared module for models.js + assistant.js
- Feishu: dual plugin support (builtin vs official @larksuiteoapi)
- Assistant: provider preset quick-fill buttons

Improvements:
- Website: dynamic download links from latest.json + claw.qt.cool proxy
- Linux deploy docs: upgrade guide, Gitee mirror, sudo notes
- linux-deploy.sh: Gitee fallback + sudo npm + mirror retry
2026-03-13 00:03:09 +08:00
晴天
d1e0f66f24 style: cargo fmt 2026-03-12 02:42:05 +08:00
晴天
3e24ceaa4d v0.8.0: Ollama兼容、Git自动安装、Gitee镜像、会话重命名、消息渠道Agent绑定、仪表盘重设计、环境检测实时生效、#44修复 2026-03-12 02:17:47 +08:00
晴天
5919036d3b fix(ci): gate Windows-only tests with #[cfg(all(test, target_os = windows))] 2026-03-11 03:23:08 +08:00
晴天
073946740a fix(ci): gate HashSet import with #[cfg(windows)] for Clippy on Linux/macOS 2026-03-11 03:16:49 +08:00
晴天
436932e545 fix(ci): gate Windows-only functions with #[cfg(target_os = windows)] for Clippy 2026-03-11 03:09:25 +08:00