Skip to content

feat: discover OpenCode and Pi sessions on paired nodes #106913

Closed

Description

@steipete

Summary

Add paired-node external session catalogs for OpenCode and Pi.

Problem to solve

The Control UI can discover and inspect Codex and Claude sessions on paired nodes, but OpenCode and Pi sessions are absent. Users must switch tools or machines to find prior work and read its transcript.

Proposed solution

Auto-detect OpenCode and Pi stores on the gateway and paired nodes. Show both catalogs in the existing session sidebar, provide view-only transcript reading, and expose enabled-by-default plugin settings in the Control UI so operators can disable either catalog.

Alternatives considered

Core-specific scanners would duplicate plugin-owned storage knowledge. Manual import would add state and stale copies. Plugin-owned catalog providers reuse the existing generic catalog and node command seams without adding a new UI system.

Impact

Affected: OpenCode and Pi users with local or paired-node histories.

Severity: Medium workflow gap.

Frequency: Every time prior sessions need inspection from OpenClaw.

Consequence: Extra tool and machine switching; remote session history remains invisible.

Evidence/examples

Expected parity with the existing Codex and Claude external-session sidebar. OpenCode exposes session list/export commands; Pi stores versioned JSONL sessions.

Additional information

Initial scope is view-only. Continue and archive remain unsupported until those tools expose safe owner-specific contracts.

Activity

  1. added
    enhancement
    on Jul 13, 2026
  2. added
    maintainer
    on Jul 13, 2026
  3. added
    P2
    impact:ux-friction
    issue-rating: 🌊 off-meta tidepool
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    on Jul 14, 2026
  4. clawsweeper commented on Jul 14, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 13, 2026, 8:09 PM ET / July 14, 2026, 00:09 UTC.

    Summary
    Keep open: current main provides the plugin-owned catalog, paired-node, and Control UI pattern for Codex, but no OpenCode or Pi catalog implementation was found; this fresh maintainer-labeled request needs an explicit decision on official plugin ownership and default activation.

    Reproducibility: not applicable. This issue requests new catalog coverage rather than reporting broken established behavior. Current documentation confirms that paired-node external-session discovery exists for Codex but does not establish OpenCode or Pi support.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Include the exact command, prompt, or workflow that triggered it.
    • Add expected vs actual behavior.

    Next step
    A protected maintainer feature needs an explicit decision on official plugin ownership, activation defaults, and privacy posture before implementation can be safely queued.

    Maintainer decision needed

    • Question: Should OpenCode and Pi session catalogs ship as official OpenClaw plugins with detection-based default activation, or remain external plugins using the existing catalog seam?
    • Rationale: The generic technical boundary already exists, but official ownership, bundled distribution, automatic activation, and privacy defaults are product-policy choices that automation cannot safely select.
    • Likely owner: steipete — The issue supplies a concrete product boundary and appears to be seeking sponsorship of official plugin behavior and defaults.
    • Options:
      • Sponsor official plugins (recommended): Build plugin-owned, view-only catalogs with per-node opt-in, bounded transcript reads, and visible disable controls after local tool detection.
      • Route to external plugins: Keep OpenClaw's generic catalog seam unchanged and have independently maintained OpenCode and Pi packages publish through ClawHub.
      • Defer catalog parity: Retain Codex and Claude coverage only until stronger demand or more stable upstream session contracts emerge.
    Review details

    Best possible solution:

    Implement separate plugin-owned OpenCode and Pi read-only catalog providers that reuse the generic catalog UI and versioned node-command contracts, preserve bounded pagination and per-node opt-in, and expose clear privacy-aware enable/disable controls without adding core storage scanners.

    Do we have a high-confidence way to reproduce the issue?

    Not applicable: this issue requests new catalog coverage rather than reporting broken established behavior. Current documentation confirms that paired-node external-session discovery exists for Codex but does not establish OpenCode or Pi support.

    Is this the best way to solve the issue?

    Yes for the ownership boundary: plugin-owned providers reusing the generic catalog and node seams are preferable to core-specific scanners or imported copies. The enabled-by-default policy still requires maintainer confirmation and privacy review.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • Enabled-by-default discovery can expose sensitive session titles, working directories, and transcripts across paired computers unless local opt-in, authorization, and privacy copy are explicit.
    • OpenCode list/export behavior and Pi's versioned JSONL format need direct upstream contract and version-compatibility verification before implementation.
    • It remains a product decision whether these integrations are official bundled plugins or independently maintained packages using the same catalog seam.

    Codex review notes: model internal, reasoning high; reviewed against f693ac1b6527.

    Label changes

    Label changes:

    • add P2: This is a concrete, recurring workflow improvement with limited blast radius, but it does not block setup, messaging, or core runtime use.
    • add impact:ux-friction: Affected users must switch tools or computers to locate and inspect prior OpenCode or Pi work.
    • add issue-rating: 🌊 off-meta tidepool: Current issue advisory state selects this label.
    • add clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.
    • add clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.
    • add clawsweeper:needs-product-decision: Current issue advisory state selects this label.

    Label justifications:

    • P2: This is a concrete, recurring workflow improvement with limited blast radius, but it does not block setup, messaging, or core runtime use.
    • impact:ux-friction: Affected users must switch tools or computers to locate and inspect prior OpenCode or Pi work.
    Evidence reviewed

    What I checked:

    • Generic catalog seam exists: The current architecture routes the generic sessions.catalog.list method to a plugin-owned catalog provider and combines Gateway-local and opted-in paired-node results. (docs.openclaw.ai) (docs/specs/codex-supervision.md:82, f693ac1b6527)
    • Owner boundary supports the proposed shape: The Codex plugin owns storage and protocol behavior while the Gateway and Control UI consume its service, supporting provider-specific OpenCode and Pi implementations rather than core scanners. (docs.openclaw.ai) (docs/specs/codex-supervision.md:63, f693ac1b6527)
    • Paired-node reads are an established boundary: Current node invoke supports bounded catalog metadata and transcript pages while intentionally excluding continuation and archive, matching the requested initial view-only scope. (docs.openclaw.ai) (docs/specs/codex-supervision.md:142, f693ac1b6527)
    • Current implementation remains Codex-specific: Current main contains Codex-owned catalog types, implementation, node commands, and focused tests, but the inspected tree and documentation do not show equivalent OpenCode or Pi providers. (extensions/codex/src/session-catalog.ts:1, f693ac1b6527)
    • Vision fit: VISION.md prioritizes agent-harness and web ergonomics while requiring optional behavior and vendor-specific knowledge to remain plugin-owned, which is consistent with the issue's proposed architecture. (raw.githubusercontent.com) (VISION.md:2, f693ac1b6527)
    • Protected active direction: The issue was opened on July 13, 2026 with the protected maintainer label, so repository policy requires explicit maintainer handling rather than automated cleanup.

    Likely related people:

    • steipete: Authored the detailed plugin-owned design, including the view-only boundary and default-setting proposal, and the issue carries the protected maintainer signal. (role: feature proposer and likely product decision owner; confidence: medium; files: extensions/codex/src/session-catalog.ts, docs/specs/codex-supervision.md, ui/src)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  5. locked as resolved and limited conversation to collaborators on Aug 31, 2026
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

    P2clawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:no-new-fix-prenhancementimpact:ux-frictionissue-rating: 🌊 off-meta tidepoolmaintainer

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions