Tools
Session Manager
Session Manager Plugin for OpenClaw โ organize, rename, group, archive, and bulk-delete sessions with a Vue 3 dashboard UI
Configuration Example
{
"plugins": {
"entries": {
"session-manager": {
"enabled": true
}
}
}
}
README
# Session Manager โ OpenClaw Plugin
A powerful session management plugin for [OpenClaw](https://openclaw.ai) that provides an elegant Vue 3 dashboard UI for organizing, renaming, grouping, archiving, and bulk-deleting sessions.
## Features
- ๐๏ธ **Session List** โ Sortable, searchable table with per-session metadata
- โ๏ธ **Rename** โ Give sessions friendly names
- ๐ **Groups** โ Organize sessions into custom groups
- ๐ท๏ธ **Labels** โ Tag sessions with multiple labels
- ๐ **Pin** โ Pin important sessions to the top
- ๐ฆ **Archive** โ Archive sessions you want to keep but not see in active lists
- ๐๏ธ **Bulk Delete** โ Multi-select and delete multiple sessions at once
- ๐ค **AI Auto-Organize** โ Analyze sessions and suggest intelligent group assignments
- ๐ **Dark/Light Theme** โ Matches OpenClaw Dashboard design tokens exactly
## Architecture
```
session-manager/
โโโ manifest.json # OpenClaw plugin manifest
โโโ panel_server.py # Python HTTP API server
โโโ panel/
โ โโโ index.html # Standalone HTML panel (legacy)
โ โโโ dist/ # Built Vue 3 UI (served by panel_server.py)
โโโ scripts/
โ โโโ session_meta.py # CLI metadata operations
โโโ SKILL.md # OpenClaw skill definition
```
## Quick Start
### 1. Start the Panel Server
```bash
cd session-manager/panel
python panel_server.py
```
The server runs on **http://localhost:18790** by default.
### 2. Open in Browser
Navigate to **http://localhost:18790**
### 3. Install as OpenClaw Plugin (optional)
Add to your OpenClaw config:
```json
{
"plugins": {
"entries": {
"session-manager": {
"enabled": true
}
}
}
}
```
## API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | `/api/all` | Get all sessions + metadata |
| GET | `/api/ping` | Health check |
| POST | `/api/rename` | Rename a session |
| POST | `/api/meta` | Update session metadata (group, labels, pin) |
| POST | `/api/archive` | Archive/unarchive a session |
| POST | `/api/delete` | Delete a session |
| POST | `/api/bulk-delete` | Bulk delete sessions |
| POST | `/api/switch` | Switch to a session |
| POST | `/api/ai-suggest` | Get AI-organized suggestions |
| POST | `/api/ai-apply` | Apply AI suggestions |
## Configuration
Environment variables:
| Variable | Default | Description |
|----------|---------|-------------|
| `SESSION_PANEL_PORT` | `18790` | Server port |
| `OPENCLAW_SESSION_META_PATH` | `~/.openclaw/session-meta.json` | Metadata storage path |
## License
MIT โ NeXT-Scene
tools
Comments
Sign in to leave a comment