zhixian b81d2636f4 feat: add session analysis and management to Doctor page
- Add analyze_sessions backend command that scans all agent sessions,
  classifies them as empty/low_value/valuable based on message count,
  age, and file size
- Add delete_sessions_by_ids command with support for both sessions
  and sessions_archive directories
- Add preview_session command to view full session message content
- Doctor page now has Analyze button (primary color) showing two-level
  view: agent summary with category badges, expandable session details
  with checkboxes for batch deletion
- Session IDs are clickable to preview conversation content in a dialog
- Delete/Deselect buttons placed next to clean buttons for easy access
- Optimistic UI updates on deletion without requiring re-analysis
- All heavy I/O commands run via spawn_blocking to avoid UI freezes
- Add Doctor route to App navigation sidebar
- Hide Memory section from Doctor page

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-18 20:04:27 +09:00

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

npm install
npm run dev

Override folders outside ~/.openclaw

You can place ClawPal-managed files outside ~/.openclaw with env vars:

export CLAWPAL_OPENCLAW_DIR="$HOME/.openclaw"   # OpenClaw 配置来源目录(默认)
export CLAWPAL_DATA_DIR="$HOME/.clawpal"        # ClawPal 元数据目录(默认: $CLAWPAL_OPENCLAW_DIR/.clawpal

Build

npm run build
cd src-tauri && cargo build

Release

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
Description
No description provided
Readme 2.5 MiB
Languages
Rust 49.9%
TypeScript 48.8%
Shell 0.7%
CSS 0.5%