Skip to content

Add shared scramble provider - #180

Merged
coder13 merged 2 commits into
masterfrom
agent/scramble-provider
Jul 13, 2026
Merged

Add shared scramble provider#180
coder13 merged 2 commits into
masterfrom
agent/scramble-provider

Conversation

@coder13

@coder13 coder13 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a shared letscube-scrambles workspace with a browser-safe event catalog
  • generate supported event scrambles with cubing.js and retain Scrambow for custom practice events
  • migrate room attempt creation to the async shared generator and remove the server-to-client source import

Why

Scramble generation and event metadata were coupled to the server and client workspaces. The shared package centralizes both, while choosing the preferred provider per event without changing room/socket payloads.

Validation

  • yarn lint
  • yarn test
  • yarn workspace letscube-client build

coder13 added 2 commits July 12, 2026 19:10
Create a shared event catalog and route supported events through cubing.js, with Scrambow retained for custom practice scrambles.
Publish the shared event catalog as JSON so Vite can import it from the linked workspace without CommonJS export interop errors.
@coder13
coder13 force-pushed the agent/scramble-provider branch from eae4416 to d179f34 Compare July 13, 2026 02:10
@coder13
coder13 marked this pull request as ready for review July 13, 2026 02:11
@coder13
coder13 merged commit 12a9169 into master Jul 13, 2026
6 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