@tuongaz/seeflow 0.1.31 → 0.1.39
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 +6 -6
- package/dist/web/assets/index-B5Aku4dw.js +7838 -0
- package/dist/web/assets/index-BwdVgB2y.css +1 -0
- package/dist/web/assets/{index.es-B9awKpqd.js → index.es-PUp1NFtk.js} +1 -1
- package/dist/web/assets/{jspdf.es.min-BPVV_TTL.js → jspdf.es.min-zaUNYWJ0.js} +3 -3
- package/dist/web/index.html +2 -2
- package/package.json +3 -4
- package/src/api.ts +212 -20
- package/src/cli.ts +154 -33
- package/src/diagram.ts +29 -69
- package/src/layout.ts +217 -0
- package/src/mcp.ts +10 -10
- package/src/merge.ts +50 -51
- package/src/operations.ts +184 -121
- package/src/registry.ts +10 -16
- package/src/schema.ts +46 -55
- package/src/status-runner.ts +6 -6
- package/src/watcher.ts +124 -31
- package/dist/web/assets/index-CYxryPhh.css +0 -1
- package/dist/web/assets/index-CeQZymwF.js +0 -7838
- /package/examples/ecommerce-platform/.seeflow/{architecture.json → flow.json} +0 -0
- /package/examples/order-pipeline/.seeflow/{architecture.json → flow.json} +0 -0
package/README.md
CHANGED
|
@@ -19,11 +19,11 @@ The SeeFlow plugin reads your codebase, understands your architecture, and gener
|
|
|
19
19
|
### 1. Start the studio
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npx tuongaz/seeflow start
|
|
22
|
+
npx -y @tuongaz/seeflow start
|
|
23
23
|
# then open http://localhost:4321
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Requires Bun ≥ 1.3 (or Node with npx). The studio scans `$(pwd)/.seeflow/
|
|
26
|
+
Requires Bun ≥ 1.3 (or Node with npx). The studio scans `$(pwd)/.seeflow/flow.json` on start and auto-registers that flow if present. Flows you create from the UI, plus the studio's registry, persist under `$(pwd)/.seeflow/` across restarts.
|
|
27
27
|
|
|
28
28
|
<details>
|
|
29
29
|
<summary>Prefer Docker? (not recommended)</summary>
|
|
@@ -34,7 +34,7 @@ Requires Bun ≥ 1.3 (or Node with npx). The studio scans `$(pwd)/.seeflow/seefl
|
|
|
34
34
|
docker run --rm -it -p 4321:4321 -v $(pwd):/workspace tuongaz/seeflow
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
The image ships with a pre-registered **Order Pipeline** demo so you can see the canvas immediately, and the studio scans `/workspace/.seeflow/
|
|
37
|
+
The image ships with a pre-registered **Order Pipeline** demo so you can see the canvas immediately, and the studio scans `/workspace/.seeflow/flow.json` on start.
|
|
38
38
|
|
|
39
39
|
</details>
|
|
40
40
|
|
|
@@ -65,11 +65,11 @@ curl -fsSL https://raw.githubusercontent.com/tuongaz/seeflow/main/install.sh | b
|
|
|
65
65
|
/seeflow show me the shopping cart feature
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
The plugin scans your routes and database connections, generates `
|
|
68
|
+
The plugin scans your routes and database connections, generates `flow.json`, wires up demo scripts, and opens the canvas at localhost:4321.
|
|
69
69
|
|
|
70
70
|
## Docker reference
|
|
71
71
|
|
|
72
|
-
> ⚠️ Docker is the non-preferred path. Play/Status scripts execute inside the container and cannot reach host services or host binaries, so interactive nodes generated against your local app will not work. Prefer `npx tuongaz/seeflow start` for the full experience.
|
|
72
|
+
> ⚠️ Docker is the non-preferred path. Play/Status scripts execute inside the container and cannot reach host services or host binaries, so interactive nodes generated against your local app will not work. Prefer `npx -y @tuongaz/seeflow start` for the full experience.
|
|
73
73
|
|
|
74
74
|
The image is published on [Docker Hub](https://hub.docker.com/r/tuongaz/seeflow). See Quick Start above for the basic `docker run`.
|
|
75
75
|
|
|
@@ -78,7 +78,7 @@ The image is published on [Docker Hub](https://hub.docker.com/r/tuongaz/seeflow)
|
|
|
78
78
|
| Variable | Default | Description |
|
|
79
79
|
| ------------------- | ----------------------- | ------------------------------------------ |
|
|
80
80
|
| `SEEFLOW_PORT` | `4321` | Port the studio listens on |
|
|
81
|
-
| `SEEFLOW_FLOW` | `.seeflow/
|
|
81
|
+
| `SEEFLOW_FLOW` | `.seeflow/flow.json` | Flow file path relative to the workspace |
|
|
82
82
|
| `SEEFLOW_WORKSPACE` | `/workspace` | Workspace mount point inside the container |
|
|
83
83
|
|
|
84
84
|
### Bake demos into a derived image
|