@ycodium-ai/plugin-im 0.2.3028 → 0.2.3034

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -127178,7 +127178,8 @@ var makeApprovals = (core, anchors) => {
127178
127178
  return {
127179
127179
  requestId: approval.requestId,
127180
127180
  title: approval.appName ?? "Ycodium",
127181
- body: approval.detail ?? event.summary,
127181
+ // 正文用这道题自己的说明;事件的 summary 只是宿主拼的「哪条会话在等批准」,最后才用。
127182
+ body: approval.detail ?? approval.summary ?? event.summary,
127182
127183
  buttons: buttons.map(({ label, token }) => ({ label, token }))
127183
127184
  };
127184
127185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-im",
3
- "version": "0.2.3028",
3
+ "version": "0.2.3034",
4
4
  "description": "Talk to your agents from Telegram, WeCom, Lark, or WeChat (experimental).",
5
5
  "keywords": [
6
6
  "im",
@@ -32,7 +32,7 @@
32
32
  "markdown-it": "^15.0.2",
33
33
  "react": "19.2.6",
34
34
  "vite-plus": "0.2.2",
35
- "@ycodium-ai/plugin-api": "0.2.3028"
35
+ "@ycodium-ai/plugin-api": "0.2.3034"
36
36
  },
37
37
  "ycodium": {
38
38
  "plugin": "./dist/index.js",