@tuongaz/seeflow 0.1.97 → 0.1.99
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 +21 -0
- package/dist/web/assets/{architectureDiagram-3BPJPVTR-XQzgHME4.js → architectureDiagram-3BPJPVTR-B-zze1dQ.js} +1 -1
- package/dist/web/assets/{blockDiagram-GPEHLZMM-D79pgdno.js → blockDiagram-GPEHLZMM-DdXfGidV.js} +1 -1
- package/dist/web/assets/{c4Diagram-AAUBKEIU-DdpMasob.js → c4Diagram-AAUBKEIU-D1bZOhXl.js} +1 -1
- package/dist/web/assets/channel-BKgs5-7F.js +1 -0
- package/dist/web/assets/{chart-BS3qBv6b.js → chart-Dg9qryEw.js} +1 -1
- package/dist/web/assets/{chunk-2J33WTMH-DMiLaW3V.js → chunk-2J33WTMH-DerfLWVn.js} +1 -1
- package/dist/web/assets/{chunk-4BX2VUAB-BxRQSTSU.js → chunk-4BX2VUAB-3NxUSAZt.js} +1 -1
- package/dist/web/assets/{chunk-55IACEB6-B8VO9ECP.js → chunk-55IACEB6-DaUPCrIV.js} +1 -1
- package/dist/web/assets/{chunk-727SXJPM-CtI4DnVU.js → chunk-727SXJPM-DFbT_Bo7.js} +1 -1
- package/dist/web/assets/{chunk-AQP2D5EJ-BUDEtGcc.js → chunk-AQP2D5EJ-Btrl-RqP.js} +1 -1
- package/dist/web/assets/{chunk-FMBD7UC4-XRBBZk8O.js → chunk-FMBD7UC4-lKFmDkFq.js} +1 -1
- package/dist/web/assets/{chunk-ND2GUHAM-D0exlO6X.js → chunk-ND2GUHAM-CHh_WD0m.js} +1 -1
- package/dist/web/assets/{chunk-QZHKN3VN-CnyiTlpq.js → chunk-QZHKN3VN-D-wu0rxE.js} +1 -1
- package/dist/web/assets/classDiagram-4FO5ZUOK-DCeegQEz.js +1 -0
- package/dist/web/assets/classDiagram-v2-Q7XG4LA2-DCeegQEz.js +1 -0
- package/dist/web/assets/{code-block-CLrCA7Xe.js → code-block-fnJ45JTt.js} +1 -1
- package/dist/web/assets/{cose-bilkent-S5V4N54A-B4D1urlH.js → cose-bilkent-S5V4N54A-CBI67v3W.js} +1 -1
- package/dist/web/assets/{dagre-BM42HDAG-CNe7Uulx.js → dagre-BM42HDAG-6y6lYDbG.js} +1 -1
- package/dist/web/assets/{diagram-2AECGRRQ--mgpxm9o.js → diagram-2AECGRRQ-DGNDrzfp.js} +1 -1
- package/dist/web/assets/{diagram-5GNKFQAL-CGHMTFDB.js → diagram-5GNKFQAL-zYDwXAIN.js} +1 -1
- package/dist/web/assets/{diagram-KO2AKTUF-D31GLzm7.js → diagram-KO2AKTUF-DmS_BzKx.js} +1 -1
- package/dist/web/assets/{diagram-LMA3HP47-Bs2BLtxH.js → diagram-LMA3HP47-CJbeNPH9.js} +1 -1
- package/dist/web/assets/{diagram-OG6HWLK6-CXUZ873r.js → diagram-OG6HWLK6-iiJwcdIX.js} +1 -1
- package/dist/web/assets/{erDiagram-TEJ5UH35-DL-eedkW.js → erDiagram-TEJ5UH35-h8Y_gYmT.js} +1 -1
- package/dist/web/assets/{flowDiagram-I6XJVG4X-BQCu7G6G.js → flowDiagram-I6XJVG4X-Z5lwuHdZ.js} +1 -1
- package/dist/web/assets/{ganttDiagram-6RSMTGT7-CyBhrhQa.js → ganttDiagram-6RSMTGT7-BPEZFeN5.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-PVQCEYII-D9OqlmQL.js → gitGraphDiagram-PVQCEYII-sJZWgc6i.js} +1 -1
- package/dist/web/assets/iconify-B5rYXYrW.js +1 -0
- package/dist/web/assets/index-Cirud96V.js +8629 -0
- package/dist/web/assets/index-DCY1MDbo.css +1 -0
- package/dist/web/assets/{index.es-BpDX3yd0.js → index.es-CqlCK90H.js} +1 -1
- package/dist/web/assets/{infoDiagram-5YYISTIA-CMxwx_2B.js → infoDiagram-5YYISTIA-DSDcNKWM.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-YF4QCWOH-DD1y6qVy.js → ishikawaDiagram-YF4QCWOH-Djo12Wsr.js} +1 -1
- package/dist/web/assets/{journeyDiagram-JHISSGLW-CHo991VZ.js → journeyDiagram-JHISSGLW-B1PQjr20.js} +1 -1
- package/dist/web/assets/{jspdf.es.min-C8_HZhlK.js → jspdf.es.min-EKwwYZfH.js} +3 -3
- package/dist/web/assets/{kanban-definition-UN3LZRKU-CoYkI8Ob.js → kanban-definition-UN3LZRKU-YeErCOhe.js} +1 -1
- package/dist/web/assets/{linear-CQGcGLyB.js → linear-D5FHHJNO.js} +1 -1
- package/dist/web/assets/{markdown-Bud9JO0j.js → markdown-CuvYg4wg.js} +1 -1
- package/dist/web/assets/{mermaid.core-1G8gw6AK.js → mermaid.core-8qjHlhCB.js} +4 -4
- package/dist/web/assets/{mindmap-definition-RKZ34NQL-CJHnwtSU.js → mindmap-definition-RKZ34NQL-DpUz-nrq.js} +1 -1
- package/dist/web/assets/{pieDiagram-4H26LBE5-CXrXwuPG.js → pieDiagram-4H26LBE5-CYCE9du8.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-W4KKPZXB-BVJKIfMF.js → quadrantDiagram-W4KKPZXB-x8WbTOtV.js} +1 -1
- package/dist/web/assets/{requirementDiagram-4Y6WPE33-ZFgLHB2Y.js → requirementDiagram-4Y6WPE33-DIcJaM60.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-5OEKKPKP-cP9rHdFK.js → sankeyDiagram-5OEKKPKP-CwbrztT0.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-3UESZ5HK-BbruCi6T.js → sequenceDiagram-3UESZ5HK-CWfsvCJO.js} +1 -1
- package/dist/web/assets/{stateDiagram-AJRCARHV-CqGbTDXI.js → stateDiagram-AJRCARHV-DvjKwgrV.js} +1 -1
- package/dist/web/assets/stateDiagram-v2-BHNVJYJU-DnRvfzCf.js +1 -0
- package/dist/web/assets/{time-CXSgtiIX.js → time-VOoCbkBT.js} +1 -1
- package/dist/web/assets/{timeline-definition-PNZ67QCA-B4in6942.js → timeline-definition-PNZ67QCA-B07zsWxv.js} +1 -1
- package/dist/web/assets/{vennDiagram-CIIHVFJN-D3Esdgtc.js → vennDiagram-CIIHVFJN-jzI6Z26y.js} +1 -1
- package/dist/web/assets/{wardley-L42UT6IY-CqOLhiLD.js → wardley-L42UT6IY-CKJh2fVX.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-YWT4CUSO-DalbSLu7.js → wardleyDiagram-YWT4CUSO-BCBh8YXT.js} +1 -1
- package/dist/web/assets/{xychartDiagram-2RQKCTM6-Bgnuf0j-.js → xychartDiagram-2RQKCTM6-BEvx0rsP.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +2 -2
- package/src/api.ts +22 -0
- package/src/cli-manifest.ts +118 -0
- package/src/cli.ts +113 -0
- package/src/icons/extract-zip.ts +31 -0
- package/src/icons/fetcher.ts +31 -0
- package/src/icons/index-store.ts +45 -0
- package/src/icons/installer-types.ts +16 -0
- package/src/icons/installer.ts +76 -0
- package/src/icons/jobs.ts +78 -0
- package/src/icons/list-helper.ts +36 -0
- package/src/icons/lock.ts +13 -0
- package/src/icons/normalize-aws.ts +19 -0
- package/src/icons/normalize-azure.ts +11 -0
- package/src/icons/paths.ts +14 -0
- package/src/icons/remove.ts +16 -0
- package/src/icons/router.ts +206 -0
- package/src/icons/vendors.ts +52 -0
- package/src/layout.ts +1 -0
- package/src/operations.ts +23 -0
- package/src/schema-catalog.ts +3 -1
- package/src/schema.ts +66 -11
- package/src/server.ts +16 -0
- package/dist/web/assets/channel-l7nIO4lY.js +0 -1
- package/dist/web/assets/classDiagram-4FO5ZUOK-BPFTU8oh.js +0 -1
- package/dist/web/assets/classDiagram-v2-Q7XG4LA2-BPFTU8oh.js +0 -1
- package/dist/web/assets/index-BKZTnCOL.js +0 -8624
- package/dist/web/assets/index-I8_SAWCr.css +0 -1
- package/dist/web/assets/stateDiagram-v2-BHNVJYJU-e0EPpmUp.js +0 -1
package/README.md
CHANGED
|
@@ -72,6 +72,27 @@ Read-only. JSON output. Start cheapest (`list`) and drill in.
|
|
|
72
72
|
|
|
73
73
|
The `component` node type turns a canvas node into a json-render-powered reactive UI driven by a small catalog of shadcn-styled primitives (Card, Button, Input, Chart, Markdown, etc.). The spec lives at `<project>/nodes/<id>/spec.json` — declaring an element tree, optional initial state, and a typed action vocabulary — while `flow.json` carries only the `type: 'component'` tag. Two action kinds are supported: `set` actions mutate local state via JSON Pointer paths, and `script` actions POST to `/api/flows/:id/nodes/:nodeId/actions/:name` which spawns the matching script under `nodes/<id>/` (e.g. `nodes/<id>/actions/<name>.ts`) and merges the JSON response back into state.
|
|
74
74
|
|
|
75
|
+
## Icon packs
|
|
76
|
+
|
|
77
|
+
Cloud vendor icons (AWS, GCP, Azure) install on demand into a local cache. Icon ids encode the vendor as a prefix — `aws:lambda`, `gcp:cloud-run`, `azure:functions`, `iconify:logos:google-cloud` — while unprefixed names continue to resolve against the bundled Lucide set.
|
|
78
|
+
|
|
79
|
+
### CLI
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
seeflow icons list # JSON summary of installed + available packs
|
|
83
|
+
seeflow icons add aws # download + extract + index the AWS pack
|
|
84
|
+
seeflow icons add azure --accept-terms # Microsoft requires explicit acceptance
|
|
85
|
+
seeflow icons add gcp --pack-url <url> # override the default download URL
|
|
86
|
+
seeflow icons update aws # re-install (re-downloads from upstream)
|
|
87
|
+
seeflow icons remove aws # drop the pack from cache + index
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Packs install under `~/.seeflow/icons/<vendor>/<version>/` with a shared `index.json`. Installs are serialized per vendor — a second `seeflow icons add aws` while the first is running waits rather than racing.
|
|
91
|
+
|
|
92
|
+
### In the studio
|
|
93
|
+
|
|
94
|
+
Open any icon picker on a canvas node, click **Browse packs** in the picker footer, then **Install** on the vendor row. Azure prompts for license acceptance; AWS and GCP proceed directly. A progress toast tracks bytes downloaded, persists across popover close, and refreshes the picker's vendor tabs the moment the pack is indexed. Vendor tabs (Bundled · AWS · GCP · Azure · Logos) appear above the icon grid; uninstalled vendors render disabled with an inline Install affordance.
|
|
95
|
+
|
|
75
96
|
## Docker reference
|
|
76
97
|
|
|
77
98
|
> ⚠️ 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@latest start` for the full experience.
|