@ynhcj/xiaoyi-channel 1.1.2 → 1.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.
@@ -109,8 +109,10 @@ export const xyOutbound = {
109
109
  const pushService = new XYPushService(config);
110
110
  // Extract title (first 57 chars or first line)
111
111
  const title = text.split("\n")[0].slice(0, 57);
112
+ // Truncate push content to max length 1000
113
+ const pushText = text.length > 1000 ? text.slice(0, 1000) : text;
112
114
  // Send push message (content, title, data, sessionId)
113
- await pushService.sendPush(text, title, undefined, actualTo);
115
+ await pushService.sendPush(pushText, title, undefined, actualTo);
114
116
  console.log(`[xyOutbound.sendText] Completed successfully`);
115
117
  // Return message info
116
118
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",