agentic-mermaid 0.3.1 → 0.4.0
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/CHANGELOG.md +119 -0
- package/dist/agent-core.d.ts +2 -2
- package/dist/agent-core.js +2 -2
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +4 -4
- package/dist/agentic-mermaid-mcp.js +5 -5
- package/dist/am.js +6 -6
- package/dist/browser-lazy/chunks/{architecture-3CGEU363.js → architecture-NUJTDJJ7.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-VDTSULBU.js → chunk-2W3BS3M3.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-HZ4ADQMK.js → chunk-4RLZTVJP.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-CTVVJPMX.js → chunk-4ZURJQXD.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-RVO6J7S3.js → chunk-55F5M5XA.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-MMWVZP6M.js → chunk-5QI4P3EJ.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-DPSSG7LR.js → chunk-6LBHOBXT.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-JX5ZZY3T.js → chunk-ASPYKC6M.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-FXBBGAMJ.js → chunk-DQHK4JCG.js} +2 -2
- package/dist/browser-lazy/chunks/{chunk-6UT2VTFI.js → chunk-EKHEVTE2.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-4IUBLBJJ.js → chunk-HO5GDIPN.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-4U2TVB2S.js → chunk-N2K2BPQT.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-2U4EUPSI.js → chunk-OLQF6DTZ.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-7D24ZLOV.js → chunk-TCPK32QH.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-KTTWXSIX.js → chunk-UO3RFEMI.js} +1 -1
- package/dist/browser-lazy/chunks/{chunk-PXRUFH7U.js → chunk-ZMPTJUXS.js} +1 -1
- package/dist/browser-lazy/chunks/{class-B3AVLSIF.js → class-ABIOBAFL.js} +1 -1
- package/dist/browser-lazy/chunks/{er-AF4BKKKC.js → er-CX3NGEC2.js} +1 -1
- package/dist/browser-lazy/chunks/{flowchart-BE6BQZLZ.js → flowchart-ML54IJ7F.js} +1 -1
- package/dist/browser-lazy/chunks/{gantt-U4BMMSEL.js → gantt-ZMOMOTF6.js} +1 -1
- package/dist/browser-lazy/chunks/{gitgraph-UPSWNFRP.js → gitgraph-OBTCRWCA.js} +1 -1
- package/dist/browser-lazy/chunks/{journey-PDZ7FDJR.js → journey-RJBHWLRG.js} +1 -1
- package/dist/browser-lazy/chunks/{mindmap-BFEUURLS.js → mindmap-YXHLCHOO.js} +1 -1
- package/dist/browser-lazy/chunks/{pie-ZFYW5JZO.js → pie-TN2QOLSL.js} +1 -1
- package/dist/browser-lazy/chunks/{quadrant-XJVEYYXK.js → quadrant-QE5JZ4H2.js} +1 -1
- package/dist/browser-lazy/chunks/{radar-OVXFNRNC.js → radar-ZPV6O27I.js} +1 -1
- package/dist/browser-lazy/chunks/{render-core-R4ZGGEFS.js → render-core-VPMAH3HT.js} +2 -2
- package/dist/browser-lazy/chunks/{sequence-AWY6JCSB.js → sequence-4AERT525.js} +1 -1
- package/dist/browser-lazy/chunks/{state-TCE4DXKR.js → state-67TZ7USF.js} +1 -1
- package/dist/browser-lazy/chunks/{timeline-W4ZVT3FF.js → timeline-AHOAT7ZL.js} +1 -1
- package/dist/browser-lazy/chunks/{xychart-K3QQACKS.js → xychart-YUY3CPT2.js} +1 -1
- package/dist/browser-lazy/index.js +1 -1
- package/dist/browser.global.js +6 -6
- package/dist/{chunk-BSVM3VMO.js → chunk-M3VTTD3Q.js} +2 -2
- package/dist/{chunk-XVY324NY.js → chunk-PG4PTPJL.js} +10 -8
- package/dist/{chunk-KQMJ37OY.js → chunk-QWCD67AZ.js} +4 -4
- package/dist/{chunk-JJ7JRYZV.js → chunk-SDJYD4OP.js} +2 -2
- package/dist/{chunk-MBIR6S3B.js → chunk-UKLKEZBJ.js} +2 -2
- package/dist/{chunk-FGO3J7RA.js → chunk-WMFFVZ4Q.js} +677 -48
- package/dist/{index-Do8z5rPq.d.ts → index-BoqfBufn.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp-cli-YOAFIAVD.js +17 -0
- package/docs/mcp-http-transport.md +2 -0
- package/docs/style-authoring.md +1 -1
- package/package.json +16 -4
- package/server.json +2 -2
- package/skills/agentic-mermaid-diagram-workflow/SKILL.md +64 -1
- package/skills/agentic-mermaid-diagram-workflow/references/hosted-mcp.md +110 -0
- package/dist/mcp-cli-7FLGTEG3.js +0 -17
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
visualWidth,
|
|
94
94
|
wcagCssContrastRatio,
|
|
95
95
|
wrapperPrefix
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-PG4PTPJL.js";
|
|
97
97
|
|
|
98
98
|
// src/agent/trace-log.ts
|
|
99
99
|
var appendFn;
|
|
@@ -4712,4 +4712,4 @@ export {
|
|
|
4712
4712
|
layoutMermaidWithReceipt,
|
|
4713
4713
|
layoutMermaid
|
|
4714
4714
|
};
|
|
4715
|
-
//# sourceMappingURL=chunk-
|
|
4715
|
+
//# sourceMappingURL=chunk-M3VTTD3Q.js.map
|
|
@@ -174,7 +174,7 @@ function negotiateRenderCapabilityTuple(output, tuple) {
|
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
// src/version.ts
|
|
177
|
-
var PACKAGE_VERSION = "0.
|
|
177
|
+
var PACKAGE_VERSION = "0.4.0";
|
|
178
178
|
|
|
179
179
|
// src/shared/extension-identity.ts
|
|
180
180
|
function sameExtensionIdentity(left, right2) {
|
|
@@ -524,7 +524,7 @@ var SCENE_ROLE_DESCRIPTORS = Object.freeze(
|
|
|
524
524
|
id: `role:${role}`,
|
|
525
525
|
kind: "role",
|
|
526
526
|
version: "1.0.0",
|
|
527
|
-
compatibility: { core: "^0.
|
|
527
|
+
compatibility: { core: "^0.4.0", scene: "^2.0.0" },
|
|
528
528
|
provenance: { owner: "agentic-mermaid", source: "built-in", reference: "src/scene/roles.ts" }
|
|
529
529
|
}),
|
|
530
530
|
role,
|
|
@@ -28659,7 +28659,7 @@ ${pageRect}` : sceneNodeSerialization(part)).join("\n");
|
|
|
28659
28659
|
}
|
|
28660
28660
|
};
|
|
28661
28661
|
var CORE_BACKEND_VERSION = "1.0.0";
|
|
28662
|
-
var CORE_BACKEND_COMPATIBILITY = Object.freeze({ core: "^0.
|
|
28662
|
+
var CORE_BACKEND_COMPATIBILITY = Object.freeze({ core: "^0.4.0", scene: "^2.0.0" });
|
|
28663
28663
|
var CORE_BACKEND_PROVENANCE = Object.freeze({
|
|
28664
28664
|
owner: "agentic-mermaid",
|
|
28665
28665
|
source: "built-in",
|
|
@@ -30628,7 +30628,7 @@ var INTERNAL_STYLE_FACE_PROJECTION = Object.freeze({
|
|
|
30628
30628
|
group: Object.freeze({ sourceRole: "group", fields: Object.freeze([...INTERNAL_TEXT_FACE_FIELDS, ...INTERNAL_BOX_FACE_FIELDS, "fontFamily", "headerFillColor"]) })
|
|
30629
30629
|
});
|
|
30630
30630
|
var CORE_STYLE_VERSION = "1.0.0";
|
|
30631
|
-
var CORE_STYLE_COMPATIBILITY = Object.freeze({ core: "^0.
|
|
30631
|
+
var CORE_STYLE_COMPATIBILITY = Object.freeze({ core: "^0.4.0" });
|
|
30632
30632
|
var CORE_STYLE_PROVENANCE = Object.freeze({
|
|
30633
30633
|
owner: "agentic-mermaid",
|
|
30634
30634
|
source: "built-in",
|
|
@@ -54284,8 +54284,10 @@ function resolveAppearance(input) {
|
|
|
54284
54284
|
const styled = style !== void 0 && isStyledSpec(style);
|
|
54285
54285
|
if (styled) effective = applyStyleDefaults(effective, style, source.config.themeVariables);
|
|
54286
54286
|
const font = options.font ?? source.config.fontFamily ?? readThemeValue(source.config.themeVariables, "fontFamily") ?? effective.font ?? "Inter";
|
|
54287
|
+
const { style: _unresolvedStyle, ...canonicalEffective } = effective;
|
|
54287
54288
|
const baseRenderOptions = {
|
|
54288
|
-
...
|
|
54289
|
+
...canonicalEffective,
|
|
54290
|
+
...style ? { style } : {},
|
|
54289
54291
|
font,
|
|
54290
54292
|
mermaidConfig: source.config
|
|
54291
54293
|
};
|
|
@@ -56177,7 +56179,7 @@ function completeBuiltinDescriptor(seed) {
|
|
|
56177
56179
|
id: `family:${seed.id}`,
|
|
56178
56180
|
kind: "family",
|
|
56179
56181
|
version: "1.0.0",
|
|
56180
|
-
compatibility: { core: "^0.
|
|
56182
|
+
compatibility: { core: "^0.4.0" },
|
|
56181
56183
|
provenance: { owner: "agentic-mermaid", source: "built-in" }
|
|
56182
56184
|
}),
|
|
56183
56185
|
collisionPriority: 100,
|
|
@@ -60926,7 +60928,7 @@ var HOSTED_FONT_RESOURCES = Object.freeze(
|
|
|
60926
60928
|
id: `resource:${fontResourceLocalId(face)}`,
|
|
60927
60929
|
kind: "resource",
|
|
60928
60930
|
version: "1.0.0",
|
|
60929
|
-
compatibility: { core: "^0.
|
|
60931
|
+
compatibility: { core: "^0.4.0" },
|
|
60930
60932
|
provenance: { owner: "agentic-mermaid", source: "bundled", reference: `assets/fonts/${face.file}` }
|
|
60931
60933
|
})
|
|
60932
60934
|
}))
|
|
@@ -62031,4 +62033,4 @@ export {
|
|
|
62031
62033
|
renderMermaidSVGWithReceipt,
|
|
62032
62034
|
renderMermaidSVGAsync
|
|
62033
62035
|
};
|
|
62034
|
-
//# sourceMappingURL=chunk-
|
|
62036
|
+
//# sourceMappingURL=chunk-PG4PTPJL.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderMermaidPNG
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UKLKEZBJ.js";
|
|
4
4
|
import {
|
|
5
5
|
collectActionRecords,
|
|
6
6
|
layoutMermaid,
|
|
7
7
|
renderMermaidASCIIWithMeta,
|
|
8
8
|
renderMermaidSVG
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M3VTTD3Q.js";
|
|
10
10
|
import {
|
|
11
11
|
SHARED_RENDER_OPTION_FIELDS,
|
|
12
12
|
decodedSvgAttributeValue,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
prepareRenderInput,
|
|
16
16
|
scanSvgStartTags,
|
|
17
17
|
toFinite
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PG4PTPJL.js";
|
|
19
19
|
|
|
20
20
|
// src/agent/index.ts
|
|
21
21
|
function sharedRenderOptions(options) {
|
|
@@ -146,4 +146,4 @@ function renderMermaidWithActions(input, request) {
|
|
|
146
146
|
export {
|
|
147
147
|
renderMermaidWithActions
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-QWCD67AZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AsciiWidthError,
|
|
3
3
|
MermaidFamilyDetectionError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PG4PTPJL.js";
|
|
5
5
|
|
|
6
6
|
// src/render-error-diagnostic.ts
|
|
7
7
|
function projectKnownRenderErrorDiagnostic(error) {
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
projectKnownRenderErrorDiagnostic,
|
|
35
35
|
projectRenderErrorDiagnostic
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-SDJYD4OP.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
renderPngGraphicalProjection,
|
|
14
14
|
snapshotHostBackendPolicy,
|
|
15
15
|
snapshotResourceManifest
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PG4PTPJL.js";
|
|
17
17
|
|
|
18
18
|
// src/agent/png.ts
|
|
19
19
|
import { fileURLToPath } from "url";
|
|
@@ -612,4 +612,4 @@ export {
|
|
|
612
612
|
renderMermaidPNGWithReceipt,
|
|
613
613
|
createMermaidPNGRenderer
|
|
614
614
|
};
|
|
615
|
-
//# sourceMappingURL=chunk-
|
|
615
|
+
//# sourceMappingURL=chunk-UKLKEZBJ.js.map
|