pub const BUDGETS: Budgets;Expand description
What the plugin waits for each of borg’s answers. opencode limits no plugin hook, so each is a guard
against a hung borg holding the engineer’s turn: a prompt waits 5 s and a tool result 2 s for borg’s
context (file appends; a later answer is kept for the next call), a tool call 2 s before it runs (a
stat when nobody steers); the stop, and every call queued behind it, borg’s stop timeout. The
session’s end, queued too, gets the same as its own end (the plugin’s end waits end_ms, the other
queued calls stop_ms): a hung end holds the session’s queue and the plugin’s cleanup, which ends
every session.