6
近 30 天 +1
902
近 7 天 537
47.1
生态多维模型
1 天前
2026-10-03
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-forge-session-title@1.3.0"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-forge-session-title@1.3.0"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D opencode-forge-session-titleOpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
A collection of OpenCode plugins.
The plugins target OpenCode 2. The last OpenCode 1 versions live on the
v1 branch and install from the npm
opencode-v1 dist-tag, for example npm install opencode-homeassistant@opencode-v1.
Plugins
| Plugin | Description | npm |
|---|---|---|
| terminal-progress | Shows agent progress in terminal tabs (Ghostty, iTerm2, WezTerm, Windows Terminal) | |
| homeassistant | Sends agent status to Home Assistant via webhooks | |
| forge-session-title | Prefixes session titles with forge issue/PR/MR references | |
| atuin-history | Records agent shell commands in Atuin shell history | |
| tmux-indicator | Sets a tmux window option when the agent is waiting for input |
Development
This is a bun workspace monorepo. All tasks are run via mise:
mise run setup # install dependencies
mise run build # build all plugins
mise run lint # lint with ESLint
mise run typecheck # type-check all packages
mise run test # run all tests
mise run format # format with Prettier
License
同类生态推荐
Doc Select
@cipher208/opencode-doc-select
OpenCode plugin: open a file in a tmux pane and read back the text the user selected with the mouse.
Tmux Indicator
opencode-tmux-indicator
OpenCode CLI plugin that sets a tmux window option when the agent is waiting for input
Homeassistant
opencode-homeassistant
OpenCode plugin that sends agent status to Home Assistant via webhooks -- and optionally lets you respond to permission requests from HA