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

    Graph Live

    opencode-graph-live·v0.1.2·界面与主题

    Live file-activity graph for opencode sidebar (which files the agent is reading / modifying)

    GitHub 星标

    0

    月装机量

    422

    近 7 天 422

    综合评分

    36.1

    生态多维模型

    最近提交

    4 天前

    2026-10-01

    快速安装与配置

    opencode.json

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

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-graph-live@0.1.2"]
    }

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

    Live file-activity graph for the opencode TUI sidebar. Shows which files the agent is reading and editing, under the MCP block.

    ● files · live
    ▸ main.rs ×3 · edit
    ! lib.rs · 12s
    ○ index.ts ×2 · 2m
    3 files · 2 edits · 1 running
    
    • ○ read · ● edited · ▸ running (with tool name) · ! failed · ? awaiting permission
    • ×3 is total touches per file, · 12s is recency

    sidebar preview

    Install

    Requires a recent opencode build with TUI plugin support.

    From npm:

    opencode plugin add opencode-graph-live@latest
    

    Usage

    Ctrl+P commands (all under the graph-live group):

    Command What it does
    Toggle File Graph Enable/disable the sidebar panel (persisted)
    File Graph: cycle filter Cycle all → edits → reads
    File Graph: show edits / reads / all Filter the list
    File Graph Detail (/files, /file-graph) Full per-file timeline in a session panel (f fullscreen, esc close)
    File Graph: show full paths Picker with touched files → toast reveals the absolute path

    Edit failures also fire a one-time error toast + notification per file.

    License

    MIT

    同类生态推荐