Skip to content

Commit ec8f06e

Browse files
committed
Revert strict spec
1 parent 304e871 commit ec8f06e

File tree

1 file changed

+22
-26
lines changed

1 file changed

+22
-26
lines changed

plugin.json

+22-26
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
11
{
2-
"id": "render_mermaid_diagram",
3-
"uuid": "0bb7f6b3-d454-4ddd-a140-06d5dc2cd24d",
4-
"title": "Mermaid Diagram",
5-
"iconURL": "https://raw.githubusercontent.com/TypingMind/plugin-mermaid-diagram/main/mermaid.svg",
6-
"openaiSpec": {
7-
"name": "render_mermaid_diagram",
8-
"strict": true,
9-
"parameters": {
10-
"type": "object",
11-
"required": [
12-
"title",
13-
"source"
14-
],
15-
"properties": {
16-
"title": {
17-
"type": "string",
18-
"description": "The title of the diagram."
19-
},
20-
"source": {
21-
"type": "string",
22-
"description": "The Mermaid diagram source in raw text to render."
23-
}
24-
}
2+
"id": "render_mermaid_diagram",
3+
"uuid": "0bb7f6b3-d454-4ddd-a140-06d5dc2cd24d",
4+
"title": "Mermaid Diagram",
5+
"iconURL": "https://raw.githubusercontent.com/TypingMind/plugin-mermaid-diagram/main/mermaid.svg",
6+
"openaiSpec": {
7+
"name": "render_mermaid_diagram",
8+
"parameters": {
9+
"type": "object",
10+
"required": ["title", "source"],
11+
"properties": {
12+
"title": {
13+
"type": "string",
14+
"description": "The title of the diagram."
2515
},
26-
"description": "Generate a diagram using Mermaid.js (version 10.x). This can be used to render various types of diagrams, including Flowchart, Sequence Diagram, Class Diagram, State Diagram, Entity Relationship Diagram, User Journey, Gantt, Pie Chart, Quadrant Chart, Requirement Diagram, Gitgraph Diagram, C4 Diagram, Mindmaps, Timeline, Zenuml, Sankey, XYChart, Block Diagram, etc."
16+
"source": {
17+
"type": "string",
18+
"description": "The Mermaid diagram source in raw text to render."
19+
}
20+
}
2721
},
28-
"implementationType": "javascript",
29-
"outputType": "render_html"
22+
"description": "Generate a diagram using Mermaid.js (version 10.x). This can be used to render various types of diagrams, including Flowchart, Sequence Diagram, Class Diagram, State Diagram, Entity Relationship Diagram, User Journey, Gantt, Pie Chart, Quadrant Chart, Requirement Diagram, Gitgraph Diagram, C4 Diagram, Mindmaps, Timeline, Zenuml, Sankey, XYChart, Block Diagram, etc."
23+
},
24+
"implementationType": "javascript",
25+
"outputType": "render_html"
3026
}

0 commit comments

Comments
 (0)