studioflow 0.1.2 → 0.1.4
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 +22 -25
- package/dist/index.js +177 -7404
- package/dist/index.js.map +4 -4
- package/package.json +19 -17
- package/scripts/build.mjs +4 -1
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
# StudioFlow
|
|
1
|
+
# StudioFlow
|
|
2
2
|
|
|
3
|
-
StudioFlow turns
|
|
3
|
+
StudioFlow turns a plain-language demo request into a deterministic recorded run.
|
|
4
|
+
|
|
5
|
+
This package includes:
|
|
6
|
+
- a CLI runtime (`studioflow`) for deterministic artifact execution
|
|
7
|
+
- bundled agent skills for Codex and Claude (`studioflow-investigate`, `studioflow-cli`)
|
|
4
8
|
|
|
5
9
|
## Requirements
|
|
6
10
|
|
|
@@ -22,11 +26,10 @@ npm install -g studioflow
|
|
|
22
26
|
studioflow setup
|
|
23
27
|
```
|
|
24
28
|
|
|
25
|
-
|
|
26
|
-
- `studioflow-investigate` (intent -> deterministic artifacts, including `artifacts/flow.json`)
|
|
27
|
-
- `studioflow-cli` (artifact execution workflow)
|
|
29
|
+
## Default Workflow (Agent-First)
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
You should not need to manually invoke multiple skills or manually run CLI commands for a normal demo request.
|
|
32
|
+
Open Codex or Claude in your project and describe the demo you want.
|
|
30
33
|
|
|
31
34
|
1. Start your agent from the project root.
|
|
32
35
|
|
|
@@ -46,37 +49,31 @@ claude
|
|
|
46
49
|
|
|
47
50
|
If your launcher command differs, start your usual Codex or Claude session in this repo root.
|
|
48
51
|
|
|
49
|
-
2.
|
|
52
|
+
2. Ask for the demo in plain language.
|
|
50
53
|
|
|
51
|
-
|
|
54
|
+
Example:
|
|
52
55
|
|
|
53
56
|
```text
|
|
54
|
-
|
|
55
|
-
Intent: "Record a demo for onboarding and billing."
|
|
56
|
-
Generate artifacts/flow.json for this repo.
|
|
57
|
-
If intent details are missing, ask concise follow-up questions before authoring the flow.
|
|
57
|
+
Record a demo for onboarding and billing.
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
studioflow validate --flow artifacts/flow.json
|
|
66
|
-
studioflow demo --flow artifacts/flow.json --intent "onboarding and billing demo"
|
|
67
|
-
```
|
|
60
|
+
3. StudioFlow skills + CLI handle the rest:
|
|
61
|
+
- investigate the codebase
|
|
62
|
+
- generate deterministic artifacts (`artifacts/flow.json`, related context artifacts)
|
|
63
|
+
- validate the flow
|
|
64
|
+
- execute recording through the CLI runtime
|
|
68
65
|
|
|
69
66
|
`run`/`demo` automatically performs Screen Studio preflight checks. Use manual prep only for troubleshooting.
|
|
70
67
|
Headed runs auto-open a maximized browser window for cleaner recording composition.
|
|
71
68
|
Runs do not auto-export by default; include `recorder_export` in flow steps only when export is explicitly needed.
|
|
72
69
|
|
|
73
|
-
##
|
|
70
|
+
## Advanced Manual Mode (Optional)
|
|
74
71
|
|
|
75
|
-
If you want
|
|
72
|
+
If you want to run the runtime yourself:
|
|
76
73
|
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
```bash
|
|
75
|
+
studioflow validate --flow artifacts/flow.json
|
|
76
|
+
studioflow demo --flow artifacts/flow.json --intent "onboarding and billing demo"
|
|
80
77
|
```
|
|
81
78
|
|
|
82
79
|
## Documentation
|