Skip to content

[Feature Request] Enhance OpenCode support: Context Window, Rate Limits, and Subagents #143

Description

@weby-homelab

While OpenCode support is functional for basic session discovery and token tracking, several key metrics currently marked as unsupported (❌ in the README) would greatly improve the monitoring experience.

Proposed Enhancements:

  1. Context Window %: Implement tracking for the percentage of the context window used by analyzing session metadata in the local SQLite database.
  2. Rate Limit Tracking: Provide visibility into API rate limits for OpenCode sessions.
  3. Subagent Support: Improve discovery and monitoring of sub-processes spawned by OpenCode.

Documentation Improvement:

Suggest making the sqlite3 dependency more prominent in the Linux installation instructions, as its absence leads to silent failure in OpenCode session discovery.

Rationale:

Adding these features would provide a consistent UX across all supported agents (Claude Code, Codex, and OpenCode).

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