-
Notifications
You must be signed in to change notification settings - Fork 0
SessionSharing
github-actions[bot] edited this page Feb 28, 2026
·
1 revision
Sprint EE CS — Real-time collaborative session sharing.
Session sharing lets you invite other devices or users to view a live clawd session. Shares are token-based, expire automatically, and can be revoked at any time.
- Create a share token for a session (
session.share) - Send the token to the viewer (out of band — clipboard, message, etc.)
- Viewer opens the session using the token — read-only access
- Revoke the token at any time (
session.revokeShare)
| Method | Description |
|---|---|
session.share |
Create a share token for a session |
session.revokeShare |
Revoke an active share token |
session.shareList |
List active shares for a session |
{ "session_id": "abc123", "expires_in": 3600 }Returns:
{
"shareToken": "clw_share_...",
"expiresAt": "2026-02-26T18:00:00Z"
}{ "share_token": "clw_share_..." }Returns: { "ok": true }
{ "session_id": "abc123" }Returns:
{
"shares": [
{
"shareToken": "clw_share_...",
"sessionId": "abc123",
"expiresAt": "2026-02-26T18:00:00Z",
"createdAt": "2026-02-26T14:00:00Z"
}
]
}Shares are stored in the session_shares table:
CREATE TABLE session_shares (
id TEXT PRIMARY KEY,
session_id TEXT NOT NULL,
share_token TEXT NOT NULL UNIQUE,
expires_at TEXT,
revoked_at TEXT,
created_at TEXT NOT NULL DEFAULT (datetime('now'))
);A share is active when revoked_at IS NULL AND (expires_at IS NULL OR expires_at > datetime('now')).
Open any session → tap the share button → create a token → send it to a viewer.
The Shared Session screen lists all active tokens with time-to-expiry and a revoke button.
- Tokens use
clw_share_prefix for easy identification - Viewers have read-only access — they cannot send messages or modify the session
- Always set a reasonable expiry (
expires_in) — avoid indefinite shares - Revoke tokens immediately when collaboration ends
ClawDE · GitHub · MIT License
ClawDE
Getting started
Reference
- Architecture
- Daemon-Reference
- Folder-Structure
- Providers
- Multi-Account
- Security
- Features
- Features/Daemon
- Features/Session-Manager
- Features/Mode-System
- Features/Repo-Intelligence
- Features/Projects
- Features/Remote-Access
- Features/Desktop-App
- Features/Provider-Knowledge
- Features/Coding-Standards
- Roadmap
Branding
Contributing