Align Mnemazine agent workflow and postrun reports

This commit is contained in:
Зарубин Филипп
2026-06-23 12:06:44 +03:00
parent 1a0a38d5bc
commit 126ea7a071
18 changed files with 683 additions and 14 deletions
+3
View File
@@ -39,6 +39,9 @@ function actionOf(text) {
function linksOf(text) {
return [...new Set(String(text).match(/\bhttps?:\/\/[^\s)]+/g) || [])]
.map(url => url.replace(/[.,;]+$/, ''))
.filter(url => {
try { new URL(url); return true } catch { return false }
})
.slice(0, 4)
}