Skip to content

Multiplayer prototype#3688

Open
cherriechang wants to merge 11 commits into
jspsych:mainfrom
htsukamoto5:multiplayer-prototype
Open

Multiplayer prototype#3688
cherriechang wants to merge 11 commits into
jspsych:mainfrom
htsukamoto5:multiplayer-prototype

Conversation

@cherriechang

Copy link
Copy Markdown
Contributor

No description provided.

htsukamoto5 and others added 9 commits June 17, 2026 11:38
Adds MultiplayerAPI to plugin-api (Connect/Push/Get/Wait/Subscribe/Communicate
primitives, adapter pattern, subscription lifecycle tracking) and a
JatosAdapter package that implements the interface via JATOS group studies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add 6 missing test cases: getAll, wait fast-path, subscribe fires,
disconnect state reset, pre-connect error guards, and double-connect error.
Move "types": ["jest"] into compilerOptions where TypeScript expects it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- tsconfig: restore @types/node by using ["jest", "node"] so tsc passes
- MultiplayerAPI.connect() now rolls back adapter/participantId on failure
- add test for failed-connect rollback and retry

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…TOS 3.x

- Use .NET ZipFile API on Windows to write forward-slash entry names
  (Compress-Archive produces backslashes which violate the ZIP spec)
- Rename metadata file from jatos_study_metadata.json to .jas extension,
  which is what JATOS 3.x import actually scans for
- Add required uuid fields on study, component, and batch
- Add missing JATOS 3.x fields: linearStudy, allowPreview, studyEntryMsg

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7174b71

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

2 participants