Files
clawpal/scripts/release.sh
zhixian 700c5e9ab2 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>
2026-02-17 01:16:38 +09:00

31 lines
622 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
DRY_RUN=0
if [ "${1:-}" = "--dry-run" ]; then
DRY_RUN=1
fi
say() {
printf "%s\n" "$1"
}
run_or_print() {
if [ "$DRY_RUN" -eq 1 ]; then
say "[dry-run] $*"
else
say "[run] $*"
eval "$@"
fi
}
say "ClawPal MVP release assistant"
run_or_print "npm run typecheck"
run_or_print "npm run build"
run_or_print "cd src-tauri && cargo fmt --all --check"
run_or_print "cd src-tauri && cargo check"
run_or_print "cd src-tauri && cargo check --target-dir target/check"
run_or_print "cd src-tauri && cargo check"
run_or_print "cd src-tauri && cargo tauri build"
say "Done."