inkmap-mcp 0.3.5 → 0.3.6

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.
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "inkmap",
3
- "displayName": "Inkmap",
3
+ "displayName": "Inkmap — Markdown Mind Map & Mermaid 思维导图",
4
4
  "version": "0.2.0",
5
- "description": "MCP App mind map editor for local Markdown (.md, .markmap.md) outlines: auto-opens in the Antigravity side pane with live file write-back and Mermaid diagram editing. 在右侧面板自动打开并实时编辑 Markdown 思维导图。",
5
+ "description": "Interactive two-way Markdown (.md, .markmap.md) mind map, mindmap, markmap, Mermaid flowchart, diagram, XMind outline & KaTeX editor: auto-opens in the Antigravity side pane with live file write-back. 在右侧面板实时双向编辑 Markdown 思维导图、脑图、流程图、大纲、架构图、组织结构图与鱼骨图。",
6
6
  "logo": "assets/logo.svg",
7
- "homepage": "https://www.zhiyuanv.com/software.html",
7
+ "homepage": "https://zhiyuanv.com/software.html",
8
8
  "repository": "https://github.com/zhiyuanvision-lang/InkMap",
9
9
  "suggestedPrompts": [
10
10
  "用 Inkmap 在右侧打开当前项目的 Markdown 思维导图",
11
- "把这份设计文档整理成 Markdown 大纲并用 Inkmap 打开",
12
- "Open this Markdown outline in Inkmap mind map"
11
+ "把这份设计文档整理成 Markdown 脑图大纲并用 Inkmap 打开",
12
+ "Open this Markdown outline or Mermaid flowchart in Inkmap mind map"
13
13
  ]
14
14
  }
