Skip to content

[Enhancement] No parent/child relationships visible for subagents in sidebar #26

@YoungVoney

Description

@YoungVoney

When a main session spawns subagents, there's no visual indication of the parent-child relationship in the sidebar.

Current Behavior

All sessions appear in a flat list:
OpenClaw (expanded) ├─ telegram:g-agent-main-main ├─ System: [date] Exec... (actually a subagent) ├─ Cron: ClawRouter Wallet Monitor ├─ Cron: Daily Memory Curation └─ Cron: Anti-Todo Hourly Logger

No indication that "System: [date]..." was spawned BY the telegram session.

Expected Behavior

Option A: Tree view with indentation
OpenClaw (expanded) ├─ telegram:g-agent-main-main │ └─ Subagent: test-subagent-demo (spawned from main) ├─ Cron: ClawRouter Wallet Monitor ├─ Cron: Daily Memory Curation └─ Cron: Anti-Todo Hourly Logger

Option B: Collapsible parent with children
OpenClaw (expanded) ├─► telegram:g-agent-main-main (1 subagent) │ └─ Subagent: test-subagent-demo ├─ Cron: ClawRouter Wallet Monitor ├─ Cron: Daily Memory Curation └─ Cron: Anti-Todo Hourly Logger

Option C: Parent context in subagent name
OpenClaw (expanded) ├─ telegram:g-agent-main-main ├─ Subagent: test-subagent-demo (from telegram:g-agent-main-main) ├─ Cron: ClawRouter Wallet Monitor ├─ Cron: Daily Memory Curation └─ Cron: Anti-Todo Hourly Logger

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