跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    tomdewildt

    Sidebar Usage

    @tomdewildt/opencode-sidebar-usage·v0.1.0·Git 与版本控制

    OpenCode plugin that shows Anthropic, GitHub Copilot and OpenAI usage limits in the sidebar

    GitHub 星标

    0

    月装机量

    0

    综合评分

    20.0

    生态多维模型

    最近提交

    6 天前

    2026-10-14

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@tomdewildt/opencode-sidebar-usage@0.1.0"]
    }

    OpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    Version Build Release License

    Plugin for OpenCode that shows the 5 hour, weekly and monthly usage limits of your Claude, ChatGPT and GitHub Copilot subscriptions in the sidebar.

    How To Run

    Prerequisites:

    • mise version 2025.1.0 or later
    • bun version 1.4.0 or later
    • opencode version 2.0.0 or later

    Development

    1. Run mise run init to initialize the environment.
    2. Run mise run test to run the tests.
    3. Run mise run build to bundle the plugin into dist/.

    How To Use

    Add the plugin to ~/.config/opencode/opencode.json:

    {
      "$schema": "https://opencode.ai/config.json",
      "plugins": ["@tomdewildt/opencode-sidebar-usage"]
    }
    

    References

    Bun Docs

    OpenCode Docs

    OpenCode Plugins Docs

    OpenTUI Docs

    Oxc Docs

    SolidJS Docs

    同类生态推荐