playground-studio 0.1.1 → 0.1.3
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 +9 -3
- package/dist/cli.js +700 -180
- package/dist/editor/assets/index-CKt3vNVu.css +1 -0
- package/dist/editor/assets/index-CQKe-KGf.js +161 -0
- package/dist/editor/index.html +2 -2
- package/package.json +1 -1
- package/dist/editor/assets/index-B4KwGVnx.css +0 -1
- package/dist/editor/assets/index-CwvjuKx3.js +0 -139
package/README.md
CHANGED
|
@@ -2,14 +2,18 @@
|
|
|
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
4
|
|
|
5
|
+
- **Exact hand back.** Each change reaches your agent as the property, its old and new value, the component and the source line. The agent makes it in your code, with your patterns, and nothing else moves. No generated code to untangle.
|
|
6
|
+
- **Web and native apps.** Web screens come straight from your dev server. Expo and SwiftUI screens come through your agent, with the simulator screenshot beside them, and hand back the same way.
|
|
7
|
+
- **Motion, tuned by feel.** Open an animation on a mock of its UI, tune the curve, duration, origin and stagger, and hand back CSS or Motion code.
|
|
8
|
+
- **The agent you already use.** Claude Code, Codex and Cursor, on your machine. Playground has no chat window of its own and never builds an app from scratch: it sits between you and your agent.
|
|
9
|
+
|
|
5
10
|
## Install
|
|
6
11
|
|
|
7
12
|
```bash
|
|
8
|
-
|
|
9
|
-
pg-studio setup
|
|
13
|
+
npx playground-studio setup
|
|
10
14
|
```
|
|
11
15
|
|
|
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.
|
|
16
|
+
Setup runs once per machine and asks before each change. It installs Playground for good (npx only keeps a temporary copy), adds the `pg-studio` command and connects Claude Code and Codex to Playground for every project. `npm install -g playground-studio` then `pg-studio setup` does the same. Needs Node 22 or newer, plus Google Chrome for importing screens.
|
|
13
17
|
|
|
14
18
|
## Use
|
|
15
19
|
|
|
@@ -21,6 +25,8 @@ Playground starts on its own, finds your project's dev server, turns the page in
|
|
|
21
25
|
|
|
22
26
|
- **Product**: screens from your app as editable layers, with auto layout, padding, gap and full type controls.
|
|
23
27
|
- **Motion**: tune an animation's curve, duration, origin and stagger on a mock of its UI, and hand back CSS or Motion code.
|
|
28
|
+
- **Live**: edit the running app directly, each batch on its own git branch with Review and Open PR, with desktop, tablet and phone frames side by side.
|
|
29
|
+
- Reference images beside the design go to the agent with every ask, and any layer exports as PNG, JPG, PDF or one HTML page.
|
|
24
30
|
|
|
25
31
|
Everything runs on your machine. Project data lives in `<project>/.playground/`, which keeps itself out of git.
|
|
26
32
|
|