[PR #9272] feat(hook): session.before.idle #13047

Open
opened 2026-02-16 18:17:55 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9272

State: open
Merged: No


What does this PR do?

This PR add a session.before.idle hook.

This allows (for example) plugins to do async work for a subagent session, and resume that subagent session on work result.

How did you verify your code works?

Using it in Pocket Universe plugin, works as expected.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9272 **State:** open **Merged:** No --- ### What does this PR do? This PR add a session.before.idle hook. This allows (for example) plugins to do async work for a subagent session, and resume that subagent session on work result. ### How did you verify your code works? Using it in Pocket Universe plugin, works as expected.
yindo added the pull-request label 2026-02-16 18:17:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13047