dsh-inkmap 0.3.13 → 0.3.14
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/host.js +1 -1
- package/icon.svg +39 -61
- package/package.json +1 -1
- package/web/index.html +1 -1
package/host.js
CHANGED
|
@@ -59,7 +59,7 @@ import { homedir, tmpdir } from "node:os";
|
|
|
59
59
|
import { dirname, join, sep } from "node:path";
|
|
60
60
|
|
|
61
61
|
// packages/cli/dist/version.js
|
|
62
|
-
var INKMAP_VERSION = "0.3.
|
|
62
|
+
var INKMAP_VERSION = "0.3.14";
|
|
63
63
|
|
|
64
64
|
// packages/cli/dist/license.js
|
|
65
65
|
var ZH_LOCALE_RE = /^zh(?:[-_.]|$)/i;
|
package/icon.svg
CHANGED
|
@@ -1,66 +1,44 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="256" height="256">
|
|
2
2
|
<defs>
|
|
3
|
-
<linearGradient id="
|
|
4
|
-
<stop offset="0%" stop-color="#
|
|
5
|
-
<stop offset="
|
|
6
|
-
<stop offset="100%" stop-color="#
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<radialGradient id="
|
|
9
|
-
<stop offset="0%" stop-color="#
|
|
10
|
-
<stop offset="
|
|
11
|
-
<stop offset="100%" stop-color="#0f172a" stop-opacity="0"/>
|
|
12
|
-
</radialGradient>
|
|
13
|
-
<radialGradient id="auroraBot" cx="208" cy="212" r="140" gradientUnits="userSpaceOnUse">
|
|
14
|
-
<stop offset="0%" stop-color="#a855f7" stop-opacity="0.35"/>
|
|
15
|
-
<stop offset="100%" stop-color="#1e1b4b" stop-opacity="0"/>
|
|
3
|
+
<linearGradient id="bg1" x1="40" y1="24" x2="472" y2="488" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0%" stop-color="#2563EB"/>
|
|
5
|
+
<stop offset="55%" stop-color="#1D4ED8"/>
|
|
6
|
+
<stop offset="100%" stop-color="#1E1B4B"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<radialGradient id="glow1" cx="150" cy="120" r="320" gradientUnits="userSpaceOnUse">
|
|
9
|
+
<stop offset="0%" stop-color="#60A5FA" stop-opacity="0.38"/>
|
|
10
|
+
<stop offset="100%" stop-color="#1E1B4B" stop-opacity="0"/>
|
|
16
11
|
</radialGradient>
|
|
17
|
-
<
|
|
18
|
-
<
|
|
19
|
-
<stop offset="50%" stop-color="#ffffff" stop-opacity="0.12"/>
|
|
20
|
-
<stop offset="100%" stop-color="#c084fc" stop-opacity="0.28"/>
|
|
21
|
-
</linearGradient>
|
|
22
|
-
<linearGradient id="branchTop" x1="92" y1="128" x2="162" y2="70" gradientUnits="userSpaceOnUse">
|
|
23
|
-
<stop offset="0%" stop-color="#e0f2fe"/>
|
|
24
|
-
<stop offset="100%" stop-color="#38bdf8"/>
|
|
25
|
-
</linearGradient>
|
|
26
|
-
<linearGradient id="branchMid" x1="92" y1="128" x2="156" y2="128" gradientUnits="userSpaceOnUse">
|
|
27
|
-
<stop offset="0%" stop-color="#ffffff" stop-opacity="0.92"/>
|
|
28
|
-
<stop offset="100%" stop-color="#ffffff"/>
|
|
29
|
-
</linearGradient>
|
|
30
|
-
<linearGradient id="branchBot" x1="92" y1="128" x2="162" y2="186" gradientUnits="userSpaceOnUse">
|
|
31
|
-
<stop offset="0%" stop-color="#e0e7ff"/>
|
|
32
|
-
<stop offset="100%" stop-color="#c084fc"/>
|
|
33
|
-
</linearGradient>
|
|
34
|
-
<linearGradient id="nodeTop" x1="150" y1="54" x2="216" y2="86" gradientUnits="userSpaceOnUse">
|
|
35
|
-
<stop offset="0%" stop-color="#7dd3fc"/>
|
|
36
|
-
<stop offset="100%" stop-color="#38bdf8"/>
|
|
37
|
-
</linearGradient>
|
|
38
|
-
<linearGradient id="nodeBot" x1="150" y1="170" x2="210" y2="202" gradientUnits="userSpaceOnUse">
|
|
39
|
-
<stop offset="0%" stop-color="#c4b5fd"/>
|
|
40
|
-
<stop offset="100%" stop-color="#a855f7"/>
|
|
41
|
-
</linearGradient>
|
|
42
|
-
<linearGradient id="hubCore" x1="54" y1="112" x2="86" y2="144" gradientUnits="userSpaceOnUse">
|
|
43
|
-
<stop offset="0%" stop-color="#3b82f6"/>
|
|
44
|
-
<stop offset="100%" stop-color="#4f46e5"/>
|
|
45
|
-
</linearGradient>
|
|
46
|
-
<filter id="softShadow" x="-12%" y="-12%" width="124%" height="128%">
|
|
47
|
-
<feDropShadow dx="0" dy="6" stdDeviation="7" flood-color="#090d1f" flood-opacity="0.36"/>
|
|
12
|
+
<filter id="sh1" x="-15%" y="-15%" width="130%" height="135%">
|
|
13
|
+
<feDropShadow dx="0" dy="10" stdDeviation="12" flood-color="#090D24" flood-opacity="0.34"/>
|
|
48
14
|
</filter>
|
|
49
15
|
</defs>
|
|
50
|
-
<rect x="
|
|
51
|
-
<rect x="
|
|
52
|
-
<rect x="
|
|
53
|
-
|
|
54
|
-
<g filter="url(#
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
<rect x="
|
|
62
|
-
<
|
|
63
|
-
|
|
64
|
-
|
|
16
|
+
<rect x="16" y="16" width="480" height="480" rx="108" fill="url(#bg1)"/>
|
|
17
|
+
<rect x="16" y="16" width="480" height="480" rx="108" fill="url(#glow1)"/>
|
|
18
|
+
<rect x="18" y="18" width="476" height="476" rx="106" fill="none" stroke="#FFFFFF" stroke-opacity="0.22" stroke-width="4"/>
|
|
19
|
+
|
|
20
|
+
<g filter="url(#sh1)">
|
|
21
|
+
<!-- Curved Mind Map Branches -->
|
|
22
|
+
<path d="M 244 256 C 304 256, 298 134, 356 134" fill="none" stroke="#38BDF8" stroke-width="20" stroke-linecap="round"/>
|
|
23
|
+
<path d="M 244 256 L 352 256" fill="none" stroke="#34D399" stroke-width="20" stroke-linecap="round"/>
|
|
24
|
+
<path d="M 244 256 C 304 256, 298 378, 356 378" fill="none" stroke="#FBBF24" stroke-width="20" stroke-linecap="round"/>
|
|
25
|
+
|
|
26
|
+
<!-- Left Official Markdown [M↓] Badge -->
|
|
27
|
+
<rect x="64" y="182" width="194" height="148" rx="30" fill="#FFFFFF"/>
|
|
28
|
+
<path d="M 89.22 295.96 V 216.04 H 105.16404 L 128.699 252.8032 L 152.23396 216.04 H 168.178 V 295.96 H 151.3948 V 248.00799999999998 L 128.699 278.3776 L 106.00319999999999 248.00799999999998 V 295.96 Z" fill="#1E3A8A"/><path d="M 196.77633600000001 216.04 H 214.230864 V 256 H 232.78 L 205.5036 298.3576 L 178.2272 256 H 196.77633600000001 Z" fill="#1E3A8A"/>
|
|
29
|
+
|
|
30
|
+
<!-- Connector junction dot on right of M↓ badge -->
|
|
31
|
+
<circle cx="258" cy="256" r="16" fill="#FFFFFF"/>
|
|
32
|
+
<circle cx="258" cy="256" r="8" fill="#2563EB"/>
|
|
33
|
+
|
|
34
|
+
<!-- Right Mind Map Child Nodes (Pill + Circle center) -->
|
|
35
|
+
<rect x="344" y="102" width="104" height="64" rx="32" fill="#38BDF8"/>
|
|
36
|
+
<rect x="366" y="126" width="60" height="16" rx="8" fill="#FFFFFF" fill-opacity="0.92"/>
|
|
37
|
+
|
|
38
|
+
<rect x="344" y="224" width="104" height="64" rx="32" fill="#34D399"/>
|
|
39
|
+
<rect x="366" y="248" width="60" height="16" rx="8" fill="#FFFFFF" fill-opacity="0.92"/>
|
|
40
|
+
|
|
41
|
+
<rect x="344" y="346" width="104" height="64" rx="32" fill="#FBBF24"/>
|
|
42
|
+
<rect x="366" y="370" width="60" height="16" rx="8" fill="#FFFFFF" fill-opacity="0.95"/>
|
|
65
43
|
</g>
|
|
66
|
-
</svg>
|
|
44
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-inkmap",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.14",
|
|
4
4
|
"description": "Inkmap 思维导图 — 在 DeepSeek Harness 中将本地 Markdown 实时渲染为可双向编辑的思维导图 (Markmap) 与 Mermaid 流程图 / Interactive two-way Markdown mind map & Mermaid flowchart editor for DeepSeek Harness.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"icon": "./icon.svg",
|
package/web/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<title>Inkmap</title>
|
|
7
|
-
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%232563EB'/%3E%3Cstop offset='55%25' stop-color='%231D4ED8'/%3E%3Cstop offset='100%25' stop-color='%231E1B4B'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='16' y='16' width='480' height='480' rx='108' fill='url(%23g)'/%3E%3Cpath d='M244 256C304 256 298 134 356 134' fill='none' stroke='%2338BDF8' stroke-width='22' stroke-linecap='round'/%3E%3Cpath d='M244 256L352 256' fill='none' stroke='%2334D399' stroke-width='22' stroke-linecap='round'/%3E%3Cpath d='M244 256C304 256 298 378 356 378' fill='none' stroke='%23FBBF24' stroke-width='22' stroke-linecap='round'/%3E%3Crect x='64' y='182' width='194' height='148' rx='30' fill='%23FFF'/%3E%3Cpath d='M89 296V216H105L129 253L153 216H169V296H152V248L129 278L106 248V296Z' fill='%231E3A8A'/%3E%3Cpath d='M197 216H215V256H233L206 298L179 256H197Z' fill='%231E3A8A'/%3E%3Crect x='344' y='102' width='104' height='64' rx='32' fill='%2338BDF8'/%3E%3Crect x='344' y='224' width='104' height='64' rx='32' fill='%2334D399'/%3E%3Crect x='344' y='346' width='104' height='64' rx='32' fill='%23FBBF24'/%3E%3C/svg%3E">
|
|
8
8
|
<script type="module" crossorigin src="./assets/index-CHHdeSs8.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="./assets/index-BubxFPMN.css">
|
|
10
10
|
</head>
|