Skip to content

feat(inbox): pin @corbits/mailbox thread routes and expose a typed client (CL-8174) - #775

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-8174-mailbox-threads-pin
Sep 17, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-8174-mailbox-threads-pin

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Pin @corbits/mailbox to fea6211e42fddfc87e8e1755c219c437e45a7d62 (root trustedDependencies plus packages/inbox, packages/chat, apps/hub) to pick up GET /me/threads (keyset-paged thread summaries, optional refs filter) and GET /me/threads/:rootMessageId (oldest-first messages).
  • Add a typed fetch client for both routes in packages/inbox's browser-safe ./client subpath (listMailboxThreadsClient, readMailboxThreadClient), parsing responses with the mailbox package's own MailboxThreadListResponseSchema/MailboxThreadResponseSchema so this checkout and the pinned library version can't silently drift.
  • No UI change.

Test plan

  • bun run typecheck
  • bun run lint
  • bun run check:structural
  • bun --cwd packages/inbox test

…ient (CL-8174)

Pin @corbits/mailbox to fea6211e42fd, which adds GET /me/threads (paged
thread summaries, optional refs filter) and GET /me/threads/:rootMessageId
(oldest-first messages). Add a browser-safe fetch client in
packages/inbox for both routes, reusing the library's own wire schemas
and types so this checkout and the pinned mailbox version cannot drift.
@linear-code

linear-code Bot commented Sep 17, 2026

Copy link
Copy Markdown

CL-8174

@TheGreatAxios
TheGreatAxios merged commit 3ff5570 into main Sep 17, 2026
1 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant