@synergenius/flow-weaver 0.13.2 → 0.13.3
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 +41 -2
- package/dist/cli/flow-weaver.mjs +2 -2
- package/dist/generated-version.d.ts +1 -1
- package/dist/generated-version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,10 +12,49 @@
|
|
|
12
12
|
|
|
13
13
|
Design agent workflows in the Studio, in TypeScript, or let AI build them for you. The compiler validates everything with 20+ rule categories. The output is standalone TypeScript you deploy anywhere, zero runtime dependency on Flow Weaver.
|
|
14
14
|
|
|
15
|
+
*Got an AGENTS.md or runbook? [Convert it to a typed workflow →](https://flowweaver.ai/services/md-converter)*
|
|
16
|
+
|
|
15
17
|
[**flowweaver.ai**](https://flowweaver.ai) · [**Open the Studio**](https://flowweaver.ai/studio) · [**Docs**](https://flowweaver.ai/docs) · [**Discord**](https://discord.gg/6Byh3ur2bk) · [**npm**](https://www.npmjs.com/package/@synergenius/flow-weaver)
|
|
16
18
|
|
|
17
19
|
---
|
|
18
20
|
|
|
21
|
+
## Your AGENTS.md is a workflow waiting to happen
|
|
22
|
+
|
|
23
|
+
You already wrote the steps, the branching logic, the edge cases. But it's a markdown file. It doesn't run, doesn't validate, and you can't see the full flow at a glance.
|
|
24
|
+
|
|
25
|
+
**Paste this:**
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
# Code Review Agent
|
|
29
|
+
|
|
30
|
+
### 1. Analyze diff
|
|
31
|
+
Send the PR diff to an LLM for security, quality, and style review.
|
|
32
|
+
|
|
33
|
+
### 2. Classify severity
|
|
34
|
+
Critical (must fix) · Warning (should fix) · Suggestion (nice to have).
|
|
35
|
+
|
|
36
|
+
### 3. Route
|
|
37
|
+
Critical issues → request changes. Otherwise → approve with comments.
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Get this:**
|
|
41
|
+
|
|
42
|
+
<a href="https://htmlpreview.github.io/?https://github.com/synergenius-fw/flow-weaver/blob/main/docs/images/code-review-agent.html">
|
|
43
|
+
<picture>
|
|
44
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/images/code-review-agent-dark.svg">
|
|
45
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/images/code-review-agent-light.svg">
|
|
46
|
+
<img alt="Code Review Agent workflow diagram generated from AGENTS.md" src="docs/images/code-review-agent-dark.svg" width="100%">
|
|
47
|
+
</picture>
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<sup>Click the diagram to open the interactive version (zoom, pan, inspect nodes).</sup>
|
|
51
|
+
|
|
52
|
+
The converter extracts the steps and decision points from your markdown and produces typed TypeScript plus a visual diagram. You can run it, test it, deploy it.
|
|
53
|
+
|
|
54
|
+
[**Try the converter →**](https://flowweaver.ai/services/md-converter)   Works with AGENTS.md, CLAUDE.md, Cursor rules, runbooks, SOPs, and any process doc.
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
19
58
|
## Try It
|
|
20
59
|
|
|
21
60
|
**In the browser.** Open the [Cloud Studio](https://flowweaver.ai/studio), sign up, and start building. No install required.
|
|
@@ -31,7 +70,7 @@ npx flow-weaver run workflows/example.ts --params '{"input": "value"}'
|
|
|
31
70
|
|
|
32
71
|
## How It Works
|
|
33
72
|
|
|
34
|
-
**Generate.** AI
|
|
73
|
+
**Generate.** Let AI build it for you, design visually in the Studio, or write annotated TypeScript by hand. All three stay in sync.
|
|
35
74
|
|
|
36
75
|
**Validate.** The compiler catches wiring errors, type mismatches, missing handlers, unreachable paths, and agent-specific mistakes before anything runs. Not at runtime, not in production.
|
|
37
76
|
|
|
@@ -43,7 +82,7 @@ npx flow-weaver run workflows/example.ts --params '{"input": "value"}'
|
|
|
43
82
|
|
|
44
83
|
**TypeScript.** Define workflows in plain TypeScript by annotating functions with JSDoc. The compiler derives an executable workflow graph with static typing and compile-time validation. No YAML, no JSON configuration, no runtime layer. Remove the annotations and you keep a clean TypeScript file with zero dependencies.
|
|
45
84
|
|
|
46
|
-
**AI Agents.** Connect Claude Code, Cursor, or OpenClaw and let agents scaffold
|
|
85
|
+
**AI Agents.** Connect Claude Code, Cursor, or OpenClaw and let agents scaffold, compile, fix validation errors, and iterate until the workflow works. Agents can also test with mock AI responses and generate diagrams for review.
|
|
47
86
|
|
|
48
87
|
## Quick Start
|
|
49
88
|
|
package/dist/cli/flow-weaver.mjs
CHANGED
|
@@ -9671,7 +9671,7 @@ var VERSION;
|
|
|
9671
9671
|
var init_generated_version = __esm({
|
|
9672
9672
|
"src/generated-version.ts"() {
|
|
9673
9673
|
"use strict";
|
|
9674
|
-
VERSION = "0.13.
|
|
9674
|
+
VERSION = "0.13.3";
|
|
9675
9675
|
}
|
|
9676
9676
|
});
|
|
9677
9677
|
|
|
@@ -110102,7 +110102,7 @@ async function mcpSetupCommand(options, deps) {
|
|
|
110102
110102
|
|
|
110103
110103
|
// src/cli/index.ts
|
|
110104
110104
|
init_error_utils();
|
|
110105
|
-
var version2 = true ? "0.13.
|
|
110105
|
+
var version2 = true ? "0.13.3" : "0.0.0-dev";
|
|
110106
110106
|
var program2 = new Command();
|
|
110107
110107
|
program2.name("flow-weaver").description("Flow Weaver Annotations - Compile and validate workflow files").version(version2, "-v, --version", "Output the current version");
|
|
110108
110108
|
program2.configureOutput({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.13.
|
|
1
|
+
export declare const VERSION = "0.13.3";
|
|
2
2
|
//# sourceMappingURL=generated-version.d.ts.map
|
package/package.json
CHANGED