@tuongaz/seeflow 0.1.18 → 0.1.22
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 +32 -13
- package/dist/web/assets/index-Bnmpx_Y5.js +7838 -0
- package/dist/web/assets/index-Cu7piflE.css +1 -0
- package/dist/web/assets/{index.es-D6d469xw.js → index.es-BbVG70G0.js} +2 -2
- package/dist/web/assets/jspdf.es.min-DgR-yUiD.js +170 -0
- package/dist/web/favicon.svg +5 -0
- package/dist/web/icon-192.png +0 -0
- package/dist/web/icon-512.png +0 -0
- package/dist/web/icon-maskable-512.png +0 -0
- package/dist/web/icon-source.svg +8 -0
- package/dist/web/index.html +6 -2
- package/dist/web/manifest.webmanifest +30 -0
- package/package.json +1 -1
- package/src/cli.ts +2 -2
- package/src/operations.ts +7 -3
- package/src/paths.ts +13 -0
- package/src/registry.ts +2 -2
- package/src/runtime.ts +3 -3
- package/dist/web/assets/index-BNOqnF2Y.js +0 -8005
- package/dist/web/assets/index-Dkzv11xm.css +0 -1
package/README.md
CHANGED
|
@@ -20,8 +20,24 @@ The SeeFlow plugin reads your codebase, understands your architecture, and gener
|
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
npx tuongaz/seeflow start
|
|
23
|
+
# then open http://localhost:4321
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Requires Bun ≥ 1.3 (or Node with npx). The studio scans `$(pwd)/.seeflow/seeflow.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
|
+
|
|
28
|
+
<details>
|
|
29
|
+
<summary>Prefer Docker? (not recommended)</summary>
|
|
30
|
+
|
|
31
|
+
> ⚠️ **Heads up:** Play and Status scripts run **inside** the container, so generated scripts that talk to services on your host — HTTP calls to `localhost`, host binaries like `psql` / `redis-cli`, your project's CLI — will not work. Interactive nodes are likely to fail. Use the native path above for full functionality.
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
docker run --rm -it -p 4321:4321 -v $(pwd):/workspace tuongaz/seeflow
|
|
23
35
|
```
|
|
24
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/seeflow.json` on start.
|
|
38
|
+
|
|
39
|
+
</details>
|
|
40
|
+
|
|
25
41
|
### 2. Install the plugin
|
|
26
42
|
|
|
27
43
|
**Skill installer (recommended):**
|
|
@@ -51,24 +67,23 @@ curl -fsSL https://raw.githubusercontent.com/tuongaz/seeflow/main/install.sh | b
|
|
|
51
67
|
|
|
52
68
|
The plugin scans your routes and database connections, generates `seeflow.json`, wires up demo scripts, and opens the canvas at localhost:4321.
|
|
53
69
|
|
|
54
|
-
##
|
|
70
|
+
## Docker reference
|
|
55
71
|
|
|
56
|
-
|
|
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.
|
|
57
73
|
|
|
58
|
-
|
|
59
|
-
docker run --rm -it -p 4321:4321 -v $(pwd):/workspace tuongaz/seeflow
|
|
60
|
-
# then open http://localhost:4321
|
|
61
|
-
```
|
|
74
|
+
The image is published on [Docker Hub](https://hub.docker.com/r/tuongaz/seeflow). See Quick Start above for the basic `docker run`.
|
|
62
75
|
|
|
63
|
-
|
|
76
|
+
### Configuration
|
|
64
77
|
|
|
65
|
-
|
|
78
|
+
| Variable | Default | Description |
|
|
79
|
+
| ------------------- | ----------------------- | ------------------------------------------ |
|
|
80
|
+
| `SEEFLOW_PORT` | `4321` | Port the studio listens on |
|
|
81
|
+
| `SEEFLOW_FLOW` | `.seeflow/seeflow.json` | Flow file path relative to the workspace |
|
|
82
|
+
| `SEEFLOW_WORKSPACE` | `/workspace` | Workspace mount point inside the container |
|
|
66
83
|
|
|
67
|
-
|
|
68
|
-
- `SEEFLOW_FLOW` — flow file path relative to the workspace (default `.seeflow/seeflow.json`)
|
|
69
|
-
- `SEEFLOW_WORKSPACE` — workspace mount point inside the container (default `/workspace`)
|
|
84
|
+
### Bake demos into a derived image
|
|
70
85
|
|
|
71
|
-
|
|
86
|
+
Ship a container that already contains your flow:
|
|
72
87
|
|
|
73
88
|
```dockerfile
|
|
74
89
|
FROM tuongaz/seeflow
|
|
@@ -76,7 +91,11 @@ COPY ./my-demos /workspace
|
|
|
76
91
|
# docker build -t my-flow . && docker run --rm -it -p 4321:4321 my-flow
|
|
77
92
|
```
|
|
78
93
|
|
|
79
|
-
|
|
94
|
+
### Tags
|
|
95
|
+
|
|
96
|
+
- `:latest` — newest stable release
|
|
97
|
+
- `:<version>` — pinned release (e.g. `:0.1.18`)
|
|
98
|
+
- `:<major>.<minor>` — latest patch on a minor line (e.g. `:0.1`)
|
|
80
99
|
|
|
81
100
|
## MCP server
|
|
82
101
|
|