inkmap-mcp 0.0.0-stage → 0.2.5

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/LICENSE.md ADDED
@@ -0,0 +1,89 @@
1
+ # Inkmap 最终用户许可协议 / End User License Agreement
2
+
3
+ 版本:2026-11-09
4
+
5
+ 中文版与英文版具有同等效力;如有歧义,以中文版为准。
6
+
7
+ ## 中文版
8
+
9
+ ### 1. 适用范围
10
+
11
+ 本协议适用于 Inkmap(墨图)编辑器插件、命令行工具及其后续更新(下称“本软件”)。安装或使用本软件,即表示你同意本协议。
12
+
13
+ ### 2. 免费试用
14
+
15
+ 首次使用起可免费试用 7 天,用于个人或商业用途。到期后需购买 Pro 才能继续使用本软件。
16
+
17
+ ### 3. Pro 终身会员
18
+
19
+ 购买 Pro 后,权益与购买者的云帆平台账号绑定。使用同一账号可在本人的设备上恢复权益。软件通过联网验证权益后解锁全部功能。
20
+
21
+ “终身”指一次购买、无需续费,并免费获得后续发布的更新及新增 Pro 功能。
22
+
23
+ ### 4. 退款
24
+
25
+ 自购买之日起 7 天内,如对 Pro 不满意,可通过购买渠道联系我们申请全额退款,无需说明理由。退款后对应 Pro 权益会被撤销。
26
+
27
+ ### 5. 隐私
28
+
29
+ - 本软件不收集、不上传你的文档内容,不做任何使用统计或跟踪。
30
+ - 平台会话凭证保存在编辑器的机密存储中,命令行工具保存在 `~/.inkmap/billing-session` 中。
31
+ - 购买时的付款信息由支付平台处理,我们只能看到订单号、商品和联系方式等平台提供的信息,用于确认支付、发放权益和售后。
32
+
33
+ ### 6. 限制
34
+
35
+ 除法律明确允许外,你不得:反编译或修改本软件以绕过授权;出租、转售本软件或 Pro 权益;去除本软件中的版权和许可声明。
36
+
37
+ ### 7. 第三方组件
38
+
39
+ 本软件包含开源组件,各自适用其许可证,详见随附的 `THIRD_PARTY_NOTICES.md`。
40
+
41
+ ### 8. 免责声明
42
+
43
+ 本软件按“现状”提供。在法律允许的最大范围内,我们不对因使用本软件造成的数据丢失或其他损失承担责任;我们的全部赔偿责任以你为本软件实际支付的金额为限。请定期备份你的文档。
44
+
45
+ ### 9. 变更
46
+
47
+ 我们可能更新本协议,更新后的版本随新版本软件发布。已购买的 Pro 权益(永久使用、包含后续更新)不会因协议变更而减少。
48
+
49
+ ## English
50
+
51
+ ### 1. Scope
52
+
53
+ This agreement covers the Inkmap editor extension, the command-line tool and their future updates (the "Software"). By installing or using the Software you agree to it.
54
+
55
+ ### 2. Free trial
56
+
57
+ You may use all features for 7 days from first use, for personal or commercial work, at no cost. A Pro purchase is required to continue using the Software after the trial.
58
+
59
+ ### 3. Pro lifetime license
60
+
61
+ Pro access is linked to the purchaser's Yunfan account. Use that account to restore access on your own devices. The software verifies access online to unlock all features.
62
+
63
+ Lifetime access is a one-time purchase and includes future updates and new Pro features without a renewal fee.
64
+
65
+ ### 4. Refunds
66
+
67
+ Within 7 days of purchase you can ask for a full refund through the store, no questions asked. The corresponding Pro access is revoked after a refund.
68
+
69
+ ### 5. Privacy
70
+
71
+ - The Software never collects or uploads your documents and does no analytics or tracking.
72
+ - The platform session is stored in the editor’s secret storage or in `~/.inkmap/billing-session` for the CLI.
73
+ - Payments are handled by the payment platform. We only see what it shares — order number, product and contact details — and use it to confirm payments, grant access and provide support.
74
+
75
+ ### 6. Restrictions
76
+
77
+ Except where the law expressly permits it, you may not decompile or modify the Software to bypass licensing, rent or resell the Software or Pro rights, or remove copyright and license notices.
78
+
79
+ ### 7. Third-party components
80
+
81
+ The Software includes open-source components under their own licenses; see the bundled `THIRD_PARTY_NOTICES.md`.
82
+
83
+ ### 8. Disclaimer
84
+
85
+ The Software is provided "as is". To the extent permitted by law we are not liable for data loss or other damages from using it, and our total liability is limited to the amount you paid for the Software. Please back up your documents.
86
+
87
+ ### 9. Changes
88
+
89
+ We may update this agreement; the new version ships with new releases of the Software. Pro rights you have bought — permanent use including later updates — will not be reduced by such changes.
package/README.md CHANGED
@@ -1,3 +1,109 @@
1
- # Temporary Holding Version
1
+ # Inkmap — Interactive Markdown Mind Map & MCP App
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **Inkmap(墨图)** opens and edits local `.md` / `.markmap.md` files as an interactive, two-way synced mind map — directly inside **Claude Desktop**, **OpenAI Codex Desktop**, **Google Antigravity**, **Cursor**, **Claude Code**, **VS Code**, or your **local browser** (macOS, Ubuntu/Linux, Windows).
4
+
5
+ - **Two-way live sync**: Edit nodes on the mind map or let your AI agent rewrite the `.md` file — both stay in sync instantaneously without corrupting Markdown formatting, tables, code blocks, KaTeX math, or Mermaid diagrams.
6
+ - **Native MCP App (`@modelcontextprotocol/ext-apps`)**: Renders the interactive mind map canvas (`ui://inkmap/markdown.html`) directly inside MCP App-enabled AI clients.
7
+ - **100% Local Privacy**: Your Markdown documents stay on your machine and are never uploaded.
8
+
9
+ ---
10
+
11
+ ## Quick Install (One Command — macOS / Ubuntu / Windows)
12
+
13
+ Automatically detect and configure all AI clients installed on your machine (Claude Desktop, Claude Code, Cursor, Google Antigravity, OpenAI Codex):
14
+
15
+ ```bash
16
+ npx -y inkmap-mcp@latest install
17
+ ```
18
+
19
+ Or target a specific client:
20
+
21
+ ```bash
22
+ npx -y inkmap-mcp@latest install claude # Claude Desktop (macOS / Windows / Ubuntu)
23
+ npx -y inkmap-mcp@latest install claude-code # Claude Code CLI
24
+ npx -y inkmap-mcp@latest install antigravity # Google Antigravity
25
+ npx -y inkmap-mcp@latest install codex # OpenAI Codex Desktop
26
+ npx -y inkmap-mcp@latest install cursor # Cursor
27
+ ```
28
+
29
+ Optionally pre-authorize workspace directories:
30
+
31
+ ```bash
32
+ npx -y inkmap-mcp@latest install claude --workspace ~/projects
33
+ ```
34
+
35
+ ---
36
+
37
+ ## Standard MCP Server Configuration
38
+
39
+ If you prefer adding Inkmap manually to `claude_desktop_config.json`, `.cursor/mcp.json`, or via `claude mcp add`:
40
+
41
+ ```bash
42
+ claude mcp add --scope user inkmap -- npx -y inkmap-mcp@latest mcp
43
+ ```
44
+
45
+ ```json
46
+ {
47
+ "mcpServers": {
48
+ "inkmap": {
49
+ "command": "npx",
50
+ "args": ["-y", "inkmap-mcp@latest", "mcp"]
51
+ }
52
+ }
53
+ }
54
+ ```
55
+
56
+ Then ask your AI assistant:
57
+ > *"Open `docs/architecture.markmap.md` with Inkmap"*
58
+
59
+ ---
60
+
61
+ ## Local Browser Mode (CLI)
62
+
63
+ Open any Markdown outline directly in your default browser with live two-way file sync:
64
+
65
+ ```bash
66
+ npx -y inkmap-mcp@latest notes.markmap.md
67
+ ```
68
+
69
+ ---
70
+
71
+ ## 中文快速指南
72
+
73
+ ### 1. 一键自动安装到本机 AI 客户端(支持 Ubuntu / macOS / Windows)
74
+
75
+ 无需手动下载压缩包或手改 JSON 路径,终端执行一行命令即可自动检测并配置本机已安装的 **Claude Desktop、Claude Code、Google Antigravity、OpenAI Codex、Cursor**:
76
+
77
+ ```bash
78
+ npx -y inkmap-mcp@latest install
79
+ ```
80
+
81
+ 也可以指定单个客户端或预设工作区目录:
82
+
83
+ ```bash
84
+ npx -y inkmap-mcp@latest install claude --workspace ~/projects
85
+ ```
86
+
87
+ 安装完成后重启对应客户端,在对话中直接说:
88
+ > *“用 Inkmap 打开 `xxx.markmap.md`”*
89
+
90
+ ### 2. 本地浏览器独立打开 Markdown 导图
91
+
92
+ ```bash
93
+ npx -y inkmap-mcp@latest 你的文档.markmap.md
94
+ ```
95
+
96
+ ### 3. 卸载配置
97
+
98
+ ```bash
99
+ npx -y inkmap-mcp@latest uninstall
100
+ ```
101
+
102
+ ---
103
+
104
+ ## Links & License
105
+
106
+ - **Website & Downloads**: https://www.zhiyuanv.com/software.html
107
+ - **VS Code Extension**: [Inkmap on VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=inkmap.inkmap-vscode)
108
+ - **Pricing**: 7-day full-featured free trial; one-time lifetime Pro license linked to your account across devices.
109
+ - **License**: Proprietary EULA (`SEE LICENSE IN LICENSE.md`); bundled open-source notices in `THIRD_PARTY_NOTICES.md`.