← Back to Plugins
Tools

Session Manager

NeXT-Scene By NeXT-Scene 👁 2 views ▲ 0 votes

Session Manager Plugin for OpenClaw โ€” organize, rename, group, archive, and bulk-delete sessions with a Vue 3 dashboard UI

Homepage GitHub

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

Loading comments...