Skip to content

v0.14.3 — Fail-postpone mode

Choose a tag to compare

@felipesotero felipesotero released this 24 Jul 17:43
· 33 commits to main since this release

Fail-postpone mode (new, opt-in)

A third quota-block failure mode alongside fail-closed/fail-open: manually
and temporarily bypass an otherwise-legitimate block when you've decided to
accept the risk of running over quota for a while.

  • New allowPostpone config flag (--allow-postpone, OPENCODE_QUOTA_ALLOW_POSTPONE), disabled by default.
  • New CLI: opencode-hard-limit postpone [minutes] (default 30, clamped 1-240) and opencode-hard-limit postpone --clear.
  • Runs entirely via OpenCode's native shell-escape (!command) — no LLM call, no token cost.
  • When enabled, a block's error message and the sidebar widget both surface a hint on how to postpone.
  • opencode-hard-limit get shows whether a postpone is currently active and how much time is left.

Fixes

  • Sidebar widget crashed entirely on OpenCode restart because the deploy step
    didn't ship lib/postpone.js alongside the sidebar plugin — fixed.
  • Simplified the quota-block error message; removed AI-directed instruction
    text that had no effect (a blocked subagent's chat.params throw happens
    before any model text is generated, so OpenCode's task tool has nothing
    to relay to the parent — documented as a known upstream limitation in the
    README instead of working around it with unreliable message text).
  • Clarified that OpenCode's shell mode only triggers when ! is the first
    character typed into an empty prompt — pasting the whole
    !opencode-hard-limit postpone 30 line at once does not switch modes.
    The block message, sidebar hint, and README now instruct: type ! first,
    then paste just opencode-hard-limit postpone 30 (without the !).

Docs

  • New README "Fail-postpone mode" section: how to enable, the shell-escape
    mechanism, the type-then-paste caveat, and the subagent limitation.

Full diff: v0.12.2...v0.14.3