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

    Supercode Turn Timer

    @glaicer/supercode-turn-timer·v0.1.0·界面与主题

    OpenCode TUI plugin: elapsed-time timer for the current turn, inline in the prompt footer.

    GitHub 星标

    0

    月装机量

    106

    近 7 天 12

    综合评分

    31.5

    生态多维模型

    最近提交

    24 天前

    2026-09-10

    快速安装与配置

    opencode.json

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

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@glaicer/supercode-turn-timer@0.1.0"]
    }

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

    An OpenCode TUI plugin that shows how long the current turn has been running, inline in the prompt footer — right after the built-in ▣ Build · <model> line:

    ▣ Build · Opus 5 (max) ◷ 0:12
    

    Install

    Install with the OpenCode CLI — it detects the TUI target and registers the plugin in tui.json for you:

    opencode plugin @glaicer/supercode-turn-timer --global
    
    • --global installs into the global config (~/.config/opencode); default is local (.opencode in the current project).
    • --force replaces an already-installed version.
    • Restart OpenCode after installing.

    Manual install also works: add the package to the plugin array in tui.json (global ~/.config/opencode/tui.json or local <project>/.opencode/tui.json):

    {
      "plugin": ["@glaicer/supercode-turn-timer"]
    }
    

    [!IMPORTANT] The first OpenCode load after installing this plugin may be slow. That's OpenCode downloading the plugin's packages into its cache. It happens once. Every subsequent start is fast.

    同类生态推荐