agentic-mermaid 0.4.1 → 0.5.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/AGENT_NATIVE.md +94 -627
- package/CHANGELOG.md +651 -0
- package/Instructions_for_agents.md +44 -23
- package/LICENSES/Khroma-MIT.txt +21 -0
- package/LICENSES/Mermaid-MIT.txt +21 -0
- package/LICENSES/es-toolkit-MIT.txt +21 -0
- package/LICENSES/pele-MIT.txt +40 -0
- package/LICENSES/zenuml-core-MIT.txt +21 -0
- package/README.md +93 -50
- package/SECURITY.md +28 -12
- package/THIRD_PARTY_NOTICES.md +60 -0
- package/assets/hero.png +0 -0
- package/dist/agent-core.d.ts +478 -210
- package/dist/agent-core.js +1 -396
- package/dist/agent.d.ts +17 -8
- package/dist/agent.js +1 -408
- package/dist/agentic-mermaid-mcp.js +1 -11
- package/dist/am.js +1 -34562
- package/dist/browser-lazy/chunks/agentic-producer-core-CC6OOLDW.js +1 -0
- package/dist/browser-lazy/chunks/architecture-QUFVKYJR.js +13 -0
- package/dist/browser-lazy/chunks/block-6J3Q63BO.js +11 -0
- package/dist/browser-lazy/chunks/builtin-backends-7SOZZHPF.js +12 -0
- package/dist/browser-lazy/chunks/c4-SQVBZAKJ.js +10 -0
- package/dist/browser-lazy/chunks/chunk-2GPK4VFF.js +5 -0
- package/dist/browser-lazy/chunks/chunk-2I4UPL7Q.js +3 -0
- package/dist/browser-lazy/chunks/chunk-2SH76OTH.js +1 -0
- package/dist/browser-lazy/chunks/chunk-2UIA2IME.js +3 -0
- package/dist/browser-lazy/chunks/chunk-4LHYF3BS.js +1 -0
- package/dist/browser-lazy/chunks/chunk-5B2Z7575.js +1 -0
- package/dist/browser-lazy/chunks/chunk-5FQ534HP.js +1 -0
- package/dist/browser-lazy/chunks/chunk-5UVGUSD6.js +1 -0
- package/dist/browser-lazy/chunks/chunk-5X6MJX3H.js +1 -0
- package/dist/browser-lazy/chunks/chunk-AMJLVPUB.js +4 -0
- package/dist/browser-lazy/chunks/chunk-BU5LHXNJ.js +3 -0
- package/dist/browser-lazy/chunks/chunk-BY2CPG6B.js +1 -0
- package/dist/browser-lazy/chunks/chunk-CN7WTBWB.js +1 -0
- package/dist/browser-lazy/chunks/chunk-CQE4HQEW.js +1 -0
- package/dist/browser-lazy/chunks/chunk-CSFUKSU6.js +1 -0
- package/dist/browser-lazy/chunks/chunk-DF6765YX.js +17 -0
- package/dist/browser-lazy/chunks/chunk-E2WMJZNM.js +1 -0
- package/dist/browser-lazy/chunks/chunk-FAIMVOX5.js +6 -0
- package/dist/browser-lazy/chunks/chunk-GVOEAY52.js +1 -0
- package/dist/browser-lazy/chunks/chunk-HLWUNUCM.js +1 -0
- package/dist/browser-lazy/chunks/chunk-ICC7HBJX.js +1 -0
- package/dist/browser-lazy/chunks/chunk-J35HAQQF.js +20 -0
- package/dist/browser-lazy/chunks/chunk-J7FFAFQF.js +1 -0
- package/dist/browser-lazy/chunks/chunk-LH7HUDKW.js +1 -0
- package/dist/browser-lazy/chunks/chunk-N5ELX7LR.js +2 -0
- package/dist/browser-lazy/chunks/chunk-NMQQMRIR.js +1 -0
- package/dist/browser-lazy/chunks/chunk-NO7ZIVRU.js +1 -0
- package/dist/browser-lazy/chunks/chunk-OZ443IVJ.js +16 -0
- package/dist/browser-lazy/chunks/chunk-PQGPS2YV.js +7 -0
- package/dist/browser-lazy/chunks/chunk-QA6GJQ4X.js +1 -0
- package/dist/browser-lazy/chunks/chunk-RIVTHZAQ.js +1 -0
- package/dist/browser-lazy/chunks/chunk-SZELX2EJ.js +1 -0
- package/dist/browser-lazy/chunks/chunk-TYZOZXUJ.js +22 -0
- package/dist/browser-lazy/chunks/chunk-UL6NDWLL.js +1 -0
- package/dist/browser-lazy/chunks/chunk-VQYYGAXP.js +1 -0
- package/dist/browser-lazy/chunks/chunk-VWVZGQE2.js +1 -0
- package/dist/browser-lazy/chunks/chunk-X2UYKWKM.js +4 -0
- package/dist/browser-lazy/chunks/chunk-YCEICNM6.js +1 -0
- package/dist/browser-lazy/chunks/chunk-Z3FDIVLN.js +20 -0
- package/dist/browser-lazy/chunks/class-5QA4SCTS.js +13 -0
- package/dist/browser-lazy/chunks/decode-63UIZGD2.js +1 -0
- package/dist/browser-lazy/chunks/elk.bundled-L4CADV5W.js +24 -0
- package/dist/browser-lazy/chunks/er-7ZSKGN7Y.js +11 -0
- package/dist/browser-lazy/chunks/eventmodeling-2BPLHWRN.js +19 -0
- package/dist/browser-lazy/chunks/flowchart-NEIMZTB5.js +4 -0
- package/dist/browser-lazy/chunks/forest-implementation-AEP24AIP.js +1 -0
- package/dist/browser-lazy/chunks/gantt-RDPIFYAF.js +11 -0
- package/dist/browser-lazy/chunks/gitgraph-N4Y5RYB7.js +9 -0
- package/dist/browser-lazy/chunks/ishikawa-LD3YBDJN.js +6 -0
- package/dist/browser-lazy/chunks/journey-6YQR5DJX.js +16 -0
- package/dist/browser-lazy/chunks/kanban-PLMJ7NBW.js +20 -0
- package/dist/browser-lazy/chunks/mermaid-yaml-runtime-QVYX4EWK.js +136 -0
- package/dist/browser-lazy/chunks/mindmap-K2UBFO3Y.js +12 -0
- package/dist/browser-lazy/chunks/packet-CUW4QY6Y.js +7 -0
- package/dist/browser-lazy/chunks/pie-7F7UUCG3.js +15 -0
- package/dist/browser-lazy/chunks/quadrant-TOONO2WC.js +10 -0
- package/dist/browser-lazy/chunks/radar-J6JVWVAX.js +16 -0
- package/dist/browser-lazy/chunks/render-core-BZOM3K7D.js +3 -0
- package/dist/browser-lazy/chunks/requirement-CMAKDJPO.js +19 -0
- package/dist/browser-lazy/chunks/sankey-AWXQEP3F.js +13 -0
- package/dist/browser-lazy/chunks/sequence-Q2RJRB4L.js +5 -0
- package/dist/browser-lazy/chunks/state-WRBFQEDX.js +4 -0
- package/dist/browser-lazy/chunks/timeline-D2KILFXM.js +6 -0
- package/dist/browser-lazy/chunks/treemap-N3VYX5D4.js +6 -0
- package/dist/browser-lazy/chunks/xychart-G73OGK66.js +16 -0
- package/dist/browser-lazy/chunks/zenuml-H4BXNYXR.js +16 -0
- package/dist/browser-lazy/index.d.ts +544 -275
- package/dist/browser-lazy/index.js +1 -1
- package/dist/browser.global.js +802 -565
- package/dist/chunk-3LGLPG33.js +2 -0
- package/dist/chunk-7CRDX2QR.js +2 -0
- package/dist/chunk-7PPW2BMO.js +2 -0
- package/dist/chunk-DQDKA5ND.js +2 -0
- package/dist/chunk-EHCMJUMD.js +52 -0
- package/dist/chunk-GVCHLSHH.js +4 -0
- package/dist/chunk-H3NCS2XZ.js +19 -0
- package/dist/chunk-JZOJ4YGS.js +201 -0
- package/dist/chunk-MKE7GNYU.js +146 -0
- package/dist/chunk-NKNFOREZ.js +2 -0
- package/dist/chunk-O7H2UX5K.js +2 -0
- package/dist/chunk-OMY6NRQD.js +58 -0
- package/dist/chunk-UA234O4M.js +4 -0
- package/dist/chunk-VUFVLGTH.js +2 -0
- package/dist/chunk-XU5LPD2D.js +2 -0
- package/dist/cli-YGGTJZH7.js +226 -0
- package/dist/elk-constructor.js +2 -0
- package/dist/elk-constructor.node.js +11 -0
- package/dist/index-EeXqJXr5.d.ts +1223 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -334
- package/dist/jsonl-RPJY6YWO.js +2 -0
- package/dist/mcp-cli-63DYXTVD.js +2 -0
- package/dist/{index-BGA_-6LV.d.ts → paint-certification-6rwQjIv_.d.ts} +5283 -6173
- package/dist/server-5NEOHOFS.js +524 -0
- package/dist/svg-styles-BdnoM7AT.d.ts +724 -0
- package/dist/svg-styles.d.ts +1 -0
- package/dist/svg-styles.js +2 -0
- package/dist/svg.d.ts +13 -0
- package/dist/svg.js +2 -0
- package/dist/types-BcS52Mjt.d.ts +1360 -0
- package/dist/zenuml/chunks/appearance-UOQ5KA6O.js +1 -0
- package/dist/zenuml/chunks/builtin-backends-KDKE7YHO.js +12 -0
- package/dist/zenuml/chunks/chunk-42DXZ5C6.js +4 -0
- package/dist/zenuml/chunks/chunk-7TVYPTDW.js +1 -0
- package/dist/zenuml/chunks/chunk-EVPSMEKN.js +1 -0
- package/dist/zenuml/chunks/chunk-OXQWRSBM.js +20 -0
- package/dist/zenuml/chunks/chunk-QWX77U7G.js +2 -0
- package/dist/zenuml/chunks/chunk-RLJEI7YN.js +29 -0
- package/dist/zenuml/chunks/chunk-RZ6XK5CD.js +29 -0
- package/dist/zenuml/chunks/decode-BWERFDGK.js +1 -0
- package/dist/zenuml/chunks/mermaid-yaml-runtime-KZVU74WU.js +136 -0
- package/dist/zenuml/chunks/render-core-V5RQ737O.js +3 -0
- package/dist/zenuml/chunks/zenuml-EA2ZFRUX.js +20 -0
- package/dist/zenuml-frame.global.js +3626 -0
- package/dist/zenuml.d.ts +83 -0
- package/dist/zenuml.js +1 -0
- package/docs/MCP-DIRECTORY-LISTINGS.md +5 -1
- package/docs/README.md +59 -103
- package/docs/agent-api-cookbook.md +26 -16
- package/docs/agent-mutation-policy.md +86 -15
- package/docs/agent-workflow-examples.md +1 -1
- package/docs/api-advanced.md +385 -0
- package/docs/api.md +320 -366
- package/docs/ascii.md +40 -4
- package/docs/browser.md +46 -7
- package/docs/choosing-a-diagram.md +148 -0
- package/docs/code-mode-impact.md +1 -0
- package/docs/comparison.md +244 -28
- package/docs/computational-aesthetics-prototype-plan.md +10 -10
- package/docs/config.md +60 -2
- package/docs/custom-fonts.md +78 -21
- package/docs/diagram-families.md +160 -10
- package/docs/eventmodeling-and-zenuml.md +165 -0
- package/docs/features.md +21 -19
- package/docs/fork-differences.md +105 -32
- package/docs/getting-started.md +56 -51
- package/docs/layout-certification.md +126 -0
- package/docs/mcp-code-mode-rationale.md +20 -12
- package/docs/mcp-http-transport.md +14 -8
- package/docs/quality.md +145 -15
- package/docs/react.md +76 -31
- package/docs/style-authoring.md +23 -11
- package/docs/svg-semantic-contract.md +104 -4
- package/docs/testing-strategy.md +684 -126
- package/docs/theming.md +27 -8
- package/examples/styles/readme-hero.md +25 -0
- package/examples/styles/readme-hero.mmd +13 -0
- package/examples/styles/readme-hero.style.json +7 -0
- package/package.json +114 -57
- package/server.json +2 -2
- package/skills/agentic-mermaid-diagram-workflow/SKILL.md +26 -8
- package/skills/agentic-mermaid-diagram-workflow/references/cli.md +13 -3
- package/skills/agentic-mermaid-diagram-workflow/references/code-mode.md +2 -1
- package/skills/agentic-mermaid-diagram-workflow/references/flowchart.md +9 -6
- package/skills/agentic-mermaid-diagram-workflow/references/hosted-mcp.md +1 -0
- package/skills/agentic-mermaid-diagram-workflow/references/sequence.md +4 -3
- package/skills/agentic-mermaid-diagram-workflow/references/timeline.md +7 -6
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/agentflow.md +574 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/architecture.md +10 -2
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/c4.md +18 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/classDiagram.md +123 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/cynefin.md +6 -1
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/entityRelationshipDiagram.md +129 -9
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/eventmodeling.md +22 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/flowchart.md +188 -60
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/gitgraph.md +13 -7
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/mindmap.md +110 -1
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/packet.md +38 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/requirementDiagram.md +115 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/sequenceDiagram.md +101 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/stateDiagram.md +87 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/swimlanes.md +105 -2
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/timeline.md +12 -6
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/usecase.md +953 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/venn.md +77 -0
- package/skills/agentic-mermaid-diagram-workflow/references/upstream/xyChart.md +1 -1
- package/dist/browser-lazy/chunks/architecture-KTHE2HX3.js +0 -31
- package/dist/browser-lazy/chunks/chunk-2XCPFAD5.js +0 -46
- package/dist/browser-lazy/chunks/chunk-3H4F7RBT.js +0 -1
- package/dist/browser-lazy/chunks/chunk-4EVLW2NJ.js +0 -1
- package/dist/browser-lazy/chunks/chunk-5Q4S74UO.js +0 -1
- package/dist/browser-lazy/chunks/chunk-6OAPWSDO.js +0 -1
- package/dist/browser-lazy/chunks/chunk-A7L4WWVW.js +0 -143
- package/dist/browser-lazy/chunks/chunk-C7FJO2I3.js +0 -4
- package/dist/browser-lazy/chunks/chunk-D3XXDKIO.js +0 -1
- package/dist/browser-lazy/chunks/chunk-DXA5WL7H.js +0 -4
- package/dist/browser-lazy/chunks/chunk-EPFMQPXX.js +0 -1
- package/dist/browser-lazy/chunks/chunk-FFOHLPDA.js +0 -2
- package/dist/browser-lazy/chunks/chunk-FLD63DXE.js +0 -2
- package/dist/browser-lazy/chunks/chunk-G6OLSHRG.js +0 -7
- package/dist/browser-lazy/chunks/chunk-GRXCKTHX.js +0 -0
- package/dist/browser-lazy/chunks/chunk-I6VE56S7.js +0 -1
- package/dist/browser-lazy/chunks/chunk-KJVNXJ5Y.js +0 -1
- package/dist/browser-lazy/chunks/chunk-L227EPFP.js +0 -11
- package/dist/browser-lazy/chunks/chunk-LNIHDJSF.js +0 -1
- package/dist/browser-lazy/chunks/chunk-M6BT2HIP.js +0 -1
- package/dist/browser-lazy/chunks/chunk-NZRUMODH.js +0 -1
- package/dist/browser-lazy/chunks/chunk-OFRMKQA6.js +0 -1
- package/dist/browser-lazy/chunks/chunk-P7HMSKHJ.js +0 -1
- package/dist/browser-lazy/chunks/chunk-PXKL3O6H.js +0 -1
- package/dist/browser-lazy/chunks/chunk-PZEWZT35.js +0 -1
- package/dist/browser-lazy/chunks/chunk-STQRDZ67.js +0 -1
- package/dist/browser-lazy/chunks/chunk-SUFMSWTX.js +0 -1
- package/dist/browser-lazy/chunks/chunk-T7IJ6V4B.js +0 -3
- package/dist/browser-lazy/chunks/chunk-UAEZO5VL.js +0 -1
- package/dist/browser-lazy/chunks/chunk-WEUWIFG3.js +0 -1
- package/dist/browser-lazy/chunks/chunk-X64T74C5.js +0 -24
- package/dist/browser-lazy/chunks/class-F7R6TJ73.js +0 -9
- package/dist/browser-lazy/chunks/er-BDK7CM5L.js +0 -9
- package/dist/browser-lazy/chunks/flowchart-KFU6XV7S.js +0 -4
- package/dist/browser-lazy/chunks/gantt-I64VVDSP.js +0 -28
- package/dist/browser-lazy/chunks/gitgraph-EDUVJ5IJ.js +0 -8
- package/dist/browser-lazy/chunks/journey-TLO2RNM3.js +0 -40
- package/dist/browser-lazy/chunks/mindmap-OJCNDYPM.js +0 -9
- package/dist/browser-lazy/chunks/pie-HVG6XO7K.js +0 -19
- package/dist/browser-lazy/chunks/quadrant-U6S2L4MJ.js +0 -24
- package/dist/browser-lazy/chunks/radar-ZDLOBTVG.js +0 -32
- package/dist/browser-lazy/chunks/render-core-Y2DFNMQG.js +0 -12
- package/dist/browser-lazy/chunks/sequence-Z4WFS3VB.js +0 -12
- package/dist/browser-lazy/chunks/state-2HV2YGN3.js +0 -4
- package/dist/browser-lazy/chunks/timeline-XM4UFPOC.js +0 -20
- package/dist/browser-lazy/chunks/xychart-7JDHWTQY.js +0 -36
- package/dist/chunk-GGXCNCNA.js +0 -4118
- package/dist/chunk-IVD4NXNE.js +0 -615
- package/dist/chunk-JDMRPUAG.js +0 -37
- package/dist/chunk-JWAAW3FH.js +0 -149
- package/dist/chunk-LCGBT32P.js +0 -62036
- package/dist/chunk-RWMZRUIC.js +0 -4715
- package/dist/mcp-cli-4MLKC3ZH.js +0 -17
- package/docs/mutation-testing.md +0 -285
package/SECURITY.md
CHANGED
|
@@ -28,10 +28,11 @@ Types):
|
|
|
28
28
|
|
|
29
29
|
In strict mode the SVG output contains **zero external-fetch references**:
|
|
30
30
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
- No Google Fonts `@import` is emitted, even if the caller passes
|
|
32
|
+
`embedFontImport: true` (that opt-in import is the only external-fetch
|
|
33
|
+
vector our output otherwise emits). The font family is still declared via
|
|
34
|
+
the `--font` CSS variable, so a host that *does* have the font shows it;
|
|
35
|
+
otherwise the browser falls back to `system-ui, sans-serif`.
|
|
35
36
|
- We emit no `<image>`, no `<script>`, no `<foreignObject>`, no external
|
|
36
37
|
`href`/`src`/`url(http…)`/`url(//…)`.
|
|
37
38
|
|
|
@@ -49,16 +50,28 @@ gate or an agent self-check after rendering.
|
|
|
49
50
|
- **Deterministic renderer, no ambient network or code execution.** SVG/ASCII
|
|
50
51
|
rendering is pure-functional TypeScript with no DOM, no `eval`, no network,
|
|
51
52
|
and no user-controlled filesystem access. PNG rendering may read bundled
|
|
52
|
-
font assets from the package before offline rasterization. Code Mode
|
|
53
|
-
run in a `node:vm` context where `process`, `require`,
|
|
53
|
+
font assets from the package before offline rasterization. Local Code Mode
|
|
54
|
+
snippets run in a `node:vm` context where `process`, `require`,
|
|
54
55
|
`fetch`, `eval`, `Function`, and host-constructor escape paths are tested
|
|
55
|
-
absent and dynamic code generation is disabled.
|
|
56
|
+
absent and dynamic code generation is disabled. Hosted `execute` at
|
|
57
|
+
`agentic-mermaid.dev/mcp` does not use `node:vm`: each snippet runs in a
|
|
58
|
+
Cloudflare Dynamic Worker isolate with no network (`globalOutbound: null`),
|
|
59
|
+
an empty env, and a CPU budget.
|
|
56
60
|
- **HTTP/SSE MCP defaults are local-first.** `agentic-mermaid-mcp --transport
|
|
57
61
|
http` binds to `127.0.0.1` by default. Non-loopback binding requires
|
|
58
62
|
`--auth-token`; `/rpc` and `/message` require `content-type:
|
|
59
63
|
application/json`; cross-origin browser posts are rejected; request bodies,
|
|
60
64
|
artifact bytes, and sandbox timeouts are capped.
|
|
61
65
|
|
|
66
|
+
### Graph work budgets
|
|
67
|
+
|
|
68
|
+
Graph parsing bounds expanded edges and nodes at 5,000 each. Cartesian edge
|
|
69
|
+
statements such as `A & B --> C & D` are checked before allocating their
|
|
70
|
+
expanded edges. Graph layout also counts container nodes and rejects nesting
|
|
71
|
+
deeper than 64 levels before recursive conversion or ELK execution. These host
|
|
72
|
+
budgets apply in every security mode; diagram configuration cannot raise them.
|
|
73
|
+
Exceeding a budget throws `DIAGRAM_WORK_LIMIT` without drawing a partial graph.
|
|
74
|
+
|
|
62
75
|
## What we do NOT guarantee
|
|
63
76
|
|
|
64
77
|
- **`node:vm` is not an OS/container security boundary.** Code Mode containment
|
|
@@ -66,12 +79,15 @@ gate or an agent self-check after rendering.
|
|
|
66
79
|
`execute(code)` to arbitrary hostile users without process/container
|
|
67
80
|
isolation and normal resource controls. HTTP/SSE transport improves
|
|
68
81
|
reachability for trusted clients; it is not a hosted multi-tenant sandbox.
|
|
69
|
-
- **Default mode
|
|
70
|
-
|
|
71
|
-
|
|
82
|
+
- **Default mode does not enforce the no-external-refs guarantee.** It omits
|
|
83
|
+
the Google Fonts `@import` unless the caller opts in with
|
|
84
|
+
`embedFontImport: true` (back-compat for pages that expect the Inter
|
|
85
|
+
webfont), and it does not reject a render that carries an external
|
|
86
|
+
reference. **For agent/untrusted SVG contexts, use strict mode.** MCP
|
|
72
87
|
`render_png` is already offline (the PNG rasterizer has no network). SVG via
|
|
73
|
-
Code Mode `execute()` lets the agent pass `security: 'strict'`;
|
|
74
|
-
|
|
88
|
+
local Code Mode `execute()` lets the agent pass `security: 'strict'`; hosted
|
|
89
|
+
`render_svg` and hosted `execute` force it. ASCII output has no
|
|
90
|
+
external-reference surface.
|
|
75
91
|
- **We do not sanitize arbitrary third-party SVG.** `verifyNoExternalRefs`
|
|
76
92
|
is a scanner for *our* output shape, not a general SVG sanitizer. Don't
|
|
77
93
|
feed it untrusted SVG and treat a pass as safe.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
2
|
|
|
3
|
+
## Pele parser and fishbone layout adaptations
|
|
4
|
+
|
|
5
|
+
The native Block and Requirement parsers and Ishikawa layout adapt browserless
|
|
6
|
+
implementations from Pele, with Agentic Mermaid's typed bodies, editing,
|
|
7
|
+
measurement, Scene, styling and output contracts applied locally.
|
|
8
|
+
|
|
9
|
+
- Source: <https://github.com/kepano/pele/tree/8603bf3313add9143cd417015d4a6bd6c522dada>
|
|
10
|
+
- Copyright: © 2026 kepano
|
|
11
|
+
- License: **MIT**, reproduced in [`LICENSES/pele-MIT.txt`](LICENSES/pele-MIT.txt).
|
|
12
|
+
|
|
13
|
+
## Mermaid 12.2.0 stable-family tests
|
|
14
|
+
|
|
15
|
+
The six new family compatibility benches preserve pinned Mermaid test cases and
|
|
16
|
+
documented examples from source commit
|
|
17
|
+
`1fb7869866dd619168d840291c9c54b4f129758b`. They are verification inputs, not
|
|
18
|
+
runtime code, and are excluded from the npm package.
|
|
19
|
+
|
|
20
|
+
- Source: <https://github.com/mermaid-js/mermaid/tree/1fb7869866dd619168d840291c9c54b4f129758b>
|
|
21
|
+
- Copyright: © 2014–2022 Knut Sveidqvist
|
|
22
|
+
- License: **MIT**, reproduced in `LICENSES/Mermaid-MIT.txt`.
|
|
23
|
+
|
|
3
24
|
## Material Design Icons (curated Architecture icon paths)
|
|
4
25
|
|
|
5
26
|
A size-bounded subset of SVG path data in `src/architecture/icons.ts` is
|
|
@@ -17,6 +38,16 @@ at runtime and does not bundle the full npm package. The published
|
|
|
17
38
|
`@iconify-json/mdi@1.2.3` tarball contains no upstream `NOTICE` file to
|
|
18
39
|
reproduce.
|
|
19
40
|
|
|
41
|
+
## Mermaid syntax references
|
|
42
|
+
|
|
43
|
+
The Mermaid syntax references under
|
|
44
|
+
`skills/agentic-mermaid-diagram-workflow/references/upstream/` are copied from
|
|
45
|
+
Mermaid 12.2.0, source commit `1fb7869866dd619168d840291c9c54b4f129758b`.
|
|
46
|
+
|
|
47
|
+
- Source: <https://github.com/mermaid-js/mermaid/tree/1fb7869866dd619168d840291c9c54b4f129758b/docs/syntax>
|
|
48
|
+
- Copyright: © 2014–2022 Knut Sveidqvist
|
|
49
|
+
- License: **MIT**, reproduced in `LICENSES/Mermaid-MIT.txt` and included in the npm package.
|
|
50
|
+
|
|
20
51
|
## Mermaid pinned test specifications
|
|
21
52
|
|
|
22
53
|
The revision-bound oracle vendors two upstream Mermaid test specifications at
|
|
@@ -27,3 +58,32 @@ The revision-bound oracle vendors two upstream Mermaid test specifications at
|
|
|
27
58
|
- Copyright: © 2014–2022 Knut Sveidqvist
|
|
28
59
|
- License: **MIT**
|
|
29
60
|
- Repository license copy: `eval/mermaid-upstream-suite-bench/upstream-f3dea583/LICENSE.mermaid.txt` (the upstream specs are verification-only and excluded from the npm package)
|
|
61
|
+
|
|
62
|
+
## Pinned Mermaid configuration compatibility program
|
|
63
|
+
|
|
64
|
+
`src/shared/pinned-mermaid-config/runtime.js` contains the pure configuration,
|
|
65
|
+
merge, appearance, theme and color programs from Mermaid 12.2.0 source
|
|
66
|
+
`1fb7869866dd619168d840291c9c54b4f129758b`, Khroma 2.1.0 and lodash-es 4.18.1.
|
|
67
|
+
It has no diagram parser, renderer or DOM implementation. Regenerate it with
|
|
68
|
+
`scripts/build/generate-mermaid-config-runtime.ts` and the policy reference.
|
|
69
|
+
|
|
70
|
+
- Mermaid: MIT, copyright 2014–2022 Knut Sveidqvist; `LICENSES/Mermaid-MIT.txt`.
|
|
71
|
+
- Khroma: MIT, copyright 2019-present Fabio Spampinato, Andrew Maney; `LICENSES/Khroma-MIT.txt`.
|
|
72
|
+
- lodash-es: MIT, copyright JS Foundation and other contributors; `LICENSES/lodash-MIT.txt`.
|
|
73
|
+
|
|
74
|
+
## Optional ZenUML browser backend
|
|
75
|
+
|
|
76
|
+
`dist/zenuml-frame.global.js` bundles **@zenuml/core 3.47.9** and its
|
|
77
|
+
transitive browser dependencies. It is loaded only by the explicit asynchronous
|
|
78
|
+
`agentic-mermaid/zenuml` API in a disposable iframe. The default SVG, agent,
|
|
79
|
+
terminal and browser entries do not import it.
|
|
80
|
+
|
|
81
|
+
- Source: <https://github.com/mermaid-js/zenuml-core>
|
|
82
|
+
- License: **MIT**, reproduced in `LICENSES/zenuml-core-MIT.txt`.
|
|
83
|
+
- Dependency notices are retained in the separately built browser script.
|
|
84
|
+
|
|
85
|
+
The development-only Mermaid ZenUML addon 1.0.1 is the configured positive
|
|
86
|
+
control; the product backend calls the same core native SVG API directly.
|
|
87
|
+
Event Modeling tests and syntax investigation use the pinned Mermaid reference
|
|
88
|
+
identified above. Its layout, text measurement and drawing implementation are
|
|
89
|
+
Agentic Mermaid's.
|
package/assets/hero.png
CHANGED
|
Binary file
|