@xuanmiss-npm/dingtalk 0.1.1 → 0.1.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,19 +1,13 @@
1
- # @xuanmiss/dingtalk
1
+ # @xuanmiss-npm/dingtalk
2
2
 
3
3
  OpenClaw 钉钉 (DingTalk) 渠道插件 - 支持 Stream 模式接入。
4
4
 
5
5
  ## 安装
6
6
 
7
- ### npm 安装
8
-
9
- ```bash
10
- openclaw plugins install @xuanmiss/dingtalk
7
+ openclaw plugins install @xuanmiss-npm/dingtalk
11
8
  ```
12
9
 
13
10
  ### 从本地源码安装
14
-
15
- ```bash
16
- openclaw plugins install ./extensions/dingtalk
17
11
  # 或使用 link 模式(不复制文件,适合开发)
18
12
  openclaw plugins install -l ./extensions/dingtalk
19
13
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuanmiss-npm/dingtalk",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "OpenClaw DingTalk (钉钉) channel plugin - Stream mode",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -21,10 +21,16 @@
21
21
  "plugin"
22
22
  ],
23
23
  "dependencies": {
24
- "dingtalk-stream": "^2.1.4"
24
+ "dingtalk-stream": "^2.1.4",
25
+ "zod": "^3.23.8"
25
26
  },
26
27
  "devDependencies": {
27
- "openclaw": "2026.1.29"
28
+ "@types/node": "^20.11.0",
29
+ "openclaw": "2026.1.29",
30
+ "typescript": "^5.3.3"
31
+ },
32
+ "peerDependencies": {
33
+ "openclaw": ">=2026.1.29"
28
34
  },
29
35
  "openclaw": {
30
36
  "extensions": [
package/tsconfig.json CHANGED
@@ -1,8 +1,24 @@
1
1
  {
2
- "extends": "../../tsconfig.json",
3
2
  "compilerOptions": {
3
+ "target": "es2023",
4
+ "module": "NodeNext",
5
+ "moduleResolution": "NodeNext",
6
+ "lib": [
7
+ "DOM",
8
+ "DOM.Iterable",
9
+ "ES2023",
10
+ "ScriptHost"
11
+ ],
12
+ "declaration": true,
13
+ "outDir": "dist",
4
14
  "rootDir": ".",
5
- "outDir": "dist"
15
+ "strict": true,
16
+ "esModuleInterop": true,
17
+ "allowSyntheticDefaultImports": true,
18
+ "forceConsistentCasingInFileNames": true,
19
+ "resolveJsonModule": true,
20
+ "skipLibCheck": true,
21
+ "noEmit": false
6
22
  },
7
23
  "include": [
8
24
  "index.ts",
@@ -10,6 +26,9 @@
10
26
  ],
11
27
  "exclude": [
12
28
  "node_modules",
13
- "dist"
29
+ "dist",
30
+ "src/**/*.test.ts",
31
+ "src/**/*.test.tsx",
32
+ "src/**/test-helpers.ts"
14
33
  ]
15
34
  }