opencode/packages/app/src
LukeParkerDev 33f5b80235 fix: defer reactive root disposal in cache cleanups
Same nested-dispose-in-onCleanup bug as 7f36ac2481 but in three more
places: TerminalProvider.disposeAll, PromptProvider.disposeAll, and
scoped-cache.clear() (covers viewCache.clear and comments cache.clear).
All of them synchronously call createRoot dispose() on cached entries
inside onCleanup, which during a server switch nests into the outer
cleanNode cascade and throws TypeError at chunk-*.js:992.

Snapshot the pending disposers, clear the cache synchronously, and
fire the disposers on a microtask so the outer cleanup finishes first.
2026-04-19 13:19:12 +10:00
..
addons fix: clean up 49 unused variables, catch params, and stale imports (#22695) 2026-04-16 02:01:53 +00:00
components fix: batch server switch to avoid cleanNode crash 2026-04-19 13:19:11 +10:00
constants app: file type filter on desktop + multiple files (#18403) 2026-03-20 15:02:07 +00:00
context fix: defer reactive root disposal in cache cleanups 2026-04-19 13:19:12 +10:00
hooks fix(app): more startup perf (#19288) 2026-03-26 13:41:22 -05:00
i18n feat(app): hide desktop titlebar tools behind settings (#19029) 2026-04-17 03:31:00 +00:00
pages fix: keep sidebar projects stable across WSL refreshes 2026-04-19 13:18:36 +10:00
utils fix: defer reactive root disposal in cache cleanups 2026-04-19 13:19:12 +10:00
app.tsx refactor: treat WSL servers as additive alongside windows local 2026-04-19 13:19:09 +10:00
custom-elements.d.ts chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
entry.tsx fix(app): opencode web server url 2026-03-25 06:41:00 -05:00
env.d.ts feat(app): hide desktop titlebar tools behind settings (#19029) 2026-04-17 03:31:00 +00:00
index.css feat(app): better subagent experience (#20708) 2026-04-07 11:06:23 -05:00
index.ts refactor: treat WSL servers as additive alongside windows local 2026-04-19 13:19:09 +10:00
sst-env.d.ts zen: update sst version 2026-02-18 13:54:23 -05:00
theme-preload.test.ts fix(app): remove oc-1 theme 2026-03-09 08:25:41 -05:00