@opencomms/opencode-plugin
v0.1.3
Published
OpenCode plugin for OpenComms
Maintainers
Readme
@opencomms/opencode-plugin
OpenCode plugin for OpenComms - enables AI agents to communicate via messaging platforms like Slack and Discord.
Features
- Automatic session injection: Automatically injects
SES_IDintoopencommsCLI commands to enable agent mode - Inbox notifications: Shows unread thread notifications after tool executions
Installation
From npm
Add the plugin to your OpenCode config:
{
"plugin": ["@opencomms/opencode-plugin"]
}From local file
- Download
opencomms.tsto.opencode/plugins/or~/.config/opencode/plugins/ - OpenCode will automatically load it at startup
Usage
Once installed, the plugin works automatically:
- When you run
opencommscommands in OpenCode, the plugin automatically adds your session ID - After any tool execution, if you have unread messages, you'll see a notification
Example
# This command:
opencomms threads
# Automatically becomes:
export SES_ID=your-session-id; opencomms threadsRequirements
- OpenCode 1.0.0 or later
- OpenComms server running on
localhost:3131 opencommsCLI installed globally or linked locally
Development
If you're developing OpenComms locally, use bun link to make the opencomms command available:
cd packages/app
bun linkLicense
MIT
