Skip to content

adaptors: add server adaptor registry#9

Merged
zxch3n merged 8 commits intomainfrom
feat/server-adaptors
Oct 23, 2025
Merged

adaptors: add server adaptor registry#9
zxch3n merged 8 commits intomainfrom
feat/server-adaptors

Conversation

@zxch3n
Copy link
Copy Markdown
Member

@zxch3n zxch3n commented Oct 18, 2025

Summary

  • add shared CrdtServerAdaptor contracts and registry helpers in loro-adaptors
  • expose server-side adaptors for Loro doc, Loro ephemeral store, and Yjs awareness
  • re-export server adaptor bundle from package entry point for worker reuse

Testing

  • pnpm --filter loro-adaptors typecheck
  • pnpm --filter loro-adaptors build

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/loro-adaptors/src/server-loro-adaptor.ts Outdated
Comment thread packages/loro-adaptors/src/server-loro-ephemeral-adaptor.ts Outdated
@zxch3n zxch3n merged commit 2fc389b into main Oct 23, 2025
2 checks passed
@zxch3n zxch3n deleted the feat/server-adaptors branch October 23, 2025 09:01
zxch3n added a commit that referenced this pull request Oct 23, 2025
* adaptors: add server adaptor registry

* tests: cover server adaptors in loro e2e

* adaptors: group server sources under server/

* fix: handle snapshot import errors

* fix: guard ephemeral snapshot import

* chore: fix lint issues

* chore: fix type err
@github-actions github-actions Bot mentioned this pull request Oct 23, 2025
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