|
|
8 months ago | |
|---|---|---|
| .opencode | 8 months ago | |
| example | 8 months ago | |
| .gitignore | 8 months ago | |
| README.md | 8 months ago | |
| env.example | 8 months ago |
A set of OpenCode configurations, prompts, agents, and plugins for enhanced development workflows.
Follow the official OpenCode documentation to install the CLI.
Get notified when your OpenCode sessions become idle:
# Copy the example environment file
cp env.example .env
# Edit .env with your Telegram bot credentials
# Get bot token from @BotFather on Telegram
# Get chat ID by messaging your bot and checking the API
# Start a planning session
opencode --agent plan-project
# Run a specific task
opencode run --agent mastra "Implement database schema"
See .opencode/AGENTS.md for detailed information about available agents:
Single-file Telegram bot that sends notifications when OpenCode sessions become idle.
Features:
Quick Start:
# Run the bot
node .opencode/plugin/telegram-bot.js
# Run example usage
node .opencode/plugin/example-usage.js
See .opencode/plugin/README.md for detailed documentation.
Repository guardrails are defined in .opencode/permissions.json. Each agent can have specific permissions that override repository defaults.
Copy env.example to .env and configure your Telegram bot:
# Copy example file
cp env.example .env
# Edit .env with your credentials
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_CHAT_ID=your_chat_id_here
TELEGRAM_ENABLED=true
This project is licensed under the MIT License.