@synergenius/flow-weaver 0.14.2 → 0.15.1
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 +14 -4
- package/dist/cli/flow-weaver.mjs +416 -12202
- package/dist/deployment/index.d.ts +0 -6
- package/dist/deployment/index.js +0 -7
- package/dist/generated-version.d.ts +1 -1
- package/dist/generated-version.js +1 -1
- package/docs/reference/cli-reference.md +2 -2
- package/docs/reference/deployment.md +42 -2
- package/docs/reference/marketplace.md +22 -0
- package/package.json +1 -2
- package/dist/deployment/targets/cloudflare.d.ts +0 -29
- package/dist/deployment/targets/cloudflare.js +0 -1128
- package/dist/deployment/targets/github-actions.d.ts +0 -54
- package/dist/deployment/targets/github-actions.js +0 -366
- package/dist/deployment/targets/gitlab-ci.d.ts +0 -65
- package/dist/deployment/targets/gitlab-ci.js +0 -374
- package/dist/deployment/targets/inngest.d.ts +0 -63
- package/dist/deployment/targets/inngest.js +0 -935
- package/dist/deployment/targets/lambda.d.ts +0 -40
- package/dist/deployment/targets/lambda.js +0 -1294
- package/dist/deployment/targets/vercel.d.ts +0 -39
- package/dist/deployment/targets/vercel.js +0 -891
package/README.md
CHANGED
|
@@ -141,7 +141,7 @@ npx flow-weaver mcp-server # auto-registers with Claude Code
|
|
|
141
141
|
| **Understand** | `fw_describe` (json/text/mermaid), `fw_query` (10 query types), `fw_diff` |
|
|
142
142
|
| **Test** | `fw_execute_workflow` (with trace), `fw_compile` |
|
|
143
143
|
| **Visualize** | `fw_diagram` (SVG/HTML), `fw_get_state`, `fw_focus_node` |
|
|
144
|
-
| **Deploy** | `fw_export` (Lambda, Vercel, Cloudflare, Inngest), `fw_compile --target inngest` |
|
|
144
|
+
| **Deploy** | `fw_export` (Lambda, Vercel, Cloudflare, Inngest, GitHub Actions, GitLab CI — via packs), `fw_compile --target inngest` |
|
|
145
145
|
| **Reuse** | `fw_list_patterns`, `fw_apply_pattern`, `fw_extract_pattern` |
|
|
146
146
|
| **Extend** | `fw_market_search`, `fw_market_install` |
|
|
147
147
|
|
|
@@ -247,7 +247,13 @@ The scope's output ports become callback parameters, and input ports become retu
|
|
|
247
247
|
|
|
248
248
|
## Deploy Anywhere
|
|
249
249
|
|
|
250
|
-
Same workflow source, multiple deployment targets:
|
|
250
|
+
Same workflow source, multiple deployment targets. Export targets are provided by marketplace packs — install the ones you need:
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
npm install @synergenius/flowweaver-pack-lambda @synergenius/flowweaver-pack-vercel \
|
|
254
|
+
@synergenius/flowweaver-pack-cloudflare @synergenius/flowweaver-pack-inngest \
|
|
255
|
+
@synergenius/flowweaver-pack-github-actions @synergenius/flowweaver-pack-gitlab-ci
|
|
256
|
+
```
|
|
251
257
|
|
|
252
258
|
```bash
|
|
253
259
|
# Plain TypeScript (default)
|
|
@@ -261,6 +267,10 @@ flow-weaver export workflow.ts --target lambda --output deploy/
|
|
|
261
267
|
flow-weaver export workflow.ts --target vercel --output deploy/
|
|
262
268
|
flow-weaver export workflow.ts --target cloudflare --output deploy/
|
|
263
269
|
|
|
270
|
+
# CI/CD pipelines
|
|
271
|
+
flow-weaver export workflow.ts --target github-actions --output .github/workflows/
|
|
272
|
+
flow-weaver export workflow.ts --target gitlab-ci --output .
|
|
273
|
+
|
|
264
274
|
# HTTP server with OpenAPI docs
|
|
265
275
|
flow-weaver serve ./workflows --port 3000 --swagger
|
|
266
276
|
```
|
|
@@ -320,7 +330,7 @@ const code = generateCode(ast);
|
|
|
320
330
|
| `@synergenius/flow-weaver/ast` | AST types and utilities |
|
|
321
331
|
| `@synergenius/flow-weaver/api` | Programmatic workflow manipulation API |
|
|
322
332
|
| `@synergenius/flow-weaver/diff` | Semantic workflow diffing |
|
|
323
|
-
| `@synergenius/flow-weaver/deployment` |
|
|
333
|
+
| `@synergenius/flow-weaver/deployment` | Deployment base classes, registry, and CI/CD utilities |
|
|
324
334
|
| `@synergenius/flow-weaver/marketplace` | Marketplace package utilities |
|
|
325
335
|
| `@synergenius/flow-weaver/editor` | Editor completions and suggestions |
|
|
326
336
|
| `@synergenius/flow-weaver/browser` | JSDoc port sync for browser environments |
|
|
@@ -354,7 +364,7 @@ flow-weaver grammar # Output annotation grammar (EBNF/railroad)
|
|
|
354
364
|
|
|
355
365
|
# Deploy
|
|
356
366
|
flow-weaver serve [directory] # HTTP server with Swagger UI
|
|
357
|
-
flow-weaver export <file> # Export to Lambda/Vercel/Cloudflare/Inngest
|
|
367
|
+
flow-weaver export <file> # Export to Lambda/Vercel/Cloudflare/Inngest/GitHub Actions/GitLab CI (via packs)
|
|
358
368
|
flow-weaver openapi <directory> # Generate OpenAPI spec
|
|
359
369
|
|
|
360
370
|
# Patterns
|