overwatch sessions
List and manage active approval sessions.Usage
Subcommands
| Subcommand | Description |
|---|---|
list (or ls) | List all active sessions |
revoke <id> | Revoke a specific session |
Options
| Option | Description |
|---|---|
--all | Revoke all sessions (with revoke) |
--json | Output in JSON format |
Examples
List Sessions
Revoke Session
Revoke All Sessions
Session Types
| Scope | Description | Example |
|---|---|---|
exact | Exact tool name match | query only |
tool | Pattern match | read_* matches read_file, read_directory |
server | All tools on server | All postgres tools |
Session Durations
When approving a tool call, you choose a duration:| Duration | Length | Use Case |
|---|---|---|
| Once | ~1 second | Single operation |
| 5 min | 5 minutes | Quick tasks |
| 15 min | 15 minutes | Moderate tasks |
| Session | 24 hours | Full work session |
Session Persistence
Sessions are stored in SQLite (~/.overwatch/sessions.db) and persist across Overwatch restarts. Background cleanup removes expired sessions automatically.
Audit Trail
Each session includes audit information:- Who approved the session
- What tool/pattern was approved
- When it was created and expires
- Usage count (how many times used)
- Revocation details if revoked
Security Notes
- Sessions are scoped to specific tools/servers
- Expired sessions are automatically cleaned up
- Revoking sessions takes effect immediately
- Sessions include full audit trail