You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: expose plan metadata to plugins via question.asked event #9865
Plugins currently cannot access the plan file content when intercepting the plan_exit tool's question dialog. The question.asked event only contains the session ID and question text.
Use Case
Plugins like Plannotator need to intercept the plan approval dialog to show an interactive plan review UI instead of a simple Yes/No dialog. To do this, they need access to:
The plan file path
The plan file content
Proposed Solution
Add an optional metadata field to the QuestionRequest schema that plan_exit can use to pass plan information to plugins.
// Plugin can then access:event.properties.metadata?.planPathevent.properties.metadata?.planRelativePathevent.properties.metadata?.planContent
Additional Context
This is for the experimental plan mode (OPENCODE_EXPERIMENTAL_PLAN_MODE=1).
Activity
backnotprop commentedon Jan 28, 2026
ping chaching
github-actions commentedon Mar 30, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.