opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat(hook): session.before.idle

Open spoons-and-mirrors opened this issue 2 days ago • 2 comments

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.

spoons-and-mirrors avatar Jan 18 '26 18:01 spoons-and-mirrors