Supercode Turn Timer
OpenCode TUI plugin: elapsed-time timer for the current turn, inline in the prompt footer.
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"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@glaicer/supercode-turn-timer@0.1.0"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D @glaicer/supercode-turn-timerOpenCode 启动时会通过内嵌运行时自动加载 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
--globalinstalls into the global config (~/.config/opencode); default is local (.opencodein the current project).--forcereplaces 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.
同类生态推荐
Session Elapsed
opencode-session-elapsed
OpenCode TUI plugin that shows session elapsed, cumulative work, and response timers in the prompt line.
Requesty
@christiangalsterer/opencode-requesty-plugin
opencode TUI plugin: shows Requesty.ai monthly budget, current spend, and per-model cost distribution in the session sidebar, in the session prompt and with a detail dialog via the /requesty command
Aside
opencode-aside
Claude Code's /btw side chat for opencode - ask a one-shot question in an overlay, with no tools and nothing added to the transcript