dingtalk-wiki 1.2.2 → 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 +4 -4
- package/README.zh-CN.md +4 -4
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# dingtalk-wiki
|
|
1
|
+
# dingtalk-wiki
|
|
2
2
|
|
|
3
3
|
[](https://github.com/ianen/dingtalk-wiki-mcp/releases)
|
|
4
4
|
[](./LICENSE)
|
|
@@ -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
|
|
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
|
-
> `
|
|
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
|
|
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
|
|
1
|
+
# dingtalk-wiki
|
|
2
2
|
|
|
3
3
|
[](https://github.com/ianen/dingtalk-wiki-mcp/releases)
|
|
4
4
|
[](./LICENSE)
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
| `DINGTALK_APP_SECRET` | 钉钉应用 AppSecret |
|
|
55
55
|
| `DINGTALK_WIKI_CONFIG` | 用户/知识库配置(JSON 字符串),必填 |
|
|
56
56
|
|
|
57
|
-
首次调用时程序自动通过 `userId` 获取 `unionId` 并缓存到 `~/.cache/dingtalk-wiki
|
|
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
|
|
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
|
|
118
|
+
| 能力 | 钉钉官方 MCP | dingtalk-wiki |
|
|
119
119
|
|---|---:|---:|
|
|
120
120
|
| Wiki 读取 | 未覆盖 | ✅ |
|
|
121
121
|
| Wiki 写入 | 未覆盖 | ✅ |
|
package/index.js
CHANGED