flowzap-mcp 1.3.4 → 1.3.6

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
@@ -13,7 +13,8 @@ FlowZap turns text prompts into triple-view diagrams (Workflow, Sequence & Archi
13
13
  - Node attributes use colon: `label:"Text"`
14
14
  - Edge labels use equals: `[label="Text"]`
15
15
  - Handles required: `n1.handle(right) -> n2.handle(left)`
16
- - Sequence diagram quality: every cross-lane request needs a matching response edge; define edges in chronological order; no orphaned nodes
16
+ - Lane display label must be on the same line as the opening brace: `laneName { # Label`
17
+ - Sequence diagram quality: every cross-lane request needs a matching response edge before the next major request; define edges in chronological order; keep a strict request → response → next request rhythm; no orphaned nodes
17
18
 
18
19
  ## Installation
19
20
 
@@ -121,17 +122,17 @@ The assistant will:
121
122
  ```
122
123
  sales { # Sales Team
123
124
  n1: circle label:"Order Received"
124
- n2: rectangle label:"Validate Order"
125
- n3: diamond label:"Valid?"
125
+ n2: rectangle label:"Submit Order"
126
+ n5: rectangle label:"Receive decision"
126
127
  n1.handle(right) -> n2.handle(left)
127
- n2.handle(right) -> n3.handle(left)
128
- n3.handle(right) -> fulfillment.n4.handle(left) [label="Yes"]
128
+ n2.handle(bottom) -> fulfillment.n3.handle(top) [label="Submit"]
129
129
  }
130
130
 
131
131
  fulfillment { # Fulfillment
132
- n4: rectangle label:"Process Order"
133
- n5: circle label:"Complete"
134
- n4.handle(right) -> n5.handle(left)
132
+ n3: rectangle label:"Review Order"
133
+ n4: rectangle label:"Return decision"
134
+ n3.handle(right) -> n4.handle(left)
135
+ n4.handle(top) -> sales.n5.handle(bottom) [label="Approved"]
135
136
  }
136
137
  ```
137
138
 
@@ -144,6 +145,18 @@ fulfillment { # Fulfillment
144
145
  - **Rate limited** - 30 requests/minute client-side
145
146
  - **Input validation** - 50KB max code size
146
147
 
148
+ ## Agent Skill (skills.sh)
149
+
150
+ Install the FlowZap skill for 40+ compatible coding agents via [skills.sh](https://skills.sh):
151
+
152
+ ```bash
153
+ npx skills add flowzap-xyz/flowzap-mcp
154
+ ```
155
+
156
+ - **skills.sh listing:** [https://skills.sh/flowzap-xyz/flowzap-mcp/flowzap-diagrams](https://skills.sh/flowzap-xyz/flowzap-mcp/flowzap-diagrams)
157
+ - **Skill source:** [skills/flowzap-diagrams/](https://github.com/flowzap-xyz/flowzap-mcp/tree/main/skills/flowzap-diagrams)
158
+ - Compatible with: Claude Code, Cursor, Windsurf, Codex, Gemini CLI, GitHub Copilot, Cline, Roo Code, Augment, OpenCode, and more.
159
+
147
160
  ## Links
148
161
 
149
162
  - [FlowZap Website](https://flowzap.xyz)
package/dist/index.js CHANGED
@@ -95,7 +95,7 @@ async function secureFetch(url, options) {
95
95
  signal: controller.signal,
96
96
  headers: {
97
97
  ...options.headers,
98
- "User-Agent": "flowzap-mcp/1.3.4",
98
+ "User-Agent": "flowzap-mcp/1.3.6",
99
99
  "X-MCP-Client": "flowzap-mcp",
100
100
  },
101
101
  });
@@ -386,7 +386,7 @@ async function handleCreatePlayground(code, view) {
386
386
  // Main server setup
387
387
  const server = new Server({
388
388
  name: "flowzap-mcp",
389
- version: "1.3.4",
389
+ version: "1.3.6",
390
390
  }, {
391
391
  capabilities: {
392
392
  tools: {},
@@ -16,10 +16,10 @@ export async function createPlaygroundUrl(code) {
16
16
  method: "POST",
17
17
  headers: {
18
18
  "Content-Type": "application/json",
19
- "User-Agent": "flowzap-mcp/1.3.4",
19
+ "User-Agent": "flowzap-mcp/1.3.5",
20
20
  "X-MCP-Client": "flowzap-mcp",
21
21
  },
22
- body: JSON.stringify({ code }),
22
+ body: JSON.stringify({ code, source: 'mcp' }),
23
23
  signal: controller.signal,
24
24
  });
25
25
  clearTimeout(timeoutId);
@@ -1 +1 @@
1
- {"version":3,"file":"playgroundApi.js","sourceRoot":"","sources":["../../src/tools/playgroundApi.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,gBAAgB,GAAG,qBAAqB,CAAC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7B,CAAC;QAED,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,mCAAmC,EAAE,CAAC;IACxE,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,YAAY,EAAE,CAAC;YAC1D,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,CAAC;QACxC,CAAC;QACD,OAAO,EAAE,KAAK,EAAE,gCAAgC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;IAC7G,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowzap-mcp",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "mcpName": "io.github.flowzap-xyz/flowzap",
5
5
  "description": "MCP server for FlowZap - Create workflow, sequence, and architecture diagrams via AI assistants. Works with Claude Desktop, Claude Code, Cursor, Windsurf, OpenAI Codex, Warp, Zed, Cline, Roo Code, Continue.dev, and Sourcegraph Cody.",
6
6
  "main": "dist/index.js",