Esbabbler call

From Esposter/Esposter · View interactive version

Esbabbler call is an AI agent skill from the GitHub repository Esposter/Esposter. Apply when working on calls (store/message/room/call/, realtime.ts, callSession routers, /calls pages). Esposter's messaging calls.

How to use this skill

Skill file

Esbabbler Calls — Implementation

Calls build on callSessionsInMessage (D1) + each call's CallObject, a Durable Object that holds the call's participants, knockers and admissions in its own SQLite. The session row persists; participants do too, while the call is live.

Key entities

A call is one persistent callSessionsInMessage row whose id is the join code and whose object is named by that id, holding the participant, knocker and admission tables and the call's start time (references/session-lifecycle.md).

Random id terminology

A call's join code is the row's id, made by createId(CALL_ID_LENGTH) — the random-id key rule is in the drizzle skill, references/primary-keys.md.

Standalone vs room calls

A room call joins by joinCallByRoomId under room RBAC; a standalone call is createCall() then joinCall({ id }), open to the creator and admitted knockers; a thread call is a room call keyed by its thread (references/call-kinds.md).

Call session lifecycle

readCallSessionId on room entry, joinCallByRoomId or joinCall to join, the call socket opened for callSessionId, and leaveCall writing a room call's duration message when its last participant leaves (references/session-lifecycle.md).

Call leave boundaries

Only user intent, moderation, session loss and leaving /calls/[id] remove the local participant — room navigation never does (references/leave-boundaries.md).

Client-side call stores

useCallStore holds activeCallSessionId (the call the user is in) and currentRoomCallSessionId (the viewed room's) — never swapped; participants are useParticipantStore, media useMediaStore, and every track and device useRealtimeStore (references/client-stores.md).

Deep Dives

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.