Skip to content
    ↑↓ select↵ openesc close
    English中文
    ljw1004

    Trace

    v0.1.4Observability
    @ljw1004/opencode-trace

    OpenCode plugin that saves raw json LLM request+responses as jsonl in ~/opencode-trace, with built-in HTML interactive viewer

    GitHub stars

    31

    Monthly installs

    194

    43 in 7 days

    Composite scoreSCORE

    43.2

    Multi-signal model

    Last commit

    2 months ago

    2026-06-19

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@ljw1004/opencode-trace@0.1.4"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    This opencode plugin lets you see the raw json requests made to the LLM, and the responses.

    Installation

    Add the package to your OpenCode config:

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@ljw1004/opencode-trace"]
    }
    

    Restart OpenCode and you'll see each transcript stored in ~/opencode-trace.

    That installation path by default uses @latest, which opencode currently does't refresh when latest changes. You can force a refresh with rm -rf ~/.cache/opencode/packages/@ljw1004/opencode-trace@latest