33
近 30 天 +1
111
近 7 天 17
41.2
生态多维模型
3 个月前
2026-06-19
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@ljw1004/opencode-trace@0.1.4"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@ljw1004/opencode-trace@0.1.4"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D @ljw1004/opencode-traceOpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
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
同类生态推荐
Session Viewer
@cedricg-dev/opencode-session-viewer
A local dashboard for [opencode](https://opencode.ai) that shows live session activity — messages, status, and model usage — in your browser.
Tool Audit
@bandonker/opencode-tool-audit
Flight recorder for every tool call: tool, args, status, duration and error land in a local SQLite DB, with secrets redacted before they touch disk.
Broker
opencode-broker
A model broker for opencode: leases cost-tiered local and cloud models to every concurrent session, balances subscription windows, keeps private profiles on the LAN, and fails over on provider errors. Includes an OpenAI-compatible gateway, a TUI cockpit a