Skip to content
All topics · Publishing

Publishing

What Playspace does with a work before it is published, and the three ways to publish one; Publish is always yours.

What happens when you publish

Every work is checked before it is published: a safety scan, then a run on a computer and on a phone. An agent then reads the work and adds what is missing (the SDK's calls, the control manifest, the moments' declarations) without changing what the work is. The more of this guide the work already follows, the less there is to add. Nothing is published until you press Publish.

How to publish

Open https://www.joinplayspace.com/create, sign in, and drop the folder, or a zip of it, on "Bring a work". Check the card, say the work is yours to publish, and press Publish. A work made from a starter is yours: put your name in its LICENSE in place of "Playspace" (the libraries' notices stay). AGENTS.md and CLAUDE.md may stay or go. Nothing else is extra but a vendor/ library you no longer use: remove it and its line in THIRD_PARTY.md (it is still published, and the card names it).

From a terminal or an AI coding tool, with Playspace's command-line tool from npm: npx playspace publish <the folder>. The first time, it opens a Playspace page in your browser with a short code: press Allow there. It uploads, then prints the review link once the checks pass; the card, the yes and Publish stay yours, in the browser. An AI assistant adds --json and gets one JSON object back; while the checks run, it runs the next command it is given, npx playspace status <draftId> --wait, until the state is ready, then gives you the review link.

From an assistant with Playspace's connector (https://www.joinplayspace.com/mcp): create_draft sends your changed files over a starter as a draft, draft_status follows its checks to the review link; Publish stays yours. The first time, the assistant asks you to sign in to Playspace (in Claude or ChatGPT, press Connect). A tool on your computer with a config file can use a token from Me, Settings as its Authorization header instead.

When the draft is ready, draft_status gives the review link first, then the address where the draft will play (/e/ and the draft's id, with ?draft=1). Open the review in your own browser, signed in, and press Play your draft: the draft then plays at that address in the real player, only for you, for a day. Before that press it does not show your draft, and no token or assistant can open it.

The same text, plain, for an agent: /sdk/docs/publishing.md