🐛 fix(vscode): 移除侵入式弹窗并过滤 PR 评论,仅对工单讨论发送简洁系统通知

This commit is contained in:
cruldra committed 2026-09-29 10:49:28 +08:00
1 parent 8ea5361f3d
commit 6a2ab7eaf4
5 files changed
+172 -24

No files matched your search

+3 -3
View File
@@ -9,10 +9,10 @@
* 而且必须和正文在同一次写入里:分开写的话,长正文还没写完,回车可能插进正文中间。
* 正文里的转义字符要去掉,否则会把粘贴提前截断。
*/
const PASTE_START = '\u001b[200~'
const PASTE_END = '\u001b[201~'
const PASTE_START = '\u001B[200~'
const PASTE_END = '\u001B[201~'
export function buildSessionSubmitPayload(text: string): string {
const body = text.replaceAll('\u001b', '')
const body = text.replaceAll('\u001B', '')
return `${PASTE_START}${body}${PASTE_END}\r`
}