clawdis

Session Management

Clawdis treats one session as primary. By default the canonical key is main for every direct chat; no configuration is required. You can rename it via inbound.reply.session.mainKey if you really want, but there is still only a single primary session. Older/local sessions can stay on disk, but only the primary key is used for desktop/web chat and direct agent calls.

Where state lives

Mapping transports → session keys

Lifecyle

Configuration (optional rename example)

// ~/.clawdis/clawdis.json
{
  inbound: {
    reply: {
      session: {
        scope: "per-sender",      // keep group keys separate
        idleMinutes: 120,
        resetTriggers: ["/new"],
        store: "~/.clawdis/sessions/sessions.json",
        mainKey: "main"           // optional rename; still a single primary
      }
    }
  }
}

Inspecting

Tips