@link-assistant/hive-mind 1.23.2 → 1.23.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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/telegram-merge-queue.lib.mjs +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @link-assistant/hive-mind
|
|
2
2
|
|
|
3
|
+
## 1.23.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a797e56: fix: escape owner/repo names for Telegram MarkdownV2 in /merge command
|
|
8
|
+
|
|
9
|
+
Fixed the `/merge` command silently failing when updating Telegram messages for repositories with hyphens in their names (e.g., `link-assistant/hive-mind`). The issue was caused by unescaped special characters in MarkdownV2 format.
|
|
10
|
+
|
|
3
11
|
## 1.23.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -440,7 +440,8 @@ export class MergeQueueProcessor {
|
|
|
440
440
|
const update = this.getProgressUpdate();
|
|
441
441
|
|
|
442
442
|
let message = `*Merge Queue*\n`;
|
|
443
|
-
|
|
443
|
+
// Issue #1292: Escape owner/repo for MarkdownV2 (may contain hyphens, underscores, etc.)
|
|
444
|
+
message += `${this.escapeMarkdown(this.owner)}/${this.escapeMarkdown(this.repo)}\n\n`;
|
|
444
445
|
|
|
445
446
|
// Progress bar in code block for better style
|
|
446
447
|
const progressBar = getProgressBar(update.progress.percentage);
|
|
@@ -515,7 +516,8 @@ export class MergeQueueProcessor {
|
|
|
515
516
|
}
|
|
516
517
|
|
|
517
518
|
let message = `${statusEmoji} *Merge Queue ${statusText}*\n`;
|
|
518
|
-
|
|
519
|
+
// Issue #1292: Escape owner/repo for MarkdownV2 (may contain hyphens, underscores, etc.)
|
|
520
|
+
message += `${this.escapeMarkdown(this.owner)}/${this.escapeMarkdown(this.repo)}\n\n`;
|
|
519
521
|
|
|
520
522
|
// Final progress bar in code block
|
|
521
523
|
const percentage = report.stats.total > 0 ? Math.round((report.stats.merged / report.stats.total) * 100) : 0;
|