opencode/packages
Aiden Cline 4bc90593df feat(codemode): interrupt all pending work at program return
Replace the two-class completion lifecycle with one rule: once the
program returns, every promise still running - race losers, fail-fast
stragglers, and fire-and-forget calls alike - is interrupted rather
than awaited. Work whose completion matters must be awaited by the
program.

Waiting for un-awaited work before interrupting observed leftovers
could hold the execution open or deadlock it outright: a fire-and-
forget chain awaiting a race loser, or queued work needing tool-call
permits the losers occupied, blocked a drain that only the pending
interruption could unblock. Rejections that settled un-awaited before
the return still surface as Success.warnings diagnostics.

Give warnings their own output byte budget equal to maxOutputBytes so
a budget-consuming value can never starve runtime diagnostics, and
state the lifetime rule in the model-facing instructions. Port ten
curated Test262 combinator cases (duplicate members, already-settled
inputs, ordering, resolve/reject flattening) and cover the timeout-
during-cleanup path with a never-settling slow-cleanup harness tool.
2026-07-09 23:22:28 -05:00
..
app refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
cli refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
client refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
codemode feat(codemode): interrupt all pending work at program return 2026-07-09 23:22:28 -05:00
console chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
containers chore: Upgrade Bun to the final non-rust version (#27648) 2026-05-18 09:24:26 +10:00
core feat(codemode): interrupt all pending work at program return 2026-07-09 23:22:28 -05:00
desktop chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
docs refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
effect-drizzle-sqlite chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
effect-sqlite-node chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
enterprise chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
function chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
http-recorder chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
httpapi-codegen feat(plugin): add session request hook (#35794) 2026-07-07 19:56:47 -04:00
identity
llm chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
opencode refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
plugin refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
protocol feat(core): generalize session input inbox (#36005) 2026-07-08 22:07:45 -04:00
schema refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
script feat(schema): publish package 2026-07-01 13:33:59 -04:00
sdk refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
sdk-next feat(core): generalize session input inbox (#36005) 2026-07-08 22:07:45 -04:00
server feat(core): generalize session input inbox (#36005) 2026-07-08 22:07:45 -04:00
session-ui refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
simulation feat(simulation): add literal screen text matching (#36085) 2026-07-09 10:50:35 -04:00
slack chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
stats chore: merge dev into v2 (#35962) 2026-07-08 17:58:55 -05:00
storybook refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
tui refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
ui refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00
web refactor: remove todo tool (#35989) 2026-07-09 00:13:48 -05:00