@@ -744,7 +744,7 @@ function licenseService(storage, getOrigin, { loginOnly = false, host: defaultHo
744
744
  installId: id,
745
745
  host: hostName,
746
746
  os,
747
- version: "0.3.5",
747
+ version: "0.3.6",
748
748
  locale: clientLocale(),
749
749
  tier,
750
750
  events
@@ -1,10 +1,35 @@
1
1
  {
2
2
  "name": "inkmap-codex",
3
- "version": "0.3.5",
4
- "description": "Open Markdown as an editable mind map with Inkmap.",
3
+ "version": "0.3.6",
4
+ "description": "Interactive two-way Markdown mind map (markmap), Mermaid flowchart & XMind outline editor | 双向编辑 Markdown 思维导图、脑图、流程图与大纲",
5
+ "homepage": "https://zhiyuanv.com/software.html",
6
+ "repository": "https://github.com/zhiyuanvision-lang/InkMap",
7
+ "author": {
8
+ "name": "Zhiyuan Vision",
9
+ "email": "contact@zhiyuanv.com"
10
+ },
11
+ "keywords": [
12
+ "inkmap",
13
+ "markdown",
14
+ "mindmap",
15
+ "mind-map",
16
+ "mind map",
17
+ "markmap",
18
+ "mermaid",
19
+ "flowchart",
20
+ "diagram",
21
+ "outline",
22
+ "xmind",
23
+ "katex",
24
+ "思维导图",
25
+ "脑图",
26
+ "流程图",
27
+ "大纲",
28
+ "架构图"
29
+ ],
5
30
  "requires_local_executor": true,
6
31
  "interface": {
7
- "displayName": "Inkmap",
32
+ "displayName": "Inkmap — Mind Map & Mermaid 思维导图",
8
33
  "logo": "./assets/icon.png",
9
34
  "composerIcon": "./assets/icon.png"
10
35
  },
@@ -1,13 +1,38 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "inkmap-codex",
4
- "version": "0.3.5",
5
- "description": "Open Markdown as an editable mind map with Inkmap.",
4
+ "version": "0.3.6",
5
+ "description": "Interactive two-way Markdown mind map (markmap), Mermaid flowchart & XMind outline editor | 双向编辑 Markdown 思维导图、脑图、流程图与大纲",
6
+ "homepage": "https://zhiyuanv.com/software.html",
7
+ "repository": "https://github.com/zhiyuanvision-lang/InkMap",
8
+ "author": {
9
+ "name": "Zhiyuan Vision",
10
+ "email": "contact@zhiyuanv.com"
11
+ },
12
+ "keywords": [
13
+ "inkmap",
14
+ "markdown",
15
+ "mindmap",
16
+ "mind-map",
17
+ "mind map",
18
+ "markmap",
19
+ "mermaid",
20
+ "flowchart",
21
+ "diagram",
22
+ "outline",
23
+ "xmind",
24
+ "katex",
25
+ "思维导图",
26
+ "脑图",
27
+ "流程图",
28
+ "大纲",
29
+ "架构图"
30
+ ],
6
31
  "extensions": {
7
32
  "com.openai": {
8
33
  "requires_local_executor": true,
9
34
  "interface": {
10
- "displayName": "Inkmap",
35
+ "displayName": "Inkmap — Mind Map & Mermaid 思维导图",
11
36
  "logo": "./assets/icon.png",
12
37
  "composerIcon": "./assets/icon.png"
13
38
  }
@@ -741,7 +741,7 @@ function licenseService(storage, getOrigin, { loginOnly = false, host: defaultHo
741
741
  installId: id,
742
742
  host: hostName,
743
743
  os,
744
- version: "0.3.5",
744
+ version: "0.3.6",
745
745
  locale: clientLocale(),
746
746
  tier,
747
747
  events
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-inkmap",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
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",
@@ -27,12 +27,20 @@
27
27
  "outline",
28
28
  "flowchart",
29
29
  "diagram",
30
+ "xmind",
31
+ "brainstorm",
30
32
  "katex",
31
33
  "latex",
32
34
  "思维导图",
33
35
  "脑图",
34
36
  "大纲",
35
37
  "流程图",
38
+ "架构图",
39
+ "组织结构图",
40
+ "鱼骨图",
41
+ "时间轴",
42
+ "知识库",
43
+ "笔记",
36
44
  "双向同步",
37
45
  "可视化"
38
46
  ],
@@ -730,7 +730,7 @@ function licenseService(storage, getOrigin, { loginOnly = false, host: defaultHo
730
730
  installId: id,
731
731
  host: hostName,
732
732
  os,
733
- version: "0.3.5",
733
+ version: "0.3.6",
734
734
  locale: clientLocale(),
735
735
  tier,
736
736
  events
@@ -2,7 +2,7 @@
2
2
  "name": "inkmap-vscode",
3
3
  "displayName": "%displayName%",
4
4
  "description": "%description%",
5
- "version": "0.3.5",
5
+ "version": "0.3.6",
6
6
  "publisher": "inkmap",
7
7
  "homepage": "https://zhiyuanv.com/software.html",
8
8
  "repository": {
@@ -41,6 +41,7 @@
41
41
  "latex",
42
42
  "preview",
43
43
  "cursor",
44
+ "trae",
44
45
  "claude",
45
46
  "codex",
46
47
  "mcp",
@@ -48,6 +49,7 @@
48
49
  "脑图",
49
50
  "大纲",
50
51
  "流程图",
52
+ "架构图",
51
53
  "组织结构图",
52
54
  "时间轴",
53
55
  "鱼骨图",
@@ -1,6 +1,6 @@
1
1
  {
2
- "displayName": "Inkmap — Markdown Mind Map & Markmap / Mermaid Editor",
3
- "description": "Interactive two-way Markdown mind map (markmap) & Mermaid flowchart editor with LaTeX math, outline sync, and PNG/SVG export.",
2
+ "displayName": "Inkmap — Markdown Mind Map & Mermaid 思维导图 / 脑图",
3
+ "description": "Interactive two-way Markdown mind map (markmap) & Mermaid flowchart editor with LaTeX, XMind outline sync & PNG/SVG export | 双向编辑思维导图、脑图、流程图、大纲",
4
4
  "virtualWorkspaces": "Inkmap edits Markdown files on disk.",
5
5
  "editor.displayName": "Inkmap Mind Map",
6
6
  "command.open": "Open as Inkmap",
@@ -1,6 +1,6 @@
1
1
  {
2
- "displayName": "Inkmap 墨图 — Markdown 思维导图 / 脑图 / Markmap 编辑器",
3
- "description": "将 Markdown (.md / .markmap.md) 实时双向编辑为思维导图与脑图大纲,支持 Mermaid 流程图、LaTeX 公式与高清 PNG/SVG 导出。",
2
+ "displayName": "Inkmap 墨图 — Markdown 思维导图 / 脑图 / Markmap & Mermaid 流程图",
3
+ "description": "将 Markdown (.md / .markmap.md) 实时双向编辑为思维导图、脑图大纲与架构图,原生支持 Mermaid 流程图、LaTeX 公式、XMind 快捷键与高清 PNG/SVG 导出。",
4
4
  "virtualWorkspaces": "Inkmap 需要编辑磁盘上的 Markdown 文件。",
5
5
  "editor.displayName": "Inkmap 思维导图",
6
6
  "command.open": "Open as Inkmap",
package/dist/cli.cjs CHANGED
@@ -795,7 +795,7 @@ function licenseService(storage, getOrigin, { loginOnly = false, host: defaultHo
795
795
  installId: id,
796
796
  host: hostName,
797
797
  os,
798
- version: "0.3.5",
798
+ version: "0.3.6",
799
799
  locale: clientLocale(),
800
800
  tier,
801
801
  events
@@ -39917,7 +39917,7 @@ async function createInkmapMcpServer(options = {}) {
39917
39917
  const fallbackEditors = /* @__PURE__ */ new Map();
39918
39918
  const ads = adFeed(PRODUCT.adFeedUrl);
39919
39919
  const workspaces = createMcpWorkspaceManager();
39920
- const server = new McpServer({ name: "inkmap", version: "0.3.5" });
39920
+ const server = new McpServer({ name: "inkmap", version: "0.3.6" });
39921
39921
  function isAntigravityHost() {
39922
39922
  const clientName = server.server.getClientVersion()?.name ?? "";
39923
39923
  if (/antigravity/i.test(clientName))
@@ -40561,7 +40561,7 @@ function installIdeExtension(editorDir, cliCmd) {
40561
40561
  return null;
40562
40562
  }
40563
40563
  const extPkg = JSON.parse((0, import_node_fs3.readFileSync)((0, import_node_path5.join)(vscodeBundle, "package.json"), "utf8"));
40564
- const version2 = extPkg.version || "0.3.5";
40564
+ const version2 = extPkg.version || "0.3.6";
40565
40565
  const staging = (0, import_node_fs3.mkdtempSync)((0, import_node_path5.join)((0, import_node_os5.tmpdir)(), "inkmap-vsix-"));
40566
40566
  try {
40567
40567
  const extStaging = (0, import_node_path5.join)(staging, "extension");
@@ -41135,7 +41135,7 @@ var import_node_url4 = require("node:url");
41135
41135
  init_dist();
41136
41136
  init_license();
41137
41137
  init_server();
41138
- var INKMAP_VERSION = "0.3.5";
41138
+ var INKMAP_VERSION = "0.3.6";
41139
41139
  var WEB_ROOT2 = (0, import_node_url4.fileURLToPath)(new URL("./web/", inkmapModuleUrl));
41140
41140
  var USAGE = `Inkmap v${INKMAP_VERSION} \u2014 Markdown \u4EA4\u4E92\u601D\u7EF4\u5BFC\u56FE\u7F16\u8F91\u5668 & MCP App
41141
41141
 
package/dist/codex.html CHANGED
@@ -816,7 +816,7 @@ ${En}`}async function Il(tt){var Xn;if(xt(),!we.allow("export"))return;(Xn=n.tra
816
816
  `),u=`来自 \`${this.currentFile}\`(第 ${s+1}–${a+1} 行):
817
817
  \`\`\`markdown
818
818
  ${o}
819
- \`\`\``,A=this.app.getHostCapabilities();A!=null&&A.updateModelContext?this.app.updateModelContext({content:[{type:"text",text:u}]}).catch(()=>{}):A!=null&&A.message&&this.app.sendMessage({role:"user",content:[{type:"text",text:u}]}).catch(()=>{})}license(){return this.licenseCheck??(this.licenseCheck=this.callTool("inkmap_access").then(e=>{const r=Dgn(e);return this.currentLicense=r,r}).finally(()=>{this.licenseCheck=void 0}))}async checkout(e){if(e!=="restore")throw new Error("Only account restoration is supported.");const{url:r}=await this.callTool("inkmap_restore_access",{locale:this.locale});if(typeof r!="string"||new URL(r).protocol!=="https:")throw new Error("Invalid account link.");if((await this.app.openLink({url:r})).isError)throw new Error("Unable to open account login.")}async signOut(){await this.callTool("inkmap_disconnect_access"),this.currentLicense={pro:!1}}onLicenseChange(e){const r=()=>void this.license().then(e).catch(()=>{}),s=window.setInterval(r,2e3);window.addEventListener("focus",r),window.addEventListener("pagehide",()=>{window.clearInterval(s),window.removeEventListener("focus",r)},{once:!0})}async ads(){return[]}async saveFile(e,r){var a;const s=/^data:(image\/(?:png|svg\+xml));base64,([\s\S]+)$/.exec(r);if(s&&((a=this.app.getHostCapabilities())!=null&&a.downloadFile)){const{isError:o}=await this.app.downloadFile({contents:[{type:"resource",resource:{uri:"file:///"+encodeURIComponent(e),mimeType:s[1],blob:s[2]}}]});if(!o)return!0}return J8r(e,r)}}const _M=sft(fc("正在连接 Inkmap 思维导图面板…","Connecting to Inkmap mind map panel…")),Jp=new r8r({name:"Inkmap",version:"0.3.5"},{},{autoResize:!1}),lce=new T8r(Jp);let wP=!1;function qft(n){var a;if(lce.resources||wP)return;const e=((a=Jp.getHostVersion())==null?void 0:a.name)??"";if(/antigravity/i.test(e)||(n==null?void 0:n.displayMode)==="fullscreen")return;const r=n!=null&&n.containerDimensions&&"maxHeight"in n.containerDimensions&&typeof n.containerDimensions.maxHeight=="number"?n.containerDimensions.maxHeight:void 0,s=r?Math.min(Math.max(420,r),640):560;document.documentElement.style.minHeight=`${s}px`,document.body.style.minHeight=`${s}px`,Jp.sendSizeChanged({height:s}).catch(()=>{})}function vTn(n){var e;qft(n),n&&((n.theme==="light"||n.theme==="dark")&&WMn(n.theme),(e=n.styles)!=null&&e.variables&&VMn(n.styles.variables))}let b3=!1,_ft,wH,yoe,Rke;function kOr(n){if(!(!n||typeof n!="object"))return{...typeof n.path=="string"&&{path:n.path},...typeof n.workspace=="string"&&{workspace:n.workspace}}}function TOr(n){b3=!0,wP=!0,_M.close();const e=n.currentFile?n.currentFile.split(/[\\/]/).pop()||n.currentFile:"Markdown",r=document.createElement("div");r.id="inkmap-delegated-banner",r.innerHTML=`
819
+ \`\`\``,A=this.app.getHostCapabilities();A!=null&&A.updateModelContext?this.app.updateModelContext({content:[{type:"text",text:u}]}).catch(()=>{}):A!=null&&A.message&&this.app.sendMessage({role:"user",content:[{type:"text",text:u}]}).catch(()=>{})}license(){return this.licenseCheck??(this.licenseCheck=this.callTool("inkmap_access").then(e=>{const r=Dgn(e);return this.currentLicense=r,r}).finally(()=>{this.licenseCheck=void 0}))}async checkout(e){if(e!=="restore")throw new Error("Only account restoration is supported.");const{url:r}=await this.callTool("inkmap_restore_access",{locale:this.locale});if(typeof r!="string"||new URL(r).protocol!=="https:")throw new Error("Invalid account link.");if((await this.app.openLink({url:r})).isError)throw new Error("Unable to open account login.")}async signOut(){await this.callTool("inkmap_disconnect_access"),this.currentLicense={pro:!1}}onLicenseChange(e){const r=()=>void this.license().then(e).catch(()=>{}),s=window.setInterval(r,2e3);window.addEventListener("focus",r),window.addEventListener("pagehide",()=>{window.clearInterval(s),window.removeEventListener("focus",r)},{once:!0})}async ads(){return[]}async saveFile(e,r){var a;const s=/^data:(image\/(?:png|svg\+xml));base64,([\s\S]+)$/.exec(r);if(s&&((a=this.app.getHostCapabilities())!=null&&a.downloadFile)){const{isError:o}=await this.app.downloadFile({contents:[{type:"resource",resource:{uri:"file:///"+encodeURIComponent(e),mimeType:s[1],blob:s[2]}}]});if(!o)return!0}return J8r(e,r)}}const _M=sft(fc("正在连接 Inkmap 思维导图面板…","Connecting to Inkmap mind map panel…")),Jp=new r8r({name:"Inkmap",version:"0.3.6"},{},{autoResize:!1}),lce=new T8r(Jp);let wP=!1;function qft(n){var a;if(lce.resources||wP)return;const e=((a=Jp.getHostVersion())==null?void 0:a.name)??"";if(/antigravity/i.test(e)||(n==null?void 0:n.displayMode)==="fullscreen")return;const r=n!=null&&n.containerDimensions&&"maxHeight"in n.containerDimensions&&typeof n.containerDimensions.maxHeight=="number"?n.containerDimensions.maxHeight:void 0,s=r?Math.min(Math.max(420,r),640):560;document.documentElement.style.minHeight=`${s}px`,document.body.style.minHeight=`${s}px`,Jp.sendSizeChanged({height:s}).catch(()=>{})}function vTn(n){var e;qft(n),n&&((n.theme==="light"||n.theme==="dark")&&WMn(n.theme),(e=n.styles)!=null&&e.variables&&VMn(n.styles.variables))}let b3=!1,_ft,wH,yoe,Rke;function kOr(n){if(!(!n||typeof n!="object"))return{...typeof n.path=="string"&&{path:n.path},...typeof n.workspace=="string"&&{workspace:n.workspace}}}function TOr(n){b3=!0,wP=!0,_M.close();const e=n.currentFile?n.currentFile.split(/[\\/]/).pop()||n.currentFile:"Markdown",r=document.createElement("div");r.id="inkmap-delegated-banner",r.innerHTML=`
820
820
  <style id="inkmap-delegated-style">
821
821
  :root.ink-banner-collapsed, :root.ink-banner-collapsed body {
822
822
  margin: 0 !important; padding: 0 !important;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "inkmap-mcp",
3
- "version": "0.3.5",
4
- "description": "Interactive Markdown mind map editor & MCP App for Claude, Codex, Antigravity, Cursor, VS Code, and local browsers.",
3
+ "version": "0.3.6",
4
+ "description": "Interactive two-way Markdown mind map (markmap) & Mermaid flowchart editor / MCP App for Claude, Codex, Antigravity, Cursor, VS Code, Qoder & DeepSeek Harness | Markdown 双向思维导图、脑图、流程图与大纲",
5
5
  "mcpName": "io.github.zhiyuanvision-lang/inkmap-markdown-mindmap-markmap",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
7
- "homepage": "https://www.zhiyuanv.com/software.html",
7
+ "homepage": "https://zhiyuanv.com/software.html",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/zhiyuanvision-lang/InkMap.git"
@@ -30,6 +30,7 @@
30
30
  "mcp",
31
31
  "mcp-server",
32
32
  "mcp-app",
33
+ "model-context-protocol",
33
34
  "markdown",
34
35
  "mindmap",
35
36
  "mind-map",
@@ -40,17 +41,35 @@
40
41
  "diagram",
41
42
  "outline",
42
43
  "xmind",
44
+ "katex",
45
+ "latex",
43
46
  "claude",
47
+ "claude-code",
48
+ "claude-plugin",
44
49
  "codex",
50
+ "codex-plugin",
45
51
  "cursor",
52
+ "cursor-plugin",
46
53
  "vscode",
47
54
  "antigravity",
48
55
  "deepseek-harness",
49
56
  "dsh",
50
57
  "dsh-plugin",
58
+ "qoder",
59
+ "trae",
60
+ "windsurf",
61
+ "workbuddy",
62
+ "codebuddy",
51
63
  "思维导图",
52
64
  "脑图",
53
65
  "大纲",
54
- "流程图"
66
+ "流程图",
67
+ "架构图",
68
+ "组织结构图",
69
+ "鱼骨图",
70
+ "时间轴",
71
+ "双向同步",
72
+ "知识库",
73
+ "笔记"
55
74
  ]
56
75
  }
package/server.json CHANGED
@@ -1,10 +1,19 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.zhiyuanvision-lang/inkmap-markdown-mindmap-markmap",
4
- "title": "Inkmap Mind Map",
5
- "description": "Interactive two-way Markdown mind map editor & MCP App for local .md and .markmap.md files.",
6
- "version": "0.3.5",
7
- "websiteUrl": "https://www.zhiyuanv.com/software.html",
4
+ "title": "Inkmap — Markdown Mind Map & Mermaid 思维导图/脑图/流程图",
5
+ "description": "Two-way Markdown mind map (markmap), Mermaid flowchart & outline MCP App | 双向思维导图/脑图/流程图/大纲",
6
+ "version": "0.3.6",
7
+ "websiteUrl": "https://zhiyuanv.com/software.html",
8
+ "icons": [
9
+ {
10
+ "src": "https://raw.githubusercontent.com/zhiyuanvision-lang/InkMap/main/packages/vscode/images/icon.png",
11
+ "mimeType": "image/png",
12
+ "sizes": [
13
+ "128x128"
14
+ ]
15
+ }
16
+ ],
8
17
  "repository": {
9
18
  "url": "https://github.com/zhiyuanvision-lang/InkMap",
10
19
  "source": "github"
@@ -13,7 +22,7 @@
13
22
  {
14
23
  "registryType": "npm",
15
24
  "identifier": "inkmap-mcp",
16
- "version": "0.3.5",
25
+ "version": "0.3.6",
17
26
  "transport": {
18
27
  "type": "stdio"
19
28
  },