Skip to content

Sessions as first-class: list/reset/patch, many per agent #57

Closed

Description

@melvincarvalho

openclaw separates session from agent — sessionKey addressing, sessions.list/reset/patch, multiple concurrent conversations per agent, resettable without touching identity. jsclaw has one implicit session per surface (webchat run, channel peer) and stubbed sessions.* methods (#48). Real sessions are the biggest remaining gap in #46 and the openclaw TUI's session switcher depends on them. Scope: a session store (sessionKey -> {agentId, sessionId, meta}), wire methods, channel/webchat integration.

Activity

  1. added a commit that references this issue on Jun 11, 2026
  2. melvincarvalho commented on Jun 11, 2026

    @melvincarvalho
    ContributorAuthor

    Shipped in #71 to the audited scope: persistent SessionStore index over the runners' transcript layer (openclaw's two-layer model and key conventions), session continuity on the webchat/TUI path (didn't exist before), channel sessions surviving gateway restarts, true /reset everywhere, sessions.list/reset/patch in openclaw shapes with per-session model overrides honored by runs. Verified live: codeword recalled across separate chat.send calls; data/sessions.json persisting the index. Deferred: hasActiveRun, exotic patch fields, cron/hook namespaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions