@ulthon/ul-opencode-event 0.1.18 → 0.1.19

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/dingtalk.js +2 -2
  2. package/package.json +1 -1
package/dist/dingtalk.js CHANGED
@@ -91,8 +91,8 @@ export function createDingTalkFormatter(config) {
91
91
  // Default: escape special characters and pass through
92
92
  processedLines.push(escapeMarkdown(trimmed));
93
93
  }
94
- // 3. Join and truncate
95
- let text = processedLines.join('\n');
94
+ // 3. Join with double newlines (DingTalk Markdown requires \n\n for line breaks)
95
+ let text = processedLines.join('\n\n');
96
96
  if (text.length > MAX_CONTENT_LENGTH) {
97
97
  text = text.slice(0, TRUNCATE_KEEP_LENGTH) + TRUNCATE_SUFFIX;
98
98
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulthon/ul-opencode-event",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "OpenCode notification plugin - sends notifications via email or DingTalk when session events occur",
5
5
  "author": "augushong",
6
6
  "license": "MIT",