Skip to content

Merge sessions across all detected agents #35

Description

@Dodhon

Summary

Handle multiple agent session paths instead of selecting a single preferred agent.

Problem

Auto-detect currently picks the first preferred agent (main/main2) and ignores other agents, so sessions from other agents are not visible.

Scope

  • Detect all agent session paths under ~/.openclaw/agents/*/sessions(.json).
  • Merge sessions across agents with agent labels.
  • Avoid duplicate session IDs if multiple agents share ids.

Acceptance Criteria

  • Sessions list includes entries from all detected agents.
  • Each session is labeled with its agent name.
  • When agents share session IDs, the UI still distinguishes them (e.g., compound id or namespace).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions