@jeik/dingtalk-connector 0.8.30 → 0.8.31

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/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.8.31] - 2026-07-29
9
+
10
+ ### Fixes
11
+
12
+ - **manifest 版本自动对齐** — `prepublishOnly` 将 `openclaw.plugin.json` 的 `version` 同步为 `package.json` 版本,避免 `plugins install --force` 后 package 已是新版、inspect 仍显示旧 manifest 版本。
13
+
8
14
  ## [0.8.30] - 2026-07-28
9
15
 
10
16
  ### Fixes
package/README.en.md CHANGED
@@ -4,7 +4,7 @@
4
4
  <p>Community-enhanced fork based on official <strong>v0.8.24</strong>: adopts official long-connection improvements, plus stronger message delivery, queue feedback, and error-card UX.<br/>
5
5
  Keeps <strong>this repo’s unique</strong> extras (images, answer cards, first-response UX) and continues to fix issues not yet covered upstream.</p>
6
6
 
7
- <p><strong>Current release: <a href="https://www.npmjs.com/package/@jeik/dingtalk-connector">@jeik/dingtalk-connector</a> v0.8.30</strong></p>
7
+ <p><strong>Current release: <a href="https://www.npmjs.com/package/@jeik/dingtalk-connector">@jeik/dingtalk-connector</a> v0.8.31</strong></p>
8
8
 
9
9
  <p>
10
10
  <a href="https://www.npmjs.com/package/@jeik/dingtalk-connector"><img src="https://img.shields.io/npm/v/@jeik/dingtalk-connector.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="npm version" /></a>
@@ -23,7 +23,7 @@
23
23
 
24
24
  ## 🔧 Recent Updates
25
25
 
26
- ### 🚀 v0.8.30 · 2026-07-29 (current)
26
+ ### 🚀 v0.8.31 · 2026-07-29 (current)
27
27
 
28
28
  **Theme: production hardening · quieter logs · debug config only**
29
29
 
@@ -39,7 +39,7 @@ Built on **0.8.28** (steadier connection / fewer lost messages / clearer error c
39
39
 
40
40
  ### 📦 v0.8.28 · 2026-07-25
41
41
 
42
- Official 0.8.24-aligned connection & delivery hardening (included in 0.8.30).
42
+ Official 0.8.24-aligned connection & delivery hardening (included in 0.8.31).
43
43
 
44
44
  ### 📦 v0.8.26 / 0.8.25 and earlier
45
45
 
@@ -65,10 +65,10 @@ Package: [`@jeik/dingtalk-connector`](https://www.npmjs.com/package/@jeik/dingta
65
65
  npx @jeik/dingtalk-connector install --force && openclaw gateway restart
66
66
 
67
67
  # 2) If you did not get the latest, pin the version
68
- npx @jeik/dingtalk-connector@0.8.30 install --force && openclaw gateway restart
68
+ npx @jeik/dingtalk-connector@0.8.31 install --force && openclaw gateway restart
69
69
 
70
70
  # 3) If it still fails, force the official npm registry
71
- NPM_CONFIG_REGISTRY=https://registry.npmjs.org npx @jeik/dingtalk-connector@0.8.30 install --force && openclaw gateway restart
71
+ NPM_CONFIG_REGISTRY=https://registry.npmjs.org npx @jeik/dingtalk-connector@0.8.31 install --force && openclaw gateway restart
72
72
  ```
73
73
 
74
74
  ### B) Plugin only (credentials already set; try in order)
@@ -78,10 +78,10 @@ NPM_CONFIG_REGISTRY=https://registry.npmjs.org npx @jeik/dingtalk-connector@0.8.
78
78
  openclaw plugins install @jeik/dingtalk-connector --force && openclaw gateway restart
79
79
 
80
80
  # 2) If you did not get the latest, pin the version
81
- openclaw plugins install @jeik/dingtalk-connector@0.8.30 --force && openclaw gateway restart
81
+ openclaw plugins install @jeik/dingtalk-connector@0.8.31 --force && openclaw gateway restart
82
82
 
83
83
  # 3) If it still fails, force the official npm registry
84
- NPM_CONFIG_REGISTRY=https://registry.npmjs.org openclaw plugins install @jeik/dingtalk-connector@0.8.30 --force && openclaw gateway restart
84
+ NPM_CONFIG_REGISTRY=https://registry.npmjs.org openclaw plugins install @jeik/dingtalk-connector@0.8.31 --force && openclaw gateway restart
85
85
  ```
86
86
 
87
87
  ### Local tgz / from source (dev / offline)
@@ -90,7 +90,7 @@ NPM_CONFIG_REGISTRY=https://registry.npmjs.org openclaw plugins install @jeik/di
90
90
  git clone https://github.com/jeikl/dingtalk-openclaw-connector-fix-Community.git
91
91
  cd dingtalk-openclaw-connector-fix-Community
92
92
  npm install && npm run build && npm pack
93
- openclaw plugins install ./jeik-dingtalk-connector-0.8.30.tgz --force && openclaw gateway restart
93
+ openclaw plugins install ./jeik-dingtalk-connector-0.8.31.tgz --force && openclaw gateway restart
94
94
  ```
95
95
 
96
96
  ### Smoke check
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  <p>基于官方最新 <strong>v0.8.24</strong> 的社区增强版:吸收官方长连接改进,并重点优化消息接收、排队反馈与模型错误展示。<br/>
5
5
  保留社区在图片、答案卡、首响体验上的增强,持续修官方暂未覆盖的实际使用问题。</p>
6
6
 
7
- <p><strong>当前正式版:<a href="https://www.npmjs.com/package/@jeik/dingtalk-connector">@jeik/dingtalk-connector</a> v0.8.30</strong></p>
7
+ <p><strong>当前正式版:<a href="https://www.npmjs.com/package/@jeik/dingtalk-connector">@jeik/dingtalk-connector</a> v0.8.31</strong></p>
8
8
 
9
9
  <p>
10
10
  <a href="https://www.npmjs.com/package/@jeik/dingtalk-connector"><img src="https://img.shields.io/npm/v/@jeik/dingtalk-connector.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="npm version" /></a>
@@ -23,7 +23,7 @@
23
23
 
24
24
  ## 🔧 最近更新
25
25
 
26
- ### 🚀 v0.8.30 · 2026-07-29(当前正式版)
26
+ ### 🚀 v0.8.31 · 2026-07-29(当前正式版)
27
27
 
28
28
  **主题:正式加固 · 日志更干净 · 排障只开 debug**
29
29
 
@@ -39,7 +39,7 @@
39
39
 
40
40
  ### 📦 v0.8.28 · 2026-07-25
41
41
 
42
- 基于官方 0.8.24 的长连接与消息体验加固(当前能力已并入 0.8.30)。
42
+ 基于官方 0.8.24 的长连接与消息体验加固(当前能力已并入 0.8.31)。
43
43
 
44
44
  ### 📦 v0.8.26 / 0.8.25 及更早
45
45
 
@@ -65,10 +65,10 @@
65
65
  npx @jeik/dingtalk-connector install --force && openclaw gateway restart
66
66
 
67
67
  # 2)若装到的不是最新,指定版本号
68
- npx @jeik/dingtalk-connector@0.8.30 install --force && openclaw gateway restart
68
+ npx @jeik/dingtalk-connector@0.8.31 install --force && openclaw gateway restart
69
69
 
70
70
  # 3)若仍装不了,强制走 npm 官方源
71
- NPM_CONFIG_REGISTRY=https://registry.npmjs.org npx @jeik/dingtalk-connector@0.8.30 install --force && openclaw gateway restart
71
+ NPM_CONFIG_REGISTRY=https://registry.npmjs.org npx @jeik/dingtalk-connector@0.8.31 install --force && openclaw gateway restart
72
72
  ```
73
73
 
74
74
  ### B)只装插件(凭证已配好时,按顺序试)
@@ -78,10 +78,10 @@ NPM_CONFIG_REGISTRY=https://registry.npmjs.org npx @jeik/dingtalk-connector@0.8.
78
78
  openclaw plugins install @jeik/dingtalk-connector --force && openclaw gateway restart
79
79
 
80
80
  # 2)若装到的不是最新,指定版本号
81
- openclaw plugins install @jeik/dingtalk-connector@0.8.30 --force && openclaw gateway restart
81
+ openclaw plugins install @jeik/dingtalk-connector@0.8.31 --force && openclaw gateway restart
82
82
 
83
83
  # 3)若仍装不了,强制走 npm 官方源
84
- NPM_CONFIG_REGISTRY=https://registry.npmjs.org openclaw plugins install @jeik/dingtalk-connector@0.8.30 --force && openclaw gateway restart
84
+ NPM_CONFIG_REGISTRY=https://registry.npmjs.org openclaw plugins install @jeik/dingtalk-connector@0.8.31 --force && openclaw gateway restart
85
85
  ```
86
86
 
87
87
  ### 本地 tgz / 源码(开发、离线)
@@ -90,7 +90,7 @@ NPM_CONFIG_REGISTRY=https://registry.npmjs.org openclaw plugins install @jeik/di
90
90
  git clone https://github.com/jeikl/dingtalk-openclaw-connector-fix-Community.git
91
91
  cd dingtalk-openclaw-connector-fix-Community
92
92
  npm install && npm run build && npm pack
93
- openclaw plugins install ./jeik-dingtalk-connector-0.8.30.tgz --force && openclaw gateway restart
93
+ openclaw plugins install ./jeik-dingtalk-connector-0.8.31.tgz --force && openclaw gateway restart
94
94
  ```
95
95
 
96
96
  ### 安装后自检
@@ -1,20 +1,27 @@
1
1
  {
2
2
  "id": "dingtalk-connector",
3
3
  "name": "DingTalk Channel",
4
- "version": "0.8.29",
4
+ "version": "0.8.31",
5
5
  "description": "OpenClaw DingTalk channel plugin (community) | 钉钉 OpenClaw 社区增强版",
6
6
  "author": "jeik",
7
7
  "main": "index.ts",
8
8
  "channels": [
9
9
  "dingtalk-connector"
10
10
  ],
11
- "skills": ["./skills"],
11
+ "skills": [
12
+ "./skills"
13
+ ],
12
14
  "configSchema": {
13
15
  "type": "object",
14
16
  "additionalProperties": false,
15
17
  "properties": {
16
- "cardTemplateId": { "type": "string" },
17
- "cardContentVar": { "type": "string", "default": "content" }
18
+ "cardTemplateId": {
19
+ "type": "string"
20
+ },
21
+ "cardContentVar": {
22
+ "type": "string",
23
+ "default": "content"
24
+ }
18
25
  }
19
26
  },
20
27
  "channelConfigs": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeik/dingtalk-connector",
3
- "version": "0.8.30",
3
+ "version": "0.8.31",
4
4
  "description": "OpenClaw DingTalk channel plugin (community) | 钉钉 OpenClaw 社区增强版(基于官方 0.8.24,长连接与消息体验增强)",
5
5
  "type": "module",
6
6
  "exports": {
@@ -38,7 +38,8 @@
38
38
  ],
39
39
  "scripts": {
40
40
  "build": "tsdown",
41
- "prepublishOnly": "npm run build",
41
+ "sync:plugin-version": "node scripts/sync-plugin-version.mjs",
42
+ "prepublishOnly": "npm run sync:plugin-version && npm run build",
42
43
  "lint": "echo 'Lint check skipped'",
43
44
  "lint:fix": "echo 'Lint fix skipped'",
44
45
  "test": "vitest run tests/gateway-methods.unit.test.ts",