inkmap-mcp 0.3.7 → 0.3.8
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/dist/bundles/antigravity/sidecars/inkmap/main.mjs +1 -1
- package/dist/bundles/codex/inkmap-codex/.codex-plugin/plugin.json +1 -1
- package/dist/bundles/codex/inkmap-codex/plugin.json +1 -1
- package/dist/bundles/harness/host.js +1 -1
- package/dist/bundles/harness/package.json +1 -1
- package/dist/bundles/vscode/dist/extension.js +1 -1
- package/dist/bundles/vscode/package.json +1 -1
- package/dist/cli.cjs +3 -3
- package/dist/codex.html +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inkmap-codex",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "Interactive two-way Markdown mind map (markmap), Mermaid flowchart & XMind outline editor | 双向编辑 Markdown 思维导图、脑图、流程图与大纲",
|
|
5
5
|
"homepage": "https://zhiyuanv.com/software.html",
|
|
6
6
|
"repository": "https://github.com/zhiyuanvision-lang/InkMap",
|
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
"version": "0.3.8",
|
|
5
5
|
"description": "Interactive two-way Markdown mind map (markmap), Mermaid flowchart & XMind outline editor | 双向编辑 Markdown 思维导图、脑图、流程图与大纲",
|
|
6
6
|
"homepage": "https://zhiyuanv.com/software.html",
|
|
7
7
|
"repository": "https://github.com/zhiyuanvision-lang/InkMap",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-inkmap",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
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/dist/cli.cjs
CHANGED
|
@@ -801,7 +801,7 @@ function licenseService(storage, getOrigin, { loginOnly = false, host: defaultHo
|
|
|
801
801
|
installId: id,
|
|
802
802
|
host: hostName,
|
|
803
803
|
os,
|
|
804
|
-
version: "0.3.
|
|
804
|
+
version: "0.3.8",
|
|
805
805
|
locale: clientLocale(),
|
|
806
806
|
tier,
|
|
807
807
|
events
|
|
@@ -39923,7 +39923,7 @@ async function createInkmapMcpServer(options = {}) {
|
|
|
39923
39923
|
const fallbackEditors = /* @__PURE__ */ new Map();
|
|
39924
39924
|
const ads = adFeed(PRODUCT.adFeedUrl);
|
|
39925
39925
|
const workspaces = createMcpWorkspaceManager();
|
|
39926
|
-
const server = new McpServer({ name: "inkmap", version: "0.3.
|
|
39926
|
+
const server = new McpServer({ name: "inkmap", version: "0.3.8" });
|
|
39927
39927
|
function isAntigravityHost() {
|
|
39928
39928
|
const clientName = server.server.getClientVersion()?.name ?? "";
|
|
39929
39929
|
if (/antigravity/i.test(clientName))
|
|
@@ -41141,7 +41141,7 @@ var import_node_url4 = require("node:url");
|
|
|
41141
41141
|
init_dist();
|
|
41142
41142
|
init_license();
|
|
41143
41143
|
init_server();
|
|
41144
|
-
var INKMAP_VERSION = "0.3.
|
|
41144
|
+
var INKMAP_VERSION = "0.3.8";
|
|
41145
41145
|
var WEB_ROOT2 = (0, import_node_url4.fileURLToPath)(new URL("./web/", inkmapModuleUrl));
|
|
41146
41146
|
var USAGE = `Inkmap v${INKMAP_VERSION} \u2014 Markdown \u4EA4\u4E92\u601D\u7EF4\u5BFC\u56FE\u7F16\u8F91\u5668 & MCP App
|
|
41147
41147
|
|
package/dist/codex.html
CHANGED
|
@@ -887,7 +887,7 @@ ${En}`}function Il($e,En,Xn){const Rr=$e.replace(/[&<>"']/g,Qs=>({"&":"&","<
|
|
|
887
887
|
`),u=`来自 \`${this.currentFile}\`(第 ${s+1}–${a+1} 行):
|
|
888
888
|
\`\`\`markdown
|
|
889
889
|
${o}
|
|
890
|
-
\`\`\``,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=aft(Ac("正在连接 Inkmap 思维导图面板…","Connecting to Inkmap mind map panel…")),Wp=new r8r({name:"Inkmap",version:"0.3.
|
|
890
|
+
\`\`\``,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=aft(Ac("正在连接 Inkmap 思维导图面板…","Connecting to Inkmap mind map panel…")),Wp=new r8r({name:"Inkmap",version:"0.3.8"},{},{autoResize:!1}),lce=new T8r(Wp);let wP=!1;function _ft(n){var a;if(lce.resources||wP)return;const e=((a=Wp.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`,Wp.sendSizeChanged({height:s}).catch(()=>{})}function vTn(n){var e;_ft(n),n&&((n.theme==="light"||n.theme==="dark")&&WMn(n.theme),(e=n.styles)!=null&&e.variables&&VMn(n.styles.variables))}let b3=!1,Zft,wH,yoe,Lke;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=`
|
|
891
891
|
<style id="inkmap-delegated-style">
|
|
892
892
|
:root.ink-banner-collapsed, :root.ink-banner-collapsed body {
|
|
893
893
|
margin: 0 !important; padding: 0 !important;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inkmap-mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
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",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.zhiyuanvision-lang/inkmap-markdown-mindmap-markmap",
|
|
4
4
|
"title": "Inkmap — Markdown Mind Map & Mermaid 思维导图/脑图/流程图",
|
|
5
5
|
"description": "Two-way Markdown mind map (markmap), Mermaid flowchart & outline MCP App | 双向思维导图/脑图/流程图/大纲",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.8",
|
|
7
7
|
"websiteUrl": "https://zhiyuanv.com/software.html",
|
|
8
8
|
"icons": [
|
|
9
9
|
{
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "inkmap-mcp",
|
|
25
|
-
"version": "0.3.
|
|
25
|
+
"version": "0.3.8",
|
|
26
26
|
"transport": {
|
|
27
27
|
"type": "stdio"
|
|
28
28
|
},
|