opencode/packages/app/src
Kit Langton 7c09c2f17f refactor(project): apply simplify review
- Fix prunable parser to match 'prunable <reason>' lines, not just bare 'prunable'.
- Parallelize Effect.forEach in Worktree.list with concurrency: 'unbounded' to match the rest of the file.
- Simplify the experimental worktree GET handler to use Effect.fn(fn, Effect.map(...)).
- Drop unused isProjectList/isProjectUpdate type guards and the unknown-cast set/setBootStore wrappers in global-sync; expose setGlobalStore directly.
- Centralize project worktree mutations as globalSync.project.addWorktree / removeWorktree, replacing three near-duplicate produce blocks in pages/layout.tsx and prompt-input/submit.ts. Use pathKey for dedup in all sites.
- Cast project.updated event properties as Project (not ProjectInfo) and seed worktrees: [] on insert.
- Extract projectDirectories(project) helper in pages/layout/helpers.ts; use at six call sites that built [project.worktree, ...(project.worktrees ?? [])] inline.
2026-05-11 11:48:52 -04:00
..
addons fix: clean up 49 unused variables, catch params, and stale imports (#22695) 2026-04-16 02:01:53 +00:00
components refactor(project): apply simplify review 2026-05-11 11:48:52 -04:00
constants app: file type filter on desktop + multiple files (#18403) 2026-03-20 15:02:07 +00:00
context refactor(project): apply simplify review 2026-05-11 11:48:52 -04:00
hooks fix(app): more startup perf (#19288) 2026-03-26 13:41:22 -05:00
i18n desktop: sentry integration (#15300) 2026-05-01 11:56:31 +08:00
pages refactor(project): apply simplify review 2026-05-11 11:48:52 -04:00
utils feat(server): pty websocket auth tickets (#25660) 2026-05-03 22:56:14 -04:00
app.tsx desktop: sentry integration (#15300) 2026-05-01 11:56:31 +08:00
custom-elements.d.ts chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
entry.tsx fix(app): preserve auth token credentials (#25636) 2026-05-03 21:13:42 +00:00
env.d.ts desktop: sentry integration (#15300) 2026-05-01 11:56:31 +08:00
index.css app: better loading (#23489) 2026-04-20 05:17:37 +00:00
index.ts Reapply "fix(app): startup efficiency" 2026-03-25 06:25:57 -05: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