@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 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
- ## Run with Docker
70
+ ## Docker reference
55
71
 
56
- Try SeeFlow without installing Bun or Node:
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
- ```bash
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
- The studio scans `/workspace/.seeflow/seeflow.json` on start and auto-registers that flow if present.
76
+ ### Configuration
64
77
 
65
- Runtime env vars:
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
- - `SEEFLOW_PORT` port the studio listens on (default `4321`)
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
- Bake demos into a derived image so the container ships with your flow:
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
- Published image tags: `:latest`, `:<version>` (e.g. `:0.1.16`), and `:<major>.<minor>` (e.g. `:0.1`).
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