md-to-mowen 1.2.1 → 1.3.0

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.
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "md-to-mowen",
3
+ "version": "1.2.1",
4
+ "description": "将 Markdown(GFM)转换为墨问笔记的 CLI 工具,支持一键发布、智能编辑、图片处理、表格渲染等功能",
5
+ "skills": [
6
+ {
7
+ "name": "mowen",
8
+ "description": "默问 (Mowen) 文章发布/编辑技能 - 完整发布流程(HTML+CSS 高清表格渲染、质量检查、自动配图)",
9
+ "trigger": {
10
+ "keywords": ["墨问", "mowen", "发布笔记", "发布文章", "markdown 发布", "mowen publish"],
11
+ "commands": ["publish", "to-markdown", "privacy", "config"]
12
+ },
13
+ "instructions": "使用 md-to-mowen CLI 工具将 Markdown 文件发布到墨问平台。\n\n## 快速开始\n\n1. 配置 API Key: `md-to-mowen config`\n2. 发布笔记: `md-to-mowen publish -i article.md`\n3. 添加标签: `md-to-mowen publish -i article.md --tags \"tech,ai\"`\n\n## 功能特性\n\n- **一键发布** — 单文件或整个目录批量发布\n- **智能编辑** — 自动追踪文件与笔记映射,再次发布自动进入编辑模式\n- **图片处理** — 本地图片/远程 URL 自动上传到墨问 OSS\n- **表格渲染** — Markdown 表格自动渲染为高清 PNG 图片\n- **隐私控制** — 独立命令设置笔记公开/私密状态\n\n## 命令\n\n- `publish` — 发布笔记\n- `privacy` — 设置隐私状态\n- `to-markdown` — NoteAtom 转 Markdown\n- `config` — 配置 API Key"
14
+ }
15
+ ],
16
+ "commands": [
17
+ {
18
+ "name": "publish",
19
+ "description": "发布 Markdown 文件到墨问笔记",
20
+ "binary": "md-to-mowen",
21
+ "args": ["publish", "-i", "${input}"]
22
+ },
23
+ {
24
+ "name": "privacy",
25
+ "description": "设置笔记隐私状态",
26
+ "binary": "md-to-mowen",
27
+ "args": ["privacy", "--note-id", "${noteId}", "--visibility", "${visibility}"]
28
+ },
29
+ {
30
+ "name": "to-markdown",
31
+ "description": "将 NoteAtom JSON 转换为 Markdown",
32
+ "binary": "md-to-mowen",
33
+ "args": ["to-markdown", "-i", "${input}", "-o", "${output}"]
34
+ },
35
+ {
36
+ "name": "config",
37
+ "description": "配置墨问 API Key",
38
+ "binary": "md-to-mowen",
39
+ "args": ["config"]
40
+ }
41
+ ],
42
+ "author": "tecson",
43
+ "license": "MIT",
44
+ "homepage": "https://github.com/tecson/md-to-mowen#readme",
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/tecson/md-to-mowen.git"
48
+ }
49
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "md-to-mowen",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "将 Markdown(GFM)转换为墨问笔记的 CLI 工具",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "files": [
10
10
  "dist",
11
- "!dist/out"
11
+ "!dist/out",
12
+ ".claude-plugin"
12
13
  ],
13
14
  "exports": {
14
15
  ".": "./dist/publish/index.js",