Skip to content

v0.24.4

Choose a tag to compare

@bketelsen bketelsen released this 22 May 23:09
· 62 commits to main since this release

Chores

  • refactor: extract cowork session key helpers into cowork-session.ts (#544, closes #499)

Notes

orchestrator.ts is 1696 lines — the issue asked for a full split. The naive barrel approach breaks the test suite's module-isolation pattern (t.mock.module() + ?case=URL trick): sub-modules get Node-cached after the first test load, stale mock refs propagate silently, and the test runner hangs. The pure cowork helpers (CoworkSessionError, isCoworkSessionKey, coworkSessionIdFromSessionKey) have no mocked imports and no module-level closures, so they're the one safe extraction. A full decomposition would require either refactoring the test pattern or switching to dependency injection throughout orchestrator — tracked for a future sprint.

What's Changed

  • chore: add Zod schemas for SSE/watch event frames in cowork components by @bketelsen in #540
  • chore: split styles.css into feature-scoped stylesheets by @bketelsen in #541
  • chore: split stores/index.ts into feature slices by @bketelsen in #542
  • chore: decompose Chat.tsx into focused subcomponents by @bketelsen in #543
  • refactor: extract cowork session key helpers into cowork-session.ts by @bketelsen in #544

Full Changelog: v0.24.3...v0.24.4