@tuongaz/seeflow 0.1.98 → 0.1.100

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.
Files changed (84) hide show
  1. package/README.md +21 -0
  2. package/dist/web/assets/{architectureDiagram-3BPJPVTR-DU1dz67I.js → architectureDiagram-3BPJPVTR-hjhO-xaL.js} +1 -1
  3. package/dist/web/assets/{blockDiagram-GPEHLZMM-DSmqToeJ.js → blockDiagram-GPEHLZMM-CMWnlTJT.js} +1 -1
  4. package/dist/web/assets/{c4Diagram-AAUBKEIU-CNP992lo.js → c4Diagram-AAUBKEIU-CnWgitpw.js} +1 -1
  5. package/dist/web/assets/channel-CQpZJl1M.js +1 -0
  6. package/dist/web/assets/{chart-DF01veTJ.js → chart-DTSNuntU.js} +1 -1
  7. package/dist/web/assets/{chunk-2J33WTMH-LVhrEzuA.js → chunk-2J33WTMH-DG5egXsT.js} +1 -1
  8. package/dist/web/assets/{chunk-4BX2VUAB-7QT-8Ea8.js → chunk-4BX2VUAB-lOed0Foz.js} +1 -1
  9. package/dist/web/assets/{chunk-55IACEB6-DekK1DpQ.js → chunk-55IACEB6-C9KQcfLA.js} +1 -1
  10. package/dist/web/assets/{chunk-727SXJPM-B2Ar-3-Y.js → chunk-727SXJPM-8t-uC2Ju.js} +1 -1
  11. package/dist/web/assets/{chunk-AQP2D5EJ-DFL9j35G.js → chunk-AQP2D5EJ-BLDdZjsM.js} +1 -1
  12. package/dist/web/assets/{chunk-FMBD7UC4-BDQ2jKs8.js → chunk-FMBD7UC4-BjCqyGJ2.js} +1 -1
  13. package/dist/web/assets/{chunk-ND2GUHAM-DbrZoSgU.js → chunk-ND2GUHAM-uw9ctj03.js} +1 -1
  14. package/dist/web/assets/{chunk-QZHKN3VN-BBiKBSEG.js → chunk-QZHKN3VN-DMnoB-y4.js} +1 -1
  15. package/dist/web/assets/classDiagram-4FO5ZUOK-CwZ4WJSj.js +1 -0
  16. package/dist/web/assets/classDiagram-v2-Q7XG4LA2-CwZ4WJSj.js +1 -0
  17. package/dist/web/assets/{code-block-Dqo0Jd1G.js → code-block-DyzYmdFD.js} +1 -1
  18. package/dist/web/assets/{cose-bilkent-S5V4N54A-CGpaWYc4.js → cose-bilkent-S5V4N54A-BzvW-9-7.js} +1 -1
  19. package/dist/web/assets/{dagre-BM42HDAG-DTV9Prbv.js → dagre-BM42HDAG-DfzTR0-z.js} +1 -1
  20. package/dist/web/assets/{diagram-2AECGRRQ-DLqTKsZ1.js → diagram-2AECGRRQ-CK_xOFz2.js} +1 -1
  21. package/dist/web/assets/{diagram-5GNKFQAL-WeRlWvVf.js → diagram-5GNKFQAL-DptRneW0.js} +1 -1
  22. package/dist/web/assets/{diagram-KO2AKTUF-Bla9fFa3.js → diagram-KO2AKTUF-2X9C_tjo.js} +1 -1
  23. package/dist/web/assets/{diagram-LMA3HP47-JmfK87A4.js → diagram-LMA3HP47-t9UANm6t.js} +1 -1
  24. package/dist/web/assets/{diagram-OG6HWLK6-CWLzBnkl.js → diagram-OG6HWLK6-zK_vf5lM.js} +1 -1
  25. package/dist/web/assets/{erDiagram-TEJ5UH35-zIaBabk9.js → erDiagram-TEJ5UH35-C4HWFw3h.js} +1 -1
  26. package/dist/web/assets/{flowDiagram-I6XJVG4X-Bue3Noo8.js → flowDiagram-I6XJVG4X-CY0SovEU.js} +1 -1
  27. package/dist/web/assets/{ganttDiagram-6RSMTGT7-BHdGoBmM.js → ganttDiagram-6RSMTGT7-Bmfqfrnr.js} +1 -1
  28. package/dist/web/assets/{gitGraphDiagram-PVQCEYII-DY8i3xDG.js → gitGraphDiagram-PVQCEYII-DqJl_j29.js} +1 -1
  29. package/dist/web/assets/iconify-Ba-DtAuF.js +1 -0
  30. package/dist/web/assets/index-B2D6t5p2.css +1 -0
  31. package/dist/web/assets/index-CJQRpgGJ.js +8629 -0
  32. package/dist/web/assets/{index.es-PfKZum8P.js → index.es-B-rJYIct.js} +1 -1
  33. package/dist/web/assets/{infoDiagram-5YYISTIA-CjlY190O.js → infoDiagram-5YYISTIA-BzG_xiVf.js} +1 -1
  34. package/dist/web/assets/{ishikawaDiagram-YF4QCWOH-UlDRmAcX.js → ishikawaDiagram-YF4QCWOH-DqXBV4G-.js} +1 -1
  35. package/dist/web/assets/{journeyDiagram-JHISSGLW-BQU5iM6n.js → journeyDiagram-JHISSGLW-CHzEKKtN.js} +1 -1
  36. package/dist/web/assets/{jspdf.es.min-DZwedYLb.js → jspdf.es.min-tO5wkRTA.js} +3 -3
  37. package/dist/web/assets/{kanban-definition-UN3LZRKU-BHjSnSao.js → kanban-definition-UN3LZRKU-C2dtNhfm.js} +1 -1
  38. package/dist/web/assets/{linear-DfckWaYF.js → linear-CklvVgUa.js} +1 -1
  39. package/dist/web/assets/{markdown-DK4rNWyg.js → markdown-BYnvrw2L.js} +1 -1
  40. package/dist/web/assets/{mermaid.core-Q5Rkziel.js → mermaid.core-DBZcsQGT.js} +4 -4
  41. package/dist/web/assets/{mindmap-definition-RKZ34NQL-Cwl5O3Cf.js → mindmap-definition-RKZ34NQL-D_9hRbXB.js} +1 -1
  42. package/dist/web/assets/{pieDiagram-4H26LBE5-CfuqpLij.js → pieDiagram-4H26LBE5-B437WT8U.js} +1 -1
  43. package/dist/web/assets/{quadrantDiagram-W4KKPZXB-DPMXHfS6.js → quadrantDiagram-W4KKPZXB-D8YRFe6P.js} +1 -1
  44. package/dist/web/assets/{requirementDiagram-4Y6WPE33-DnkSyvnm.js → requirementDiagram-4Y6WPE33-tZJdPmfT.js} +1 -1
  45. package/dist/web/assets/{sankeyDiagram-5OEKKPKP-qgBj0gIh.js → sankeyDiagram-5OEKKPKP-Fj4tIoUj.js} +1 -1
  46. package/dist/web/assets/{sequenceDiagram-3UESZ5HK-Dv8lcfkG.js → sequenceDiagram-3UESZ5HK-1eSo4sGa.js} +1 -1
  47. package/dist/web/assets/{stateDiagram-AJRCARHV-BHhRAlSF.js → stateDiagram-AJRCARHV-DkioA-Ys.js} +1 -1
  48. package/dist/web/assets/stateDiagram-v2-BHNVJYJU-COESjPKl.js +1 -0
  49. package/dist/web/assets/{time-DLVqCHvN.js → time--AmUoxli.js} +1 -1
  50. package/dist/web/assets/{timeline-definition-PNZ67QCA-Dj-PUcDW.js → timeline-definition-PNZ67QCA-5VsFM6UF.js} +1 -1
  51. package/dist/web/assets/{vennDiagram-CIIHVFJN-BVu8roqR.js → vennDiagram-CIIHVFJN-BZRRJSDD.js} +1 -1
  52. package/dist/web/assets/{wardley-L42UT6IY-V3a5jBUh.js → wardley-L42UT6IY-CRdqY7KN.js} +1 -1
  53. package/dist/web/assets/{wardleyDiagram-YWT4CUSO-BMdJmf1X.js → wardleyDiagram-YWT4CUSO-B_00NweE.js} +1 -1
  54. package/dist/web/assets/{xychartDiagram-2RQKCTM6-iibKxvlU.js → xychartDiagram-2RQKCTM6-F3eOVTTc.js} +1 -1
  55. package/dist/web/index.html +2 -2
  56. package/package.json +2 -2
  57. package/src/api.ts +22 -0
  58. package/src/cli-manifest.ts +118 -0
  59. package/src/cli.ts +113 -0
  60. package/src/icons/extract-zip.ts +31 -0
  61. package/src/icons/fetcher.ts +31 -0
  62. package/src/icons/index-store.ts +45 -0
  63. package/src/icons/installer-types.ts +16 -0
  64. package/src/icons/installer.ts +76 -0
  65. package/src/icons/jobs.ts +78 -0
  66. package/src/icons/list-helper.ts +36 -0
  67. package/src/icons/lock.ts +13 -0
  68. package/src/icons/normalize-aws.ts +19 -0
  69. package/src/icons/normalize-azure.ts +11 -0
  70. package/src/icons/paths.ts +14 -0
  71. package/src/icons/remove.ts +16 -0
  72. package/src/icons/router.ts +211 -0
  73. package/src/icons/vendors.ts +52 -0
  74. package/src/layout.ts +1 -0
  75. package/src/operations.ts +23 -0
  76. package/src/schema-catalog.ts +2 -0
  77. package/src/schema.ts +66 -11
  78. package/src/server.ts +16 -0
  79. package/dist/web/assets/channel-v9-wsv2r.js +0 -1
  80. package/dist/web/assets/classDiagram-4FO5ZUOK-CY00ktDc.js +0 -1
  81. package/dist/web/assets/classDiagram-v2-Q7XG4LA2-CY00ktDc.js +0 -1
  82. package/dist/web/assets/index-B-NP-7Oo.js +0 -8624
  83. package/dist/web/assets/index-I8_SAWCr.css +0 -1
  84. package/dist/web/assets/stateDiagram-v2-BHNVJYJU-Z4OeqbFi.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.