2
近 30 天 +1
555
近 7 天 555
42.9
生态多维模型
3 天前
2026-08-16
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-tell-sessions@1.0.0"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-tell-sessions@1.0.0"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D opencode-tell-sessionsopencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
English | Français | 한국어 | 日本語 | 简体中文
Inter-session direct messaging (DM) for OpenCode: agents in different sessions on the same server can talk to each other in real time, without human intervention.
Installation
Add the plugin to your opencode.json:
{
"plugin": ["opencode-tell-sessions@latest"]
}
Usage
From any session, ask the agent to talk to another session, by title, date, or conversation content:
- "ask the frontend session to update the endpoint"
- "tell weekly-digest we renamed users.name to display_name"
- "find the latest session that talks about weeklyDigest and send it this message"
The agent uses session_search to find the right session, then
session_send to send it a message. The message appears in the
target session with the @source-title prefix.
Development
bun install
bun test # unit tests
bun run typecheck
Contributing
See CONTRIBUTING.md for the contribution guide — language policy, project structure, and pull request process.
License
MIT