docs(cli): align Node runtime requirements

This commit is contained in:
digua committed 2026-08-18 17:27:48 +08:00
1 parent 2e624f6beb
commit 163ef41118
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ clb import "/absolute/path/to/source" --dry-run --json
3. 用户跳过安装、安装失败或当前无法联网时,不要阻断转换,改用 `scripts/validate-chatlab.mjs`;
4. 跳过 `clb formats` 和源文件 dry-run,并明确说明无法确认 ChatLab 是否已原生支持该源格式。
内置验证器需要 Node.js 20 或更高版本。如果 `node --version` 也不可用,可以继续编写转换器,但必须把结果标记为“尚未验证”,并引导用户安装 Node.js 和 `chatlab-cli`;未经同意不要自行安装。
内置验证器需要 Node.js 22.19 或更高版本。如果 `node --version` 也不可用,可以继续编写转换器,但必须把结果标记为“尚未验证”,并引导用户安装 Node.js 和 `chatlab-cli`;未经同意不要自行安装。
不能用肉眼检查替代 CLI 或内置严格验证器。
+1 -1
View File
@@ -44,7 +44,7 @@ If `clb` is missing, or the installed version has no `validate` command:
3. If the user skips installation, installation fails, or the network is unavailable, continue with `scripts/validate-chatlab.mjs`.
4. Skip `clb formats` and the source dry run, and state that native ChatLab support for the source format could not be checked.
The bundled validator requires Node.js 20 or later. If `node --version` is also unavailable, the converter may still be written, but mark the result as “not yet validated” and guide the user to install Node.js and `chatlab-cli`. Do not install either without permission.
The bundled validator requires Node.js 22.19 or later. If `node --version` is also unavailable, the converter may still be written, but mark the result as “not yet validated” and guide the user to install Node.js and `chatlab-cli`. Do not install either without permission.
Do not replace either the CLI validator or bundled strict validator with visual inspection.
+1 -1
View File
@@ -634,7 +634,7 @@
"title": "Tips",
"dataDir": "The MCP server reads chat data from ~/.chatlab/, sharing the same data as the desktop app.",
"readOnly": "All operations are read-only and will not modify your chat records.",
"nodeRequired": "npx and CLI modes require Node.js 20 or higher.",
"nodeRequired": "npx and CLI modes require Node.js 22.19 or later.",
"docs": "For detailed documentation, visit docs.chatlab.fun."
}
},
+1 -1
View File
@@ -634,7 +634,7 @@
"title": "ヒント",
"dataDir": "MCP サーバーは ~/.chatlab/ ディレクトリのチャットデータを読み取り、デスクトップアプリと同じデータを共有します。",
"readOnly": "すべての操作は読み取り専用で、チャット記録は変更されません。",
"nodeRequired": "npx および CLI モードには Node.js 20 以上が必要です。",
"nodeRequired": "npx および CLI モードには Node.js 22.19 以上が必要です。",
"docs": "詳細なドキュメントは docs.chatlab.fun をご覧ください。"
}
},
+1 -1
View File
@@ -634,7 +634,7 @@
"title": "使用提示",
"dataDir": "MCP 服务器读取 ~/.chatlab/ 目录下的聊天数据,与桌面应用共享同一份数据。",
"readOnly": "所有操作均为只读,不会修改你的聊天记录。",
"nodeRequired": "npx 和 CLI 方式需要 Node.js 20 或更高版本。",
"nodeRequired": "npx 和 CLI 方式需要 Node.js 22.19 或更高版本。",
"docs": "详细文档请访问 docs.chatlab.fun。"
}
},
+1 -1
View File
@@ -634,7 +634,7 @@
"title": "使用提示",
"dataDir": "MCP 伺服器讀取 ~/.chatlab/ 目錄下的聊天資料,與桌面應用程式共用同一份資料。",
"readOnly": "所有操作均為唯讀,不會修改你的聊天記錄。",
"nodeRequired": "npx 和 CLI 方式需要 Node.js 20 或更高版本。",
"nodeRequired": "npx 和 CLI 方式需要 Node.js 22.19 或更高版本。",
"docs": "詳細文件請造訪 docs.chatlab.fun。"
}
},