@senad-d/drawme 0.1.2 → 0.1.4
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 +42 -0
- package/README.md +29 -29
- package/SECURITY.md +33 -0
- package/assets/data/SHAPE-INDEX-NOTICE.md +2 -2
- package/assets/references/diagram-types.md +7 -7
- package/assets/references/mermaid-authoring.md +50 -39
- package/assets/references/troubleshooting.md +3 -18
- package/assets/references/xml-authoring.md +29 -5
- package/docs/agent-guide.md +55 -51
- package/docs/visual-review-implementation-tasks.md +271 -0
- package/example/drawme-how-it-works.drawio +124 -0
- package/example/drawme-installation-guide.drawio +107 -0
- package/example/git-graph-example.drawio +209 -0
- package/package.json +22 -9
- package/src/dom.ts +2 -2
- package/src/drawio.ts +116 -8
- package/src/explain.ts +4 -5
- package/src/index.ts +36 -13
- package/src/png.ts +2 -3
- package/src/shapesearch.ts +6 -8
- package/src/validate.ts +517 -129
- package/src/workflow.ts +28 -14
- package/tsconfig.json +17 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<mxfile host="drawio" version="31.1.5">
|
|
3
|
+
<diagram id="drawme-overview" name="How DrawMe Works">
|
|
4
|
+
<mxGraphModel dx="1800" dy="1300" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1920" pageHeight="1360" math="0" shadow="0" background="#ffffff">
|
|
5
|
+
<root>
|
|
6
|
+
<mxCell id="0" />
|
|
7
|
+
<mxCell id="1" parent="0" />
|
|
8
|
+
<mxCell id="2" value="DrawMe: from a prompt to an editable diagram" style="text;html=1;align=left;verticalAlign=middle;fontSize=30;fontStyle=1;fontColor=#17365D;" vertex="1" parent="1">
|
|
9
|
+
<mxGeometry x="40" y="20" width="1350" height="50" as="geometry" />
|
|
10
|
+
</mxCell>
|
|
11
|
+
<mxCell id="3" value="A Pi extension for authoring, per-edit validation, five focused review passes, approval, and editable exports" style="text;html=1;align=left;verticalAlign=middle;fontSize=16;fontColor=#4F6475;" vertex="1" parent="1">
|
|
12
|
+
<mxGeometry x="40" y="70" width="1350" height="40" as="geometry" />
|
|
13
|
+
</mxCell>
|
|
14
|
+
<mxCell id="4" value="FOCUSED REVIEW • APPROVAL-GATED • EDITABLE" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="1">
|
|
15
|
+
<mxGeometry x="1450" y="35" width="390" height="50" as="geometry" />
|
|
16
|
+
</mxCell>
|
|
17
|
+
<mxCell id="5" value="1 END-TO-END WORKFLOW" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
18
|
+
<mxGeometry x="40" y="130" width="1800" height="440" as="geometry" />
|
|
19
|
+
</mxCell>
|
|
20
|
+
<mxCell id="6" value="<b><font color="#1F4E78">1 · CHECK</font></b><br><br>Find the draw.io CLI<br>Read its version<br>Gate v30+ features" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
21
|
+
<mxGeometry x="30" y="80" width="190" height="250" as="geometry" />
|
|
22
|
+
</mxCell>
|
|
23
|
+
<mxCell id="7" value="<b><font color="#1F4E78">2 · PLAN</font></b><br><br>Choose diagram type<br>Define relationships<br>Size a finite canvas<br>Select LR or TB flow" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
24
|
+
<mxGeometry x="250" y="80" width="190" height="250" as="geometry" />
|
|
25
|
+
</mxCell>
|
|
26
|
+
<mxCell id="8" value="<b><font color="#1F4E78">3 · AUTHOR</font></b><br><br>Mermaid on v30+<br>or native draw.io XML<br>Use exact official shapes" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
27
|
+
<mxGeometry x="470" y="80" width="190" height="250" as="geometry" />
|
|
28
|
+
</mxCell>
|
|
29
|
+
<mxCell id="9" value="<b><font color="#1F4E78">4 · VALIDATE</font></b><br><br>After every source edit<br>Fix every error<br>Review each warning" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
30
|
+
<mxGeometry x="690" y="80" width="190" height="250" as="geometry" />
|
|
31
|
+
</mxCell>
|
|
32
|
+
<mxCell id="10" value="<b><font color="#1F4E78">5 · FOCUSED PREVIEWS</font></b><br><br>Named clean PNGs<br>Canvas &amp; composition<br>Nodes &amp; typography<br>Connectors<br>Semantics &amp; polish<br>Holistic regression" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
33
|
+
<mxGeometry x="910" y="80" width="190" height="250" as="geometry" />
|
|
34
|
+
</mxCell>
|
|
35
|
+
<mxCell id="11" value="<b><font color="#1F4E78">6 · BOUND CORRECTIONS</font></b><br><br>Five inspections<br>do not count as retries<br>Max 5 targeted retries<br>Edit → validate → preview" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFF7E6;strokeColor=#D6B656;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
36
|
+
<mxGeometry x="1130" y="80" width="190" height="250" as="geometry" />
|
|
37
|
+
</mxCell>
|
|
38
|
+
<mxCell id="12" value="<b><font color="#1F4E78">7 · HUMAN REVIEW</font></b><br><br>Show holistic preview<br>Apply targeted feedback<br>Recheck pass + regression<br>Require explicit approval" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
39
|
+
<mxGeometry x="1350" y="80" width="190" height="250" as="geometry" />
|
|
40
|
+
</mxCell>
|
|
41
|
+
<mxCell id="36" value="<b><font color="#2D5E36">8 · FINAL EXPORT</font></b><br><br>Only after approval<br>Export requested formats<br>PNG • SVG • PDF • JPG<br>Embed when supported<br>Clean latest preview" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=13;fontColor=#263746;fillColor=#EAF4E8;strokeColor=#82B366;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
42
|
+
<mxGeometry x="1570" y="80" width="190" height="250" as="geometry" />
|
|
43
|
+
</mxCell>
|
|
44
|
+
<mxCell id="13" value="2 ARCHITECTURE AND RESPONSIBILITIES" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
45
|
+
<mxGeometry x="40" y="600" width="1800" height="300" as="geometry" />
|
|
46
|
+
</mxCell>
|
|
47
|
+
<mxCell id="14" value="<b>Natural-language request</b><br><br>User runs /drawme" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="13">
|
|
48
|
+
<mxGeometry x="50" y="70" width="230" height="120" as="geometry" />
|
|
49
|
+
</mxCell>
|
|
50
|
+
<mxCell id="15" value="<b>Pi AI agent</b><br><br>Plans and authors<br>Orchestrates the loop" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="13">
|
|
51
|
+
<mxGeometry x="360" y="70" width="270" height="120" as="geometry" />
|
|
52
|
+
</mxCell>
|
|
53
|
+
<mxCell id="16" value="<b>DrawMe extension</b><br><br>check • validate • export • shape search<br>Mermaid • layout • explain • open" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#EAF2F8;strokeColor=#1F4E78;strokeWidth=3;shadow=1;" vertex="1" parent="13">
|
|
54
|
+
<mxGeometry x="710" y="70" width="370" height="120" as="geometry" />
|
|
55
|
+
</mxCell>
|
|
56
|
+
<mxCell id="17" value="<b>draw.io desktop CLI</b><br><br>Renders and exports<br>Invoked by DrawMe tools" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="13">
|
|
57
|
+
<mxGeometry x="1160" y="70" width="250" height="120" as="geometry" />
|
|
58
|
+
</mxCell>
|
|
59
|
+
<mxCell id="18" value="<b>Deliverables</b><br><br>.drawio source<br>PNG • SVG • PDF • JPG" style="rounded=1;arcSize=12;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#EAF4E8;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="13">
|
|
60
|
+
<mxGeometry x="1490" y="70" width="260" height="120" as="geometry" />
|
|
61
|
+
</mxCell>
|
|
62
|
+
<mxCell id="19" value="<b>Compatibility</b> • XML authoring, validation, preview, and export work on older releases • Mermaid conversion and ELK auto-layout require draw.io v30+" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontColor=#405466;fillColor=#F3F6F8;strokeColor=#AAB7C4;dashed=1;" vertex="1" parent="13">
|
|
63
|
+
<mxGeometry x="80" y="220" width="1640" height="45" as="geometry" />
|
|
64
|
+
</mxCell>
|
|
65
|
+
<mxCell id="20" value="3 WHAT DRAWME IS CAPABLE OF" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
66
|
+
<mxGeometry x="40" y="930" width="1800" height="390" as="geometry" />
|
|
67
|
+
</mxCell>
|
|
68
|
+
<mxCell id="21" value="<b><font color="#1F4E78">AUTHOR AND UNDERSTAND</font></b><br><br>• Natural language → draw.io<br>• Flowchart, architecture, UML, BPMN, ERD, C4, network, ML<br>• Mermaid on v30+ or native XML<br>• 10k+ indexed official shapes" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=18;spacingLeft=18;spacingRight=15;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="20">
|
|
69
|
+
<mxGeometry x="40" y="75" width="400" height="250" as="geometry" />
|
|
70
|
+
</mxCell>
|
|
71
|
+
<mxCell id="22" value="<b><font color="#1F4E78">QUALITY AND REVIEW</font></b><br><br>• Validate after every source edit<br>• IDs, bounds, endpoints, and geometry<br>• Overlap, crossing, and route warnings<br>• Five ordered visual quality passes<br>• Five-retry cap and explicit approval gate" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=18;spacingLeft=18;spacingRight=15;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="20">
|
|
72
|
+
<mxGeometry x="480" y="75" width="400" height="250" as="geometry" />
|
|
73
|
+
</mxCell>
|
|
74
|
+
<mxCell id="23" value="<b><font color="#1F4E78">EXPORT AND DELIVER</font></b><br><br>• PNG, SVG, PDF, and JPG<br>• Editable XML in final PNG, SVG, and PDF<br>• Approval-gated final export<br>• Scale, width, border, and transparency<br>• Multi-page selection and desktop fine-tuning" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=18;spacingLeft=18;spacingRight=15;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="20">
|
|
75
|
+
<mxGeometry x="920" y="75" width="400" height="250" as="geometry" />
|
|
76
|
+
</mxCell>
|
|
77
|
+
<mxCell id="24" value="<b><font color="#2D5E36">EXTEND AND REUSE</font></b><br><br>• Explain existing diagrams as Markdown<br>• ELK layouts on v30+<br>• macOS, Linux, Windows, WSL, and headless Linux<br>• Packaged authoring references<br>• Eight model-callable tools and three commands" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=18;spacingLeft=18;spacingRight=15;fontSize=14;fontColor=#263746;fillColor=#F3F9F1;strokeColor=#82B366;strokeWidth=2;shadow=1;" vertex="1" parent="20">
|
|
78
|
+
<mxGeometry x="1360" y="75" width="400" height="250" as="geometry" />
|
|
79
|
+
</mxCell>
|
|
80
|
+
<mxCell id="25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="6" target="7">
|
|
81
|
+
<mxGeometry relative="1" as="geometry" />
|
|
82
|
+
</mxCell>
|
|
83
|
+
<mxCell id="26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="7" target="8">
|
|
84
|
+
<mxGeometry relative="1" as="geometry" />
|
|
85
|
+
</mxCell>
|
|
86
|
+
<mxCell id="27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="8" target="9">
|
|
87
|
+
<mxGeometry relative="1" as="geometry" />
|
|
88
|
+
</mxCell>
|
|
89
|
+
<mxCell id="28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="9" target="10">
|
|
90
|
+
<mxGeometry relative="1" as="geometry" />
|
|
91
|
+
</mxCell>
|
|
92
|
+
<mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="10" target="11">
|
|
93
|
+
<mxGeometry relative="1" as="geometry" />
|
|
94
|
+
</mxCell>
|
|
95
|
+
<mxCell id="30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="11" target="12">
|
|
96
|
+
<mxGeometry relative="1" as="geometry" />
|
|
97
|
+
</mxCell>
|
|
98
|
+
<mxCell id="31" value="feedback → targeted edit + affected recheck" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;dashed=1;dashPattern=8 4;strokeColor=#6C8EBF;strokeWidth=2;fontSize=12;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=0.5;exitY=1;entryX=0.5;entryY=1;" edge="1" parent="1" source="12" target="8">
|
|
99
|
+
<mxGeometry relative="1" as="geometry">
|
|
100
|
+
<Array as="points">
|
|
101
|
+
<mxPoint x="1485" y="540" />
|
|
102
|
+
<mxPoint x="605" y="540" />
|
|
103
|
+
</Array>
|
|
104
|
+
</mxGeometry>
|
|
105
|
+
</mxCell>
|
|
106
|
+
<mxCell id="37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="12" target="36">
|
|
107
|
+
<mxGeometry relative="1" as="geometry" />
|
|
108
|
+
</mxCell>
|
|
109
|
+
<mxCell id="32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="14" target="15">
|
|
110
|
+
<mxGeometry relative="1" as="geometry" />
|
|
111
|
+
</mxCell>
|
|
112
|
+
<mxCell id="33" value="orchestrates" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="15" target="16">
|
|
113
|
+
<mxGeometry relative="1" as="geometry" />
|
|
114
|
+
</mxCell>
|
|
115
|
+
<mxCell id="34" value="invokes" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="16" target="17">
|
|
116
|
+
<mxGeometry relative="1" as="geometry" />
|
|
117
|
+
</mxCell>
|
|
118
|
+
<mxCell id="35" value="writes" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="17" target="18">
|
|
119
|
+
<mxGeometry relative="1" as="geometry" />
|
|
120
|
+
</mxCell>
|
|
121
|
+
</root>
|
|
122
|
+
</mxGraphModel>
|
|
123
|
+
</diagram>
|
|
124
|
+
</mxfile>
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<mxfile host="drawio" version="31.1.5">
|
|
3
|
+
<diagram id="drawme-install" name="Install DrawMe">
|
|
4
|
+
<mxGraphModel dx="1800" dy="1300" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1920" pageHeight="1360" math="0" shadow="0" background="#FFFFFF">
|
|
5
|
+
<root>
|
|
6
|
+
<mxCell id="0" />
|
|
7
|
+
<mxCell id="1" parent="0" />
|
|
8
|
+
<mxCell id="2" value="Install DrawMe for Pi" style="text;html=1;align=left;verticalAlign=middle;fontSize=32;fontStyle=1;fontColor=#17365D;" vertex="1" parent="1">
|
|
9
|
+
<mxGeometry x="40" y="20" width="1000" height="50" as="geometry" />
|
|
10
|
+
</mxCell>
|
|
11
|
+
<mxCell id="3" value="From prerequisites to an approval-gated, editable .drawio export" style="text;html=1;align=left;verticalAlign=middle;fontSize=17;fontColor=#4F6475;" vertex="1" parent="1">
|
|
12
|
+
<mxGeometry x="40" y="70" width="1100" height="40" as="geometry" />
|
|
13
|
+
</mxCell>
|
|
14
|
+
<mxCell id="4" value="LOCAL RENDERING • HUMAN APPROVAL • EDITABLE" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;strokeWidth=2;" vertex="1" parent="1">
|
|
15
|
+
<mxGeometry x="1370" y="35" width="470" height="50" as="geometry" />
|
|
16
|
+
</mxCell>
|
|
17
|
+
<mxCell id="5" value="1 CHECK THE PREREQUISITES" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
18
|
+
<mxGeometry x="40" y="130" width="1800" height="230" as="geometry" />
|
|
19
|
+
</mxCell>
|
|
20
|
+
<mxCell id="6" value="<b><font color="#1F4E78">PI CODING AGENT</font></b><br><br>Pi must already be installed<br><font face="Courier New">pi --version</font>" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
21
|
+
<mxGeometry x="40" y="75" width="500" height="120" as="geometry" />
|
|
22
|
+
</mxCell>
|
|
23
|
+
<mxCell id="7" value="<b><font color="#1F4E78">NODE.JS 22.19+</font></b><br><br>Required by DrawMe<br><font face="Courier New">node --version</font>" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
24
|
+
<mxGeometry x="650" y="75" width="500" height="120" as="geometry" />
|
|
25
|
+
</mxCell>
|
|
26
|
+
<mxCell id="8" value="<b><font color="#1F4E78">DRAW.IO DESKTOP</font></b><br><br>macOS: <font face="Courier New">brew install --cask drawio</font><br>Linux: prefer .deb / .rpm • Windows: official installer" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="5">
|
|
27
|
+
<mxGeometry x="1260" y="75" width="500" height="120" as="geometry" />
|
|
28
|
+
</mxCell>
|
|
29
|
+
<mxCell id="9" value="↓" style="text;html=1;align=center;verticalAlign=middle;fontSize=24;fontStyle=1;fontColor=#1F4E78;" vertex="1" parent="1">
|
|
30
|
+
<mxGeometry x="880" y="360" width="120" height="30" as="geometry" />
|
|
31
|
+
</mxCell>
|
|
32
|
+
<mxCell id="10" value="2 INSTALL DRAWME — CHOOSE ONE SCOPE" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
33
|
+
<mxGeometry x="40" y="390" width="1800" height="360" as="geometry" />
|
|
34
|
+
</mxCell>
|
|
35
|
+
<mxCell id="11" value="Choose scope" style="rhombus;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=16;fontStyle=1;fontColor=#6B5500;fillColor=#FFF2CC;strokeColor=#D6B656;strokeWidth=2;" vertex="1" parent="10">
|
|
36
|
+
<mxGeometry x="760" y="60" width="280" height="90" as="geometry" />
|
|
37
|
+
</mxCell>
|
|
38
|
+
<mxCell id="12" value="<b><font color="#1F4E78">USER SCOPE · DEFAULT</font></b><br><br>Writes ~/.pi/agent/settings.json<br><font face="Courier New">pi install npm:@senad-d/drawme</font>" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#EAF2F8;strokeColor=#1F4E78;strokeWidth=3;shadow=1;" vertex="1" parent="10">
|
|
39
|
+
<mxGeometry x="70" y="180" width="500" height="115" as="geometry" />
|
|
40
|
+
</mxCell>
|
|
41
|
+
<mxCell id="13" value="<b><font color="#1F4E78">PROJECT-LOCAL · TEAM</font></b><br><br>Writes .pi/settings.json<br><font face="Courier New">pi install npm:@senad-d/drawme -l</font>" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="10">
|
|
42
|
+
<mxGeometry x="650" y="180" width="500" height="115" as="geometry" />
|
|
43
|
+
</mxCell>
|
|
44
|
+
<mxCell id="14" value="<b><font color="#1F4E78">ONE-TIME TRIAL</font></b><br><br>No settings change; current run only<br><font face="Courier New">pi -e npm:@senad-d/drawme</font>" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=12;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="10">
|
|
45
|
+
<mxGeometry x="1230" y="180" width="500" height="115" as="geometry" />
|
|
46
|
+
</mxCell>
|
|
47
|
+
<mxCell id="15" value="Git / pinned: <font face="Courier New">pi install git:senad-d/DrawMe@&lt;tag&gt;</font> • Checkout: <font face="Courier New">npm ci --ignore-scripts && npm run validate && pi --no-extensions -e .</font>" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontColor=#405466;fillColor=#F3F6F8;strokeColor=#AAB7C4;dashed=1;" vertex="1" parent="10">
|
|
48
|
+
<mxGeometry x="200" y="310" width="1400" height="35" as="geometry" />
|
|
49
|
+
</mxCell>
|
|
50
|
+
<mxCell id="16" value="↓" style="text;html=1;align=center;verticalAlign=middle;fontSize=24;fontStyle=1;fontColor=#1F4E78;" vertex="1" parent="1">
|
|
51
|
+
<mxGeometry x="880" y="750" width="120" height="30" as="geometry" />
|
|
52
|
+
</mxCell>
|
|
53
|
+
<mxCell id="17" value="3 LOAD, VERIFY, CREATE, AND APPROVE" style="swimlane;horizontal=1;startSize=46;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=17;fontStyle=1;fontColor=#FFFFFF;fillColor=#1F4E78;swimlaneFillColor=#F8FBFF;strokeColor=#6C8EBF;strokeWidth=2;" vertex="1" parent="1">
|
|
54
|
+
<mxGeometry x="40" y="780" width="1800" height="300" as="geometry" />
|
|
55
|
+
</mxCell>
|
|
56
|
+
<mxCell id="18" value="<b><font color="#1F4E78">LOAD</font></b><br><br>Start or restart Pi<br>Already running? Use <font face="Courier New">/reload</font>" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="17">
|
|
57
|
+
<mxGeometry x="40" y="85" width="300" height="150" as="geometry" />
|
|
58
|
+
</mxCell>
|
|
59
|
+
<mxCell id="19" value="<b><font color="#1F4E78">VERIFY</font></b><br><br><font face="Courier New">/drawme-check</font><br>Expect path, version, and v30+ support" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="17">
|
|
60
|
+
<mxGeometry x="390" y="85" width="300" height="150" as="geometry" />
|
|
61
|
+
</mxCell>
|
|
62
|
+
<mxCell id="20" value="<b><font color="#1F4E78">CREATE</font></b><br><br><font face="Courier New">/drawme Create a login flow</font><br>Agent authors, validates, and previews" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#6C8EBF;strokeWidth=2;shadow=1;" vertex="1" parent="17">
|
|
63
|
+
<mxGeometry x="740" y="85" width="300" height="150" as="geometry" />
|
|
64
|
+
</mxCell>
|
|
65
|
+
<mxCell id="21" value="<b><font color="#1F4E78">REVIEW &amp; APPROVE</font></b><br><br>Inspect the holistic preview<br>Request changes or explicitly approve" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#FFF7E6;strokeColor=#D6B656;strokeWidth=2;shadow=1;" vertex="1" parent="17">
|
|
66
|
+
<mxGeometry x="1090" y="85" width="300" height="150" as="geometry" />
|
|
67
|
+
</mxCell>
|
|
68
|
+
<mxCell id="32" value="<b><font color="#2D5E36">DONE</font></b><br><br>Editable .drawio source<br>PNG by default<br>SVG • PDF • JPG on request" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;spacing=10;fontSize=14;fontColor=#263746;fillColor=#EAF4E8;strokeColor=#82B366;strokeWidth=2;shadow=1;" vertex="1" parent="17">
|
|
69
|
+
<mxGeometry x="1440" y="85" width="300" height="150" as="geometry" />
|
|
70
|
+
</mxCell>
|
|
71
|
+
<mxCell id="22" value="TROUBLESHOOTING, TRUST, AND COMPATIBILITY" style="swimlane;horizontal=1;startSize=42;rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fontSize=16;fontStyle=1;fontColor=#FFFFFF;fillColor=#405466;swimlaneFillColor=#F8FAFB;strokeColor=#7E8E9E;strokeWidth=2;" vertex="1" parent="1">
|
|
72
|
+
<mxGeometry x="40" y="1110" width="1800" height="180" as="geometry" />
|
|
73
|
+
</mxCell>
|
|
74
|
+
<mxCell id="23" value="<b>CLI NOT FOUND?</b><br>Install draw.io Desktop at a standard path, then rerun <font face="Courier New">/drawme-check</font>. XML authoring and validation still work without it; v30+ only gates Mermaid and ELK layout." style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacing=12;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#AAB7C4;" vertex="1" parent="22">
|
|
75
|
+
<mxGeometry x="30" y="60" width="550" height="95" as="geometry" />
|
|
76
|
+
</mxCell>
|
|
77
|
+
<mxCell id="24" value="<b>EXTENSION NOT VISIBLE?</b><br>Run <font face="Courier New">pi list</font>, check <font face="Courier New">pi config</font>, and use <font face="Courier New">/reload</font>. Project-local packages load only after the project is trusted." style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacing=12;fontSize=13;fontColor=#263746;fillColor=#FFFFFF;strokeColor=#AAB7C4;" vertex="1" parent="22">
|
|
78
|
+
<mxGeometry x="625" y="60" width="550" height="95" as="geometry" />
|
|
79
|
+
</mxCell>
|
|
80
|
+
<mxCell id="25" value="<b>INSTALL TRUSTED CODE ONLY</b><br>Pi extensions inherit the Pi process permissions, so review sources before installation. DrawMe reads and writes requested diagram files and may launch draw.io or the OS file opener." style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacing=12;fontSize=13;fontColor=#2D5E36;fillColor=#F3F9F1;strokeColor=#82B366;" vertex="1" parent="22">
|
|
81
|
+
<mxGeometry x="1220" y="60" width="550" height="95" as="geometry" />
|
|
82
|
+
</mxCell>
|
|
83
|
+
<mxCell id="26" value="all projects" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=0.25;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="11" target="12">
|
|
84
|
+
<mxGeometry relative="1" as="geometry" />
|
|
85
|
+
</mxCell>
|
|
86
|
+
<mxCell id="27" value="this project" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="11" target="13">
|
|
87
|
+
<mxGeometry relative="1" as="geometry" />
|
|
88
|
+
</mxCell>
|
|
89
|
+
<mxCell id="28" value="current run" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=0.75;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="11" target="14">
|
|
90
|
+
<mxGeometry relative="1" as="geometry" />
|
|
91
|
+
</mxCell>
|
|
92
|
+
<mxCell id="29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="18" target="19">
|
|
93
|
+
<mxGeometry relative="1" as="geometry" />
|
|
94
|
+
</mxCell>
|
|
95
|
+
<mxCell id="30" value="CLI detected" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="19" target="20">
|
|
96
|
+
<mxGeometry relative="1" as="geometry" />
|
|
97
|
+
</mxCell>
|
|
98
|
+
<mxCell id="31" value="preview ready" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#1F4E78;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="20" target="21">
|
|
99
|
+
<mxGeometry relative="1" as="geometry" />
|
|
100
|
+
</mxCell>
|
|
101
|
+
<mxCell id="33" value="approved" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=blockThin;endFill=1;strokeColor=#2D5E36;strokeWidth=2;fontSize=11;fontColor=#405466;labelBackgroundColor=#FFFFFF;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="21" target="32">
|
|
102
|
+
<mxGeometry relative="1" as="geometry" />
|
|
103
|
+
</mxCell>
|
|
104
|
+
</root>
|
|
105
|
+
</mxGraphModel>
|
|
106
|
+
</diagram>
|
|
107
|
+
</mxfile>
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<mxfile host="drawio" version="26.0.9">
|
|
3
|
+
<diagram id="git-graph-example" name="Git Graph">
|
|
4
|
+
<mxGraphModel dx="1800" dy="920" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1920" pageHeight="940" math="0" shadow="0" background="#FFFFFF">
|
|
5
|
+
<root>
|
|
6
|
+
<mxCell id="0" />
|
|
7
|
+
<mxCell id="1" parent="0" />
|
|
8
|
+
<mxCell id="2" value="Git Graph Example" style="text;html=1;align=left;verticalAlign=middle;fontSize=32;fontStyle=1;fontColor=#172B4D;" vertex="1" parent="1">
|
|
9
|
+
<mxGeometry x="40" y="20" width="900" height="50" as="geometry" />
|
|
10
|
+
</mxCell>
|
|
11
|
+
<mxCell id="3" value="A documentation refresh with focused edits, updated references, and regenerated examples" style="text;html=1;align=left;verticalAlign=middle;fontSize=17;fontColor=#536273;" vertex="1" parent="1">
|
|
12
|
+
<mxGeometry x="40" y="70" width="1250" height="40" as="geometry" />
|
|
13
|
+
</mxCell>
|
|
14
|
+
<mxCell id="4" value="TIME FLOWS LEFT → RIGHT" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontStyle=1;fontColor=#172B4D;fillColor=#F4F1EA;strokeColor=#A8B0BA;strokeWidth=2;" vertex="1" parent="1">
|
|
15
|
+
<mxGeometry x="1450" y="35" width="350" height="50" as="geometry" />
|
|
16
|
+
</mxCell>
|
|
17
|
+
<mxCell id="5" value="" style="rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;fillColor=#FAFAFC;strokeColor=#C7CED6;strokeWidth=2;" vertex="1" parent="1">
|
|
18
|
+
<mxGeometry x="40" y="130" width="1760" height="620" as="geometry" />
|
|
19
|
+
</mxCell>
|
|
20
|
+
<mxCell id="6" value="examples/refresh" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#E74C3C;strokeColor=#B83227;strokeWidth=2;" vertex="1" parent="5">
|
|
21
|
+
<mxGeometry x="40" y="30" width="180" height="35" as="geometry" />
|
|
22
|
+
</mxCell>
|
|
23
|
+
<mxCell id="7" value="main" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#172B4D;strokeColor=#0D1A2E;strokeWidth=2;" vertex="1" parent="5">
|
|
24
|
+
<mxGeometry x="40" y="180" width="180" height="35" as="geometry" />
|
|
25
|
+
</mxCell>
|
|
26
|
+
<mxCell id="8" value="docs/cleanup" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#00A6A6;strokeColor=#007A7A;strokeWidth=2;" vertex="1" parent="5">
|
|
27
|
+
<mxGeometry x="40" y="340" width="180" height="35" as="geometry" />
|
|
28
|
+
</mxCell>
|
|
29
|
+
<mxCell id="9" value="references/tools" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#8E44AD;strokeColor=#663080;strokeWidth=2;" vertex="1" parent="5">
|
|
30
|
+
<mxGeometry x="40" y="500" width="180" height="35" as="geometry" />
|
|
31
|
+
</mxCell>
|
|
32
|
+
<mxCell id="10" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#172B4D;strokeWidth=8;" edge="1" parent="5" source="25" target="26">
|
|
33
|
+
<mxGeometry relative="1" as="geometry" />
|
|
34
|
+
</mxCell>
|
|
35
|
+
<mxCell id="11" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#172B4D;strokeWidth=8;" edge="1" parent="5" source="26" target="27">
|
|
36
|
+
<mxGeometry relative="1" as="geometry" />
|
|
37
|
+
</mxCell>
|
|
38
|
+
<mxCell id="12" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#172B4D;strokeWidth=8;" edge="1" parent="5" source="27" target="28">
|
|
39
|
+
<mxGeometry relative="1" as="geometry" />
|
|
40
|
+
</mxCell>
|
|
41
|
+
<mxCell id="13" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#172B4D;strokeWidth=8;" edge="1" parent="5" source="28" target="30">
|
|
42
|
+
<mxGeometry relative="1" as="geometry" />
|
|
43
|
+
</mxCell>
|
|
44
|
+
<mxCell id="14" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="26" target="32">
|
|
45
|
+
<mxGeometry relative="1" as="geometry" />
|
|
46
|
+
</mxCell>
|
|
47
|
+
<mxCell id="15" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="32" target="33">
|
|
48
|
+
<mxGeometry relative="1" as="geometry" />
|
|
49
|
+
</mxCell>
|
|
50
|
+
<mxCell id="16" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="33" target="34">
|
|
51
|
+
<mxGeometry relative="1" as="geometry" />
|
|
52
|
+
</mxCell>
|
|
53
|
+
<mxCell id="17" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="34" target="36">
|
|
54
|
+
<mxGeometry relative="1" as="geometry" />
|
|
55
|
+
</mxCell>
|
|
56
|
+
<mxCell id="18" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#00A6A6;strokeWidth=8;" edge="1" parent="5" source="36" target="30">
|
|
57
|
+
<mxGeometry relative="1" as="geometry" />
|
|
58
|
+
</mxCell>
|
|
59
|
+
<mxCell id="19" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#8E44AD;strokeWidth=8;" edge="1" parent="5" source="32" target="37">
|
|
60
|
+
<mxGeometry relative="1" as="geometry" />
|
|
61
|
+
</mxCell>
|
|
62
|
+
<mxCell id="20" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#8E44AD;strokeWidth=8;" edge="1" parent="5" source="37" target="38">
|
|
63
|
+
<mxGeometry relative="1" as="geometry" />
|
|
64
|
+
</mxCell>
|
|
65
|
+
<mxCell id="21" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#8E44AD;strokeWidth=8;" edge="1" parent="5" source="38" target="39">
|
|
66
|
+
<mxGeometry relative="1" as="geometry" />
|
|
67
|
+
</mxCell>
|
|
68
|
+
<mxCell id="22" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#8E44AD;strokeWidth=8;" edge="1" parent="5" source="39" target="34">
|
|
69
|
+
<mxGeometry relative="1" as="geometry" />
|
|
70
|
+
</mxCell>
|
|
71
|
+
<mxCell id="23" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#E74C3C;strokeWidth=8;" edge="1" parent="5" source="27" target="40">
|
|
72
|
+
<mxGeometry relative="1" as="geometry" />
|
|
73
|
+
</mxCell>
|
|
74
|
+
<mxCell id="24" value="" style="edgeStyle=none;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;startArrow=none;strokeColor=#E74C3C;strokeWidth=8;" edge="1" parent="5" source="40" target="28">
|
|
75
|
+
<mxGeometry relative="1" as="geometry" />
|
|
76
|
+
</mxCell>
|
|
77
|
+
<mxCell id="25" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
78
|
+
<mxGeometry x="207" y="217" width="26" height="26" as="geometry" />
|
|
79
|
+
</mxCell>
|
|
80
|
+
<mxCell id="26" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
81
|
+
<mxGeometry x="427" y="217" width="26" height="26" as="geometry" />
|
|
82
|
+
</mxCell>
|
|
83
|
+
<mxCell id="27" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
84
|
+
<mxGeometry x="707" y="217" width="26" height="26" as="geometry" />
|
|
85
|
+
</mxCell>
|
|
86
|
+
<mxCell id="28" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
87
|
+
<mxGeometry x="1061" y="211" width="38" height="38" as="geometry" />
|
|
88
|
+
</mxCell>
|
|
89
|
+
<mxCell id="29" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=3;perimeter=ellipsePerimeter;" vertex="1" parent="28">
|
|
90
|
+
<mxGeometry x="10" y="10" width="18" height="18" as="geometry" />
|
|
91
|
+
</mxCell>
|
|
92
|
+
<mxCell id="30" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
93
|
+
<mxGeometry x="1561" y="211" width="38" height="38" as="geometry" />
|
|
94
|
+
</mxCell>
|
|
95
|
+
<mxCell id="31" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=3;perimeter=ellipsePerimeter;" vertex="1" parent="30">
|
|
96
|
+
<mxGeometry x="10" y="10" width="18" height="18" as="geometry" />
|
|
97
|
+
</mxCell>
|
|
98
|
+
<mxCell id="32" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
99
|
+
<mxGeometry x="587" y="377" width="26" height="26" as="geometry" />
|
|
100
|
+
</mxCell>
|
|
101
|
+
<mxCell id="33" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
102
|
+
<mxGeometry x="767" y="377" width="26" height="26" as="geometry" />
|
|
103
|
+
</mxCell>
|
|
104
|
+
<mxCell id="34" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
105
|
+
<mxGeometry x="1141" y="371" width="38" height="38" as="geometry" />
|
|
106
|
+
</mxCell>
|
|
107
|
+
<mxCell id="35" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=3;perimeter=ellipsePerimeter;" vertex="1" parent="34">
|
|
108
|
+
<mxGeometry x="10" y="10" width="18" height="18" as="geometry" />
|
|
109
|
+
</mxCell>
|
|
110
|
+
<mxCell id="36" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#00A6A6;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
111
|
+
<mxGeometry x="1347" y="377" width="26" height="26" as="geometry" />
|
|
112
|
+
</mxCell>
|
|
113
|
+
<mxCell id="37" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#8E44AD;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
114
|
+
<mxGeometry x="767" y="537" width="26" height="26" as="geometry" />
|
|
115
|
+
</mxCell>
|
|
116
|
+
<mxCell id="38" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#8E44AD;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
117
|
+
<mxGeometry x="927" y="537" width="26" height="26" as="geometry" />
|
|
118
|
+
</mxCell>
|
|
119
|
+
<mxCell id="39" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#8E44AD;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
120
|
+
<mxGeometry x="1067" y="537" width="26" height="26" as="geometry" />
|
|
121
|
+
</mxCell>
|
|
122
|
+
<mxCell id="40" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#E74C3C;strokeWidth=5;perimeter=ellipsePerimeter;" vertex="1" parent="5">
|
|
123
|
+
<mxGeometry x="887" y="67" width="26" height="26" as="geometry" />
|
|
124
|
+
</mxCell>
|
|
125
|
+
<mxCell id="41" value="<b>a1b2c3</b><br>Baseline docs" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
126
|
+
<mxGeometry x="150" y="260" width="140" height="45" as="geometry" />
|
|
127
|
+
</mxCell>
|
|
128
|
+
<mxCell id="42" value="<b>d4e5f6</b><br>Current v0.1.2" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
129
|
+
<mxGeometry x="370" y="155" width="140" height="45" as="geometry" />
|
|
130
|
+
</mxCell>
|
|
131
|
+
<mxCell id="43" value="<b>71ac90</b><br>Plan cleanup" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
132
|
+
<mxGeometry x="650" y="155" width="140" height="45" as="geometry" />
|
|
133
|
+
</mxCell>
|
|
134
|
+
<mxCell id="44" value="<b>b77c12</b><br>Merge examples" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
135
|
+
<mxGeometry x="1000" y="150" width="160" height="45" as="geometry" />
|
|
136
|
+
</mxCell>
|
|
137
|
+
<mxCell id="45" value="<b>c91e44</b><br>Validated docs" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
138
|
+
<mxGeometry x="1500" y="150" width="160" height="45" as="geometry" />
|
|
139
|
+
</mxCell>
|
|
140
|
+
<mxCell id="46" value="<b>18ad20</b><br>Refocus README" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
141
|
+
<mxGeometry x="530" y="420" width="140" height="45" as="geometry" />
|
|
142
|
+
</mxCell>
|
|
143
|
+
<mxCell id="47" value="<b>42be11</b><br>Update security" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
144
|
+
<mxGeometry x="710" y="420" width="140" height="45" as="geometry" />
|
|
145
|
+
</mxCell>
|
|
146
|
+
<mxCell id="48" value="<b>9dd0a8</b><br>Merge references" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
147
|
+
<mxGeometry x="1080" y="420" width="160" height="45" as="geometry" />
|
|
148
|
+
</mxCell>
|
|
149
|
+
<mxCell id="49" value="<b>a30f14</b><br>Align metadata" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
150
|
+
<mxGeometry x="1290" y="420" width="140" height="45" as="geometry" />
|
|
151
|
+
</mxCell>
|
|
152
|
+
<mxCell id="50" value="<b>33fa80</b><br>Remove old paths" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
153
|
+
<mxGeometry x="710" y="570" width="140" height="45" as="geometry" />
|
|
154
|
+
</mxCell>
|
|
155
|
+
<mxCell id="51" value="<b>6cb821</b><br>Use DrawMe tools" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
156
|
+
<mxGeometry x="870" y="570" width="140" height="45" as="geometry" />
|
|
157
|
+
</mxCell>
|
|
158
|
+
<mxCell id="52" value="<b>70ee91</b><br>Refresh references" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
159
|
+
<mxGeometry x="1010" y="570" width="140" height="45" as="geometry" />
|
|
160
|
+
</mxCell>
|
|
161
|
+
<mxCell id="53" value="<b>f00d42</b><br>Refresh examples" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontColor=#263746;" vertex="1" parent="5">
|
|
162
|
+
<mxGeometry x="830" y="100" width="140" height="45" as="geometry" />
|
|
163
|
+
</mxCell>
|
|
164
|
+
<mxCell id="54" value="baseline: v0.1.2" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=11;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;" vertex="1" parent="5">
|
|
165
|
+
<mxGeometry x="385" y="100" width="110" height="30" as="geometry" />
|
|
166
|
+
</mxCell>
|
|
167
|
+
<mxCell id="55" value="HEAD → main • docs ready" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=11;fontStyle=1;fontColor=#2D5E36;fillColor=#D5E8D4;strokeColor=#82B366;" vertex="1" parent="5">
|
|
168
|
+
<mxGeometry x="1480" y="100" width="200" height="30" as="geometry" />
|
|
169
|
+
</mxCell>
|
|
170
|
+
<mxCell id="56" value="Focused documentation branches reconnect at double-ring merge commits." style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=13;fontColor=#405466;fillColor=#FFFFFF;strokeColor=#C7CED6;dashed=1;" vertex="1" parent="5">
|
|
171
|
+
<mxGeometry x="1030" y="30" width="570" height="45" as="geometry" />
|
|
172
|
+
</mxCell>
|
|
173
|
+
<mxCell id="57" value="LEGEND" style="rounded=1;arcSize=8;container=1;pointerEvents=0;html=1;verticalAlign=top;align=left;spacingTop=10;spacingLeft=15;fontSize=14;fontStyle=1;fontColor=#172B4D;fillColor=#F7F8FA;strokeColor=#C7CED6;strokeWidth=2;" vertex="1" parent="1">
|
|
174
|
+
<mxGeometry x="40" y="780" width="1760" height="110" as="geometry" />
|
|
175
|
+
</mxCell>
|
|
176
|
+
<mxCell id="58" value="main" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#172B4D;strokeColor=#0D1A2E;" vertex="1" parent="57">
|
|
177
|
+
<mxGeometry x="80" y="50" width="180" height="35" as="geometry" />
|
|
178
|
+
</mxCell>
|
|
179
|
+
<mxCell id="59" value="docs" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#00A6A6;strokeColor=#007A7A;" vertex="1" parent="57">
|
|
180
|
+
<mxGeometry x="300" y="50" width="180" height="35" as="geometry" />
|
|
181
|
+
</mxCell>
|
|
182
|
+
<mxCell id="60" value="references" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#8E44AD;strokeColor=#663080;" vertex="1" parent="57">
|
|
183
|
+
<mxGeometry x="520" y="50" width="180" height="35" as="geometry" />
|
|
184
|
+
</mxCell>
|
|
185
|
+
<mxCell id="61" value="examples" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#FFFFFF;fillColor=#E74C3C;strokeColor=#B83227;" vertex="1" parent="57">
|
|
186
|
+
<mxGeometry x="740" y="50" width="180" height="35" as="geometry" />
|
|
187
|
+
</mxCell>
|
|
188
|
+
<mxCell id="62" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;" vertex="1" parent="57">
|
|
189
|
+
<mxGeometry x="1040" y="54" width="28" height="28" as="geometry" />
|
|
190
|
+
</mxCell>
|
|
191
|
+
<mxCell id="63" value="Commit" style="text;html=1;align=left;verticalAlign=middle;fontSize=13;fontColor=#263746;" vertex="1" parent="57">
|
|
192
|
+
<mxGeometry x="1080" y="50" width="90" height="35" as="geometry" />
|
|
193
|
+
</mxCell>
|
|
194
|
+
<mxCell id="64" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=5;" vertex="1" parent="57">
|
|
195
|
+
<mxGeometry x="1230" y="48" width="40" height="40" as="geometry" />
|
|
196
|
+
</mxCell>
|
|
197
|
+
<mxCell id="65" value="" style="ellipse;aspect=fixed;html=1;fillColor=#FFFFFF;strokeColor=#172B4D;strokeWidth=3;" vertex="1" parent="64">
|
|
198
|
+
<mxGeometry x="10" y="10" width="20" height="20" as="geometry" />
|
|
199
|
+
</mxCell>
|
|
200
|
+
<mxCell id="66" value="Merge commit" style="text;html=1;align=left;verticalAlign=middle;fontSize=13;fontColor=#263746;" vertex="1" parent="57">
|
|
201
|
+
<mxGeometry x="1285" y="50" width="130" height="35" as="geometry" />
|
|
202
|
+
</mxCell>
|
|
203
|
+
<mxCell id="67" value="Green pills mark the baseline and refreshed main branch." style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontColor=#667583;fontStyle=2;" vertex="1" parent="57">
|
|
204
|
+
<mxGeometry x="1440" y="45" width="260" height="45" as="geometry" />
|
|
205
|
+
</mxCell>
|
|
206
|
+
</root>
|
|
207
|
+
</mxGraphModel>
|
|
208
|
+
</diagram>
|
|
209
|
+
</mxfile>
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@senad-d/drawme",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Pi extension
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "Pi extension for authoring, validating, and exporting editable draw.io diagrams from natural-language descriptions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"author": "Senad Dizdarević",
|
|
7
|
+
"author": "Senad Dizdarević <112484166+senad-d@users.noreply.github.com>",
|
|
8
8
|
"homepage": "https://github.com/senad-d/DrawMe#readme",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
"pi",
|
|
18
18
|
"pi-package",
|
|
19
19
|
"pi-extension",
|
|
20
|
+
"pi-coding-agent",
|
|
21
|
+
"cli",
|
|
22
|
+
"terminal",
|
|
23
|
+
"typescript",
|
|
24
|
+
"coding-agent",
|
|
20
25
|
"drawio",
|
|
21
26
|
"diagram",
|
|
22
27
|
"flowchart",
|
|
@@ -27,7 +32,7 @@
|
|
|
27
32
|
"visualization"
|
|
28
33
|
],
|
|
29
34
|
"engines": {
|
|
30
|
-
"node": ">=22.19"
|
|
35
|
+
"node": ">=22.19.0"
|
|
31
36
|
},
|
|
32
37
|
"pi": {
|
|
33
38
|
"extensions": [
|
|
@@ -36,9 +41,15 @@
|
|
|
36
41
|
"image": "https://raw.githubusercontent.com/senad-d/DrawMe/main/example/drawme-how-it-works.drawio.png"
|
|
37
42
|
},
|
|
38
43
|
"files": [
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
44
|
+
"README.md",
|
|
45
|
+
"LICENSE",
|
|
46
|
+
"SECURITY.md",
|
|
47
|
+
"CHANGELOG.md",
|
|
48
|
+
"docs/**/*.md",
|
|
49
|
+
"assets/**/*",
|
|
50
|
+
"example/**/*.drawio",
|
|
51
|
+
"src/**/*.ts",
|
|
52
|
+
"tsconfig.json"
|
|
42
53
|
],
|
|
43
54
|
"scripts": {
|
|
44
55
|
"typecheck": "tsc --noEmit",
|
|
@@ -46,10 +57,12 @@
|
|
|
46
57
|
"format:check": "node scripts/format-check.mjs",
|
|
47
58
|
"lint": "npm run typecheck && npm run lint:eslint && npm run format:check",
|
|
48
59
|
"check:golden": "node scripts/check-golden.mjs",
|
|
60
|
+
"pack:dry-run": "npm pack --dry-run --json --ignore-scripts",
|
|
61
|
+
"check:pack": "node scripts/check-package-contents.mjs",
|
|
49
62
|
"test": "vitest run",
|
|
50
63
|
"coverage": "vitest run --coverage",
|
|
51
64
|
"test:coverage": "npm run coverage",
|
|
52
|
-
"validate": "npm run check:golden && npm run lint && npm test",
|
|
65
|
+
"validate": "npm run check:golden && npm run lint && npm test && npm run check:pack",
|
|
53
66
|
"dev": "pi --no-extensions -e ."
|
|
54
67
|
},
|
|
55
68
|
"dependencies": {
|
|
@@ -60,7 +73,7 @@
|
|
|
60
73
|
"typebox": "*"
|
|
61
74
|
},
|
|
62
75
|
"devDependencies": {
|
|
63
|
-
"@earendil-works/pi-coding-agent": "^0.
|
|
76
|
+
"@earendil-works/pi-coding-agent": "^0.75.3",
|
|
64
77
|
"@eslint/js": "^10.0.1",
|
|
65
78
|
"@types/node": "^26.1.2",
|
|
66
79
|
"@vitest/coverage-v8": "^4.1.10",
|
package/src/dom.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Minimal shared helpers over `@xmldom/xmldom` nodes. Typed structurally so the
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* validation and explanation code reads cleanly without fighting xmldom's
|
|
4
|
+
* exported types.
|
|
5
5
|
*/
|
|
6
6
|
export const ELEMENT_NODE = 1;
|
|
7
7
|
export const TEXT_NODE = 3;
|