session-bridge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SESSION_BRIDGE_DIR | No | Set to a path to isolate state per environment (custom data directory). | |
| SESSION_BRIDGE_DISABLE_HOOK | No | Set to 1 in automated/headless runs to keep hooks completely silent. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_claude_sessionsA | List Claude Code sessions on this machine with live PID status, name, working directory (including git worktrees), status, session_id, and transcript size. |
| read_claude_sessionA | Read a Claude Code session transcript cleanly (stripping API request blobs and system-reminder noise). Supports lookup by session_id, PID, or title substring. |
| search_claude_sessionsB | Search across Claude Code active transcripts, prompt history (~/.claude/history.jsonl), or recent closed transcripts. |
| list_antigravity_sessionsB | List Antigravity (CLI, App, IDE) conversations with conversation_id, title, workspaces, status, updated timestamp, and artifact paths. |
| read_antigravity_sessionB | Read an Antigravity conversation transcript and its artifacts cleanly. Supports lookup by conversation_id (or prefix) or title substring. |
| search_antigravity_sessionsC | Search across Antigravity conversation titles and transcripts. |
| list_codex_sessionsA | List OpenAI Codex CLI sessions from ~/.codex/sessions with session_id, title, working directory, model, git branch, and updated timestamp. |
| read_codex_sessionA | Read a Codex CLI session transcript cleanly (stripping environment_context and encrypted reasoning payloads). Supports lookup by session_id (or prefix) or title/cwd substring. |
| search_codex_sessionsB | Search across Codex CLI session transcripts or prompt history (~/.codex/history.jsonl). |
| list_gemini_sessionsA | List Gemini CLI sessions from ~/.gemini/tmp/*/chats with session_id, title, resolved project working directory, model, and updated timestamp. |
| read_gemini_sessionB | Read a Gemini CLI session transcript cleanly (supporting both .json and .jsonl formats). Supports lookup by session_id (or prefix) or title/cwd substring. |
| search_gemini_sessionsC | Search across Gemini CLI session titles and transcripts. |
| ledger_upsert_taskC | Create or update a task on the shared cross-agent ledger (~/.local/share/session-bridge/bridge.db & LEDGER.md). Tracks status, who has the ball ('claude', 'antigravity', 'codex', 'gemini', 'user', 'none'), worktree ownership, branch, commit SHA, and next step. |
| ledger_list_tasksA | List tasks on the shared cross-agent ledger, optionally filtered by status or ball_with. |
| bridge_send_messageA | Send a structured message (handoff, review_request, review_verdict, question, note) between coding agents via the shared mailbox. Can atomically flip a linked ledger task's status and ball_with in the same call. Sending does NOT wake the recipient: the result's |
| bridge_check_inboxA | Check the shared mailbox for messages addressed to an agent role ('claude', 'antigravity', 'codex', 'gemini') or a specific session ID. Acknowledges read messages by default (ack=true). |
| bridge_ack_messagesA | Explicitly acknowledge message IDs when bridge_check_inbox was called with ack=false. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Each tool targets a distinct resource+action: the four provider families are cleanly separated (list/read/search per Gemini, Antigravity, Codex, Claude), and the ledger and mailbox tools occupy clearly different domains. The only near-overlap is bridge_check_inbox (ack=true by default) versus bridge_ack_messages, and the descriptions explicitly explain the ack=false workflow that separates them.
Twelve tools follow a strict verb_provider_noun pattern (list_gemini_sessions, read_codex_session, search_claude_sessions), and the collaboration tools follow a namespace_verb_noun pattern (ledger_upsert_task, bridge_send_message). Two coexisting conventions is a minor deviation, but each family is internally consistent and readable.
17 tools is slightly above the comfortable range, but the count is fully accounted for by a systematic 4 providers × 3 operations matrix plus 5 collaboration tools. Nothing appears redundant, though the per-provider symmetry means any new provider adds three more tools.
Session lifecycle (list, read, search) is covered for all four agent CLIs, and the ledger/mailbox surface supports create, update, list, send, receive, and acknowledge. Gaps are minor: no task delete/archive or single-task get on the ledger, no message history/thread view beyond the inbox, and no unified cross-provider search despite the 'bridge' framing.