The CoderAgent Assistant Plugin has been successfully created and is ready to use.
.opencode/plugins/coder-verification/
├── plugin.json # Plugin manifest (207 bytes)
├── index.ts # Main plugin logic (2.8 KB)
└── README.md # Documentation (938 bytes)
The plugin actively helps CoderAgent by:
| Hook | When | Action |
|---|---|---|
tool.execute.before |
CoderAgent starts | Shows monitoring toast |
tool.execute.after |
CoderAgent completes | Validates checks, shows result toast |
session.idle |
Session ends | Shows completion toast |
🤖 CoderAgent Assistant
Monitoring CoderAgent work - checks will be validated
[Type: info, Duration: 4s]
✅ CoderAgent Checks Passed
All validation checks completed successfully
[Type: success, Duration: 5s]
⚠️ CoderAgent Validation
Some checks need attention - see console
[Type: warning, Duration: 6s]
🤖 Session Summary
CoderAgent Assistant monitoring complete
[Type: info, Duration: 4s]
The plugin checks CoderAgent output for:
Validation Results Displayed:
🤖 CoderAgent Assistant: Validation
Self-Review: ✅
Deliverables: ✅
The plugin is already in place at:
.opencode/plugins/coder-verification/
javascript
task(
subagent_type="CoderAgent",
description="Build feature",
prompt="Create..."
)
The plugin works automatically - no setup required!
To verify the plugin works:
javascript
task(
subagent_type="CoderAgent",
description="Test plugin",
prompt="Create a simple test file"
)
All required agents are present and valid:
| Agent | File | Status |
|---|---|---|
| TaskManager | .opencode/agent/subagents/core/task-manager.md |
✅ Valid |
| CoderAgent | .opencode/agent/subagents/code/coder-agent.md |
✅ Valid |
| BatchExecutor | .opencode/agent/subagents/core/batch-executor.md |
✅ Valid |
| ContextScout | .opencode/agent/subagents/core/contextscout.md |
✅ Valid |
| ExternalScout | .opencode/agent/subagents/core/externalscout.md |
✅ Valid |
All agents properly defined with:
export const CoderAgentAssistantPlugin: Plugin = async (ctx) => {
const { client, toast } = ctx as any;
return {
"tool.execute.before": async (input, output) => {
// Show monitoring toast
},
"tool.execute.after": async (input, output) => {
// Validate and show result toast
},
"session.idle": async () => {
// Show completion toast
}
};
};
@opencode-ai/plugin - Plugin frameworkThe plugin uses only:
The session ses_3da57e5cdffe5u3zhBoacHEbMG was from before the plugin was installed. To see the plugin in action:
The plugin files are now in:
.opencode/plugins/coder-verification/
These are project-level plugins and will persist with the repository.
The CoderAgent Assistant Plugin is complete and ready to use!
It will now actively help CoderAgent by:
Restart OpenCode and test it out! 🤖✨