Skip to content

ljw1004/opencode-trace

Repository files navigation

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

About

Trace raw LLM requests+responses from opencode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors