Repository navigation
v1.0.40: Event-based Todo Continuation
What's New
🚀 Major Improvement: Event-Based Todo Continuation
The previous implementation used fragile string matching and toast notifications which didn't reliably keep the agent working when there were pending TODOs. This release implements a robust event-based solution.
Changes
Core Features:
- Event-driven continuation: Listens for
session.idleevent when agent stops working - Programmatic prompt injection: Uses
ctx.client.session.prompt()to inject continuation messages - Smart throttling: 30-second cooldown per session to avoid spam
- Session refresh: Reloads session data on idle to ensure fresh TODO state
Agent Updates:
- ORXA agent now creates plan files directly instead of delegating
- Added
.orxa/to .gitignore for user plan files
CI/CD Improvements:
- Removed version sync from publish workflow (fixes detached HEAD issue)
- Removed delegation section warning console output
How It Works
- When the agent completes work, OpenCode fires
session.idleevent - Plugin detects pending TODOs for that session
- Injects a continuation prompt: "You have pending TODOs that need to be completed. Continue working on the next pending task without asking for permission..."
- Agent automatically continues working on remaining tasks
Testing
✅ All 516 tests pass
✅ Tested in real-world usage
✅ Visual feedback via toast notifications
Installation
npm install -g @reliabilityworks/opencode-orxa@1.0.40Full Changelog: v1.0.39...v1.0.40