Commit Graph

107 Commits

Author SHA1 Message Date
dongsheng123132
9136b5ae69 feat: add USB builder tool and install-to-computer scripts
- build-usb.sh: one-click USB drive builder (downloads Node.js + OpenClaw
  from China mirrors, packages into USB-ready directory)
- Mac-Install.command: install from USB to Mac (~/.uclaw/), offline-first
  with China mirror fallback
- Windows-Install.bat: same for Windows
- README.md rewritten to position project as "USB drive builder toolkit"
2026-03-12 14:02:53 +08:00
dongsheng123132
254e7ce293 docs: update guide with dev setup, mirrors, actual file names
- Add "开发者搭建指南" page with full clone-to-run instructions
- Add "国内镜像源" page with npm/Node.js/Electron/Git mirrors
- Update quickstart to show 3 ways: USB, desktop app, developer build
- Update USB run page with actual file names (Mac-Start.command etc)
- Update install-pc page with setup.sh one-click workflow
- Add portable vs desktop comparison table
2026-03-12 13:46:08 +08:00
dongsheng123132
c2084094e9 fix: setup.sh skip interactive prompt in non-TTY mode 2026-03-12 13:30:49 +08:00
dongsheng123132
71e4f5b357 feat: add one-click setup scripts for desktop app (Mac + Windows)
- setup.sh: auto-downloads Node.js + npm deps + runtime from China mirrors
- setup.bat: same for Windows, guides to install Node.js if missing
- Both set Electron mirror to npmmirror.com for China users
- Updated README with new setup instructions
2026-03-12 13:25:18 +08:00
dongsheng123132
ed454f78ac fix: correct openclaw.mjs path in Windows scripts, remove broken build step
Same fixes as Mac scripts: use full node_modules path for openclaw.mjs
and remove non-existent npm run build step.
2026-03-12 12:03:17 +08:00
dongsheng123132
5b9673c947 fix: correct openclaw.mjs path and remove broken build step
- openclaw.mjs is at node_modules/openclaw/openclaw.mjs, not core root
- Remove npm run build (openclaw doesn't need a build step via npm)
- Fix both Mac-Start.command and Mac-Menu.command
2026-03-12 12:00:09 +08:00
dongsheng123132
359509d146 docs: add CLAUDE.md, rewrite llms.txt with accurate install/config guide
- CLAUDE.md: architecture, dev setup, branding rules for AI agents
- llms.txt: update version to 2.0, fix platform support, add developer
  quick start, env vars, config format, correct script names
2026-03-12 11:54:25 +08:00
dongsheng123132
50fb41fc1c fix: clean up guide.html nav — remove duplicates, link to SkillHub 2026-03-12 11:27:16 +08:00
dongsheng123132
33a7a4e950 fix: add vercel.json to serve website/ directory
Website files moved to website/ subdirectory, Vercel needs
outputDirectory config to find them.
2026-03-12 11:21:32 +08:00
dongsheng123132
d7bd77d59a fix: remove all external community references, use U-Claw branding
- Replace all openclaw-cn commands with openclaw (official)
- Remove OpenClaw-CN community fork links (jiulingyun)
- Remove clawd.org.cn, skillhub.tencent.com references
- Remove clawdbot-ai/awesome-openclaw-skills-zh links
- Update guide.html, llms.txt, skills.html, SkillHub.html, tutorial
- All links now point to U-Claw (u-claw.org) or OpenClaw official
2026-03-12 11:18:43 +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
75b5daab57 fix: Windows first-run opens Config.html instead of onboard
- Windows-Start.bat now detects first run and opens Config.html
- Added custom/relay model option for API proxy platforms
2026-03-11 00:58:55 +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
dongsheng123132
bdae129e44 docs: bilingual README for v1.1 release 2026-03-11 00:16:00 +08:00
dongsheng123132
022f4f1f9a feat: v1.1 - simplified menus, pre-installed QQ plugin, updated README
- Simplify menus from 17 to 8 options (config, dashboard, QQ, platforms, diagnostics, backup, restore, sysinfo)
- Pre-install QQ bot plugin (@sliverp/qqbot) - users only need AppID + Secret
- Install scripts now extract next to themselves (works on USB or computer)
- Rename all scripts to English (Mac-Install, Windows-Install, Mac-Start, etc.)
- Add README.txt for USB drive with bilingual instructions
- Rewrite README.md to match current v1.1 structure
- Remove old Chinese-named scripts, build script, test files, QR images
- Add Toolkit/ and U-Claw-CN/ to .gitignore
2026-03-11 00:09:10 +08:00
dongsheng123132
c1e94d4dd9 feat: add navigation page and rename scripts to English prefixes
- Add U-Claw.html navigation page with OS auto-detection and live status
- Rename scripts: start → Mac-Start/Windows-Start, menu → Mac-Menu/Windows-Menu
- Update installer scripts to reference new v2 directory structure (app/core)
- Update .gitignore to exclude build artifacts and marketing assets
2026-03-10 22:55:20 +08:00
dongsheng123132
797593c398 feat: unified portable package with full menu
- Single package for Mac ARM64 + Windows x64
- start.command/bat = quick launch (gateway + browser)
- menu.command/bat = full 13-option menu:
  config wizard, QQ Bot, Feishu, skills, diagnostics,
  backup/restore, reset, China mirror, system info
- app/data/system separation for safe upgrades
2026-03-10 22:44:56 +08:00
dongsheng123132
6c1bff5572 feat: v1.1 portable architecture (app/data separation)
New directory structure:
- app/core/ = OpenClaw program
- app/runtime/ = Node.js
- data/ = user config, memory, backups (never overwritten on upgrade)
- system/ = migration scripts

Features:
- Auto port detection (18789-18799)
- macOS Gatekeeper auto-fix (xattr quarantine removal)
- Windows UTF-8 BOM + CRLF encoding
- Config auto-migration on startup
- Platform-specific packages (Mac ARM64 + Windows x64)
2026-03-10 22:10:28 +08:00
dongsheng123132
6f7af5fa49 fix: Windows encoding (UTF-8 BOM + CRLF) and macOS Gatekeeper
- Windows bat files: UTF-8 BOM + CRLF + English text to avoid garbled Chinese in cmd.exe
- macOS scripts: xattr -rd com.apple.quarantine to fix "unverified developer" popup
- New install scripts: Mac-安装并启动.command, Windows-安装并启动.bat
  (extract tar.gz to local disk then launch)
2026-03-10 18:43:58 +08:00
dongsheng123132
fc725247d1 chore: remove Linux support to simplify project
Drop Linux startup script and all Linux references from README.
Only Mac + Windows supported going forward.
2026-03-10 16:29:54 +08:00
dongsheng123132
fb87b6658e feat: skip onboard, go straight to web dashboard
- Remove CLI onboard wizard from startup scripts
- Auto-create minimal config on first run (gateway mode + token)
- Always start gateway → auto-open browser dashboard
- Users configure models and platforms in web UI instead of CLI
- Simpler flow: double-click → browser opens → configure in dashboard
2026-03-10 16:23:40 +08:00
dongsheng123132
1bcdbfca09 feat: add AI agent optimization and WeChat ID to website
- Add JSON-LD structured data for AI crawlers and search engines
- Add llms.txt for AI agent discovery (product info, commands, skills)
- Add WeChat ID (hecare888) to contact section in help doc
- Add canonical URL and robots meta
2026-03-10 16:11:27 +08:00
dongsheng123132
0f6e79585d feat: add help guide, skills marketplace, and contact page to website
- Add guide.html: full help documentation with sidebar navigation
  (快速开始/接入平台/模型配置/技能/常见问题/官方文档)
  includes 39 curated Chinese skills, embedded WeChat QR for offline use
- Add skills.html: skills marketplace page with search, category filter,
  and one-click install commands for 6 Chinese social platforms
- Update index.html: add guide entry button in hero and footer
2026-03-10 15:56:03 +08:00
wucheng
5bcceb7391 add some desc 2026-03-10 15:43:11 +08:00
xmanrui
4ba64af255 fixed run build error 2026-03-10 03:27:40 +08:00
dongsheng123132
eef6ead800 refactor: use concise script names (从U盘启动/全部功能/安装到电脑) 2026-03-09 20:19:56 +08:00
dongsheng123132
30907dedc8 feat: rename scripts with descriptive Chinese names
Mac-插上U盘直接用.command / Windows-插上U盘直接用.bat
Mac-全部功能菜单(17项).command / Windows-全部功能菜单(17项).bat
Mac-安装到电脑(永久).command / Windows-安装到电脑(永久).bat
Linux-插上U盘直接用.sh
2026-03-09 20:18:23 +08:00
dongsheng123132
661aff21d0 docs: update README with v1.1 menu, platform-prefixed filenames 2026-03-09 20:12:54 +08:00
dongsheng123132
98a8b2e2c0 refactor: use platform prefix for script names (Mac-/Windows-/Linux-)
Easier for users to identify at a glance which file to double-click.
e.g. Mac-运行.command, Windows-运行.bat, Linux-运行.sh
2026-03-09 20:07:55 +08:00
dongsheng123132
8538f14926 feat: add platform suffix to script names + test suite
Rename scripts with -Windows/-Mac/-Linux suffix so users can easily
identify which file to double-click on the USB drive.

Add tests/test-scripts.sh with 93 checks covering:
- File existence, bash syntax, portable mode, gateway run, security
- Cross-platform consistency between .bat and .command versions
2026-03-09 20:03:42 +08:00
dongsheng123132
eb9260683f feat: sync Windows .bat scripts with macOS changes
- 运行.bat: add portable mode, gateway run with --allow-unconfigured --force
- 启动菜单.bat: 17-item menu, QQ Bot support, model hints, dashboard
- 安装到电脑.bat: add safety warnings, remove .env backup, add error checks
2026-03-09 19:59:25 +08:00
dongsheng123132
fae6060ce9 feat: add Chinese model selection hints before onboard wizard 2026-03-09 19:45:02 +08:00
dongsheng123132
d6532b4f96 fix: rename [5] to clarify it's the setup wizard 2026-03-09 19:43:25 +08:00
dongsheng123132
b8fd4eb452 fix: add [17] web dashboard tip in doctor menu 2026-03-09 19:39:13 +08:00
dongsheng123132
f4203629c7 simplify: use openclaw onboard for model config instead of custom .env
Don't reinvent the wheel - OpenClaw's own onboard flow handles model
selection, auth, and provider config correctly and securely.
2026-03-09 19:23:28 +08:00
dongsheng123132
cc001e4162 fix: rewrite model config to use models.json + auth-profiles.json
Old approach wrote .env which OpenClaw ignores. Now writes directly
to portable-home agent config files and sets default model via
openclaw config set.
2026-03-09 19:21:13 +08:00
dongsheng123132
cd402a0e5a fix: split QQ bot AppID/AppSecret into separate inputs
Also adds optional allowFrom whitelist prompt and clearer instructions.
2026-03-09 19:09:15 +08:00
dongsheng123132
fa53d6ba25 feat: auto-open browser after gateway starts
Gateway run doesn't open browser by itself. Now scripts wait for
port 18789 to be ready, read auth token from config, and open the
dashboard URL in the default browser automatically.
2026-03-09 19:03:01 +08:00
dongsheng123132
48fab3c060 fix: add --allow-unconfigured --force to gateway run
--allow-unconfigured: lets gateway start without gateway.mode=local
--force: kills existing listener on port 18789 to avoid conflicts
2026-03-09 18:24:59 +08:00
dongsheng123132
56dcf4c811 fix: use gateway run instead of dashboard for persistent service
dashboard only opens browser and exits immediately; gateway run keeps
the service running so the web UI can actually connect.
2026-03-09 18:08:55 +08:00
dongsheng123132
d35cf65727 fix: remove fallback to bare openclaw.mjs after dashboard exits
The `|| openclaw.mjs` fallback ran when dashboard exited with non-zero
(e.g. Ctrl+C), triggering "Control UI assets not found" error message.
2026-03-09 18:01:10 +08:00
dongsheng123132
069e348f6f feat: USB portable mode, remove pnpm dep, improve install UX
- Config/state/memory now saved to USB drive (portable-home/)
- Remove pnpm dependency, use npm directly
- Add spinner animation for long copy operations
- Use tar instead of cp -R to avoid macOS resource fork issues
- Add dashboard menu option [17]
- Add safety warnings for shared/temporary computers
- Simplify docs: remove Linux support, outdated pricing info
- Add ~/.local/bin symlinks (no sudo needed)
2026-03-09 17:53:14 +08:00
dongsheng123132
6be637b77c Revert "chore: update website links to vercel domain"
This reverts commit a5ac6215be.
2026-03-09 11:52:48 +08:00
dongsheng123132
a5ac6215be chore: update website links to vercel domain 2026-03-09 11:51:49 +08:00
dongsheng123132
97448d4317 feat: add Linux support, pnpm build fixes, and website updates
- Add Linux x64 platform support (运行.sh, build script, docs)
- Fix pnpm-first build logic across all launcher scripts
- Update website: 3→4 platforms, Linux in 3-step guide
- Update docs: Qwen free tier, StepFun model, 省钱提示
- Fix .gitignore for build artifacts
2026-03-09 11:37:33 +08:00
dongsheng123132
0bfa26e6e2 fix: make 虾盘 same size as U-Claw in hero title 2026-03-09 11:20:16 +08:00
dongsheng123132
72241ed54b feat: add 虾盘 subtitle to hero title in Chinese mode 2026-03-09 11:18:45 +08:00
dongsheng123132
77ed5c78bf fix: use Xiaohongshu link instead of QR image, keep WeChat QR 2026-03-09 11:16:03 +08:00
dongsheng123132
2a1c8101e5 feat: add Xiaohongshu QR code to website, README, guide, and USB build 2026-03-09 11:14:25 +08:00