hfshfg
0d88c9b0cc
chore(portable): 回归纯开源 — 移除指纹/自动开户/崩溃上报
...
去掉不适合开源的商业逻辑,保持一个纯粹的开源 U 盘工具:
- 删除设备指纹 (fingerprint.mjs)、虾盘云自动开户 (bootstrap-xiapan.mjs /
xiapan-client.mjs)、自动崩溃上报 (report-bug.mjs),portable 和 Electron 两份都删
- 启动脚本去掉绑定指纹调用 + 全部 --auto 自动上报;保留 bonjour 禁用与括号转义
- config-server 删掉 /api/xiapan/* 和 /api/report-bug 端点
- Config.html:虾盘云改为普通「首选」卡片,强调中转站 / 国内外全部大模型,
和其它 provider 一样需用户自填 Key(去 u-claw.org/cloud.html 注册),不再自动开户
- 报 Bug 表单改为指向 GitHub Issue,不再上传日志
- README / release notes / CLAUDE.md 文案改为「选模型填 Key,不绑定设备、不打指纹、不上传数据」
- OPENCLAW_VERSION 跟进最新龙虾版本 2026.6.6 → 2026.6.8
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-17 11:47:19 +08:00
hfshfg
6eb54f8ea3
feat(portable): bug 一键上报 + 自动崩溃上报 + openclaw 升级 2026.6.6
...
Bug 上报(方便服务器侧排查便携版问题):
- 新增 lib/report-bug.mjs:算设备指纹→sk-uc apiKey,收集 openclaw 版本/
系统信息/最近日志(gzip+base64),POST 到 api.u-claw.org/recharge/bug/submit。
静默失败,绝不影响主流程。复用 fingerprint.mjs + xiapan-client.mjs。
- config-server 加 POST /api/report-bug:本地补齐信息后转发,配置中心加
「🐛 报 Bug」表单(标题/描述/是否附日志)。
- Windows-Start.bat / Mac-Start.command:gateway 端口耗尽或异常退出时
自动后台上报(Ctrl+C 正常停止不上报)。
openclaw 升级:
- OPENCLAW_VERSION 2026.4.29 → 2026.6.6(X 盘真实 USB 实测 gateway
启动/ready、Dashboard 200、旧配置兼容、虾盘云 status 均通过)。
便携性改进(借鉴 OpenClaw-Windows-Portable):
- setup.sh / 启动脚本的 npm install 设 npm_config_cache 指向盘内
app/.npm-cache,避免污染系统缓存,拔盘不留痕。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-15 11:46:42 +08:00
hfshfg
b57aeb068c
fix portable config and qqbot packaging
2026-04-30 19:47:57 +08:00
hfshfg
690d1b7060
fix: 修复 QQ Bot 配置后 Gateway 无法启动的问题
...
1. 清除旧版 "agent" 废弃键 — 保存 channel 配置时自动删除旧的 agent 键,
防止 OpenClaw 报 "agent.* was moved" 错误(前端 + 服务端双重防御)
2. Dashboard URL 动态端口探测 — 将硬编码 18789 改为扫描 18789-18799,
解决端口被占用时打不开 Dashboard 的问题
3. 安装脚本配置格式升级 — install.sh / install.ps1 / install-silent.ps1
生成的 openclaw.json 从旧的 "agent" 格式迁移到 "agents.defaults.model.primary"
4. 文档示例同步更新 — CLAUDE.md / cloud.html / guide.html 中的配置示例
影响文件: 14 个(portable/, install/, website/, u-claw-app/, usb-release/)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-09 22:05:09 +08:00
hfshfg
220599584e
feat: add WeChat QR code login to config-server
...
Add in-app WeChat scanning via Tencent iLink API:
- server.js: QR code PNG renderer, WeChat API proxy, plugin auto-install
- index.html: WeChat channel card with QR display and polling UI
- Windows-Start.bat: auto-install WeChat plugin on startup
- Windows-Install.bat: copy WeChat plugin during installation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-09 22:03:20 +08:00
hfshfg
5dc204ab4e
fix: 补全遗漏的 botToken 修复(config-server + 官网教程)
...
code review 发现三处漏修:
- fix(config-server/public/index.html): botToken → token,
这是实际运行的配置页面,漏改会导致用户配置后仍然 401
- fix(website/tutorial.html): 示例 JSON botToken → token
- fix(website/guide.html): 示例 JSON botToken → token
文档示例错误会导致用户手动配置时照抄出错
全仓库现已无 botToken 残留。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-01 10:04:24 +08:00
hfshfg
6569bcddf6
fix: Windows-Start.bat 启动修复 + Config Center 全面升级
...
Windows-Start.bat:
- 去掉 EnableDelayedExpansion,避免感叹号解析问题
- 用 config-server (18788端口) 替代直接打开 Config.html
- 去掉有 bug 的 token 读取(引号嵌套问题)
- 去掉 powershell 日志管道,简化启动流程
- 对齐 H 盘已验证可用的方案
Config Center (config-server/public/index.html):
- 步骤式引导:选模型 → 填 Key → 启动
- 11 个模型:MiniMax/Kimi/DeepSeek/智谱GLM/通义千问/豆包/OpenAI/Claude/Groq/硅基流动/自定义
- 4 个聊天平台:Telegram/QQ/飞书/企业微信
- Gateway 状态实时检测
- 正确的 OpenClaw v3 配置格式
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-20 10:47:52 +08:00
hfshfg
8ae4d87e4f
feat: add independent config server to replace Config.html
...
Replaces the problematic file:// protocol Config.html with a stable
Node.js HTTP server following industry standard patterns (n8n, Langflow).
Changes:
- Add portable/config-server/ with REST API (GET/POST /api/config)
- Add simplified Chinese/English web UI for AI model and QQ Bot config
- Update Windows-Start.bat to launch both services simultaneously
- Config Center on port 18788
- OpenClaw Gateway on port 18789
- Remove Config.html file:// protocol issues
- Use zero-dependency pure Node.js standard library
Benefits:
- No file:// CORS or WebSocket issues
- Industry-standard localhost HTTP pattern
- Simplified configuration interface for Chinese users
- Unified startup experience
🤖 Generated with Claude Code
2026-03-12 20:26:15 +08:00