dingtalk-wiki 1.2.1 → 1.2.3

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # dingtalk-wiki-mcp
1
+ # dingtalk-wiki
2
2
 
3
3
  [![Release](https://img.shields.io/github/v/release/ianen/dingtalk-wiki-mcp?display_name=tag)](https://github.com/ianen/dingtalk-wiki-mcp/releases)
4
4
  [![License](https://img.shields.io/github/license/ianen/dingtalk-wiki-mcp)](./LICENSE)
@@ -34,8 +34,8 @@ All config goes into one JSON block — no local files needed:
34
34
  {
35
35
  "mcpServers": {
36
36
  "dingtalk-wiki": {
37
- "command": "node",
38
- "args": ["/path/to/dingtalk-wiki-mcp/index.js"],
37
+ "command": "pnpx",
38
+ "args": ["dingtalk-wiki@latest"],
39
39
  "env": {
40
40
  "DINGTALK_APP_KEY": "your-app-key",
41
41
  "DINGTALK_APP_SECRET": "your-app-secret",
@@ -53,7 +53,7 @@ All config goes into one JSON block — no local files needed:
53
53
  | `DINGTALK_APP_SECRET` | DingTalk App Secret |
54
54
  | `DINGTALK_WIKI_CONFIG` | User/workspace config (JSON string), required |
55
55
 
56
- On first call the server auto-fetches `unionId` via `userId` and caches it to `~/.cache/dingtalk-wiki-mcp/`.
56
+ On first call the server auto-fetches `unionId` via `userId` and caches it to `~/.cache/dingtalk-wiki/`.
57
57
 
58
58
  Then call tools as `dingtalk-wiki.list_wiki_workspaces` (namespaced).
59
59
 
@@ -108,14 +108,14 @@ Or:
108
108
  node index.js
109
109
  ```
110
110
 
111
- > `npx dingtalk-wiki-mcp` is a future-friendly path after npm publishing.
111
+ > `pnpx dingtalk-wiki` is a future-friendly path after npm publishing.
112
112
  > This repository already includes the correct CLI entry (`bin`), but npm distribution is not part of the current release yet.
113
113
 
114
114
  ---
115
115
 
116
116
  ## DingTalk official MCP vs this project
117
117
 
118
- | Capability | DingTalk official MCP | dingtalk-wiki-mcp |
118
+ | Capability | DingTalk official MCP | dingtalk-wiki |
119
119
  | ------------------------------ | ----------------------------: | ----------------------: |
120
120
  | Wiki read | Not covered | ✅ |
121
121
  | Wiki write | Not covered | ✅ |
package/README.zh-CN.md CHANGED
@@ -1,4 +1,4 @@
1
- # dingtalk-wiki-mcp
1
+ # dingtalk-wiki
2
2
 
3
3
  [![Release](https://img.shields.io/github/v/release/ianen/dingtalk-wiki-mcp?display_name=tag)](https://github.com/ianen/dingtalk-wiki-mcp/releases)
4
4
  [![License](https://img.shields.io/github/license/ianen/dingtalk-wiki-mcp)](./LICENSE)
@@ -34,8 +34,8 @@
34
34
  {
35
35
  "mcpServers": {
36
36
  "dingtalk-wiki": {
37
- "command": "node",
38
- "args": ["/path/to/dingtalk-wiki-mcp/index.js"],
37
+ "command": "pnpx",
38
+ "args": ["dingtalk-wiki@latest"],
39
39
  "env": {
40
40
  "DINGTALK_APP_KEY": "your-app-key",
41
41
  "DINGTALK_APP_SECRET": "your-app-secret",
@@ -54,7 +54,7 @@
54
54
  | `DINGTALK_APP_SECRET` | 钉钉应用 AppSecret |
55
55
  | `DINGTALK_WIKI_CONFIG` | 用户/知识库配置(JSON 字符串),必填 |
56
56
 
57
- 首次调用时程序自动通过 `userId` 获取 `unionId` 并缓存到 `~/.cache/dingtalk-wiki-mcp/`,后续启动不再重复请求。
57
+ 首次调用时程序自动通过 `userId` 获取 `unionId` 并缓存到 `~/.cache/dingtalk-wiki/`,后续启动不再重复请求。
58
58
 
59
59
  之后以 `dingtalk-wiki.工具名` 的方式调用(如 `dingtalk-wiki.list_wiki_workspaces`)。
60
60
 
@@ -108,14 +108,14 @@ npm start
108
108
  node index.js
109
109
  ```
110
110
 
111
- > `npx dingtalk-wiki-mcp` 是后续可扩展的分发路径。
111
+ > `npx dingtalk-wiki` 是后续可扩展的分发路径。
112
112
  > 当前仓库已经具备正确的 CLI 入口(`bin`),但 npm 发布不在这次版本范围内。
113
113
 
114
114
  ---
115
115
 
116
116
  ## 官方 DingTalk MCP vs 本项目
117
117
 
118
- | 能力 | 钉钉官方 MCP | dingtalk-wiki-mcp |
118
+ | 能力 | 钉钉官方 MCP | dingtalk-wiki |
119
119
  |---|---:|---:|
120
120
  | Wiki 读取 | 未覆盖 | ✅ |
121
121
  | Wiki 写入 | 未覆盖 | ✅ |
package/index.js CHANGED
@@ -601,7 +601,7 @@ const wikiIndex = new WikiSearchIndex();
601
601
  // MCP Server 定义
602
602
  const server = new Server(
603
603
  {
604
- name: 'dingtalk-wiki-mcp',
604
+ name: 'dingtalk-wiki',
605
605
  version: '1.1.0'
606
606
  },
607
607
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dingtalk-wiki",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "DingTalk Wiki / Docs read-write MCP server that fills the gap left by DingTalk official MCP.",
5
5
  "main": "index.js",
6
6
  "bin": {