Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 626 Bytes

File metadata and controls

19 lines (13 loc) · 626 Bytes

opencode-trace

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