darrenhinde 25e6e919be ✨ feat: add Gemini API key configuration to env.example for integration 6 months ago
..
agent b4927fc1b0 🔧 chore: update agent documentation and enhance prompt architecture with structured XML methodology 6 months ago
command b4927fc1b0 🔧 chore: update agent documentation and enhance prompt architecture with structured XML methodology 6 months ago
context b4927fc1b0 🔧 chore: update agent documentation and enhance prompt architecture with structured XML methodology 6 months ago
plugin 846f912629 Remove SimpleTelegramBot implementation and related references from the codebase to streamline functionality and improve maintainability. 7 months ago
tool 25e6e919be ✨ feat: add Gemini API key configuration to env.example for integration 6 months ago
AGENT-SYSTEM-BLUEPRINT.md b4927fc1b0 🔧 chore: update agent documentation and enhance prompt architecture with structured XML methodology 6 months ago
AGENTS.md dd204b5a2b update to agent,md 6 months ago
README.md 0119898081 Update README.md to enhance project description, add features, quick start guide, agent and plugin details, configuration instructions, and safety/security practices. 8 months ago

README.md

OpenCode Setup for Mastra RAG Template

Install

  1. Install OpenCode CLI (see official docs)

Agents

See AGENTS.md for roles and usage. Configure defaults via .opencode/config.json.

Permissions

Repository guardrails live in .opencode/permissions.json. You can also scope rules per-agent inside each agent file under permissions.

By default:

  • Risky bash commands like rm -rf * are set to ask
  • Sensitive paths (.env, .key, .secret, node_modules, .git) are denied

Commands

Custom commands live in .opencode/commands/. Example: /feature-setup.

Plugins

Notifications are enabled via .opencode/plugin/notification.js. On macOS this uses osascript to display alerts for session completion and approval-required events.