feat: ClawPal v0.1 — Tauri desktop GUI for OpenClaw

4-page layout (Home, Recipes, Settings, Doctor) with sidebar nav
and integrated Chat panel powered by OpenClaw agent (--local).

- Home: status, agents overview, recommended recipes, recent activity
- Recipes: browse, preview diff, apply with params
- Settings: model profiles CRUD, chat model selection, provider catalog
- Doctor: diagnostics with auto-fix
- Chat: OpenClaw agent integration with session persistence,
  agent selector, read-only advisory context injection
- Progressive data loading to avoid UI blocking
- API key resolution from OpenClaw agent auth-profiles
- Model catalog from openclaw CLI with cache

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
zhixian
2026-02-17 01:16:38 +09:00
commit 700c5e9ab2
53 changed files with 20292 additions and 0 deletions

42
README.md Normal file
View File

@@ -0,0 +1,42 @@
# ClawPal MVP (Tauri)
ClawPal is a local helper for OpenClaw configuration:
- install scenarios via Recipes
- one-click rollback for every config change
- local doctor checks with basic auto-fixes
## Quick start
```bash
npm install
npm run dev
```
### Override folders outside `~/.openclaw`
You can place ClawPal-managed files outside `~/.openclaw` with env vars:
```bash
export CLAWPAL_OPENCLAW_DIR="$HOME/.openclaw" # OpenClaw 配置来源目录(默认)
export CLAWPAL_DATA_DIR="$HOME/.clawpal" # ClawPal 元数据目录(默认: $CLAWPAL_OPENCLAW_DIR/.clawpal
```
## Build
```bash
npm run build
cd src-tauri && cargo build
```
## Release
```bash
npm run release:dry-run
npm run release
```
## Project layout
- `src/` React + TypeScript UI
- `src-tauri/` Rust + Tauri host and command APIs
- `docs/plans/` design and implementation plan