Commit Graph

7 Commits

Author SHA1 Message Date
hfshfg
4dac1ae4ab fix: code review 修复两处 bug 并优化启动提示
- fix(setup.bat): 修复 Node.js 解压路径错误
  xcopy 来源从 %TEMP%\node-v22-win-x64\* 改为
  %TEMP%\node-extract\node-v22-win-x64\*,
  否则解压后 xcopy 找不到文件,Node.js 安装必然失败
- fix(Config.html): 点击「启动 OpenClaw」后 toast 改为
  「配置已保存!请关闭此页面,回到启动窗口使用 U-Claw」,
  避免用户误以为点击后会自动启动而一直等待
  (portable / usb-release / u-claw-app 三个版本同步)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 09:48:44 +08:00
hfshfg
3f6f960ffc fix: 修复 bat 编码乱码、Config.html 打不开、missing scope 问题
- fix(bat): 所有 Windows .bat 文件加 UTF-8 BOM,修复中文乱码
  (portable 和 usb-release 共 7 个文件,close #3)
- fix(usb-release/Windows-Start.bat): 首次启动打开 Config.html
  时补加 file:/// 前缀,修复浏览器无法打开本地文件的问题
  (close #12)
- fix(Config.html): gateway.auth 加入 scopes: ['operator.admin'],
  修复配置模型时报 missing scope: operator.admin 错误
  (portable / usb-release / u-claw-app 三个版本同步,close #11)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 09:31:16 +08:00
hfshfg
4647a49cea fix: 修复 Telegram 401 错误并新增 Windows setup.bat
- fix(Config.html): telegram channel 配置字段 botToken → token,
  修复接入 Telegram 时所有请求返回 401 Unauthorized 的问题
  (影响 portable / usb-release / u-claw-app 三个版本)
- feat(portable): 新增 setup.bat,Windows 用户可一键下载
  Node.js v22 + 安装 OpenClaw + 安装中文技能包,
  对应 setup.sh 的 Windows 版本(解决 issue #10 #17)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 09:28:27 +08:00
dongsheng123132
889fc2a685 feat(config): Config.html Pro 版 + 渠道卡片展开填写 + Portable 模式
- Config.html 全新 Pro 版:3步式配置(选模型→填Key→启动)
- Step 3 渠道卡片可展开填写:Telegram / QQ Bot / 飞书 / 企业微信
- 渠道配置启动时自动写入 openclaw.json
- main.js 支持 Portable 模式(.app 旁有 portable/ 目录时使用)
- hasModelConfigured() 兼容新配置格式
- Node 升级到 v22.16.0
2026-03-19 15:25:42 +08:00
dongsheng123132
be734cb111 feat: restructure repo for collaboration + add desktop app source
- Reorganize project: clean structure (portable/ u-claw-app/ usb-scripts/ website/)
- Move docs into website/, rename uclaw-scripts to usb-scripts
- Add u-claw-app/ Electron desktop source code
- Add portable/setup.sh: one-command dev environment setup
- Add portable/SkillHub.html: skill marketplace page
- Update README: dev guide, contribution workflow, project structure
- Update .gitignore: exclude runtime binaries and build artifacts
- Expand China install guide: npm mirrors, detailed onboard wizard
2026-03-12 10:59:26 +08:00
dongsheng123132
a939ba1f9b feat: add custom/relay model option for API proxy platforms
Supports OpenRouter, API2D, New API, One API and other relay services
2026-03-11 00:48:21 +08:00
dongsheng123132
e04c205399 feat: add Chinese config page (Config.html) to replace onboard wizard
- Comprehensive Config.html with 10 model providers, 6 chat platforms
- Auto-detect gateway port, pre-fill existing config, import/export
- Mac-Start.command opens Config.html on first run, dashboard on subsequent runs
- U-Claw.html updated to reference Config.html
2026-03-11 00:35:29 +08:00