agentic-mermaid 0.5.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 +63 -375
- package/CHANGELOG.md +39 -0
- package/README.md +87 -50
- package/assets/hero.png +0 -0
- package/dist/agent-core.d.ts +7 -7
- package/dist/agent-core.js +1 -1
- package/dist/agent.d.ts +7 -7
- package/dist/agent.js +1 -1
- package/dist/agentic-mermaid-mcp.js +1 -1
- package/dist/am.js +1 -1
- 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-MSP3S2VS.js → chunk-2GPK4VFF.js} +1 -1
- 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-HR5TE7TE.js → chunk-5B2Z7575.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-REBVEXI2.js → chunk-5X6MJX3H.js} +1 -1
- 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-HDKHAM2V.js → chunk-CN7WTBWB.js} +1 -1
- package/dist/browser-lazy/chunks/chunk-CQE4HQEW.js +1 -0
- package/dist/browser-lazy/chunks/{chunk-KXPF5KIU.js → chunk-DF6765YX.js} +3 -3
- 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-FBL4ONAL.js → chunk-J35HAQQF.js} +15 -15
- package/dist/browser-lazy/chunks/chunk-J7FFAFQF.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-2J5K6NIP.js → chunk-PQGPS2YV.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-SBXYR7Z3.js → chunk-QA6GJQ4X.js} +1 -1
- 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-E7UIB4SZ.js → chunk-UL6NDWLL.js} +1 -1
- 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-GMTB5UTY.js → chunk-X2UYKWKM.js} +3 -3
- package/dist/browser-lazy/chunks/{chunk-LLPBKBIG.js → chunk-YCEICNM6.js} +1 -1
- 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/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/gantt-RDPIFYAF.js +11 -0
- package/dist/browser-lazy/chunks/{gitgraph-W26QIMTY.js → gitgraph-N4Y5RYB7.js} +4 -4
- 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/{mindmap-5A3MVHNH.js → mindmap-K2UBFO3Y.js} +6 -6
- package/dist/browser-lazy/chunks/{packet-AL6VDOMY.js → packet-CUW4QY6Y.js} +5 -5
- package/dist/browser-lazy/chunks/pie-7F7UUCG3.js +15 -0
- package/dist/browser-lazy/chunks/{quadrant-RJ56XFBR.js → quadrant-TOONO2WC.js} +5 -5
- 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-WKTBEZSS.js → sankey-AWXQEP3F.js} +8 -8
- 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-PRV5PWGP.js → timeline-D2KILFXM.js} +4 -4
- package/dist/browser-lazy/chunks/{treemap-BVME3JLI.js → treemap-N3VYX5D4.js} +4 -4
- package/dist/browser-lazy/chunks/{xychart-XBI2RNHD.js → xychart-G73OGK66.js} +5 -5
- package/dist/browser-lazy/chunks/{zenuml-GQKPRQFJ.js → zenuml-H4BXNYXR.js} +8 -8
- package/dist/browser-lazy/index.d.ts +10 -0
- package/dist/browser-lazy/index.js +1 -1
- package/dist/browser.global.js +539 -539
- package/dist/chunk-7CRDX2QR.js +2 -0
- package/dist/{chunk-AVS4T4NO.js → chunk-DQDKA5ND.js} +2 -2
- package/dist/chunk-EHCMJUMD.js +52 -0
- package/dist/{chunk-AWZBTOV6.js → chunk-GVCHLSHH.js} +2 -2
- package/dist/{chunk-6JBQYHWB.js → chunk-H3NCS2XZ.js} +2 -2
- package/dist/{chunk-ORYXYGDV.js → chunk-JZOJ4YGS.js} +2 -2
- package/dist/{chunk-AIWXP4OF.js → chunk-NKNFOREZ.js} +2 -2
- package/dist/{chunk-PNL435CH.js → chunk-OMY6NRQD.js} +17 -17
- package/dist/{chunk-YISEN5SO.js → chunk-UA234O4M.js} +2 -2
- package/dist/{cli-BOEN5YAF.js → cli-YGGTJZH7.js} +2 -2
- package/dist/{index-Cr3xjRw9.d.ts → index-EeXqJXr5.d.ts} +3 -3
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/{mcp-cli-NM3P4VPC.js → mcp-cli-63DYXTVD.js} +2 -2
- package/dist/{paint-certification-C33LRvWT.d.ts → paint-certification-6rwQjIv_.d.ts} +22 -2
- package/dist/{server-FY5Z7F32.js → server-5NEOHOFS.js} +2 -2
- package/dist/{svg-styles-C_v2tnxG.d.ts → svg-styles-BdnoM7AT.d.ts} +1 -1
- package/dist/svg-styles.d.ts +1 -1
- package/dist/svg-styles.js +1 -1
- package/dist/svg.d.ts +4 -4
- package/dist/svg.js +1 -1
- package/dist/{types-DxOTIgwg.d.ts → types-BcS52Mjt.d.ts} +11 -1
- package/dist/zenuml/chunks/{appearance-FTQ2722O.js → appearance-UOQ5KA6O.js} +1 -1
- package/dist/zenuml/chunks/{builtin-backends-QLY75JCL.js → builtin-backends-KDKE7YHO.js} +3 -3
- package/dist/zenuml/chunks/chunk-42DXZ5C6.js +4 -0
- package/dist/zenuml/chunks/{chunk-GDLMM3YO.js → chunk-7TVYPTDW.js} +1 -1
- package/dist/zenuml/chunks/{chunk-6OONHTSD.js → chunk-OXQWRSBM.js} +10 -10
- package/dist/zenuml/chunks/{chunk-LYIRUTCM.js → chunk-QWX77U7G.js} +1 -1
- package/dist/zenuml/chunks/{chunk-4VRUBLG4.js → chunk-RLJEI7YN.js} +10 -10
- package/dist/zenuml/chunks/{chunk-YFCDP4ZS.js → chunk-RZ6XK5CD.js} +1 -1
- package/dist/zenuml/chunks/{render-core-DNCYYOIB.js → render-core-V5RQ737O.js} +3 -3
- package/dist/zenuml/chunks/{zenuml-URQ4HIMD.js → zenuml-EA2ZFRUX.js} +9 -9
- package/dist/zenuml.d.ts +2 -2
- package/dist/zenuml.js +1 -1
- package/docs/MCP-DIRECTORY-LISTINGS.md +1 -1
- package/docs/README.md +59 -110
- package/docs/api.md +3 -1
- package/docs/config.md +37 -0
- package/docs/getting-started.md +27 -44
- 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 +1 -1
- package/server.json +2 -2
- package/dist/browser-lazy/chunks/agentic-producer-core-MGU4FD6J.js +0 -1
- package/dist/browser-lazy/chunks/architecture-KZTC3672.js +0 -13
- package/dist/browser-lazy/chunks/block-J5PD6HQM.js +0 -11
- package/dist/browser-lazy/chunks/builtin-backends-GSGJPT5A.js +0 -12
- package/dist/browser-lazy/chunks/c4-VNQSIA5M.js +0 -10
- package/dist/browser-lazy/chunks/chunk-4C2BVM5Y.js +0 -1
- package/dist/browser-lazy/chunks/chunk-5GE2SFLQ.js +0 -4
- package/dist/browser-lazy/chunks/chunk-6YGQR6R4.js +0 -16
- package/dist/browser-lazy/chunks/chunk-7AHX3HH7.js +0 -1
- package/dist/browser-lazy/chunks/chunk-B5PDJUJG.js +0 -3
- package/dist/browser-lazy/chunks/chunk-CXQWSLJV.js +0 -1
- package/dist/browser-lazy/chunks/chunk-DWDYWUAS.js +0 -1
- package/dist/browser-lazy/chunks/chunk-EUBVLDYV.js +0 -29
- package/dist/browser-lazy/chunks/chunk-NQF75XGM.js +0 -3
- package/dist/browser-lazy/chunks/chunk-P7DO3MRP.js +0 -13
- package/dist/browser-lazy/chunks/chunk-QQ2U2KAY.js +0 -1
- package/dist/browser-lazy/chunks/chunk-SJYDRC6G.js +0 -1
- package/dist/browser-lazy/chunks/chunk-UUTB6MDK.js +0 -1
- package/dist/browser-lazy/chunks/chunk-WEREIH5P.js +0 -1
- package/dist/browser-lazy/chunks/chunk-WHNTP27R.js +0 -6
- package/dist/browser-lazy/chunks/chunk-YXGB25MZ.js +0 -1
- package/dist/browser-lazy/chunks/class-FNDNJGYH.js +0 -13
- package/dist/browser-lazy/chunks/er-P263BDFG.js +0 -11
- package/dist/browser-lazy/chunks/eventmodeling-XX3VCGSC.js +0 -19
- package/dist/browser-lazy/chunks/flowchart-GTLWJA3P.js +0 -4
- package/dist/browser-lazy/chunks/gantt-SRIHFAIC.js +0 -11
- package/dist/browser-lazy/chunks/ishikawa-NTHJ7BUO.js +0 -6
- package/dist/browser-lazy/chunks/journey-3T62IEHN.js +0 -16
- package/dist/browser-lazy/chunks/kanban-U6DQ7LWQ.js +0 -20
- package/dist/browser-lazy/chunks/pie-4QYMTQ7W.js +0 -15
- package/dist/browser-lazy/chunks/radar-L5B4CNEL.js +0 -16
- package/dist/browser-lazy/chunks/render-core-CIGKBI2T.js +0 -3
- package/dist/browser-lazy/chunks/requirement-5QVLRI6Z.js +0 -19
- package/dist/browser-lazy/chunks/sequence-G6DQHPR7.js +0 -5
- package/dist/browser-lazy/chunks/state-6DEA5BXE.js +0 -4
- package/dist/chunk-XCEEF3NJ.js +0 -2
- package/dist/chunk-YQKNJNU4.js +0 -52
- package/dist/zenuml/chunks/chunk-7QDAZ2HL.js +0 -4
package/README.md
CHANGED
|
@@ -4,21 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
**Beautiful diagrams, made with your agent.**
|
|
6
6
|
|
|
7
|
-
Agentic Mermaid
|
|
7
|
+
Agentic Mermaid helps coding agents create styled diagrams from Mermaid source and edit existing diagrams through typed operations. Export SVG or PNG for documents, and ASCII or Unicode for terminal review.
|
|
8
8
|
|
|
9
|
-
It is forked from [`lukilabs/beautiful-mermaid`](https://github.com/lukilabs/beautiful-mermaid). Published on npm as `agentic-mermaid`; the GitHub repository is `adewale/agentic-mermaid`; the
|
|
9
|
+
It is forked from [`lukilabs/beautiful-mermaid`](https://github.com/lukilabs/beautiful-mermaid). Published on npm as `agentic-mermaid`; the GitHub repository is `adewale/agentic-mermaid`; the live site is [`agentic-mermaid.dev`](https://agentic-mermaid.dev/).
|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
A login flow with MFA, rendered directly by Agentic Mermaid.
|
|
14
|
+
[Mermaid source](examples/styles/readme-hero.mmd) · [Style and reproduction command](examples/styles/readme-hero.md)
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
[Live Demo & Samples](https://agentic-mermaid.dev/) · [Live Editor](https://agentic-mermaid.dev/editor)
|
|
16
17
|
|
|
17
18
|
</div>
|
|
18
19
|
|
|
20
|
+
**Ask your coding agent:**
|
|
21
|
+
|
|
22
|
+
> Read `Instructions_for_agents.md` in this repository, or https://agentic-mermaid.dev/llms.txt if you don't have a checkout. Draw Browser → API → Database using the hand-drawn style and nord-light palette. Verify it, then return the Mermaid source and an SVG.
|
|
23
|
+
|
|
24
|
+
[Agent setup and skills](#agent-quick-start) · [Try the same diagram in JavaScript](#svg)
|
|
25
|
+
|
|
26
|
+
Docs: [docs index](./docs/) · [getting started](./docs/getting-started.md) · [agent guide](./Instructions_for_agents.md) · [agent API cookbook](./docs/agent-api-cookbook.md) · [design system](https://github.com/adewale/agentic-mermaid/blob/main/DESIGN.md) · [skills](./skills/) · [fork differences](./docs/fork-differences.md) · [vs Mermaid & Beautiful Mermaid](./docs/comparison.md) · [changelog](./CHANGELOG.md)
|
|
27
|
+
|
|
19
28
|
## Why Agentic Mermaid
|
|
20
29
|
|
|
21
|
-
|
|
30
|
+
Choose a built-in style, or keep your diagram's colors and fonts in a JSON style file. Inspect the rendered result before publishing.
|
|
22
31
|
|
|
23
32
|
| You want | Agentic Mermaid gives you |
|
|
24
33
|
|---|---|
|
|
@@ -32,41 +41,27 @@ The agent workflow is the guardrail behind the polish: agents should not guess f
|
|
|
32
41
|
|
|
33
42
|
## Highlights
|
|
34
43
|
|
|
35
|
-
- **
|
|
36
|
-
- **SVG, PNG, ASCII, Unicode, JSON** —
|
|
37
|
-
- **
|
|
38
|
-
- **Composable styles** — `{ style: ['hand-drawn', 'dracula'] }`
|
|
39
|
-
- **
|
|
40
|
-
- **Agent-native editing** — typed
|
|
41
|
-
- **CLI + MCP + library** — `am`, `agentic-mermaid-mcp`,
|
|
44
|
+
- **Discover supported diagrams and edits** — `am capabilities --json` reports what the installed version supports, including registered extensions.
|
|
45
|
+
- **SVG, PNG, ASCII, Unicode, JSON** — export images, review diagrams in the terminal, or inspect positions as JSON layout.
|
|
46
|
+
- **Render SVG without a browser** — the synchronous JavaScript API runs without a DOM or Puppeteer.
|
|
47
|
+
- **Composable styles** — `{ style: ['hand-drawn', 'dracula'] }` combines a look with a palette. Set colors, fonts, strokes, fills and backdrops in a [JSON style](./docs/style-authoring.md). `seed` re-rolls the ink, never the layout.
|
|
48
|
+
- **Match your editor's colors** — choose a built-in palette, theme from two colors, or adapt a VS Code theme with Shiki.
|
|
49
|
+
- **Agent-native editing** — use typed operations for modeled syntax. Inputs with unmodeled syntax retain their source; [source-preserving edits](./docs/agent-mutation-policy.md) cover selected Class and Flowchart operations.
|
|
50
|
+
- **CLI + MCP + library** — use `am`, connect `agentic-mermaid-mcp`, or import `agentic-mermaid/agent` for rendering and editing. See the [API reference](./docs/api.md) for the other library and browser entry points.
|
|
42
51
|
|
|
43
52
|
## Installation
|
|
44
53
|
|
|
54
|
+
Requires **Node.js 22 or later**, or **Bun 1.4.0 or later**. The package is ESM-only; use `import`, or dynamic `import()` from CommonJS.
|
|
55
|
+
|
|
45
56
|
```bash
|
|
46
57
|
npm install agentic-mermaid # or: bun add agentic-mermaid / pnpm add agentic-mermaid
|
|
47
58
|
npx --no-install agentic-mermaid --help
|
|
48
|
-
npx --no-install agentic-mermaid mcp
|
|
49
59
|
```
|
|
50
60
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
git clone https://github.com/adewale/agentic-mermaid
|
|
56
|
-
cd agentic-mermaid
|
|
57
|
-
bun install
|
|
58
|
-
bun run build
|
|
59
|
-
bun run bin/am.ts --help
|
|
60
|
-
bun run bin/agentic-mermaid-mcp.ts # MCP stdio server
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
> **ESM-only.** `agentic-mermaid` ships ES modules (there is no CommonJS build);
|
|
64
|
-
> `require()` consumers should use dynamic `import()` instead. Requires Node ≥ 22.
|
|
65
|
-
>
|
|
66
|
-
> The `am …` examples below name the published bin. After a project-local npm
|
|
67
|
-
> install, invoke it from a shell as `npx --no-install agentic-mermaid …` (or
|
|
68
|
-
> from an npm script as `am …`). From a source checkout, use
|
|
69
|
-
> `bun run bin/am.ts …` instead.
|
|
61
|
+
The `am …` examples below name the published bin. After a project-local npm
|
|
62
|
+
install, invoke it from a shell as `npx --no-install agentic-mermaid …` (or
|
|
63
|
+
from an npm script as `am …`). From a source checkout, use
|
|
64
|
+
`bun run bin/am.ts …` instead.
|
|
70
65
|
|
|
71
66
|
## Output quick starts
|
|
72
67
|
|
|
@@ -74,13 +69,27 @@ Use `agentic-mermaid/agent` when you want one import path for styled renders, ou
|
|
|
74
69
|
|
|
75
70
|
### SVG
|
|
76
71
|
|
|
77
|
-
|
|
72
|
+
Save this as `diagram.mjs`:
|
|
73
|
+
|
|
74
|
+
```js
|
|
75
|
+
import { writeFileSync } from 'node:fs'
|
|
78
76
|
import { renderMermaidSVG } from 'agentic-mermaid/agent'
|
|
79
77
|
|
|
80
|
-
const svg = renderMermaidSVG(`flowchart
|
|
81
|
-
|
|
78
|
+
const svg = renderMermaidSVG(`flowchart LR
|
|
79
|
+
Browser --> API --> Database`, {
|
|
80
|
+
style: ['hand-drawn', 'nord-light'],
|
|
81
|
+
security: 'strict',
|
|
82
|
+
})
|
|
83
|
+
|
|
84
|
+
writeFileSync('diagram.svg', svg)
|
|
82
85
|
```
|
|
83
86
|
|
|
87
|
+
```bash
|
|
88
|
+
node diagram.mjs
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Open `diagram.svg` to see **Browser → API → Database** in the hand-drawn style with the `nord-light` palette.
|
|
92
|
+
|
|
84
93
|
### PNG
|
|
85
94
|
|
|
86
95
|
```ts
|
|
@@ -126,29 +135,33 @@ If it only has shell access:
|
|
|
126
135
|
am --agent-instructions
|
|
127
136
|
am capabilities --json
|
|
128
137
|
am preview diagram.mmd --security strict --open
|
|
129
|
-
am mutate diagram.mmd --op '{"kind":"
|
|
138
|
+
am mutate diagram.mmd --op '{"kind":"set_label","target":"API","label":"API gateway"}' --json
|
|
130
139
|
```
|
|
131
140
|
|
|
132
|
-
|
|
141
|
+
For an existing diagram, follow parse → narrow → mutate → verify → serialize. For a new diagram, author Mermaid source, then parse and verify it. To wire Agentic Mermaid into another repo, run `npx agentic-mermaid init-agent` (or `bun run bin/am.ts init-agent` from a source checkout); it writes a non-clobbering `AGENTS.md` section, root `skills/` bundle, and `.mcp.json` sample.
|
|
133
142
|
|
|
134
143
|
Use strict `preview` for human inspection and `mutate --op/--ops` for verified one-shot or batched edits.
|
|
135
144
|
|
|
136
|
-
For multi-step MCP edits,
|
|
145
|
+
For multi-step MCP edits, use Code Mode `execute(code)` with the same `mermaid.*` SDK names. See the [agent API cookbook](./docs/agent-api-cookbook.md) for library, CLI and MCP recipes.
|
|
137
146
|
|
|
138
147
|
## MCP server
|
|
139
148
|
|
|
140
149
|
Agentic Mermaid ships a Model Context Protocol server so MCP-capable agents can render and safely edit diagrams without shelling out.
|
|
141
150
|
|
|
142
|
-
|
|
143
|
-
- **Self-hosted (default).** `agentic-mermaid-mcp` runs a stdio server exposing `execute` (Code Mode sandbox), `describe_sdk` (one family's mutation schema on demand), `render_png`, `describe`, `mutate`, and `build`. Prefer declarative edits; use `execute` for custom logic. Package runners can use `npx -y agentic-mermaid mcp`; the `mcp` argument routes the package-name binary to the same stdio server. Add `--transport http` for HTTP/SSE with managed PNG file/URL artifacts. See [`docs/mcp-http-transport.md`](./docs/mcp-http-transport.md) and [`docs/mcp-code-mode-rationale.md`](./docs/mcp-code-mode-rationale.md).
|
|
144
|
-
- **Hosted.** A stateless Streamable HTTP endpoint is available at `https://agentic-mermaid.dev/mcp` (tools: <!-- BEGIN GENERATED: hosted-mcp-tools -->`execute`, `describe_sdk`, `render_svg`, `render_ascii`, `render_png`, `verify`, `describe`, `mutate`, and `build`<!-- END GENERATED: hosted-mcp-tools -->; 64 KB input caps). Call `describe_sdk` for compact signatures or exact fields before authoring unfamiliar ops. It is MCP JSON-RPC only, not a REST render API. Hosted `execute` runs the same `mermaid.*` facade in a Cloudflare Dynamic Worker isolate with no network; hosted PNG returns base64 only.
|
|
151
|
+
After installation, start the local stdio server:
|
|
145
152
|
|
|
146
|
-
|
|
153
|
+
```bash
|
|
154
|
+
npx --no-install agentic-mermaid mcp
|
|
155
|
+
```
|
|
147
156
|
|
|
148
|
-
|
|
157
|
+
Use the library, CLI or local MCP for private diagrams, offline work, larger inputs or local PNG files. The [MCP transport guide](./docs/mcp-http-transport.md) covers HTTP/SSE and file/URL artifacts; [agent setup](#agent-quick-start) shows how to generate a sample client configuration. The [tool reference and Code Mode guide](./docs/mcp-code-mode-rationale.md) explains the available tools and multi-step edits.
|
|
158
|
+
|
|
159
|
+
An optional public, unauthenticated MCP endpoint runs at `https://agentic-mermaid.dev/mcp`. It accepts MCP JSON-RPC rather than REST render requests, caps inputs at 64 KB and returns PNG as base64. Hosted calls send your source or code to the server; see the [privacy notice](./docs/MCP-PRIVACY.md). Directory maintainers can use the [MCP listing record](./docs/MCP-DIRECTORY-LISTINGS.md).
|
|
149
160
|
|
|
150
161
|
## Structured edit example
|
|
151
162
|
|
|
163
|
+
Change the API node's displayed label while keeping its connection to DB:
|
|
164
|
+
|
|
152
165
|
```ts
|
|
153
166
|
import { parseRegisteredMermaid, asFlowchart, mutate, verifyMermaid, serializeMermaid } from 'agentic-mermaid/agent'
|
|
154
167
|
|
|
@@ -158,15 +171,25 @@ if (!parsed.ok) throw new Error('parse failed')
|
|
|
158
171
|
const flow = asFlowchart(parsed.value)
|
|
159
172
|
if (!flow) throw new Error(`not a structured flowchart: ${parsed.value.kind}`)
|
|
160
173
|
|
|
161
|
-
const next = mutate(flow, { kind: '
|
|
174
|
+
const next = mutate(flow, { kind: 'set_label', target: 'API', label: 'API gateway' })
|
|
162
175
|
if (!next.ok) throw new Error(next.error.message)
|
|
163
176
|
|
|
164
177
|
const verify = verifyMermaid(next.value)
|
|
165
178
|
if (!verify.ok) throw new Error(JSON.stringify(verify.warnings, null, 2))
|
|
166
179
|
|
|
167
180
|
const source = serializeMermaid(next.value)
|
|
181
|
+
console.log(source)
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Output:
|
|
185
|
+
|
|
186
|
+
```text
|
|
187
|
+
flowchart TD
|
|
188
|
+
API[API gateway] --> DB
|
|
168
189
|
```
|
|
169
190
|
|
|
191
|
+
The node ID is still `API`; its displayed label is now `API gateway`, and the `API → DB` connection remains. Verification checks for structural and geometry problems; review the rendered result and confirm it expresses your intent before saving.
|
|
192
|
+
|
|
170
193
|
Rules:
|
|
171
194
|
|
|
172
195
|
- Use the matching exported `as<Family>` narrower before mutating an existing structured diagram.
|
|
@@ -177,14 +200,13 @@ Rules:
|
|
|
177
200
|
|
|
178
201
|
## Supported diagram families
|
|
179
202
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
compatibility notes.
|
|
203
|
+
Run `am capabilities --json` for the supported families and edit operations in
|
|
204
|
+
your installed version. See [diagram families](./docs/diagram-families.md) for
|
|
205
|
+
syntax examples and compatibility notes.
|
|
184
206
|
|
|
185
207
|
## More documentation
|
|
186
208
|
|
|
187
|
-
- [System architecture](https://github.com/adewale/agentic-mermaid/blob/main/docs/design/system/README.md) —
|
|
209
|
+
- [System architecture](https://github.com/adewale/agentic-mermaid/blob/main/docs/design/system/README.md) — how Mermaid source becomes a diagram, from parsing to layout and output.
|
|
188
210
|
- [API reference](./docs/api.md) — renderers, agent API, options, CLI/MCP pointers.
|
|
189
211
|
- [Vocabulary](./docs/api.md#vocabulary) — families, source objects, Scene parts, resolved primitives and typed-family narrowing.
|
|
190
212
|
- [Agent API cookbook](./docs/agent-api-cookbook.md) — practical recipes for agents.
|
|
@@ -205,6 +227,21 @@ compatibility notes.
|
|
|
205
227
|
- [`examples/mcp-vs-cli-complex-diagrams.ts`](https://github.com/adewale/agentic-mermaid/blob/main/examples/mcp-vs-cli-complex-diagrams.ts)
|
|
206
228
|
- [`examples/agent-improve-auth-flow.ts`](https://github.com/adewale/agentic-mermaid/blob/main/examples/agent-improve-auth-flow.ts)
|
|
207
229
|
|
|
230
|
+
## Contributing and reporting bugs
|
|
231
|
+
|
|
232
|
+
[Report a bug](https://github.com/adewale/agentic-mermaid/issues) with the Mermaid source, render options and the result you expected. For changes to the project, read the [contributor instructions](https://github.com/adewale/agentic-mermaid/blob/main/CLAUDE.md) for implementation and testing rules.
|
|
233
|
+
|
|
234
|
+
To work from a source checkout, use Bun 1.4.0 or later:
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
git clone https://github.com/adewale/agentic-mermaid
|
|
238
|
+
cd agentic-mermaid
|
|
239
|
+
bun install
|
|
240
|
+
bun run build
|
|
241
|
+
bun run bin/am.ts --help
|
|
242
|
+
bun run bin/agentic-mermaid-mcp.ts # MCP stdio server
|
|
243
|
+
```
|
|
244
|
+
|
|
208
245
|
## Attribution
|
|
209
246
|
|
|
210
247
|
Agentic Mermaid is a fork of Beautiful Mermaid by [Luki Labs](https://github.com/lukilabs/beautiful-mermaid). The ASCII rendering engine is based on [`mermaid-ascii`](https://github.com/AlexanderGrooff/mermaid-ascii) by Alexander Grooff and extended for Agentic Mermaid.
|
package/assets/hero.png
CHANGED
|
Binary file
|
package/dist/agent-core.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cj as RenderedRegionKind, e5 as TerminalProjectionDiagnosticCode, e6 as TerminalProjectionDiagnostic, D as DiagramActionRecord, a as ParsedDiagram, cn as Result, bQ as ParseError, au as DiagramAnalysis, bJ as MutationError, S as C4Variant, bc as FlowchartMutationOp, bd as FlowchartValidDiagram, cL as StateMutationOp, cO as StateValidDiagram, cz as SequenceMutationOp, cB as SequenceValidDiagram, cT as TimelineMutationOp, cW as TimelineValidDiagram, a4 as ClassMutationOp, a9 as ClassValidDiagram, aC as ErMutationOp, aE as ErValidDiagram, bv as JourneyMutationOp, by as JourneyValidDiagram, j as ArchitectureMutationOp, m as ArchitectureValidDiagram, dc as XyChartMutationOp, de as XyChartValidDiagram, bT as PieMutationOp, bV as PieValidDiagram, b$ as QuadrantMutationOp, c1 as QuadrantValidDiagram, bi as GanttMutationOp, bl as GanttValidDiagram, bG as MindmapMutationOp, bH as MindmapValidDiagram, bn as GitGraphMutationOp, bo as GitGraphValidDiagram, c8 as RadarMutationOp, c9 as RadarValidDiagram, J as C4MutationOp, Q as C4ValidDiagram, cr as SankeyMutationOp, cs as SankeyValidDiagram, bN as PacketMutationOp, bO as PacketValidDiagram, bA as KanbanMutationOp, bB as KanbanValidDiagram, cl as RequirementMutationOp, cm as RequirementValidDiagram, cY as TreemapMutationOp, cZ as TreemapValidDiagram, dh as ZenUMLMutationOp, dk as ZenUMLValidDiagram, aJ as EventModelingMutationOp, aK as EventModelingValidDiagram, bs as IshikawaMutationOp, bt as IshikawaValidDiagram, p as BlockMutationOp, q as BlockValidDiagram, aw as DiagramKind, c as AnyMutationOp, bI as MutableValidDiagram, d3 as VerifyResult, e7 as ZenUMLFragmentType, dg as ZenUMLBranch, M as C4Shape, G as C4Element, w as C4Boundary, K as C4Relationship, b0 as FamilyId, b4 as FamilyPositionedProjectionOptions, b5 as FamilyPositionedView, a$ as FamilyDescriptor, bP as PaintLayoutCertification, ce as RenderedLayout, d1 as ValidDiagramPayload, c$ as ValidDiagram, aM as ExtensionDiagramBody, d2 as VerifyOptions, R as RenderRequestReceipt } from './paint-certification-
|
|
2
|
-
export { A as Accessibility, d as ArchitectureBody, e as ArchitectureEdge, f as ArchitectureEndpoint, g as ArchitectureEndpointBoundary, h as ArchitectureGroup, i as ArchitectureJunction, k as ArchitectureService, l as ArchitectureSide, B as BUILTIN_FAMILY_METADATA, n as BUILTIN_FAMILY_METADATA_COVERS_DIAGRAM_KIND, o as BlockBody, r as BuiltinFamilyId, s as BuiltinFamilyMetadata, C as C4Argument, t as C4ArgumentInput, u as C4Body, x as C4BoundaryInput, y as C4BoundaryKind, z as C4Diagnostic, E as C4Direction, F as C4Directive, H as C4ElementInput, I as C4ElementKind, L as C4RelationshipInput, N as C4Statement, O as C4Style, U as CAPABILITY_NEGOTIATION_VERSION, V as CORE_CAPABILITY_OFFERS, W as CORE_SCENE_FEATURES, X as CORE_SCENE_OPERATIONS, Y as CORE_SCENE_PRIMITIVES, Z as CapabilityDecision, _ as CapabilityId, $ as CapabilityOffer, a0 as CapabilityRequirement, a1 as CapabilityRequirementLevel, a2 as CapabilityResolution, a3 as ClassBody, a5 as ClassNode, a6 as ClassNote, a7 as ClassRelation, a8 as ClassRelationKind, aa as CliRenderTransport, ab as CodeModeRenderTransport, ac as ConnectorContourSemantics, ad as ConnectorEndpoints, ae as ConnectorGeometry, af as ConnectorHitGeometry, ag as ConnectorLabelDescriptor, ah as ConnectorMark, ai as ConnectorRelationship, aj as ConnectorRoute, ak as ConnectorStroke, al as ConnectorSubpath, am as ConnectorTerminalLabelProjection, an as ConnectorTerminalMarkerPlacement, ao as ConnectorTerminalMarkerProjection, ap as ConnectorTerminalProjection, aq as ConnectorTerminalStrokeLoss, ar as DEFAULT_LABEL_CHAR_CAP, as as DiagramActionKind, at as DiagramActionSecurity, av as DiagramBody, ax as EdgeId, ay as ErAttribute, az as ErBody, aA as ErCardinality, aB as ErEntity, aD as ErRelation, aF as EventData, aG as EventFrame, aH as EventFrameType, aI as EventModelingBody, aL as EventSpecification, aN as ExtensionValidDiagram, aO as ExternalFamilyId, aP as ExtractedLabel, aQ as FAMILY_CAPABILITY_COLUMNS, aR as FAMILY_CONFORMANCE_MAX_EXAMPLE_BYTES, aS as FAMILY_CONFORMANCE_VERSION, aT as FAMILY_DESCRIPTOR_CONTRACT_VERSION, aU as FamilyCapability, aV as FamilyCapabilityConformanceResult, aW as FamilyCapabilityEvidence, aX as FamilyCapabilityState, aY as FamilyConformanceError, aZ as FamilyConformanceReport, a_ as FamilyConformanceStatus, b1 as FamilyOperations, b2 as FamilyParsedBody, b3 as FamilyPositionedProjectionContext, b6 as FamilyScenePositivePrimitive, b7 as FamilyScenePrimitiveApplicability, b8 as FamilyScenePrimitiveEvidence, b9 as FamilySceneRolePrimitiveDeclaration, ba as FeedbackEdgeAnalysis, bb as Finite, be as GanttBody, bf as GanttBodySection, bg as GanttBodyTask, bh as GanttBodyTaskTag, bj as GanttScheduleAnalysisSummary, bk as GanttStatement, bm as GitGraphBody, bp as GroupId, bq as InitDirective, br as IshikawaBody, bu as JourneyBody, bw as JourneySection, bx as JourneyTask, bz as KanbanBody, bC as LayoutWarning, bD as LibraryRenderTransport, bE as MarkerDescriptor, bF as MindmapBody, bK as NodeId, bL as PRIMITIVE_REALIZATIONS, bM as PacketBody, P as PaintLayoutCertificationError, bR as ParticipantId, bS as PieBody, bU as PieSlice, bW as PreservedDiagramBody, bX as PreservedSourceSpans, bY as PreservedValidDiagram, bZ as QuadrantAxis, b_ as QuadrantBody, c0 as QuadrantPoint, c2 as RENDER_CONTRACT_VERSION, c3 as RENDER_OUTPUTS, c4 as RENDER_OUTPUT_DESCRIPTORS, c5 as RadarBody, c6 as RadarBodyAxis, c7 as RadarBodyCurve, ca as RenderCapabilityError, cb as RenderOutputDescriptor, cc as RenderOutputTransports, cd as RenderedLabelBounds, cf as RenderedLayoutEdge, cg as RenderedLayoutGroup, ch as RenderedLayoutLabel, ci as RenderedLayoutNode, b as RenderedRegion, ck as RequirementBody, co as SHARED_RENDER_OPTION_FIELDS, cp as SankeyBody, cq as SankeyBodyLink, ct as SceneDoc, cu as SceneNode, cv as SemanticChannels, cw as SequenceBody, cx as SequenceMessage, cy as SequenceMessageStyle, cA as SequenceParticipant, cC as SerializedFlowchartGraph, cD as SourceComment, cE as SourceMap, cF as SourceMapSpans, cG as SourcePreservationReceipt, cH as SourceSpan, cI as SourceSpanPoint, cJ as StateBody, cK as StateFloatingNote, cM as StateNode, cN as StateTransition, cP as Tier1WarningCode, cQ as Tier2WarningCode, cR as TimelineBody, cS as TimelineEvent, cU as TimelinePeriod, cV as TimelineSection, cX as TreemapBody, c_ as UNREGISTERED_FAMILY_CAPABILITY_STATES, d0 as ValidDiagramMeta, d4 as WARNING_SEVERITY, d5 as WARNING_TIER, d6 as WarningCode, d7 as WarningSeverity, d8 as WarningTier, d9 as XyChartAxis, da as XyChartAxisSpec, db as XyChartBody, dd as XyChartSeries, df as ZenUMLBody, di as ZenUMLParticipant, dj as ZenUMLStatement, dl as asArchitecture, dm as asBlock, dn as asC4, dp as asClass, dq as asEr, dr as asEventModeling, ds as asFlowchart, dt as asGantt, du as asGitGraph, dv as asIshikawa, dw as asJourney, dx as asKanban, dy as asMindmap, dz as asPacket, dA as asPie, dB as asQuadrant, dC as asRadar, dD as asRequirement, dE as asSankey, dF as asSequence, dG as asState, dH as asTimeline, dI as asTreemap, dJ as asXyChart, dK as asZenUML, dL as builtinFamilyMetadata, dM as declareFamilyScenePrimitiveEvidence, dN as detectRegisteredFamilyFromFirstLine, dO as effectiveFamilyCapabilityState, dP as err, dQ as getFamily, dR as getFamilyConformanceReport, dS as isBuiltinFamilyId, dT as isExternalFamilyId, dU as knownBuiltinFamilies, dV as knownFamilies, dW as negotiateCapabilities, dX as negotiateRenderCapabilities, dY as ok, dZ as parseSemVer, d_ as semVerSatisfies, d$ as sharedRenderOptionsJsonSchema, e0 as styleInputJsonSchema, e1 as terminalConnectorCapabilityClaims, e2 as toFinite, e3 as validatePrimitiveCapabilities, e4 as validateSerializableRenderOptions, v as verifyNoExternalRefs } from './paint-certification-
|
|
3
|
-
import { A as AsciiRenderOptions, ba as renderMermaidASCII$1, ag as RenderedAscii, bb as renderMermaidSVG$1, bc as RenderedSvg } from './index-
|
|
4
|
-
export { c as AsciiRenderColorMode, d as AsciiWidthError, e as AsciiWidthErrorReason, B as BACKEND_CONFORMANCE_CHECK_IDS, f as BACKEND_CONFORMANCE_FIXTURE_ID, g as BACKEND_CONFORMANCE_VERSION, h as BackendCapabilityConformanceResult, i as BackendCapabilityConformanceStatus, j as BackendConformanceCheck, k as BackendConformanceCheckId, l as BackendConformanceReport, m as BackendDescriptor, n as BackendRegistrationOptions, D as DefaultBackend, E as EXTERNAL_SCENE_API_VERSION, o as ExternalSceneConnector, p as ExternalSceneConnectorGeometry, q as ExternalSceneConnectorLabel, r as ExternalSceneContainer, s as ExternalSceneDataMark, t as ExternalSceneDocument, u as ExternalSceneGeometry, v as ExternalSceneInput, w as ExternalSceneMarker, x as ExternalSceneNode, y as ExternalSceneNodeBase, z as ExternalSceneShape, C as ExternalSceneText, F as FamilyDetectionDiagnostic, G as HOSTED_FONT_RESOURCES, H as HostBackendPolicy, M as MAX_HOSTED_PNG_BYTES, I as MAX_HOSTED_PNG_PIXELS, J as MAX_PNG_FONT_DIRECTORIES, K as MAX_PNG_FONT_DIRECTORY_LENGTH, L as MAX_PNG_PIXELS, N as MAX_PNG_RASTER_DIMENSION, O as MermaidFamilyClassification, Q as MermaidFamilyDetectionError, R as NATIVE_PNG_HOST_ONLY_OPTION_FIELDS, S as NATIVE_PNG_OUTPUT_POLICY_FIELDS, T as NativePngHostOnlyOptionField, U as NativePngOutputPolicyField, V as PNG_DEFAULT_FONT_FAMILY, W as PNG_DEFAULT_MIN_LABEL_PX, X as PNG_DEFAULT_SCALE, Y as PNG_FONT_SOURCES, Z as PNG_NAPI_RUNTIME, _ as PNG_OUTPUT_OPTION_FIELDS, $ as PNG_OUTPUT_OPTION_FIELD_DESCRIPTORS, a0 as PNG_OUTPUT_POLICY_VERSION, a1 as PNG_WASM_RUNTIME, a2 as PORTABLE_PNG_OUTPUT_OPTION_FIELDS, a3 as PngFitTo, a4 as PngFontSource, a5 as PngOutputOptionField, a6 as PngOutputOptionFieldDescriptor, a7 as PngOutputOptionInputKind, a8 as PngOutputOptionPolicyState, a9 as PngOutputOptionReceiptState, aa as PngOutputOptionScope, a as PngOutputPolicyInput, ab as PngRasterDimensions, b as PngRuntimeProvenance, ac as PortablePngOutputOptionField, ad as PortablePngOutputOptions, ae as RESOURCE_MANIFEST, af as RESOURCE_MANIFEST_VERSION, ah as ResolvedPngOutputPolicy, ai as ResolvedTerminalOutputPolicy, aj as SCENE_CONTRACT_VERSION, ak as SCENE_VALIDATION_LIMITS, al as SCENE_VALIDATION_VERSION, am as SceneValidationDiagnostic, an as SceneValidationDiagnosticCode, ao as SceneValidationError, ap as SceneValidationOptions, aq as SceneValidationResult, ar as StyleBackend, as as StyleBackendContext, at as TERMINAL_BOUNDED_PADDING_X, au as TERMINAL_DEFAULT_BOX_BORDER_PADDING, av as TERMINAL_DEFAULT_PADDING_X, aw as TERMINAL_DEFAULT_PADDING_Y, ax as TERMINAL_OUTPUT_POLICY_VERSION, ay as TEXT_MEASUREMENT_CONTRACT, az as TerminalOutputPolicyError, aA as TerminalOutputPolicyInput, aB as TextMeasurementContract, aC as TextMeasurementInput, aD as TextMeasurementResult, aE as UPSTREAM_MERMAID_FAMILY_INDEX, aF as UpstreamFamilyDescriptor, aG as UpstreamHeaderDescriptor, aH as UpstreamHeaderMatch, aI as UpstreamMermaidFamilyIndex, aJ as assertHostedPngRasterBudget, aK as assertPngRasterBudget, aL as assertValidSceneDoc, aM as buildExternalScene, aN as classifyMermaidFamilyFromFirstLine, aO as findUpstreamFamilyByHeader, aP as getBackend, aQ as hostedFontResource, aR as knownBackendDescriptors, aS as measureText, aT as measureTextWidth, aU as normalizePortablePngBackground, aV as omitPngOutputOptions, aW as parseRegisteredMermaid, aX as pngNapiRuntimeProvenance, aY as pngOutputOptionsJsonSchema, aZ as pngRasterDimensions, a_ as prepareSvgForPngRasterization, a$ as projectNativePngOutputPolicyInput, b0 as projectPortablePngOutputOptions, b1 as registerBackend, b2 as resolvePngOutputPolicy, b3 as resolvePortablePngOutputPolicy, b4 as resolveTerminalOutputPolicy, b5 as runBackendConformance, b6 as svgIntrinsicDimensions, b7 as validateResourceManifest, b8 as validateSceneDoc, b9 as verifyResourceBytes } from './index-
|
|
5
|
-
import { m as Direction, d as LayoutRouteCertificate, L as LabelContent, n as PositionedDiagram, M as MermaidEdge, R as RenderOptions } from './types-
|
|
6
|
-
export { A as AnyPort, a as ArchitectureVisualOverrides, D as DiamondFacet, b as DisplayRun, E as EdgeRouteCertificate, F as FamilyEdgeRouteCertificate, c as FamilyRouteCertificate, e as LayoutRouteClass, P as PortSemanticRole, f as PortSide, g as PreparedDisplayText, h as RegionContainmentCertificate, i as RouteBlocker, j as RouteCertificate, k as RouteClass, l as RoutePortAssignment } from './types-
|
|
7
|
-
export { B as BINDABLE_ROLE_STYLE_PROPERTIES, a as BINDABLE_SCENE_ROLES, b as BRAND_CONSTRAINT_DESCRIPTORS, c as BRAND_CONSTRAINT_KINDS, d as BUILTIN_SCENE_ROLE_TRAITS, e as BindableSceneRole, f as BrandConstraint, g as BrandConstraintAction, h as BrandConstraintKind, E as EXACT_ROLE_STYLE_CONTRACT, i as EXACT_STYLE_SCENE_ROLES, j as ExactStyleSceneRole, k as ExtensionIdentity, R as ROLE_STYLE_PROPERTY_DESCRIPTORS, l as RoleStyleFor, m as RoleStyleSpec, n as RoleStyles, o as SCENE_ROLE_DESCRIPTORS, p as SEMANTIC_BINDING_CHANNELS, q as STYLE_COLOR_TOKEN_DESCRIPTORS, r as STYLE_SPEC_FIELD_DESCRIPTORS, s as STYLE_SPEC_FORMAT_VERSION, t as SceneRole, u as SemanticBinding, v as SemanticBindingChannel, w as SemanticSlots, x as StyleColors, y as StyleDescriptor, S as StyleInput, z as StyleReferenceResolution, A as StyleRegistrationOptions, C as StyleSpec, D as createExtensionIdentity, F as getStyle, G as inferBackend, H as knownStyleDescriptors, I as knownStyles, J as registerStyle, K as resolveSceneRoleTraits, L as resolveStyleReference, M as resolveStyleStack, N as sceneRoleTraits, O as styleSpecJsonSchema, P as validateStyleSpec } from './svg-styles-
|
|
1
|
+
import { cj as RenderedRegionKind, e5 as TerminalProjectionDiagnosticCode, e6 as TerminalProjectionDiagnostic, D as DiagramActionRecord, a as ParsedDiagram, cn as Result, bQ as ParseError, au as DiagramAnalysis, bJ as MutationError, S as C4Variant, bc as FlowchartMutationOp, bd as FlowchartValidDiagram, cL as StateMutationOp, cO as StateValidDiagram, cz as SequenceMutationOp, cB as SequenceValidDiagram, cT as TimelineMutationOp, cW as TimelineValidDiagram, a4 as ClassMutationOp, a9 as ClassValidDiagram, aC as ErMutationOp, aE as ErValidDiagram, bv as JourneyMutationOp, by as JourneyValidDiagram, j as ArchitectureMutationOp, m as ArchitectureValidDiagram, dc as XyChartMutationOp, de as XyChartValidDiagram, bT as PieMutationOp, bV as PieValidDiagram, b$ as QuadrantMutationOp, c1 as QuadrantValidDiagram, bi as GanttMutationOp, bl as GanttValidDiagram, bG as MindmapMutationOp, bH as MindmapValidDiagram, bn as GitGraphMutationOp, bo as GitGraphValidDiagram, c8 as RadarMutationOp, c9 as RadarValidDiagram, J as C4MutationOp, Q as C4ValidDiagram, cr as SankeyMutationOp, cs as SankeyValidDiagram, bN as PacketMutationOp, bO as PacketValidDiagram, bA as KanbanMutationOp, bB as KanbanValidDiagram, cl as RequirementMutationOp, cm as RequirementValidDiagram, cY as TreemapMutationOp, cZ as TreemapValidDiagram, dh as ZenUMLMutationOp, dk as ZenUMLValidDiagram, aJ as EventModelingMutationOp, aK as EventModelingValidDiagram, bs as IshikawaMutationOp, bt as IshikawaValidDiagram, p as BlockMutationOp, q as BlockValidDiagram, aw as DiagramKind, c as AnyMutationOp, bI as MutableValidDiagram, d3 as VerifyResult, e7 as ZenUMLFragmentType, dg as ZenUMLBranch, M as C4Shape, G as C4Element, w as C4Boundary, K as C4Relationship, b0 as FamilyId, b4 as FamilyPositionedProjectionOptions, b5 as FamilyPositionedView, a$ as FamilyDescriptor, bP as PaintLayoutCertification, ce as RenderedLayout, d1 as ValidDiagramPayload, c$ as ValidDiagram, aM as ExtensionDiagramBody, d2 as VerifyOptions, R as RenderRequestReceipt } from './paint-certification-6rwQjIv_.js';
|
|
2
|
+
export { A as Accessibility, d as ArchitectureBody, e as ArchitectureEdge, f as ArchitectureEndpoint, g as ArchitectureEndpointBoundary, h as ArchitectureGroup, i as ArchitectureJunction, k as ArchitectureService, l as ArchitectureSide, B as BUILTIN_FAMILY_METADATA, n as BUILTIN_FAMILY_METADATA_COVERS_DIAGRAM_KIND, o as BlockBody, r as BuiltinFamilyId, s as BuiltinFamilyMetadata, C as C4Argument, t as C4ArgumentInput, u as C4Body, x as C4BoundaryInput, y as C4BoundaryKind, z as C4Diagnostic, E as C4Direction, F as C4Directive, H as C4ElementInput, I as C4ElementKind, L as C4RelationshipInput, N as C4Statement, O as C4Style, U as CAPABILITY_NEGOTIATION_VERSION, V as CORE_CAPABILITY_OFFERS, W as CORE_SCENE_FEATURES, X as CORE_SCENE_OPERATIONS, Y as CORE_SCENE_PRIMITIVES, Z as CapabilityDecision, _ as CapabilityId, $ as CapabilityOffer, a0 as CapabilityRequirement, a1 as CapabilityRequirementLevel, a2 as CapabilityResolution, a3 as ClassBody, a5 as ClassNode, a6 as ClassNote, a7 as ClassRelation, a8 as ClassRelationKind, aa as CliRenderTransport, ab as CodeModeRenderTransport, ac as ConnectorContourSemantics, ad as ConnectorEndpoints, ae as ConnectorGeometry, af as ConnectorHitGeometry, ag as ConnectorLabelDescriptor, ah as ConnectorMark, ai as ConnectorRelationship, aj as ConnectorRoute, ak as ConnectorStroke, al as ConnectorSubpath, am as ConnectorTerminalLabelProjection, an as ConnectorTerminalMarkerPlacement, ao as ConnectorTerminalMarkerProjection, ap as ConnectorTerminalProjection, aq as ConnectorTerminalStrokeLoss, ar as DEFAULT_LABEL_CHAR_CAP, as as DiagramActionKind, at as DiagramActionSecurity, av as DiagramBody, ax as EdgeId, ay as ErAttribute, az as ErBody, aA as ErCardinality, aB as ErEntity, aD as ErRelation, aF as EventData, aG as EventFrame, aH as EventFrameType, aI as EventModelingBody, aL as EventSpecification, aN as ExtensionValidDiagram, aO as ExternalFamilyId, aP as ExtractedLabel, aQ as FAMILY_CAPABILITY_COLUMNS, aR as FAMILY_CONFORMANCE_MAX_EXAMPLE_BYTES, aS as FAMILY_CONFORMANCE_VERSION, aT as FAMILY_DESCRIPTOR_CONTRACT_VERSION, aU as FamilyCapability, aV as FamilyCapabilityConformanceResult, aW as FamilyCapabilityEvidence, aX as FamilyCapabilityState, aY as FamilyConformanceError, aZ as FamilyConformanceReport, a_ as FamilyConformanceStatus, b1 as FamilyOperations, b2 as FamilyParsedBody, b3 as FamilyPositionedProjectionContext, b6 as FamilyScenePositivePrimitive, b7 as FamilyScenePrimitiveApplicability, b8 as FamilyScenePrimitiveEvidence, b9 as FamilySceneRolePrimitiveDeclaration, ba as FeedbackEdgeAnalysis, bb as Finite, be as GanttBody, bf as GanttBodySection, bg as GanttBodyTask, bh as GanttBodyTaskTag, bj as GanttScheduleAnalysisSummary, bk as GanttStatement, bm as GitGraphBody, bp as GroupId, bq as InitDirective, br as IshikawaBody, bu as JourneyBody, bw as JourneySection, bx as JourneyTask, bz as KanbanBody, bC as LayoutWarning, bD as LibraryRenderTransport, bE as MarkerDescriptor, bF as MindmapBody, bK as NodeId, bL as PRIMITIVE_REALIZATIONS, bM as PacketBody, P as PaintLayoutCertificationError, bR as ParticipantId, bS as PieBody, bU as PieSlice, bW as PreservedDiagramBody, bX as PreservedSourceSpans, bY as PreservedValidDiagram, bZ as QuadrantAxis, b_ as QuadrantBody, c0 as QuadrantPoint, c2 as RENDER_CONTRACT_VERSION, c3 as RENDER_OUTPUTS, c4 as RENDER_OUTPUT_DESCRIPTORS, c5 as RadarBody, c6 as RadarBodyAxis, c7 as RadarBodyCurve, ca as RenderCapabilityError, cb as RenderOutputDescriptor, cc as RenderOutputTransports, cd as RenderedLabelBounds, cf as RenderedLayoutEdge, cg as RenderedLayoutGroup, ch as RenderedLayoutLabel, ci as RenderedLayoutNode, b as RenderedRegion, ck as RequirementBody, co as SHARED_RENDER_OPTION_FIELDS, cp as SankeyBody, cq as SankeyBodyLink, ct as SceneDoc, cu as SceneNode, cv as SemanticChannels, cw as SequenceBody, cx as SequenceMessage, cy as SequenceMessageStyle, cA as SequenceParticipant, cC as SerializedFlowchartGraph, cD as SourceComment, cE as SourceMap, cF as SourceMapSpans, cG as SourcePreservationReceipt, cH as SourceSpan, cI as SourceSpanPoint, cJ as StateBody, cK as StateFloatingNote, cM as StateNode, cN as StateTransition, cP as Tier1WarningCode, cQ as Tier2WarningCode, cR as TimelineBody, cS as TimelineEvent, cU as TimelinePeriod, cV as TimelineSection, cX as TreemapBody, c_ as UNREGISTERED_FAMILY_CAPABILITY_STATES, d0 as ValidDiagramMeta, d4 as WARNING_SEVERITY, d5 as WARNING_TIER, d6 as WarningCode, d7 as WarningSeverity, d8 as WarningTier, d9 as XyChartAxis, da as XyChartAxisSpec, db as XyChartBody, dd as XyChartSeries, df as ZenUMLBody, di as ZenUMLParticipant, dj as ZenUMLStatement, dl as asArchitecture, dm as asBlock, dn as asC4, dp as asClass, dq as asEr, dr as asEventModeling, ds as asFlowchart, dt as asGantt, du as asGitGraph, dv as asIshikawa, dw as asJourney, dx as asKanban, dy as asMindmap, dz as asPacket, dA as asPie, dB as asQuadrant, dC as asRadar, dD as asRequirement, dE as asSankey, dF as asSequence, dG as asState, dH as asTimeline, dI as asTreemap, dJ as asXyChart, dK as asZenUML, dL as builtinFamilyMetadata, dM as declareFamilyScenePrimitiveEvidence, dN as detectRegisteredFamilyFromFirstLine, dO as effectiveFamilyCapabilityState, dP as err, dQ as getFamily, dR as getFamilyConformanceReport, dS as isBuiltinFamilyId, dT as isExternalFamilyId, dU as knownBuiltinFamilies, dV as knownFamilies, dW as negotiateCapabilities, dX as negotiateRenderCapabilities, dY as ok, dZ as parseSemVer, d_ as semVerSatisfies, d$ as sharedRenderOptionsJsonSchema, e0 as styleInputJsonSchema, e1 as terminalConnectorCapabilityClaims, e2 as toFinite, e3 as validatePrimitiveCapabilities, e4 as validateSerializableRenderOptions, v as verifyNoExternalRefs } from './paint-certification-6rwQjIv_.js';
|
|
3
|
+
import { A as AsciiRenderOptions, ba as renderMermaidASCII$1, ag as RenderedAscii, bb as renderMermaidSVG$1, bc as RenderedSvg } from './index-EeXqJXr5.js';
|
|
4
|
+
export { c as AsciiRenderColorMode, d as AsciiWidthError, e as AsciiWidthErrorReason, B as BACKEND_CONFORMANCE_CHECK_IDS, f as BACKEND_CONFORMANCE_FIXTURE_ID, g as BACKEND_CONFORMANCE_VERSION, h as BackendCapabilityConformanceResult, i as BackendCapabilityConformanceStatus, j as BackendConformanceCheck, k as BackendConformanceCheckId, l as BackendConformanceReport, m as BackendDescriptor, n as BackendRegistrationOptions, D as DefaultBackend, E as EXTERNAL_SCENE_API_VERSION, o as ExternalSceneConnector, p as ExternalSceneConnectorGeometry, q as ExternalSceneConnectorLabel, r as ExternalSceneContainer, s as ExternalSceneDataMark, t as ExternalSceneDocument, u as ExternalSceneGeometry, v as ExternalSceneInput, w as ExternalSceneMarker, x as ExternalSceneNode, y as ExternalSceneNodeBase, z as ExternalSceneShape, C as ExternalSceneText, F as FamilyDetectionDiagnostic, G as HOSTED_FONT_RESOURCES, H as HostBackendPolicy, M as MAX_HOSTED_PNG_BYTES, I as MAX_HOSTED_PNG_PIXELS, J as MAX_PNG_FONT_DIRECTORIES, K as MAX_PNG_FONT_DIRECTORY_LENGTH, L as MAX_PNG_PIXELS, N as MAX_PNG_RASTER_DIMENSION, O as MermaidFamilyClassification, Q as MermaidFamilyDetectionError, R as NATIVE_PNG_HOST_ONLY_OPTION_FIELDS, S as NATIVE_PNG_OUTPUT_POLICY_FIELDS, T as NativePngHostOnlyOptionField, U as NativePngOutputPolicyField, V as PNG_DEFAULT_FONT_FAMILY, W as PNG_DEFAULT_MIN_LABEL_PX, X as PNG_DEFAULT_SCALE, Y as PNG_FONT_SOURCES, Z as PNG_NAPI_RUNTIME, _ as PNG_OUTPUT_OPTION_FIELDS, $ as PNG_OUTPUT_OPTION_FIELD_DESCRIPTORS, a0 as PNG_OUTPUT_POLICY_VERSION, a1 as PNG_WASM_RUNTIME, a2 as PORTABLE_PNG_OUTPUT_OPTION_FIELDS, a3 as PngFitTo, a4 as PngFontSource, a5 as PngOutputOptionField, a6 as PngOutputOptionFieldDescriptor, a7 as PngOutputOptionInputKind, a8 as PngOutputOptionPolicyState, a9 as PngOutputOptionReceiptState, aa as PngOutputOptionScope, a as PngOutputPolicyInput, ab as PngRasterDimensions, b as PngRuntimeProvenance, ac as PortablePngOutputOptionField, ad as PortablePngOutputOptions, ae as RESOURCE_MANIFEST, af as RESOURCE_MANIFEST_VERSION, ah as ResolvedPngOutputPolicy, ai as ResolvedTerminalOutputPolicy, aj as SCENE_CONTRACT_VERSION, ak as SCENE_VALIDATION_LIMITS, al as SCENE_VALIDATION_VERSION, am as SceneValidationDiagnostic, an as SceneValidationDiagnosticCode, ao as SceneValidationError, ap as SceneValidationOptions, aq as SceneValidationResult, ar as StyleBackend, as as StyleBackendContext, at as TERMINAL_BOUNDED_PADDING_X, au as TERMINAL_DEFAULT_BOX_BORDER_PADDING, av as TERMINAL_DEFAULT_PADDING_X, aw as TERMINAL_DEFAULT_PADDING_Y, ax as TERMINAL_OUTPUT_POLICY_VERSION, ay as TEXT_MEASUREMENT_CONTRACT, az as TerminalOutputPolicyError, aA as TerminalOutputPolicyInput, aB as TextMeasurementContract, aC as TextMeasurementInput, aD as TextMeasurementResult, aE as UPSTREAM_MERMAID_FAMILY_INDEX, aF as UpstreamFamilyDescriptor, aG as UpstreamHeaderDescriptor, aH as UpstreamHeaderMatch, aI as UpstreamMermaidFamilyIndex, aJ as assertHostedPngRasterBudget, aK as assertPngRasterBudget, aL as assertValidSceneDoc, aM as buildExternalScene, aN as classifyMermaidFamilyFromFirstLine, aO as findUpstreamFamilyByHeader, aP as getBackend, aQ as hostedFontResource, aR as knownBackendDescriptors, aS as measureText, aT as measureTextWidth, aU as normalizePortablePngBackground, aV as omitPngOutputOptions, aW as parseRegisteredMermaid, aX as pngNapiRuntimeProvenance, aY as pngOutputOptionsJsonSchema, aZ as pngRasterDimensions, a_ as prepareSvgForPngRasterization, a$ as projectNativePngOutputPolicyInput, b0 as projectPortablePngOutputOptions, b1 as registerBackend, b2 as resolvePngOutputPolicy, b3 as resolvePortablePngOutputPolicy, b4 as resolveTerminalOutputPolicy, b5 as runBackendConformance, b6 as svgIntrinsicDimensions, b7 as validateResourceManifest, b8 as validateSceneDoc, b9 as verifyResourceBytes } from './index-EeXqJXr5.js';
|
|
5
|
+
import { m as Direction, d as LayoutRouteCertificate, L as LabelContent, n as PositionedDiagram, M as MermaidEdge, R as RenderOptions } from './types-BcS52Mjt.js';
|
|
6
|
+
export { A as AnyPort, a as ArchitectureVisualOverrides, D as DiamondFacet, b as DisplayRun, E as EdgeRouteCertificate, F as FamilyEdgeRouteCertificate, c as FamilyRouteCertificate, e as LayoutRouteClass, P as PortSemanticRole, f as PortSide, g as PreparedDisplayText, h as RegionContainmentCertificate, i as RouteBlocker, j as RouteCertificate, k as RouteClass, l as RoutePortAssignment } from './types-BcS52Mjt.js';
|
|
7
|
+
export { B as BINDABLE_ROLE_STYLE_PROPERTIES, a as BINDABLE_SCENE_ROLES, b as BRAND_CONSTRAINT_DESCRIPTORS, c as BRAND_CONSTRAINT_KINDS, d as BUILTIN_SCENE_ROLE_TRAITS, e as BindableSceneRole, f as BrandConstraint, g as BrandConstraintAction, h as BrandConstraintKind, E as EXACT_ROLE_STYLE_CONTRACT, i as EXACT_STYLE_SCENE_ROLES, j as ExactStyleSceneRole, k as ExtensionIdentity, R as ROLE_STYLE_PROPERTY_DESCRIPTORS, l as RoleStyleFor, m as RoleStyleSpec, n as RoleStyles, o as SCENE_ROLE_DESCRIPTORS, p as SEMANTIC_BINDING_CHANNELS, q as STYLE_COLOR_TOKEN_DESCRIPTORS, r as STYLE_SPEC_FIELD_DESCRIPTORS, s as STYLE_SPEC_FORMAT_VERSION, t as SceneRole, u as SemanticBinding, v as SemanticBindingChannel, w as SemanticSlots, x as StyleColors, y as StyleDescriptor, S as StyleInput, z as StyleReferenceResolution, A as StyleRegistrationOptions, C as StyleSpec, D as createExtensionIdentity, F as getStyle, G as inferBackend, H as knownStyleDescriptors, I as knownStyles, J as registerStyle, K as resolveSceneRoleTraits, L as resolveStyleReference, M as resolveStyleStack, N as sceneRoleTraits, O as styleSpecJsonSchema, P as validateStyleSpec } from './svg-styles-BdnoM7AT.js';
|
|
8
8
|
|
|
9
9
|
interface TerminalIdentity {
|
|
10
10
|
id: string;
|
package/dist/agent-core.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{A as Cc,B as Dc,C as Ec,D as Fc,G as Gc,H as Hc,I as Ic,J as Jc,K as Kc,L as Lc,M as Mc,N as Nc,O as Oc,P as Pc,Q as Qc,R as Rc,S as Sc,T as Tc,a as gc,b as hc,c as ic,d as jc,e as kc,f as lc,h as mc,i as nc,j as oc,k as pc,l as qc,m as rc,o as sc,p as tc,q as uc,r as vc,s as wc,t as xc,v as yc,w as zc,x as Ac,z as Bc}from"./chunk-
|
|
1
|
+
import{A as Cc,B as Dc,C as Ec,D as Fc,G as Gc,H as Hc,I as Ic,J as Jc,K as Kc,L as Lc,M as Mc,N as Nc,O as Oc,P as Pc,Q as Qc,R as Rc,S as Sc,T as Tc,a as gc,b as hc,c as ic,d as jc,e as kc,f as lc,h as mc,i as nc,j as oc,k as pc,l as qc,m as rc,o as sc,p as tc,q as uc,r as vc,s as wc,t as xc,v as yc,w as zc,x as Ac,z as Bc}from"./chunk-7CRDX2QR.js";import{$a as Ib,Da as vb,Ea as wb,Ka as xb,La as yb,Ma as zb,Pa as Ab,Qa as Bb,Ra as Cb,Sa as Db,T as Ea,Ta as Eb,Ya as Fb,Za as Gb,_a as Hb,ab as Jb,b as F,bb as Kb,c as G,cb as Lb,d as H,db as Mb,e as I,eb as Nb,f as J,fb as Ob,g as K,gb as Pb,h as L,hb as Qb,i as M,ib as Rb,j as N,ja as nb,jb as Sb,k as O,kb as Tb,l as P,lb as Ub,m as Q,mb as Vb,nb as Wb,o as R,oa as ob,ob as Xb,p as S,pb as Yb,q as T,qa as pb,qb as Zb,r as U,ra as qb,rb as _b,s as V,sb as $b,t as W,tb as ac,ub as bc,vb as cc,wa as rb,wb as dc,xa as sb,xb as ec,ya as tb,yb as fc,za as ub}from"./chunk-JZOJ4YGS.js";import{Dc as Ca,Gc as Da,ab as D,bb as E,c as v,ph as ib,uh as jb,vh as kb,wh as lb,yh as mb}from"./chunk-EHCMJUMD.js";import"./chunk-UA234O4M.js";import{$c as La,Ac as y,Bc as z,Dc as A,Fb as l,Fd as Xa,Gc as B,Gd as Ya,Hc as C,Hd as Za,Ib as m,Id as _a,J as b,Jb as n,K as c,Kb as o,L as d,Lb as p,M as e,Mb as q,N as f,Nb as r,O as g,Ob as s,Od as $a,Pb as t,Qb as u,Sd as ab,Tc as Fa,Uc as Ga,Ud as bb,V as h,Vc as Ha,W as i,Wc as Ia,Wd as cb,X as j,Xc as Ja,Yc as Ka,ad as Ma,bd as Na,cd as Oa,dd as Pa,ed as Qa,fd as Ra,rd as Sa,sd as Ta,td as Ua,uc as w,xc as x,xd as Va,yb as k,yd as Wa}from"./chunk-OMY6NRQD.js";import{A as xa,B as ya,C as za,D as Aa,E as Ba,F as db,G as eb,H as fb,I as gb,J as hb,a as Z,b as _,c as $,d as aa,e as ba,f as ca,g as da,h as ea,i as fa,j as ga,k as ha,l as ia,m as ja,n as ka,o as la,p as ma,q as na,r as oa,s as pa,t as qa,u as ra,v as sa,w as ta,x as ua,y as va,z as wa}from"./chunk-O7H2UX5K.js";import{a,b as X,c as Y}from"./chunk-3LGLPG33.js";import"./chunk-VUFVLGTH.js";export{jc as ASCII_ROUTE_PARITY_CONTRACT,nb as AsciiWidthError,Za as BACKEND_CONFORMANCE_CHECK_IDS,Ya as BACKEND_CONFORMANCE_FIXTURE_ID,Xa as BACKEND_CONFORMANCE_VERSION,q as BINDABLE_ROLE_STYLE_PROPERTIES,p as BINDABLE_SCENE_ROLES,Lc as BOUND_PROVENANCE,X as BRAND_CONSTRAINT_DESCRIPTORS,Y as BRAND_CONSTRAINT_KINDS,M as BUILTIN_FAMILY_METADATA,N as BUILTIN_FAMILY_METADATA_COVERS_DIAGRAM_KIND,r as BUILTIN_SCENE_ROLE_TRAITS,b as CAPABILITY_NEGOTIATION_VERSION,f as CORE_CAPABILITY_OFFERS,z as CORE_SCENE_FEATURES,y as CORE_SCENE_OPERATIONS,x as CORE_SCENE_PRIMITIVES,Kc as DEFAULT_BOUNDS,za as DEFAULT_LABEL_CHAR_CAP,$a as DefaultBackend,n as EXACT_ROLE_STYLE_CONTRACT,o as EXACT_STYLE_SCENE_ROLES,xb as EXTERNAL_SCENE_API_VERSION,F as FAMILY_CAPABILITY_COLUMNS,G as FAMILY_CONFORMANCE_MAX_EXAMPLE_BYTES,I as FAMILY_CONFORMANCE_VERSION,H as FAMILY_DESCRIPTOR_CONTRACT_VERSION,K as FamilyConformanceError,Bb as HOSTED_FONT_RESOURCES,Jb as MAX_HOSTED_PNG_BYTES,Ib as MAX_HOSTED_PNG_PIXELS,Kb as MAX_PNG_FONT_DIRECTORIES,Lb as MAX_PNG_FONT_DIRECTORY_LENGTH,Gb as MAX_PNG_PIXELS,Hb as MAX_PNG_RASTER_DIMENSION,Da as MermaidFamilyDetectionError,Rb as NATIVE_PNG_HOST_ONLY_OPTION_FIELDS,Qb as NATIVE_PNG_OUTPUT_POLICY_FIELDS,Fb as PNG_DEFAULT_FONT_FAMILY,Mb as PNG_DEFAULT_MIN_LABEL_PX,fb as PNG_DEFAULT_SCALE,cc as PNG_FONT_SOURCES,dc as PNG_NAPI_RUNTIME,Ob as PNG_OUTPUT_OPTION_FIELDS,Nb as PNG_OUTPUT_OPTION_FIELD_DESCRIPTORS,db as PNG_OUTPUT_POLICY_VERSION,ec as PNG_WASM_RUNTIME,Pb as PORTABLE_PNG_OUTPUT_OPTION_FIELDS,A as PRIMITIVE_REALIZATIONS,v as PaintLayoutCertificationError,gb as RENDER_CONTRACT_VERSION,a as RENDER_OUTPUTS,hb as RENDER_OUTPUT_DESCRIPTORS,Cb as RESOURCE_MANIFEST,zb as RESOURCE_MANIFEST_VERSION,m as ROLE_STYLE_PROPERTY_DESCRIPTORS,mb as RenderCapabilityError,k as SCENE_CONTRACT_VERSION,s as SCENE_ROLE_DESCRIPTORS,Ta as SCENE_VALIDATION_LIMITS,Sa as SCENE_VALIDATION_VERSION,Ha as SEMANTIC_BINDING_CHANNELS,ib as SHARED_RENDER_OPTION_FIELDS,Ga as STYLE_COLOR_TOKEN_DESCRIPTORS,Ia as STYLE_SPEC_FIELD_DESCRIPTORS,Fa as STYLE_SPEC_FORMAT_VERSION,Ua as SceneValidationError,sb as TERMINAL_BOUNDED_PADDING_X,ub as TERMINAL_DEFAULT_BOX_BORDER_PADDING,rb as TERMINAL_DEFAULT_PADDING_X,tb as TERMINAL_DEFAULT_PADDING_Y,eb as TERMINAL_OUTPUT_POLICY_VERSION,h as TEXT_MEASUREMENT_CONTRACT,vb as TerminalOutputPolicyError,J as UNREGISTERED_FAMILY_CAPABILITY_STATES,D as UPSTREAM_MERMAID_FAMILY_INDEX,xa as WARNING_SEVERITY,ya as WARNING_TIER,gc as analyzeMermaid,hc as analyzeMermaidSource,Ac as applyOps,ma as asArchitecture,ea as asBlock,ra as asC4,ja as asClass,ka as asEr,Aa as asEventModeling,fa as asFlowchart,ta as asGantt,va as asGitGraph,da as asIshikawa,la as asJourney,aa as asKanban,ua as asMindmap,$ as asPacket,oa as asPie,pa as asQuadrant,qa as asRadar,ba as asRequirement,sa as asSankey,ha as asSequence,ga as asState,ia as asTimeline,ca as asTreemap,na as asXyChart,Ba as asZenUML,lc as asciiToMermaid,Xb as assertHostedPngRasterBudget,Wb as assertPngRasterBudget,Wa as assertValidSceneDoc,zc as buildChecked,yb as buildExternalScene,vc as buildMermaid,O as builtinFamilyMetadata,Ec as checkMermaid,Fc as checkMermaidSource,Nc as checkQuality,Ca as classifyMermaidFamilyFromFirstLine,ic as collectActionRecords,l as createExtensionIdentity,uc as createMermaid,L as declareFamilyScenePrimitiveEvidence,Hc as describeMermaid,Cc as describeMermaidFacts,Dc as describeMermaidFactsSource,Gc as describeMermaidSource,Ic as describeMermaidTree,pc as describeOps,W as detectRegisteredFamilyFromFirstLine,Ea as edgeIdOf,T as effectiveFamilyCapabilityState,_ as err,E as findUpstreamFamilyByHeader,cb as getBackend,R as getFamily,S as getFamilyConformanceReport,Na as getStyle,mc as hasOpSchema,Eb as hostedFontResource,Qa as inferBackend,P as isBuiltinFamilyId,Q as isExternalFamilyId,bb as knownBackendDescriptors,V as knownBuiltinFamilies,U as knownFamilies,Pa as knownStyleDescriptors,Oa as knownStyles,Bc as layoutCertificateProof,Tc as layoutMermaid,Sc as layoutMermaidWithReceipt,Mc as measureQuality,i as measureText,j as measureTextWidth,rc as mutate,sc as mutateChecked,tc as mutatePreservingSource,e as negotiateCapabilities,g as negotiateRenderCapabilities,Yb as normalizePortablePngBackground,Z as ok,$b as omitPngOutputOptions,oc as opMenu,qc as opSignatures,qb as parseRegisteredMermaid,c as parseSemVer,fc as pngNapiRuntimeProvenance,Sb as pngOutputOptionsJsonSchema,Ub as pngRasterDimensions,Vb as prepareSvgForPngRasterization,_b as projectNativePngOutputPolicyInput,Zb as projectPortablePngOutputOptions,wc as projectPositionedView,ab as registerBackend,Jc as registerFamily,La as registerStyle,Qc as renderMermaidASCII,kc as renderMermaidASCIIWithMeta,Rc as renderMermaidASCIIWithReceipt,Oc as renderMermaidSVG,Pc as renderMermaidSVGWithReceipt,bc as resolvePngOutputPolicy,ac as resolvePortablePngOutputPolicy,t as resolveSceneRoleTraits,Ma as resolveStyleReference,Ra as resolveStyleStack,wb as resolveTerminalOutputPolicy,_a as runBackendConformance,u as sceneRoleTraits,d as semVerSatisfies,ob as serializeMermaid,kb as sharedRenderOptionsJsonSchema,lb as styleInputJsonSchema,Ka as styleSpecJsonSchema,Tb as svgIntrinsicDimensions,pb as synthesizeFromGraph,B as terminalConnectorCapabilityClaims,wa as toFinite,nc as validateOp,C as validatePrimitiveCapabilities,Db as validateResourceManifest,Va as validateSceneDoc,jb as validateSerializableRenderOptions,Ja as validateStyleSpec,xc as verifyMermaid,w as verifyNoExternalRefs,Ab as verifyResourceBytes,yc as verifySummary};
|
|
2
2
|
//# sourceMappingURL=agent-core.js.map
|
package/dist/agent.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AsciiWarning } from './agent-core.js';
|
|
2
2
|
export { ASCII_ROUTE_PARITY_CONTRACT, ApplyOpsInput, AsciiRegion, AsciiWarningCode, AsciiWithMeta, BOUND_PROVENANCE, BoundBasis, BoundProvenance, BuildError, CheckMermaidObjectSpec, CheckMermaidResult, CheckMermaidSpec, CheckedBuildError, CreateMermaidOptions, DEFAULT_BOUNDS, DescribeOptions, DescribeTree, LayoutCertificateProof, LayoutMermaidOptions, LayoutRenderOptions, MermaidFact, OpEnvelope, OpFamily, OpFieldDoc, OpValidationError, QualityBounds, QualityMeasurementOptions, QualityMetrics, QualityVerdict, RankedViolation, RegionKind, RenderedLayoutArtifact, SourceMutationResult, VerifySummary, ViolationSeverity, analyzeMermaid, analyzeMermaidSource, applyOps, asciiToMermaid, buildChecked, buildMermaid, checkMermaid, checkMermaidSource, checkQuality, collectActionRecords, createMermaid, describeMermaid, describeMermaidFacts, describeMermaidFactsSource, describeMermaidSource, describeMermaidTree, describeOps, edgeIdOf, hasOpSchema, layoutCertificateProof, layoutMermaid, layoutMermaidWithReceipt, measureQuality, mutate, mutateChecked, mutatePreservingSource, opMenu, opSignatures, projectPositionedView, registerFamily, renderMermaidASCII, renderMermaidASCIIWithMeta, renderMermaidASCIIWithReceipt, renderMermaidSVG, renderMermaidSVGWithReceipt, serializeMermaid, synthesizeFromGraph, validateOp, verifyMermaid, verifySummary } from './agent-core.js';
|
|
3
|
-
import { a as ParsedDiagram, R as RenderRequestReceipt, T as TextMeasurementProfile, b as RenderedRegion, D as DiagramActionRecord } from './paint-certification-
|
|
4
|
-
export { A as Accessibility, c as AnyMutationOp, d as ArchitectureBody, e as ArchitectureEdge, f as ArchitectureEndpoint, g as ArchitectureEndpointBoundary, h as ArchitectureGroup, i as ArchitectureJunction, j as ArchitectureMutationOp, k as ArchitectureService, l as ArchitectureSide, m as ArchitectureValidDiagram, B as BUILTIN_FAMILY_METADATA, n as BUILTIN_FAMILY_METADATA_COVERS_DIAGRAM_KIND, o as BlockBody, p as BlockMutationOp, q as BlockValidDiagram, r as BuiltinFamilyId, s as BuiltinFamilyMetadata, C as C4Argument, t as C4ArgumentInput, u as C4Body, w as C4Boundary, x as C4BoundaryInput, y as C4BoundaryKind, z as C4Diagnostic, E as C4Direction, F as C4Directive, G as C4Element, H as C4ElementInput, I as C4ElementKind, J as C4MutationOp, K as C4Relationship, L as C4RelationshipInput, M as C4Shape, N as C4Statement, O as C4Style, Q as C4ValidDiagram, S as C4Variant, U as CAPABILITY_NEGOTIATION_VERSION, V as CORE_CAPABILITY_OFFERS, W as CORE_SCENE_FEATURES, X as CORE_SCENE_OPERATIONS, Y as CORE_SCENE_PRIMITIVES, Z as CapabilityDecision, _ as CapabilityId, $ as CapabilityOffer, a0 as CapabilityRequirement, a1 as CapabilityRequirementLevel, a2 as CapabilityResolution, a3 as ClassBody, a4 as ClassMutationOp, a5 as ClassNode, a6 as ClassNote, a7 as ClassRelation, a8 as ClassRelationKind, a9 as ClassValidDiagram, aa as CliRenderTransport, ab as CodeModeRenderTransport, ac as ConnectorContourSemantics, ad as ConnectorEndpoints, ae as ConnectorGeometry, af as ConnectorHitGeometry, ag as ConnectorLabelDescriptor, ah as ConnectorMark, ai as ConnectorRelationship, aj as ConnectorRoute, ak as ConnectorStroke, al as ConnectorSubpath, am as ConnectorTerminalLabelProjection, an as ConnectorTerminalMarkerPlacement, ao as ConnectorTerminalMarkerProjection, ap as ConnectorTerminalProjection, aq as ConnectorTerminalStrokeLoss, ar as DEFAULT_LABEL_CHAR_CAP, as as DiagramActionKind, at as DiagramActionSecurity, au as DiagramAnalysis, av as DiagramBody, aw as DiagramKind, ax as EdgeId, ay as ErAttribute, az as ErBody, aA as ErCardinality, aB as ErEntity, aC as ErMutationOp, aD as ErRelation, aE as ErValidDiagram, aF as EventData, aG as EventFrame, aH as EventFrameType, aI as EventModelingBody, aJ as EventModelingMutationOp, aK as EventModelingValidDiagram, aL as EventSpecification, aM as ExtensionDiagramBody, aN as ExtensionValidDiagram, aO as ExternalFamilyId, aP as ExtractedLabel, aQ as FAMILY_CAPABILITY_COLUMNS, aR as FAMILY_CONFORMANCE_MAX_EXAMPLE_BYTES, aS as FAMILY_CONFORMANCE_VERSION, aT as FAMILY_DESCRIPTOR_CONTRACT_VERSION, aU as FamilyCapability, aV as FamilyCapabilityConformanceResult, aW as FamilyCapabilityEvidence, aX as FamilyCapabilityState, aY as FamilyConformanceError, aZ as FamilyConformanceReport, a_ as FamilyConformanceStatus, a$ as FamilyDescriptor, b0 as FamilyId, b1 as FamilyOperations, b2 as FamilyParsedBody, b3 as FamilyPositionedProjectionContext, b4 as FamilyPositionedProjectionOptions, b5 as FamilyPositionedView, b6 as FamilyScenePositivePrimitive, b7 as FamilyScenePrimitiveApplicability, b8 as FamilyScenePrimitiveEvidence, b9 as FamilySceneRolePrimitiveDeclaration, ba as FeedbackEdgeAnalysis, bb as Finite, bc as FlowchartMutationOp, bd as FlowchartValidDiagram, be as GanttBody, bf as GanttBodySection, bg as GanttBodyTask, bh as GanttBodyTaskTag, bi as GanttMutationOp, bj as GanttScheduleAnalysisSummary, bk as GanttStatement, bl as GanttValidDiagram, bm as GitGraphBody, bn as GitGraphMutationOp, bo as GitGraphValidDiagram, bp as GroupId, bq as InitDirective, br as IshikawaBody, bs as IshikawaMutationOp, bt as IshikawaValidDiagram, bu as JourneyBody, bv as JourneyMutationOp, bw as JourneySection, bx as JourneyTask, by as JourneyValidDiagram, bz as KanbanBody, bA as KanbanMutationOp, bB as KanbanValidDiagram, bC as LayoutWarning, bD as LibraryRenderTransport, bE as MarkerDescriptor, bF as MindmapBody, bG as MindmapMutationOp, bH as MindmapValidDiagram, bI as MutableValidDiagram, bJ as MutationError, bK as NodeId, bL as PRIMITIVE_REALIZATIONS, bM as PacketBody, bN as PacketMutationOp, bO as PacketValidDiagram, bP as PaintLayoutCertification, P as PaintLayoutCertificationError, bQ as ParseError, bR as ParticipantId, bS as PieBody, bT as PieMutationOp, bU as PieSlice, bV as PieValidDiagram, bW as PreservedDiagramBody, bX as PreservedSourceSpans, bY as PreservedValidDiagram, bZ as QuadrantAxis, b_ as QuadrantBody, b$ as QuadrantMutationOp, c0 as QuadrantPoint, c1 as QuadrantValidDiagram, c2 as RENDER_CONTRACT_VERSION, c3 as RENDER_OUTPUTS, c4 as RENDER_OUTPUT_DESCRIPTORS, c5 as RadarBody, c6 as RadarBodyAxis, c7 as RadarBodyCurve, c8 as RadarMutationOp, c9 as RadarValidDiagram, ca as RenderCapabilityError, cb as RenderOutputDescriptor, cc as RenderOutputTransports, cd as RenderedLabelBounds, ce as RenderedLayout, cf as RenderedLayoutEdge, cg as RenderedLayoutGroup, ch as RenderedLayoutLabel, ci as RenderedLayoutNode, cj as RenderedRegionKind, ck as RequirementBody, cl as RequirementMutationOp, cm as RequirementValidDiagram, cn as Result, co as SHARED_RENDER_OPTION_FIELDS, cp as SankeyBody, cq as SankeyBodyLink, cr as SankeyMutationOp, cs as SankeyValidDiagram, ct as SceneDoc, cu as SceneNode, cv as SemanticChannels, cw as SequenceBody, cx as SequenceMessage, cy as SequenceMessageStyle, cz as SequenceMutationOp, cA as SequenceParticipant, cB as SequenceValidDiagram, cC as SerializedFlowchartGraph, cD as SourceComment, cE as SourceMap, cF as SourceMapSpans, cG as SourcePreservationReceipt, cH as SourceSpan, cI as SourceSpanPoint, cJ as StateBody, cK as StateFloatingNote, cL as StateMutationOp, cM as StateNode, cN as StateTransition, cO as StateValidDiagram, cP as Tier1WarningCode, cQ as Tier2WarningCode, cR as TimelineBody, cS as TimelineEvent, cT as TimelineMutationOp, cU as TimelinePeriod, cV as TimelineSection, cW as TimelineValidDiagram, cX as TreemapBody, cY as TreemapMutationOp, cZ as TreemapValidDiagram, c_ as UNREGISTERED_FAMILY_CAPABILITY_STATES, c$ as ValidDiagram, d0 as ValidDiagramMeta, d1 as ValidDiagramPayload, d2 as VerifyOptions, d3 as VerifyResult, d4 as WARNING_SEVERITY, d5 as WARNING_TIER, d6 as WarningCode, d7 as WarningSeverity, d8 as WarningTier, d9 as XyChartAxis, da as XyChartAxisSpec, db as XyChartBody, dc as XyChartMutationOp, dd as XyChartSeries, de as XyChartValidDiagram, df as ZenUMLBody, dg as ZenUMLBranch, dh as ZenUMLMutationOp, di as ZenUMLParticipant, dj as ZenUMLStatement, dk as ZenUMLValidDiagram, dl as asArchitecture, dm as asBlock, dn as asC4, dp as asClass, dq as asEr, dr as asEventModeling, ds as asFlowchart, dt as asGantt, du as asGitGraph, dv as asIshikawa, dw as asJourney, dx as asKanban, dy as asMindmap, dz as asPacket, dA as asPie, dB as asQuadrant, dC as asRadar, dD as asRequirement, dE as asSankey, dF as asSequence, dG as asState, dH as asTimeline, dI as asTreemap, dJ as asXyChart, dK as asZenUML, dL as builtinFamilyMetadata, dM as declareFamilyScenePrimitiveEvidence, dN as detectRegisteredFamilyFromFirstLine, dO as effectiveFamilyCapabilityState, dP as err, dQ as getFamily, dR as getFamilyConformanceReport, dS as isBuiltinFamilyId, dT as isExternalFamilyId, dU as knownBuiltinFamilies, dV as knownFamilies, dW as negotiateCapabilities, dX as negotiateRenderCapabilities, dY as ok, dZ as parseSemVer, d_ as semVerSatisfies, d$ as sharedRenderOptionsJsonSchema, e0 as styleInputJsonSchema, e1 as terminalConnectorCapabilityClaims, e2 as toFinite, e3 as validatePrimitiveCapabilities, e4 as validateSerializableRenderOptions, v as verifyNoExternalRefs } from './paint-certification-
|
|
5
|
-
import { R as RenderOptions } from './types-
|
|
6
|
-
export { A as AnyPort, a as ArchitectureVisualOverrides, D as DiamondFacet, b as DisplayRun, E as EdgeRouteCertificate, F as FamilyEdgeRouteCertificate, c as FamilyRouteCertificate, L as LabelContent, d as LayoutRouteCertificate, e as LayoutRouteClass, P as PortSemanticRole, f as PortSide, g as PreparedDisplayText, h as RegionContainmentCertificate, i as RouteBlocker, j as RouteCertificate, k as RouteClass, l as RoutePortAssignment } from './types-
|
|
7
|
-
import { P as PngLegibilityWarning, a as PngOutputPolicyInput, b as PngRuntimeProvenance, H as HostBackendPolicy, A as AsciiRenderOptions } from './index-
|
|
8
|
-
export { c as AsciiRenderColorMode, d as AsciiWidthError, e as AsciiWidthErrorReason, B as BACKEND_CONFORMANCE_CHECK_IDS, f as BACKEND_CONFORMANCE_FIXTURE_ID, g as BACKEND_CONFORMANCE_VERSION, h as BackendCapabilityConformanceResult, i as BackendCapabilityConformanceStatus, j as BackendConformanceCheck, k as BackendConformanceCheckId, l as BackendConformanceReport, m as BackendDescriptor, n as BackendRegistrationOptions, D as DefaultBackend, E as EXTERNAL_SCENE_API_VERSION, o as ExternalSceneConnector, p as ExternalSceneConnectorGeometry, q as ExternalSceneConnectorLabel, r as ExternalSceneContainer, s as ExternalSceneDataMark, t as ExternalSceneDocument, u as ExternalSceneGeometry, v as ExternalSceneInput, w as ExternalSceneMarker, x as ExternalSceneNode, y as ExternalSceneNodeBase, z as ExternalSceneShape, C as ExternalSceneText, F as FamilyDetectionDiagnostic, G as HOSTED_FONT_RESOURCES, M as MAX_HOSTED_PNG_BYTES, I as MAX_HOSTED_PNG_PIXELS, J as MAX_PNG_FONT_DIRECTORIES, K as MAX_PNG_FONT_DIRECTORY_LENGTH, L as MAX_PNG_PIXELS, N as MAX_PNG_RASTER_DIMENSION, O as MermaidFamilyClassification, Q as MermaidFamilyDetectionError, R as NATIVE_PNG_HOST_ONLY_OPTION_FIELDS, S as NATIVE_PNG_OUTPUT_POLICY_FIELDS, T as NativePngHostOnlyOptionField, U as NativePngOutputPolicyField, V as PNG_DEFAULT_FONT_FAMILY, W as PNG_DEFAULT_MIN_LABEL_PX, X as PNG_DEFAULT_SCALE, Y as PNG_FONT_SOURCES, Z as PNG_NAPI_RUNTIME, _ as PNG_OUTPUT_OPTION_FIELDS, $ as PNG_OUTPUT_OPTION_FIELD_DESCRIPTORS, a0 as PNG_OUTPUT_POLICY_VERSION, a1 as PNG_WASM_RUNTIME, a2 as PORTABLE_PNG_OUTPUT_OPTION_FIELDS, a3 as PngFitTo, a4 as PngFontSource, a5 as PngOutputOptionField, a6 as PngOutputOptionFieldDescriptor, a7 as PngOutputOptionInputKind, a8 as PngOutputOptionPolicyState, a9 as PngOutputOptionReceiptState, aa as PngOutputOptionScope, ab as PngRasterDimensions, ac as PortablePngOutputOptionField, ad as PortablePngOutputOptions, ae as RESOURCE_MANIFEST, af as RESOURCE_MANIFEST_VERSION, ag as RenderedAscii, ah as ResolvedPngOutputPolicy, ai as ResolvedTerminalOutputPolicy, aj as SCENE_CONTRACT_VERSION, ak as SCENE_VALIDATION_LIMITS, al as SCENE_VALIDATION_VERSION, am as SceneValidationDiagnostic, an as SceneValidationDiagnosticCode, ao as SceneValidationError, ap as SceneValidationOptions, aq as SceneValidationResult, ar as StyleBackend, as as StyleBackendContext, at as TERMINAL_BOUNDED_PADDING_X, au as TERMINAL_DEFAULT_BOX_BORDER_PADDING, av as TERMINAL_DEFAULT_PADDING_X, aw as TERMINAL_DEFAULT_PADDING_Y, ax as TERMINAL_OUTPUT_POLICY_VERSION, ay as TEXT_MEASUREMENT_CONTRACT, az as TerminalOutputPolicyError, aA as TerminalOutputPolicyInput, aB as TextMeasurementContract, aC as TextMeasurementInput, aD as TextMeasurementResult, aE as UPSTREAM_MERMAID_FAMILY_INDEX, aF as UpstreamFamilyDescriptor, aG as UpstreamHeaderDescriptor, aH as UpstreamHeaderMatch, aI as UpstreamMermaidFamilyIndex, aJ as assertHostedPngRasterBudget, aK as assertPngRasterBudget, aL as assertValidSceneDoc, aM as buildExternalScene, aN as classifyMermaidFamilyFromFirstLine, aO as findUpstreamFamilyByHeader, aP as getBackend, aQ as hostedFontResource, aR as knownBackendDescriptors, aS as measureText, aT as measureTextWidth, aU as normalizePortablePngBackground, aV as omitPngOutputOptions, aW as parseRegisteredMermaid, aX as pngNapiRuntimeProvenance, aY as pngOutputOptionsJsonSchema, aZ as pngRasterDimensions, a_ as prepareSvgForPngRasterization, a$ as projectNativePngOutputPolicyInput, b0 as projectPortablePngOutputOptions, b1 as registerBackend, b2 as resolvePngOutputPolicy, b3 as resolvePortablePngOutputPolicy, b4 as resolveTerminalOutputPolicy, b5 as runBackendConformance, b6 as svgIntrinsicDimensions, b7 as validateResourceManifest, b8 as validateSceneDoc, b9 as verifyResourceBytes } from './index-
|
|
9
|
-
export { B as BINDABLE_ROLE_STYLE_PROPERTIES, a as BINDABLE_SCENE_ROLES, b as BRAND_CONSTRAINT_DESCRIPTORS, c as BRAND_CONSTRAINT_KINDS, d as BUILTIN_SCENE_ROLE_TRAITS, e as BindableSceneRole, f as BrandConstraint, g as BrandConstraintAction, h as BrandConstraintKind, E as EXACT_ROLE_STYLE_CONTRACT, i as EXACT_STYLE_SCENE_ROLES, j as ExactStyleSceneRole, k as ExtensionIdentity, R as ROLE_STYLE_PROPERTY_DESCRIPTORS, l as RoleStyleFor, m as RoleStyleSpec, n as RoleStyles, o as SCENE_ROLE_DESCRIPTORS, p as SEMANTIC_BINDING_CHANNELS, q as STYLE_COLOR_TOKEN_DESCRIPTORS, r as STYLE_SPEC_FIELD_DESCRIPTORS, s as STYLE_SPEC_FORMAT_VERSION, t as SceneRole, u as SemanticBinding, v as SemanticBindingChannel, w as SemanticSlots, x as StyleColors, y as StyleDescriptor, S as StyleInput, z as StyleReferenceResolution, A as StyleRegistrationOptions, C as StyleSpec, D as createExtensionIdentity, F as getStyle, G as inferBackend, H as knownStyleDescriptors, I as knownStyles, J as registerStyle, K as resolveSceneRoleTraits, L as resolveStyleReference, M as resolveStyleStack, N as sceneRoleTraits, O as styleSpecJsonSchema, P as validateStyleSpec } from './svg-styles-
|
|
3
|
+
import { a as ParsedDiagram, R as RenderRequestReceipt, T as TextMeasurementProfile, b as RenderedRegion, D as DiagramActionRecord } from './paint-certification-6rwQjIv_.js';
|
|
4
|
+
export { A as Accessibility, c as AnyMutationOp, d as ArchitectureBody, e as ArchitectureEdge, f as ArchitectureEndpoint, g as ArchitectureEndpointBoundary, h as ArchitectureGroup, i as ArchitectureJunction, j as ArchitectureMutationOp, k as ArchitectureService, l as ArchitectureSide, m as ArchitectureValidDiagram, B as BUILTIN_FAMILY_METADATA, n as BUILTIN_FAMILY_METADATA_COVERS_DIAGRAM_KIND, o as BlockBody, p as BlockMutationOp, q as BlockValidDiagram, r as BuiltinFamilyId, s as BuiltinFamilyMetadata, C as C4Argument, t as C4ArgumentInput, u as C4Body, w as C4Boundary, x as C4BoundaryInput, y as C4BoundaryKind, z as C4Diagnostic, E as C4Direction, F as C4Directive, G as C4Element, H as C4ElementInput, I as C4ElementKind, J as C4MutationOp, K as C4Relationship, L as C4RelationshipInput, M as C4Shape, N as C4Statement, O as C4Style, Q as C4ValidDiagram, S as C4Variant, U as CAPABILITY_NEGOTIATION_VERSION, V as CORE_CAPABILITY_OFFERS, W as CORE_SCENE_FEATURES, X as CORE_SCENE_OPERATIONS, Y as CORE_SCENE_PRIMITIVES, Z as CapabilityDecision, _ as CapabilityId, $ as CapabilityOffer, a0 as CapabilityRequirement, a1 as CapabilityRequirementLevel, a2 as CapabilityResolution, a3 as ClassBody, a4 as ClassMutationOp, a5 as ClassNode, a6 as ClassNote, a7 as ClassRelation, a8 as ClassRelationKind, a9 as ClassValidDiagram, aa as CliRenderTransport, ab as CodeModeRenderTransport, ac as ConnectorContourSemantics, ad as ConnectorEndpoints, ae as ConnectorGeometry, af as ConnectorHitGeometry, ag as ConnectorLabelDescriptor, ah as ConnectorMark, ai as ConnectorRelationship, aj as ConnectorRoute, ak as ConnectorStroke, al as ConnectorSubpath, am as ConnectorTerminalLabelProjection, an as ConnectorTerminalMarkerPlacement, ao as ConnectorTerminalMarkerProjection, ap as ConnectorTerminalProjection, aq as ConnectorTerminalStrokeLoss, ar as DEFAULT_LABEL_CHAR_CAP, as as DiagramActionKind, at as DiagramActionSecurity, au as DiagramAnalysis, av as DiagramBody, aw as DiagramKind, ax as EdgeId, ay as ErAttribute, az as ErBody, aA as ErCardinality, aB as ErEntity, aC as ErMutationOp, aD as ErRelation, aE as ErValidDiagram, aF as EventData, aG as EventFrame, aH as EventFrameType, aI as EventModelingBody, aJ as EventModelingMutationOp, aK as EventModelingValidDiagram, aL as EventSpecification, aM as ExtensionDiagramBody, aN as ExtensionValidDiagram, aO as ExternalFamilyId, aP as ExtractedLabel, aQ as FAMILY_CAPABILITY_COLUMNS, aR as FAMILY_CONFORMANCE_MAX_EXAMPLE_BYTES, aS as FAMILY_CONFORMANCE_VERSION, aT as FAMILY_DESCRIPTOR_CONTRACT_VERSION, aU as FamilyCapability, aV as FamilyCapabilityConformanceResult, aW as FamilyCapabilityEvidence, aX as FamilyCapabilityState, aY as FamilyConformanceError, aZ as FamilyConformanceReport, a_ as FamilyConformanceStatus, a$ as FamilyDescriptor, b0 as FamilyId, b1 as FamilyOperations, b2 as FamilyParsedBody, b3 as FamilyPositionedProjectionContext, b4 as FamilyPositionedProjectionOptions, b5 as FamilyPositionedView, b6 as FamilyScenePositivePrimitive, b7 as FamilyScenePrimitiveApplicability, b8 as FamilyScenePrimitiveEvidence, b9 as FamilySceneRolePrimitiveDeclaration, ba as FeedbackEdgeAnalysis, bb as Finite, bc as FlowchartMutationOp, bd as FlowchartValidDiagram, be as GanttBody, bf as GanttBodySection, bg as GanttBodyTask, bh as GanttBodyTaskTag, bi as GanttMutationOp, bj as GanttScheduleAnalysisSummary, bk as GanttStatement, bl as GanttValidDiagram, bm as GitGraphBody, bn as GitGraphMutationOp, bo as GitGraphValidDiagram, bp as GroupId, bq as InitDirective, br as IshikawaBody, bs as IshikawaMutationOp, bt as IshikawaValidDiagram, bu as JourneyBody, bv as JourneyMutationOp, bw as JourneySection, bx as JourneyTask, by as JourneyValidDiagram, bz as KanbanBody, bA as KanbanMutationOp, bB as KanbanValidDiagram, bC as LayoutWarning, bD as LibraryRenderTransport, bE as MarkerDescriptor, bF as MindmapBody, bG as MindmapMutationOp, bH as MindmapValidDiagram, bI as MutableValidDiagram, bJ as MutationError, bK as NodeId, bL as PRIMITIVE_REALIZATIONS, bM as PacketBody, bN as PacketMutationOp, bO as PacketValidDiagram, bP as PaintLayoutCertification, P as PaintLayoutCertificationError, bQ as ParseError, bR as ParticipantId, bS as PieBody, bT as PieMutationOp, bU as PieSlice, bV as PieValidDiagram, bW as PreservedDiagramBody, bX as PreservedSourceSpans, bY as PreservedValidDiagram, bZ as QuadrantAxis, b_ as QuadrantBody, b$ as QuadrantMutationOp, c0 as QuadrantPoint, c1 as QuadrantValidDiagram, c2 as RENDER_CONTRACT_VERSION, c3 as RENDER_OUTPUTS, c4 as RENDER_OUTPUT_DESCRIPTORS, c5 as RadarBody, c6 as RadarBodyAxis, c7 as RadarBodyCurve, c8 as RadarMutationOp, c9 as RadarValidDiagram, ca as RenderCapabilityError, cb as RenderOutputDescriptor, cc as RenderOutputTransports, cd as RenderedLabelBounds, ce as RenderedLayout, cf as RenderedLayoutEdge, cg as RenderedLayoutGroup, ch as RenderedLayoutLabel, ci as RenderedLayoutNode, cj as RenderedRegionKind, ck as RequirementBody, cl as RequirementMutationOp, cm as RequirementValidDiagram, cn as Result, co as SHARED_RENDER_OPTION_FIELDS, cp as SankeyBody, cq as SankeyBodyLink, cr as SankeyMutationOp, cs as SankeyValidDiagram, ct as SceneDoc, cu as SceneNode, cv as SemanticChannels, cw as SequenceBody, cx as SequenceMessage, cy as SequenceMessageStyle, cz as SequenceMutationOp, cA as SequenceParticipant, cB as SequenceValidDiagram, cC as SerializedFlowchartGraph, cD as SourceComment, cE as SourceMap, cF as SourceMapSpans, cG as SourcePreservationReceipt, cH as SourceSpan, cI as SourceSpanPoint, cJ as StateBody, cK as StateFloatingNote, cL as StateMutationOp, cM as StateNode, cN as StateTransition, cO as StateValidDiagram, cP as Tier1WarningCode, cQ as Tier2WarningCode, cR as TimelineBody, cS as TimelineEvent, cT as TimelineMutationOp, cU as TimelinePeriod, cV as TimelineSection, cW as TimelineValidDiagram, cX as TreemapBody, cY as TreemapMutationOp, cZ as TreemapValidDiagram, c_ as UNREGISTERED_FAMILY_CAPABILITY_STATES, c$ as ValidDiagram, d0 as ValidDiagramMeta, d1 as ValidDiagramPayload, d2 as VerifyOptions, d3 as VerifyResult, d4 as WARNING_SEVERITY, d5 as WARNING_TIER, d6 as WarningCode, d7 as WarningSeverity, d8 as WarningTier, d9 as XyChartAxis, da as XyChartAxisSpec, db as XyChartBody, dc as XyChartMutationOp, dd as XyChartSeries, de as XyChartValidDiagram, df as ZenUMLBody, dg as ZenUMLBranch, dh as ZenUMLMutationOp, di as ZenUMLParticipant, dj as ZenUMLStatement, dk as ZenUMLValidDiagram, dl as asArchitecture, dm as asBlock, dn as asC4, dp as asClass, dq as asEr, dr as asEventModeling, ds as asFlowchart, dt as asGantt, du as asGitGraph, dv as asIshikawa, dw as asJourney, dx as asKanban, dy as asMindmap, dz as asPacket, dA as asPie, dB as asQuadrant, dC as asRadar, dD as asRequirement, dE as asSankey, dF as asSequence, dG as asState, dH as asTimeline, dI as asTreemap, dJ as asXyChart, dK as asZenUML, dL as builtinFamilyMetadata, dM as declareFamilyScenePrimitiveEvidence, dN as detectRegisteredFamilyFromFirstLine, dO as effectiveFamilyCapabilityState, dP as err, dQ as getFamily, dR as getFamilyConformanceReport, dS as isBuiltinFamilyId, dT as isExternalFamilyId, dU as knownBuiltinFamilies, dV as knownFamilies, dW as negotiateCapabilities, dX as negotiateRenderCapabilities, dY as ok, dZ as parseSemVer, d_ as semVerSatisfies, d$ as sharedRenderOptionsJsonSchema, e0 as styleInputJsonSchema, e1 as terminalConnectorCapabilityClaims, e2 as toFinite, e3 as validatePrimitiveCapabilities, e4 as validateSerializableRenderOptions, v as verifyNoExternalRefs } from './paint-certification-6rwQjIv_.js';
|
|
5
|
+
import { R as RenderOptions } from './types-BcS52Mjt.js';
|
|
6
|
+
export { A as AnyPort, a as ArchitectureVisualOverrides, D as DiamondFacet, b as DisplayRun, E as EdgeRouteCertificate, F as FamilyEdgeRouteCertificate, c as FamilyRouteCertificate, L as LabelContent, d as LayoutRouteCertificate, e as LayoutRouteClass, P as PortSemanticRole, f as PortSide, g as PreparedDisplayText, h as RegionContainmentCertificate, i as RouteBlocker, j as RouteCertificate, k as RouteClass, l as RoutePortAssignment } from './types-BcS52Mjt.js';
|
|
7
|
+
import { P as PngLegibilityWarning, a as PngOutputPolicyInput, b as PngRuntimeProvenance, H as HostBackendPolicy, A as AsciiRenderOptions } from './index-EeXqJXr5.js';
|
|
8
|
+
export { c as AsciiRenderColorMode, d as AsciiWidthError, e as AsciiWidthErrorReason, B as BACKEND_CONFORMANCE_CHECK_IDS, f as BACKEND_CONFORMANCE_FIXTURE_ID, g as BACKEND_CONFORMANCE_VERSION, h as BackendCapabilityConformanceResult, i as BackendCapabilityConformanceStatus, j as BackendConformanceCheck, k as BackendConformanceCheckId, l as BackendConformanceReport, m as BackendDescriptor, n as BackendRegistrationOptions, D as DefaultBackend, E as EXTERNAL_SCENE_API_VERSION, o as ExternalSceneConnector, p as ExternalSceneConnectorGeometry, q as ExternalSceneConnectorLabel, r as ExternalSceneContainer, s as ExternalSceneDataMark, t as ExternalSceneDocument, u as ExternalSceneGeometry, v as ExternalSceneInput, w as ExternalSceneMarker, x as ExternalSceneNode, y as ExternalSceneNodeBase, z as ExternalSceneShape, C as ExternalSceneText, F as FamilyDetectionDiagnostic, G as HOSTED_FONT_RESOURCES, M as MAX_HOSTED_PNG_BYTES, I as MAX_HOSTED_PNG_PIXELS, J as MAX_PNG_FONT_DIRECTORIES, K as MAX_PNG_FONT_DIRECTORY_LENGTH, L as MAX_PNG_PIXELS, N as MAX_PNG_RASTER_DIMENSION, O as MermaidFamilyClassification, Q as MermaidFamilyDetectionError, R as NATIVE_PNG_HOST_ONLY_OPTION_FIELDS, S as NATIVE_PNG_OUTPUT_POLICY_FIELDS, T as NativePngHostOnlyOptionField, U as NativePngOutputPolicyField, V as PNG_DEFAULT_FONT_FAMILY, W as PNG_DEFAULT_MIN_LABEL_PX, X as PNG_DEFAULT_SCALE, Y as PNG_FONT_SOURCES, Z as PNG_NAPI_RUNTIME, _ as PNG_OUTPUT_OPTION_FIELDS, $ as PNG_OUTPUT_OPTION_FIELD_DESCRIPTORS, a0 as PNG_OUTPUT_POLICY_VERSION, a1 as PNG_WASM_RUNTIME, a2 as PORTABLE_PNG_OUTPUT_OPTION_FIELDS, a3 as PngFitTo, a4 as PngFontSource, a5 as PngOutputOptionField, a6 as PngOutputOptionFieldDescriptor, a7 as PngOutputOptionInputKind, a8 as PngOutputOptionPolicyState, a9 as PngOutputOptionReceiptState, aa as PngOutputOptionScope, ab as PngRasterDimensions, ac as PortablePngOutputOptionField, ad as PortablePngOutputOptions, ae as RESOURCE_MANIFEST, af as RESOURCE_MANIFEST_VERSION, ag as RenderedAscii, ah as ResolvedPngOutputPolicy, ai as ResolvedTerminalOutputPolicy, aj as SCENE_CONTRACT_VERSION, ak as SCENE_VALIDATION_LIMITS, al as SCENE_VALIDATION_VERSION, am as SceneValidationDiagnostic, an as SceneValidationDiagnosticCode, ao as SceneValidationError, ap as SceneValidationOptions, aq as SceneValidationResult, ar as StyleBackend, as as StyleBackendContext, at as TERMINAL_BOUNDED_PADDING_X, au as TERMINAL_DEFAULT_BOX_BORDER_PADDING, av as TERMINAL_DEFAULT_PADDING_X, aw as TERMINAL_DEFAULT_PADDING_Y, ax as TERMINAL_OUTPUT_POLICY_VERSION, ay as TEXT_MEASUREMENT_CONTRACT, az as TerminalOutputPolicyError, aA as TerminalOutputPolicyInput, aB as TextMeasurementContract, aC as TextMeasurementInput, aD as TextMeasurementResult, aE as UPSTREAM_MERMAID_FAMILY_INDEX, aF as UpstreamFamilyDescriptor, aG as UpstreamHeaderDescriptor, aH as UpstreamHeaderMatch, aI as UpstreamMermaidFamilyIndex, aJ as assertHostedPngRasterBudget, aK as assertPngRasterBudget, aL as assertValidSceneDoc, aM as buildExternalScene, aN as classifyMermaidFamilyFromFirstLine, aO as findUpstreamFamilyByHeader, aP as getBackend, aQ as hostedFontResource, aR as knownBackendDescriptors, aS as measureText, aT as measureTextWidth, aU as normalizePortablePngBackground, aV as omitPngOutputOptions, aW as parseRegisteredMermaid, aX as pngNapiRuntimeProvenance, aY as pngOutputOptionsJsonSchema, aZ as pngRasterDimensions, a_ as prepareSvgForPngRasterization, a$ as projectNativePngOutputPolicyInput, b0 as projectPortablePngOutputOptions, b1 as registerBackend, b2 as resolvePngOutputPolicy, b3 as resolvePortablePngOutputPolicy, b4 as resolveTerminalOutputPolicy, b5 as runBackendConformance, b6 as svgIntrinsicDimensions, b7 as validateResourceManifest, b8 as validateSceneDoc, b9 as verifyResourceBytes } from './index-EeXqJXr5.js';
|
|
9
|
+
export { B as BINDABLE_ROLE_STYLE_PROPERTIES, a as BINDABLE_SCENE_ROLES, b as BRAND_CONSTRAINT_DESCRIPTORS, c as BRAND_CONSTRAINT_KINDS, d as BUILTIN_SCENE_ROLE_TRAITS, e as BindableSceneRole, f as BrandConstraint, g as BrandConstraintAction, h as BrandConstraintKind, E as EXACT_ROLE_STYLE_CONTRACT, i as EXACT_STYLE_SCENE_ROLES, j as ExactStyleSceneRole, k as ExtensionIdentity, R as ROLE_STYLE_PROPERTY_DESCRIPTORS, l as RoleStyleFor, m as RoleStyleSpec, n as RoleStyles, o as SCENE_ROLE_DESCRIPTORS, p as SEMANTIC_BINDING_CHANNELS, q as STYLE_COLOR_TOKEN_DESCRIPTORS, r as STYLE_SPEC_FIELD_DESCRIPTORS, s as STYLE_SPEC_FORMAT_VERSION, t as SceneRole, u as SemanticBinding, v as SemanticBindingChannel, w as SemanticSlots, x as StyleColors, y as StyleDescriptor, S as StyleInput, z as StyleReferenceResolution, A as StyleRegistrationOptions, C as StyleSpec, D as createExtensionIdentity, F as getStyle, G as inferBackend, H as knownStyleDescriptors, I as knownStyles, J as registerStyle, K as resolveSceneRoleTraits, L as resolveStyleReference, M as resolveStyleStack, N as sceneRoleTraits, O as styleSpecJsonSchema, P as validateStyleSpec } from './svg-styles-BdnoM7AT.js';
|
|
10
10
|
|
|
11
11
|
interface PngFontWarning {
|
|
12
12
|
code: 'PNG_FONT_COVERAGE';
|
package/dist/agent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as Xc}from"./chunk-
|
|
1
|
+
import{a as Xc}from"./chunk-NKNFOREZ.js";import{a as Uc,b as Vc,c as Wc}from"./chunk-GVCHLSHH.js";import{A as Cc,B as Dc,C as Ec,D as Fc,G as Gc,H as Hc,I as Ic,J as Jc,K as Kc,L as Lc,M as Mc,N as Nc,O as Oc,P as Pc,Q as Qc,R as Rc,S as Sc,T as Tc,a as gc,b as hc,c as ic,d as jc,e as kc,f as lc,h as mc,i as nc,j as oc,k as pc,l as qc,m as rc,o as sc,p as tc,q as uc,r as vc,s as wc,t as xc,v as yc,w as zc,x as Ac,z as Bc}from"./chunk-7CRDX2QR.js";import{$a as Ib,Da as vb,Ea as wb,Ka as xb,La as yb,Ma as zb,Pa as Ab,Qa as Bb,Ra as Cb,Sa as Db,T as Ea,Ta as Eb,Ya as Fb,Za as Gb,_a as Hb,ab as Jb,b as F,bb as Kb,c as G,cb as Lb,d as H,db as Mb,e as I,eb as Nb,f as J,fb as Ob,g as K,gb as Pb,h as L,hb as Qb,i as M,ib as Rb,j as N,ja as nb,jb as Sb,k as O,kb as Tb,l as P,lb as Ub,m as Q,mb as Vb,nb as Wb,o as R,oa as ob,ob as Xb,p as S,pb as Yb,q as T,qa as pb,qb as Zb,r as U,ra as qb,rb as _b,s as V,sb as $b,t as W,tb as ac,ub as bc,vb as cc,wa as rb,wb as dc,xa as sb,xb as ec,ya as tb,yb as fc,za as ub}from"./chunk-JZOJ4YGS.js";import{Dc as Ca,Gc as Da,ab as D,bb as E,c as v,ph as ib,uh as jb,vh as kb,wh as lb,yh as mb}from"./chunk-EHCMJUMD.js";import"./chunk-UA234O4M.js";import{$c as La,Ac as y,Bc as z,Dc as A,Fb as l,Fd as Xa,Gc as B,Gd as Ya,Hc as C,Hd as Za,Ib as m,Id as _a,J as b,Jb as n,K as c,Kb as o,L as d,Lb as p,M as e,Mb as q,N as f,Nb as r,O as g,Ob as s,Od as $a,Pb as t,Qb as u,Sd as ab,Tc as Fa,Uc as Ga,Ud as bb,V as h,Vc as Ha,W as i,Wc as Ia,Wd as cb,X as j,Xc as Ja,Yc as Ka,ad as Ma,bd as Na,cd as Oa,dd as Pa,ed as Qa,fd as Ra,rd as Sa,sd as Ta,td as Ua,uc as w,xc as x,xd as Va,yb as k,yd as Wa}from"./chunk-OMY6NRQD.js";import{A as xa,B as ya,C as za,D as Aa,E as Ba,F as db,G as eb,H as fb,I as gb,J as hb,a as Z,b as _,c as $,d as aa,e as ba,f as ca,g as da,h as ea,i as fa,j as ga,k as ha,l as ia,m as ja,n as ka,o as la,p as ma,q as na,r as oa,s as pa,t as qa,u as ra,v as sa,w as ta,x as ua,y as va,z as wa}from"./chunk-O7H2UX5K.js";import{a,b as X,c as Y}from"./chunk-3LGLPG33.js";import"./chunk-VUFVLGTH.js";export{jc as ASCII_ROUTE_PARITY_CONTRACT,nb as AsciiWidthError,Za as BACKEND_CONFORMANCE_CHECK_IDS,Ya as BACKEND_CONFORMANCE_FIXTURE_ID,Xa as BACKEND_CONFORMANCE_VERSION,q as BINDABLE_ROLE_STYLE_PROPERTIES,p as BINDABLE_SCENE_ROLES,Lc as BOUND_PROVENANCE,X as BRAND_CONSTRAINT_DESCRIPTORS,Y as BRAND_CONSTRAINT_KINDS,M as BUILTIN_FAMILY_METADATA,N as BUILTIN_FAMILY_METADATA_COVERS_DIAGRAM_KIND,r as BUILTIN_SCENE_ROLE_TRAITS,b as CAPABILITY_NEGOTIATION_VERSION,f as CORE_CAPABILITY_OFFERS,z as CORE_SCENE_FEATURES,y as CORE_SCENE_OPERATIONS,x as CORE_SCENE_PRIMITIVES,Kc as DEFAULT_BOUNDS,za as DEFAULT_LABEL_CHAR_CAP,$a as DefaultBackend,n as EXACT_ROLE_STYLE_CONTRACT,o as EXACT_STYLE_SCENE_ROLES,xb as EXTERNAL_SCENE_API_VERSION,F as FAMILY_CAPABILITY_COLUMNS,G as FAMILY_CONFORMANCE_MAX_EXAMPLE_BYTES,I as FAMILY_CONFORMANCE_VERSION,H as FAMILY_DESCRIPTOR_CONTRACT_VERSION,K as FamilyConformanceError,Bb as HOSTED_FONT_RESOURCES,Jb as MAX_HOSTED_PNG_BYTES,Ib as MAX_HOSTED_PNG_PIXELS,Kb as MAX_PNG_FONT_DIRECTORIES,Lb as MAX_PNG_FONT_DIRECTORY_LENGTH,Gb as MAX_PNG_PIXELS,Hb as MAX_PNG_RASTER_DIMENSION,Da as MermaidFamilyDetectionError,Rb as NATIVE_PNG_HOST_ONLY_OPTION_FIELDS,Qb as NATIVE_PNG_OUTPUT_POLICY_FIELDS,Fb as PNG_DEFAULT_FONT_FAMILY,Mb as PNG_DEFAULT_MIN_LABEL_PX,fb as PNG_DEFAULT_SCALE,cc as PNG_FONT_SOURCES,dc as PNG_NAPI_RUNTIME,Ob as PNG_OUTPUT_OPTION_FIELDS,Nb as PNG_OUTPUT_OPTION_FIELD_DESCRIPTORS,db as PNG_OUTPUT_POLICY_VERSION,ec as PNG_WASM_RUNTIME,Pb as PORTABLE_PNG_OUTPUT_OPTION_FIELDS,A as PRIMITIVE_REALIZATIONS,v as PaintLayoutCertificationError,gb as RENDER_CONTRACT_VERSION,a as RENDER_OUTPUTS,hb as RENDER_OUTPUT_DESCRIPTORS,Cb as RESOURCE_MANIFEST,zb as RESOURCE_MANIFEST_VERSION,m as ROLE_STYLE_PROPERTY_DESCRIPTORS,mb as RenderCapabilityError,k as SCENE_CONTRACT_VERSION,s as SCENE_ROLE_DESCRIPTORS,Ta as SCENE_VALIDATION_LIMITS,Sa as SCENE_VALIDATION_VERSION,Ha as SEMANTIC_BINDING_CHANNELS,ib as SHARED_RENDER_OPTION_FIELDS,Ga as STYLE_COLOR_TOKEN_DESCRIPTORS,Ia as STYLE_SPEC_FIELD_DESCRIPTORS,Fa as STYLE_SPEC_FORMAT_VERSION,Ua as SceneValidationError,sb as TERMINAL_BOUNDED_PADDING_X,ub as TERMINAL_DEFAULT_BOX_BORDER_PADDING,rb as TERMINAL_DEFAULT_PADDING_X,tb as TERMINAL_DEFAULT_PADDING_Y,eb as TERMINAL_OUTPUT_POLICY_VERSION,h as TEXT_MEASUREMENT_CONTRACT,vb as TerminalOutputPolicyError,J as UNREGISTERED_FAMILY_CAPABILITY_STATES,D as UPSTREAM_MERMAID_FAMILY_INDEX,xa as WARNING_SEVERITY,ya as WARNING_TIER,gc as analyzeMermaid,hc as analyzeMermaidSource,Ac as applyOps,ma as asArchitecture,ea as asBlock,ra as asC4,ja as asClass,ka as asEr,Aa as asEventModeling,fa as asFlowchart,ta as asGantt,va as asGitGraph,da as asIshikawa,la as asJourney,aa as asKanban,ua as asMindmap,$ as asPacket,oa as asPie,pa as asQuadrant,qa as asRadar,ba as asRequirement,sa as asSankey,ha as asSequence,ga as asState,ia as asTimeline,ca as asTreemap,na as asXyChart,Ba as asZenUML,lc as asciiToMermaid,Xb as assertHostedPngRasterBudget,Wb as assertPngRasterBudget,Wa as assertValidSceneDoc,zc as buildChecked,yb as buildExternalScene,vc as buildMermaid,O as builtinFamilyMetadata,Ec as checkMermaid,Fc as checkMermaidSource,Nc as checkQuality,Ca as classifyMermaidFamilyFromFirstLine,ic as collectActionRecords,l as createExtensionIdentity,uc as createMermaid,Wc as createMermaidPNGRenderer,L as declareFamilyScenePrimitiveEvidence,Hc as describeMermaid,Cc as describeMermaidFacts,Dc as describeMermaidFactsSource,Gc as describeMermaidSource,Ic as describeMermaidTree,pc as describeOps,W as detectRegisteredFamilyFromFirstLine,Ea as edgeIdOf,T as effectiveFamilyCapabilityState,_ as err,E as findUpstreamFamilyByHeader,cb as getBackend,R as getFamily,S as getFamilyConformanceReport,Na as getStyle,mc as hasOpSchema,Eb as hostedFontResource,Qa as inferBackend,P as isBuiltinFamilyId,Q as isExternalFamilyId,bb as knownBackendDescriptors,V as knownBuiltinFamilies,U as knownFamilies,Pa as knownStyleDescriptors,Oa as knownStyles,Bc as layoutCertificateProof,Tc as layoutMermaid,Sc as layoutMermaidWithReceipt,Mc as measureQuality,i as measureText,j as measureTextWidth,rc as mutate,sc as mutateChecked,tc as mutatePreservingSource,e as negotiateCapabilities,g as negotiateRenderCapabilities,Yb as normalizePortablePngBackground,Z as ok,$b as omitPngOutputOptions,oc as opMenu,qc as opSignatures,qb as parseRegisteredMermaid,c as parseSemVer,fc as pngNapiRuntimeProvenance,Sb as pngOutputOptionsJsonSchema,Ub as pngRasterDimensions,Vb as prepareSvgForPngRasterization,_b as projectNativePngOutputPolicyInput,Zb as projectPortablePngOutputOptions,wc as projectPositionedView,ab as registerBackend,Jc as registerFamily,La as registerStyle,Qc as renderMermaidASCII,kc as renderMermaidASCIIWithMeta,Rc as renderMermaidASCIIWithReceipt,Uc as renderMermaidPNG,Vc as renderMermaidPNGWithReceipt,Oc as renderMermaidSVG,Pc as renderMermaidSVGWithReceipt,Xc as renderMermaidWithActions,bc as resolvePngOutputPolicy,ac as resolvePortablePngOutputPolicy,t as resolveSceneRoleTraits,Ma as resolveStyleReference,Ra as resolveStyleStack,wb as resolveTerminalOutputPolicy,_a as runBackendConformance,u as sceneRoleTraits,d as semVerSatisfies,ob as serializeMermaid,kb as sharedRenderOptionsJsonSchema,lb as styleInputJsonSchema,Ka as styleSpecJsonSchema,Tb as svgIntrinsicDimensions,pb as synthesizeFromGraph,B as terminalConnectorCapabilityClaims,wa as toFinite,nc as validateOp,C as validatePrimitiveCapabilities,Db as validateResourceManifest,Va as validateSceneDoc,jb as validateSerializableRenderOptions,Ja as validateStyleSpec,xc as verifyMermaid,w as verifyNoExternalRefs,Ab as verifyResourceBytes,yc as verifySummary};
|
|
2
2
|
//# sourceMappingURL=agent.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{d as e}from"./chunk-
|
|
2
|
+
import{d as e}from"./chunk-H3NCS2XZ.js";import"./chunk-7PPW2BMO.js";import"./chunk-VUFVLGTH.js";var i=await e(process.argv.slice(2));if(i!==0)process.exit(i);
|
|
3
3
|
//# sourceMappingURL=agentic-mermaid-mcp.js.map
|
package/dist/am.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{p as e}from"./chunk-MKE7GNYU.js";import"./chunk-XU5LPD2D.js";import"./chunk-O7H2UX5K.js";import"./chunk-3LGLPG33.js";import"./chunk-VUFVLGTH.js";async function t(r){if(r[0]==="mcp"){const{runMcpCli:s}=await import("./mcp-cli-
|
|
2
|
+
import{p as e}from"./chunk-MKE7GNYU.js";import"./chunk-XU5LPD2D.js";import"./chunk-O7H2UX5K.js";import"./chunk-3LGLPG33.js";import"./chunk-VUFVLGTH.js";async function t(r){if(r[0]==="mcp"){const{runMcpCli:s}=await import("./mcp-cli-63DYXTVD.js");return s(r.slice(1))}const i=e(r);if("exitCode"in i)return i.exitCode;const{runPreparedCli:o}=await import("./cli-YGGTJZH7.js");return o(i)}var n=await t(process.argv.slice(2));if(n!==0)process.exit(n);
|
|
3
3
|
//# sourceMappingURL=am.js.map
|