playground-studio 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -2
- package/dist/cli.js +32086 -0
- package/dist/editor/assets/geist-mono-cyrillic-ext-wght-normal-X_5orZeX.woff2 +0 -0
- package/dist/editor/assets/geist-mono-cyrillic-wght-normal-DiZS0aHC.woff2 +0 -0
- package/dist/editor/assets/geist-mono-latin-ext-wght-normal-Bwz-egvJ.woff2 +0 -0
- package/dist/editor/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
- package/dist/editor/assets/geist-mono-symbols2-wght-normal-CO5SzqOn.woff2 +0 -0
- package/dist/editor/assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2 +0 -0
- package/dist/editor/assets/index-B4KwGVnx.css +1 -0
- package/dist/editor/assets/index-CwvjuKx3.js +139 -0
- package/dist/editor/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/editor/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/editor/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/editor/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/editor/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/editor/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/editor/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/editor/assets/newsreader-latin-ext-wght-normal-C-3rgBeH.woff2 +0 -0
- package/dist/editor/assets/newsreader-latin-wght-normal-CCVVNp6i.woff2 +0 -0
- package/dist/editor/assets/newsreader-vietnamese-wght-normal-Czsa-EzN.woff2 +0 -0
- package/dist/editor/favicon.svg +1 -0
- package/dist/editor/index.html +15 -0
- package/package.json +38 -3
package/README.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Playground
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A local design canvas for coding agents. Your agent opens a screen from your running app in Playground, you adjust it by hand, press **Hand back**, and the agent receives the exact changes to implement.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g playground-studio
|
|
9
|
+
pg-studio setup
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Setup runs once per machine and asks before each change. It adds the `pg-studio` command and connects Claude Code and Codex to Playground for every project. Needs Node 22 or newer, plus Google Chrome for importing screens.
|
|
13
|
+
|
|
14
|
+
## Use
|
|
15
|
+
|
|
16
|
+
Open any app project in Claude Code or Codex and ask:
|
|
17
|
+
|
|
18
|
+
> Open the settings screen in Playground
|
|
19
|
+
|
|
20
|
+
Playground starts on its own, finds your project's dev server, turns the page into layers you can edit and opens in your browser. Press **Hand back** and the agent gets each change with the component and source line it came from.
|
|
21
|
+
|
|
22
|
+
- **Product**: screens from your app as editable layers, with auto layout, padding, gap and full type controls.
|
|
23
|
+
- **Motion**: tune an animation's curve, duration, origin and stagger on a mock of its UI, and hand back CSS or Motion code.
|
|
24
|
+
|
|
25
|
+
Everything runs on your machine. Project data lives in `<project>/.playground/`, which keeps itself out of git.
|
|
26
|
+
|
|
27
|
+
## Commands
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
pg-studio [folder] Start Playground for a project and open the editor
|
|
31
|
+
pg-studio setup Once per machine: add the command and connect Claude Code and Codex
|
|
32
|
+
pg-studio mcp-config The setup line for Cursor, which connects per project
|
|
33
|
+
pg-studio --help Every option
|
|
34
|
+
```
|