mapwright-agent 0.2.0__py3-none-any.whl
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.
- mapwright/__init__.py +3 -0
- mapwright/__main__.py +3 -0
- mapwright/analyze.py +809 -0
- mapwright/brief.py +208 -0
- mapwright/cli.py +596 -0
- mapwright/concepts.py +190 -0
- mapwright/config.py +204 -0
- mapwright/connect.py +337 -0
- mapwright/export.py +42 -0
- mapwright/firestore.py +168 -0
- mapwright/flow.py +238 -0
- mapwright/hooks.py +111 -0
- mapwright/ignore.py +248 -0
- mapwright/infra.py +253 -0
- mapwright/mcp.py +153 -0
- mapwright/noise.py +80 -0
- mapwright/redact.py +39 -0
- mapwright/render.py +428 -0
- mapwright/routes_js.py +282 -0
- mapwright/server.py +388 -0
- mapwright/titles.py +111 -0
- mapwright/track.py +715 -0
- mapwright/ui/app.css +277 -0
- mapwright/ui/app.js +1025 -0
- mapwright/ui/icons.svg +73 -0
- mapwright/ui/index.html +35 -0
- mapwright/ui/mark.svg +1 -0
- mapwright/ui/vendor/mermaid.LICENSE +21 -0
- mapwright/ui/vendor/mermaid.min.js +2029 -0
- mapwright_agent-0.2.0.dist-info/METADATA +179 -0
- mapwright_agent-0.2.0.dist-info/RECORD +34 -0
- mapwright_agent-0.2.0.dist-info/WHEEL +4 -0
- mapwright_agent-0.2.0.dist-info/entry_points.txt +3 -0
- mapwright_agent-0.2.0.dist-info/licenses/LICENSE +21 -0
mapwright/ui/icons.svg
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
|
|
2
|
+
<symbol id="folder" viewBox="0 0 16 16"><path d="M1.5 4.5v8h13v-7H8L6.5 4H1.5z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
3
|
+
<symbol id="folder-open" viewBox="0 0 16 16"><path d="M1.5 12.5V4h5l1.5 1.5H13v2M1.5 12.5l2-5h11l-2 5z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
4
|
+
<symbol id="file" viewBox="0 0 16 16"><path d="M3.5 1.5h6l3 3v10h-9zM9.5 1.5v3h3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
5
|
+
<symbol id="list" viewBox="0 0 16 16"><path d="M5 4h9M5 8h9M5 12h9M2 4h.5M2 8h.5M2 12h.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
6
|
+
<symbol id="puzzle" viewBox="0 0 16 16"><path d="M6 2h4v2a1.5 1.5 0 0 0 3 0V2.5h1.5V7H13a1.5 1.5 0 0 0 0 3h1.5v4.5H10V13a1.5 1.5 0 0 0-3 0v1.5H2V10h1.5a1.5 1.5 0 0 0 0-3H2V2z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
7
|
+
<symbol id="plug" viewBox="0 0 16 16"><path d="M5.5 1.5v3M10.5 1.5v3M3.5 4.5h9v3a4.5 4.5 0 0 1-9 0zM8 12v2.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
8
|
+
<symbol id="history" viewBox="0 0 16 16"><path d="M2.5 8a5.5 5.5 0 1 0 1.6-3.9M2.5 2.5v2.5H5M8 5v3.2l2 1.3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
9
|
+
<symbol id="check" viewBox="0 0 16 16"><path d="M2.5 8.5l3.5 3.5 7.5-8" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
10
|
+
<symbol id="check-square" viewBox="0 0 16 16"><path d="M2.5 2.5h11v11h-11zM5 8l2 2 4-4.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
11
|
+
<symbol id="warning" viewBox="0 0 16 16"><path d="M8 1.8l6.5 12H1.5zM8 6.5v3.5M8 12v.3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
12
|
+
<symbol id="info" viewBox="0 0 16 16"><path d="M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM8 7v4.5M8 4.8v.3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
13
|
+
<symbol id="doc" viewBox="0 0 16 16"><path d="M3.5 1.5h9v13h-9zM6 5h4M6 8h4M6 11h2.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
14
|
+
<symbol id="search" viewBox="0 0 16 16"><path d="M7 2.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zM10.3 10.3l3.7 3.7" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
15
|
+
<symbol id="gear" viewBox="0 0 24 24"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><circle cx="12" cy="12" r="3" fill="none" stroke="currentColor" stroke-width="1.8"/></symbol>
|
|
16
|
+
<symbol id="zoom-in" viewBox="0 0 16 16"><path d="M7 2.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zM10.3 10.3l3.7 3.7M5 7h4M7 5v4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
17
|
+
<symbol id="zoom-out" viewBox="0 0 16 16"><path d="M7 2.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zM10.3 10.3l3.7 3.7M5 7h4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
18
|
+
<symbol id="fit" viewBox="0 0 16 16"><path d="M2 5.5V2h3.5M10.5 2H14v3.5M14 10.5V14h-3.5M5.5 14H2v-3.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
19
|
+
<symbol id="copy" viewBox="0 0 16 16"><path d="M5.5 5.5h8v8h-8zM10.5 5.5v-3h-8v8h3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
20
|
+
<symbol id="download" viewBox="0 0 16 16"><path d="M8 2v8.5M4.5 7L8 10.5 11.5 7M2.5 13.5h11" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
21
|
+
<symbol id="close" viewBox="0 0 16 16"><path d="M3.5 3.5l9 9M12.5 3.5l-9 9" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
22
|
+
<symbol id="chevron-down" viewBox="0 0 16 16"><path d="M4 6l4 4 4-4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
23
|
+
<symbol id="chevron-right" viewBox="0 0 16 16"><path d="M6 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
24
|
+
<symbol id="refresh" viewBox="0 0 16 16"><path d="M13.5 8A5.5 5.5 0 1 1 11.9 4.1M13.5 2v3.5H10" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
25
|
+
<symbol id="branch" viewBox="0 0 16 16"><path d="M4.5 2v12M4.5 10.5c0-3 7-2 7-6M11.5 2.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM4.5 11.5a1.5 1.5 0 1 0 0 3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
26
|
+
<symbol id="layers" viewBox="0 0 16 16"><path d="M8 1.8l6.5 3.5L8 8.8 1.5 5.3zM1.5 8.2L8 11.7l6.5-3.5M1.5 11L8 14.5l6.5-3.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
27
|
+
<symbol id="globe" viewBox="0 0 16 16"><path d="M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM1.5 8h13M8 1.5c-2.4 2.6-2.4 10.4 0 13M8 1.5c2.4 2.6 2.4 10.4 0 13" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
28
|
+
<symbol id="graph" viewBox="0 0 16 16"><path d="M3.5 2.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM12.5 2.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM8 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM4.7 5l2.6 5.5M11.3 5l-2.6 5.5M5 4h6" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
29
|
+
<symbol id="bolt" viewBox="0 0 16 16"><path d="M9 1.5L3 9h4.5L7 14.5 13 7H8.5z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
30
|
+
<symbol id="terminal" viewBox="0 0 16 16"><path d="M2 2.5h12v11H2zM4.5 6l2 2-2 2M8 10.5h3.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
31
|
+
<symbol id="key" viewBox="0 0 16 16"><path d="M5.5 7.5a3 3 0 1 0 0 .1zM8.3 8.2L14 8.2M12 8.2v2.3M14 8.2v1.8" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
32
|
+
<symbol id="lock" viewBox="0 0 16 16"><path d="M3.5 7h9v7h-9zM5.5 7V5a2.5 2.5 0 0 1 5 0v2" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
33
|
+
<symbol id="shield" viewBox="0 0 16 16"><path d="M8 1.5l5.5 2v4.3c0 3-2.4 5.6-5.5 6.7C4.9 13.4 2.5 10.8 2.5 7.8V3.5z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
34
|
+
<symbol id="gauge" viewBox="0 0 16 16"><path d="M2 11a6 6 0 1 1 12 0M8 11l3-4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
35
|
+
<symbol id="rotate" viewBox="0 0 16 16"><path d="M13.5 8A5.5 5.5 0 1 1 8 2.5c2 0 3.6 1 4.6 2.5M13 2v3.2H9.8" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
36
|
+
<symbol id="zap-off" viewBox="0 0 16 16"><path d="M9 1.5L7.5 5.5M6.5 9H3l2-3M7 14.5L8 10.5M10.5 7H13l-2.2 3M2 2l12 12" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
37
|
+
<symbol id="inbox" viewBox="0 0 16 16"><path d="M1.5 9l2-6.5h9l2 6.5v4.5h-13zM1.5 9h3.5l1 2h4l1-2h3.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
38
|
+
<symbol id="radio" viewBox="0 0 16 16"><path d="M8 6.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM5 5a4.2 4.2 0 0 0 0 6M11 5a4.2 4.2 0 0 1 0 6M3 3a7 7 0 0 0 0 10M13 3a7 7 0 0 1 0 10" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
39
|
+
<symbol id="clock" viewBox="0 0 16 16"><path d="M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM8 4.5V8l2.5 1.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
40
|
+
<symbol id="split" viewBox="0 0 16 16"><path d="M2 4h3.5l5 8H14M2 12h3.5l1.5-2.4M10.5 4H14M12 2l2 2-2 2M12 10l2 2-2 2" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
41
|
+
<symbol id="table" viewBox="0 0 16 16"><path d="M1.5 2.5h13v11h-13zM1.5 6h13M1.5 9.5h13M6 6v7.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
42
|
+
<symbol id="database" viewBox="0 0 16 16"><path d="M8 1.5c3.3 0 5.5.9 5.5 2v9c0 1.1-2.2 2-5.5 2s-5.5-.9-5.5-2v-9c0-1.1 2.2-2 5.5-2zM2.5 3.5c0 1.1 2.2 2 5.5 2s5.5-.9 5.5-2M2.5 8c0 1.1 2.2 2 5.5 2s5.5-.9 5.5-2" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
43
|
+
<symbol id="git-merge" viewBox="0 0 16 16"><path d="M4 2.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM4 5.5V14M12 9.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM4 5.5c0 3 3.5 5.5 6.5 5.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
44
|
+
<symbol id="repeat" viewBox="0 0 16 16"><path d="M2.5 7V5.5h10L10.5 3.5M13.5 9v1.5h-10l2 2" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
45
|
+
<symbol id="box" viewBox="0 0 16 16"><path d="M8 1.5l6 3v7l-6 3-6-3v-7zM2 4.5l6 3 6-3M8 7.5v7" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
46
|
+
<symbol id="sliders" viewBox="0 0 16 16"><path d="M2 4h7m3 0h2M2 8h2m3 0h7M2 12h8m3 0h1M10.5 2.5v3M5.5 6.5v3M11.5 10.5v3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
47
|
+
<symbol id="activity" viewBox="0 0 16 16"><path d="M1.5 8.5h3l2-5 3 9 2-4h3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
48
|
+
<symbol id="flag" viewBox="0 0 16 16"><path d="M3 14.5V2M3 2.5h9l-2 3 2 3H3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
49
|
+
<symbol id="card" viewBox="0 0 16 16"><path d="M1.5 3.5h13v9h-13zM1.5 6.5h13M4 10h3" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
50
|
+
<symbol id="mail" viewBox="0 0 16 16"><path d="M1.5 3.5h13v9h-13zM1.5 4l6.5 5 6.5-5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
51
|
+
<symbol id="sparkles" viewBox="0 0 16 16"><path d="M7 2l1.4 3.6L12 7l-3.6 1.4L7 12 5.6 8.4 2 7l3.6-1.4zM12.5 10.5l.6 1.4 1.4.6-1.4.6-.6 1.4-.6-1.4-1.4-.6 1.4-.6z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
52
|
+
<symbol id="beaker" viewBox="0 0 16 16"><path d="M6 1.5v4.5L2.5 13a1 1 0 0 0 .9 1.5h9.2a1 1 0 0 0 .9-1.5L10 6V1.5M5 1.5h6M4 10h8" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
53
|
+
<symbol id="function" viewBox="0 0 16 16"><path d="M10.5 2.5c-2 0-2.5 1-3 4l-1 5c-.4 2-1 2.5-2.5 2.5M5 6.5h5.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
54
|
+
<symbol id="class" viewBox="0 0 16 16"><path d="M2.5 2.5h11v11h-11zM10 6a2.5 2.5 0 1 0 0 4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
55
|
+
<symbol id="cloud" viewBox="0 0 16 16"><path d="M4.5 12.5a3 3 0 0 1-.3-6 4.2 4.2 0 0 1 8.1 1.2 2.4 2.4 0 0 1 .2 4.8z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
56
|
+
<symbol id="server" viewBox="0 0 16 16"><path d="M2 2.5h12v4H2zM2 9.5h12v4H2zM4.5 4.5h.5M4.5 11.5h.5" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
57
|
+
<symbol id="sun" viewBox="0 0 16 16"><path d="M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM8 1v1.5M8 13.5V15M1 8h1.5M13.5 8H15M3 3l1 1M12 12l1 1M3 13l1-1M12 4l1-1" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
58
|
+
<symbol id="moon" viewBox="0 0 16 16"><path d="M13 9.5A5.5 5.5 0 1 1 6.5 3a4.5 4.5 0 0 0 6.5 6.5z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
59
|
+
<symbol id="plus" viewBox="0 0 16 16"><path d="M8 3v10M3 8h10" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
60
|
+
<symbol id="minus" viewBox="0 0 16 16"><path d="M3 8h10" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
61
|
+
<symbol id="route" viewBox="0 0 16 16"><path d="M3.5 2.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM12.5 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM3.5 5.5v2a2 2 0 0 0 2 2h5a2 2 0 0 1 2 2" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
62
|
+
<symbol id="diff" viewBox="0 0 16 16"><path d="M4.5 2v7M1 5.5h7M8 11.5h7M11.5 2.5v.1" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
63
|
+
<symbol id="eye" viewBox="0 0 16 16"><path d="M1.5 8s2.5-4.5 6.5-4.5S14.5 8 14.5 8 12 12.5 8 12.5 1.5 8 1.5 8zM8 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
64
|
+
<symbol id="panel-left" viewBox="0 0 16 16"><path d="M1.5 2.5h13v11h-13zM5.5 2.5v11" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
65
|
+
<symbol id="panel-bottom" viewBox="0 0 16 16"><path d="M1.5 2.5h13v11h-13zM1.5 10h13" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
66
|
+
<symbol id="panel-right" viewBox="0 0 16 16"><path d="M1.5 2.5h13v11h-13zM10.5 2.5v11" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
67
|
+
<symbol id="user" viewBox="0 0 16 16"><path d="M8 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM2.5 14.5a5.5 5.5 0 0 1 11 0" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
68
|
+
<symbol id="robot" viewBox="0 0 16 16"><path d="M3 5.5h10v8H3zM8 2.5v3M5.5 9h.1M10.5 9h.1M1.5 9v2M14.5 9v2" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
69
|
+
<symbol id="external" viewBox="0 0 16 16"><path d="M9 2.5h4.5V7M13.5 2.5L7 9M11.5 9.5v4h-9v-9h4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
70
|
+
<symbol id="keyboard" viewBox="0 0 16 16"><path d="M1.5 4h13v8h-13zM4 7h.1M6.5 7h.1M9 7h.1M11.5 7h.1M5 9.5h6" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
71
|
+
<symbol id="pin" viewBox="0 0 16 16"><path d="M10 1.5l4.5 4.5-2 1-2.5 2.5.5 3-1.5 1.5-3-3L2 15l1-4-3-3 1.5-1.5 3 .5L7 4.5l1-2z" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
72
|
+
<symbol id="code" viewBox="0 0 16 16"><path d="M5 4L1.5 8 5 12M11 4l3.5 4L11 12M9.5 2.5l-3 11" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
73
|
+
</svg>
|
mapwright/ui/index.html
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" data-theme="dark">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Mapwright</title>
|
|
7
|
+
<link rel="icon" href="mark.svg">
|
|
8
|
+
<link rel="stylesheet" href="app.css">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div class="ide" id="ide">
|
|
12
|
+
<header class="toolbar">
|
|
13
|
+
<img class="logo" src="mark.svg" alt="Mapwright">
|
|
14
|
+
<button class="widget" id="w-project" title="Switch project"><span id="w-project-name">No project</span><svg class="i"><use href="icons.svg#chevron-down"/></svg></button>
|
|
15
|
+
<button class="widget live" id="w-step" title="Which point in the agent's work to look at"><svg class="i"><use href="icons.svg#history"/></svg><span class="badge" id="w-step-badge">LIVE</span><span class="sub" id="w-step-name">latest</span><svg class="i"><use href="icons.svg#chevron-down"/></svg></button>
|
|
16
|
+
<div class="searchbox" id="w-search" role="button" tabindex="0" title="Search files, symbols, views and actions"><svg class="i"><use href="icons.svg#search"/></svg><span>Search everywhere</span><kbd>⇧⇧</kbd></div>
|
|
17
|
+
<button class="agent-pill" id="w-agents" title="Connected agents"><span class="ldot" id="w-agents-dot"></span><span id="w-agents-txt">agents</span></button>
|
|
18
|
+
<button class="tbtn" id="w-step-add" title="Record a step now"><svg class="i"><use href="icons.svg#flag"/></svg></button>
|
|
19
|
+
<button class="tbtn" id="w-theme" title="Light or dark theme"><svg class="i"><use href="icons.svg#moon"/></svg></button>
|
|
20
|
+
<button class="tbtn" id="w-settings" title="Settings (Ctrl+,)"><svg class="i"><use href="icons.svg#gear"/></svg></button>
|
|
21
|
+
</header>
|
|
22
|
+
|
|
23
|
+
<nav class="stripe l" id="stripe-l" aria-label="Tool windows"></nav>
|
|
24
|
+
<aside class="left" id="left"><div class="resize" data-r="lw"></div><div class="phead"><span class="t" id="left-title">Project</span><span id="left-tools"></span></div><div class="pbody" id="left-body"></div></aside>
|
|
25
|
+
<main class="main" id="main"><div class="tabs" id="tabs" role="tablist"></div><div class="view" id="view"></div></main>
|
|
26
|
+
<aside class="right" id="right"><div class="resize" data-r="rw"></div><div class="phead"><span class="t" id="right-title">Inspector</span><button class="tbtn" id="right-close" title="Hide"><svg class="i"><use href="icons.svg#close"/></svg></button></div><div class="pbody" id="right-body"></div></aside>
|
|
27
|
+
<nav class="stripe r" id="stripe-r" aria-label="Side tools"></nav>
|
|
28
|
+
<section class="bottom" id="bottom"><div class="resize" data-r="bh"></div><div class="btabs" id="btabs"></div><div class="blist" id="bbody"></div></section>
|
|
29
|
+
<footer class="status" id="status"></footer>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="toasts" id="toasts"></div>
|
|
32
|
+
<script src="vendor/mermaid.min.js"></script>
|
|
33
|
+
<script src="app.js"></script>
|
|
34
|
+
</body>
|
|
35
|
+
</html>
|
mapwright/ui/mark.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" rx="7" fill="#3574F0"/><path d="M7 22.5l5.5-13 4 8 3-5L25 22.5" fill="none" stroke="#fff" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/><circle cx="12.5" cy="9.5" r="2" fill="#fff"/><circle cx="19.5" cy="12.5" r="1.6" fill="#BFD3FF"/></svg>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014 - 2022 Knut Sveidqvist
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|