playground-studio 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +37 -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 +39 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Isaac Onyemah
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
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
|
+
```
|
|
35
|
+
|
|
36
|
+
## Licence
|
|
37
|
+
|
|
38
|
+
MIT
|