Changelog
Two kinds of releases appear here:
- Platform YYYY.MM.DD: the lab and the manager server. Released each time production is deployed. Nothing to upgrade.
-
CLI X.Y.Z: the
pairitcommand-line tool on npm. Upgrade with:
Full release notes are on GitHub Releases.
Unreleased
Merged, but not released yet.
Platform
- Nothing yet.
CLI
- Nothing yet.
Platform 2026.12.01
layout: splitcolumns now scroll independently (overflow-y-auto), so long briefs, surveys, or structured workspaces in one column can scroll without clipping or scrolling the other column out of view.- Added per-config custom LLM endpoints for both Anthropic-compatible and OpenAI-compatible gateways (e.g. university proxies, LiteLLM, OpenRouter), with
x-api-keyorAuthorization: Bearerauth for Anthropic, Chat Completions (chat) default for custom OpenAI-compatible endpoints (preserving Responses API for default OpenAI), optionalprovider: openai | anthropicoverrides on agents, standard JSON-schema workspace tool fallback for custom gateways, and SSRF validation (HTTPS-only + pre-flight private-IP DNS and redirect guards).
CLI 0.3.15
- Added
--openai-base-url,--openai-api-mode <chat|responses>,--clear-openai-base-url,--anthropic-base-url,--anthropic-auth-mode <x-api-key|bearer>, and--clear-anthropic-base-urlflags topairit config upload, displayed configured endpoints inpairit config list, and validated optionalagents[].provider("openai"or"anthropic") inpairit config lintandconfig upload.
Platform 2026.11.29
- Added
DELETE /data/:configId(andGET /data/:configId/summaryfor pre-delete counts and live-activity checks) so researchers can permanently delete all participant data (sessions, events, chat messages, groups, workspaces, and timers) for their own studies while keeping the config definition intact. - Added an IRB and Data Privacy guide covering data storage, encryption, cookies/logs, access control, AI agent subprocessors, and copy-paste IRB protocol language.
CLI 0.3.14
- Added
pairit data delete <configId>(previews counts and recent activity, offers a local JSON backup or export confirmation, and requires typing<configId>to confirm;--forceskips prompts) to permanently purge participant records for a study after exporting.
CLI 0.3.13
pairit config lintandconfig uploadnow validatechatscope("participant"or"group") and flag duplicate chat rooms on the same page.pairit admin activityand--fail-if-livenow warn and exit 2 when any study has active participants (not only matchmaking group studies).
Platform 2026.11.26
chatnow supportsscope: participantso matched teammates can each have a private chat (e.g., with an AI agent) instead of sharing the group'schat_group_id. Combine withgroupIdto continue the same private chat across pages, or place a private chat side-by-side with a group chat on the same page.- For admins:
GET /admin/activitynow returnsliveStudies(any study with active participants, including solo and AI-agent studies) and accepts a read-onlyADMIN_ACTIVITY_TOKENbearer token for automated deploy checks. Lab SSE connections, events, timers, and session resumes now refreshsessions.updatedAt(throttled per session) so active participants aren't missed between page turns.
Platform 2026.11.25.3
- Timers are now anchored to server time: deadlines survive page refreshes, ignore local clock skew, and push expiry over SSE so minimized browser windows don't drift behind.
timernow supportsscope: groupto synchronize a phase deadline across a matched group (first member to arrive sets the deadline; later members catch up and advance together), plus an optionalkeyprop to share a timer across different pages (such as role-specific pages or a multi-page timed section).
CLI 0.3.12
pairit config lintandconfig uploadnow validatetimerscope("session"or"group") andkeyprops, and flag conflictingscopeordurationacross timers sharing akey.
Platform 2026.11.25.2
- Removed the hardcoded Back to examples button from
end: truecompletion screens. end: truepages now render their configured components (such as debriefing, disqualification, or timeout copy) alongside theendRedirectUrlbutton when present, falling back to the default completion card only when the page has no visible components.- Removed the Sign in with Google button from the lab header so unauthenticated and Prolific participants aren't prompted to sign in mid-study (studies requiring Google sign-in still show it on the sign-in screen).
- Cleaned up participant-facing copy on the lab landing page and in the matchmaking and randomization waiting states.
- Disabled
@tailwindcss/typography's decorative backticks around inlinecodepills in markdown text and chat messages.
CLI 0.3.11
- Replaced the deprecated
keytarkeychain dependency with@napi-rs/keyring, eliminating theprebuild-installdeprecation warning onnpm install -g pairit. Existing logins may require a one-timepairit loginafter upgrading.
Platform 2026.11.25
htmlembeds now auto-size to their content height by default (height: auto), acceptborderless: trueto sit flat on the page card without a frame border, and flush pendingpairit.setState()writes andonDonebefore runningprops.actiononpairit.done().- Pages now accept
width: widefor a wider container (max-w-5xl), and the lab main container no longer capswideorsplitpages atmax-w-4xl. layout: splitpages now use a wider container (max-w-7xl), tighter outer padding (px-4 py-4), taller viewport-filling columns (calc(100vh - 6.5rem), orcalc(100vh - 10rem)with bottom buttons), and an optional page-levelheightin pixels to exceed viewport height.
CLI 0.3.10
pairit config lintnow checks pagewidth("default"or"wide"), pageheight(positive number), andhtmlheight("auto"or positive number) andborderless(boolean) props.
Platform 2026.11.24
htmlembeds and customlive-workspacerenderers now fill the full height of their column onlayout: splitpages instead of staying fixed to their standaloneheight.
CLI 0.3.9
- New
pairit data audit <configId>checks a test run: every session finished, required survey answers were saved, and groups finished together. Filter to your test participants with--pid-prefixand--since. See Test a study before launch.
Platform 2026.11.18.3
- Media is now separate per researcher. New uploads go in your own folder, and
pairit media listandpairit media deleteshow and delete only your files. Media you uploaded before keeps its URL, so configs that use it keep working; ask an admin to delete it. Nobody can list the media bucket from outside anymore, but anyone with a file's URL can still read it. - Action needed:
pairit media upload --privateis refused. It never made a file private: the file was readable by URL like any other. Do not upload sensitive files as media. - Media uploads accept image, audio, video, font, PDF, JSON, plain text, CSV, and WebVTT files. Other files are stored as downloads. Large uploads are limited to 500 MiB.
pairit media deleteworks again for files with a folder in their name, such asonboarding/hero.png. Since Platform 2026.11.18.2 it answered "not found".
CLI 0.3.8
pairit media upload --privatenow stops with an error, and--privateis gone from the help. The media bucket is readable by URL, so the flag never kept a file private.pairit media uploadprints the stored name, which now starts with your folder.
Platform 2026.11.18.2
- An agent's
assign_statetool can no longer overwrite keys Pairit sets itself, such asgroup_id,treatmentorchat_ended. To limit it further, list the allowed paths as anenumon itspathparameter. See Agent Guardrails, which now also explains that guardrails are prompt instructions, not enforcement. - Participant-written values in agent prompts (
{{session_state.*}},{{group.*}}, workspace text) are now marked as participant data, which makes prompt injection harder. Values Pairit assigns, such as a randomized condition, are passed through unchanged. - Agents see the most recent 100 chat messages, not the whole chat.
- Workspace edits are checked on the server: participants can only change the fields the workspace declares, with the declared types, and a workspace can hold up to 200,000 characters.
- Fixed security issues that let a participant or agent put links, images or diagrams on other participants' pages. Values filled into text with
{{session_state.*}}or{{group.*}}now show as plain text, so Markdown inside a value is no longer formatted. In chat, images from others show as text and links open in a new tab. An avatar filled fromsession_statemust be an icon name or an image on the lab, or on the site the avatar template names (e.g.https://cdn.example.com/{{session_state.role}}.png). - The end page's Continue button opens only
http://andhttps://links, and says "Continue to Prolific" only for prolific.com and prolific.co links. Uploading a config with any otherendRedirectUrlfails. - Mermaid diagrams and HTML embeds are kept further apart from the lab page. Embeds work as before.
- Uploading a config with only an OpenAI key no longer removes its stored Anthropic key, and the reverse. Stored keys can now be removed (see CLI below). Keys are now tied to their config, so a stored key can't be reused on another config.
- Hardened CLI sign-in: the manager checks that the one-time code goes back to the
pairit loginthat asked for it. One-time codes now last 2 minutes. - The manager refuses changes sent from other websites, and its error messages no longer include server details.
- A participant who hits a chat limit (20 messages a minute, 300 in total) now sees a notice saying their message wasn't sent, and keeps their text. Before, the message silently disappeared. The message box stops at 4,000 characters.
CLI 0.3.7
pairit config lint,compileanduploadreject anendRedirectUrlthat isn't anhttp://orhttps://URL.pairit loginchecks that the sign-in it receives is the one it started (state and PKCE), against servers that support it.- New
config uploadflags:--openai-api-key-env VARand--anthropic-api-key-env VARread a key from an environment variable, and--openai-api-key-stdin/--anthropic-api-key-stdinread it from stdin, so keys stay out ofpsand shell history.--clear-openai-api-keyand--clear-anthropic-api-keyremove a stored key. - CSV exports put a
'before text that starts with=,+,-,@, a tab, or a carriage return, so spreadsheets don't run participant answers as formulas. Text that is only a number, like-5, is left as it is. Values with a carriage return are now quoted. config uploadandconfig lintrefuse HTML and schema files that are symlinks pointing outside the config's folder.- The saved login in
~/.pairitis readable only by you.
Platform 2026.11.18
- When an agent hits an error (for example, the OpenAI key runs out of quota), the chat no longer shows the agent typing forever. Participants see the error notice and can keep chatting.
- Fixed a security issue in CLI sign-in. A crafted link could have taken over a signed-in researcher's account.
pairit loginworks as before. - Fixed security issues that let participants change their group, treatment, or chat sender, or skip pages. The lab now takes randomization and matchmaking settings only from the uploaded config, and no longer sends agent prompts or the end page's redirect URL to the browser before the participant reaches it. Each participant can send up to 20 chat messages a minute and 300 in total.
- Fixed a security issue that let a participant act as someone else in their group. Participants no longer see each other's session IDs.
- A participant who reopens a study in a different browser or device is asked to continue in the browser where they started. Reloading the page works as before, and participants signed in with Google can continue anywhere.
Platform 2026.10.31
- Agents with
trigger: on_joinsend their opening message again. Since Platform 2026.10.27 it failed, and participants saw "Sorry, I encountered an error" instead. - An agent no longer reads the chat's error notice as something the participant wrote.
- The manager answers an unknown address with 404 and a request it can't read with 422, instead of 500 for every error. CLI errors now say which it was.
- Likert scales can label their two ends with
min_labelandmax_label(e.g. "Not at all" … "Extremely") instead of "Strongly disagree" … "Strongly agree". The survey docs now also show how to relabel every point withchoices. - Group members can see each other's answers. List keys in a matchmaking pool's
share(e.g.share: [r1_estimate]), then read them on any page as{{group.others.0.r1_estimate}}, inwhen:conditions, in HTML embeds (read: [group]) and in agent prompts. A structured group workspace's fields can be read on any page asgroup.ws.<field>. See Share answers with the group.
CLI 0.3.6
pairit config lintchecks matchmakingsharelists andgroup.paths: eachgroup.otherskey must be shared by a pool, and eachgroup.wsfield must exist in a structured group workspace.
CLI 0.3.5
pairit admin activitynames studies whose open sessions are too old to count as active, and says how active is defined.
Platform 2026.10.27.3
- For admins: the activity report no longer counts a session as active if it started more than 12 hours ago. A browser tab left open on a page whose
htmlcomponent saves on a timer kept such a session looking live for days. The report lists these asstaleOpen.
Platform 2026.10.27.2
- For admins: the manager reports which studies have participants right now (
GET /admin/activity), so production deploys can wait for live group studies to finish. - A participant who starts the same study twice at once (two tabs, a quick reload) now gets one session instead of two. Before, both starts could create a session, so the sessions export could list a participant twice, one of them stuck on the first page.
CLI 0.3.4
pairit admin activity(admins) lists studies with recent sessions: owner, active participants in a group or solo, how many wait in matchmaking, and features used. Live group studies come first.--since 7dlooks further back,--jsonprints the raw report, and--fail-if-liveexits 2 if a group study is live.
Platform 2026.10.27
- The workspace is now live-synced: participants and agents can edit at the same time without losing each other's work. The editor shows markdown formatted, like a document, instead of a plain text box, and highlights text an agent just added. Agents see
initialContentbefore anyone edits, and their edits are recorded asagent:<agentId>. See Workspace. - Each group-scoped workspace now has its own document per page. Before, two group workspaces on different pages shared one. Group workspaces saved before this release start fresh; per-participant ones carry over.
- The workspace data export adds who wrote each part of the final text, and a full log of every change. See Data Export.
- The server no longer logs a
workspace_editevent with the full text on every save; the change log replaces it. A workspace'sonEditevent still fires if you set one. - Agents listed on a workspace now edit it with file tools, like coding agents: they view the file, make targeted edits, and see each result, for up to 8 steps per reply. No tool declarations needed; an existing
write_workspacedeclaration is ignored for these agents. See Agent Integration. - Agents use OpenAI's Responses API, so
gpt-6-lunaagents can use tools together withreasoningEffort. - An agent listed on both a page's chat and its workspace now replies once per message instead of twice.
- A workspace can be any text file (
file: board.json), drawn by your own HTML page (renderer) and checked against a JSON Schema (schema). See Custom renderer. - New examples: Shared workspace and Workspace board.
CLI 0.3.3
pairit config uploadbundles a workspace'srendererandschemafiles, andpairit config lintchecks they exist.pairit data exportalso writes<configId>-workspace-updates, and the workspace documents file gainsauthorship,fieldAuthorsandupdateCount. See Data Export.
Platform 2026.10.18
- Chat avatars can come from
session_state, e.g. a different avatar per group member with a distributed randomization. See Avatars from session state. - Action needed: an avatar is now a single string, an icon name or an image path. Replace
avatar: { icon: bot }withavatar: bot, andavatar: { image: /a.png }withavatar: /a.png, in agents and in chatavatars. The old form no longer works; it shows the default avatar. - New example: Fruit split demo.
CLI 0.3.2
pairit config lintchecks randomization that usesdistribute: true: it needsscope: group, and itsconditionslist must have one entry per group member. See Different roles within a group.
CLI 0.3.1
- In a split layout,
pairit config lintchecks that each component'scolumnisleftorright. See Split layout. --env stagingand--env productionnow take precedence overPAIRIT_API_URL.
CLI 0.3.0
- Upload configs with
--nameinstead of--config-id. Pairit builds the participant link from the name with a random suffix, e.g.my-study-k3f9x2m8q1. - Re-uploading under the same name keeps the link and saves a new revision. The CLI warns you if participants already ran the previous one.
pairit config history <configId>lists revisions and their session counts.- The sessions export has a
configRevisioncolumn.
Existing links don't change. See Names, links, and revisions.