@yemi33/minions 0.1.725 → 0.1.726
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 +5 -0
- package/engine/github.js +3 -1
- package/engine/lifecycle.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/github.js
CHANGED
|
@@ -229,7 +229,9 @@ async function forEachActiveGhPr(config, callback) {
|
|
|
229
229
|
if (pr.title.includes('polling...') || pr.agent === 'human' || pr.description === undefined) {
|
|
230
230
|
const prData = await ghApi(`/pulls/${prNum}`, slug);
|
|
231
231
|
if (prData) {
|
|
232
|
-
if (pr.title.includes('polling...')
|
|
232
|
+
if (pr.title.includes('polling...') || /[{}"\[\]]/.test(pr.title) || /^[0-9a-f-]{8,}$/i.test(pr.title)) {
|
|
233
|
+
pr.title = (prData.title || pr.title).slice(0, 120);
|
|
234
|
+
}
|
|
233
235
|
if (pr.description === undefined) pr.description = (prData.body || '').slice(0, 500);
|
|
234
236
|
if (pr.agent === 'human' && prData.user?.login) pr.agent = prData.user.login;
|
|
235
237
|
if (!pr.branch && prData.head?.ref) pr.branch = prData.head.ref;
|
package/engine/lifecycle.js
CHANGED
|
@@ -657,7 +657,7 @@ function syncPrsFromOutput(output, agentId, meta, config) {
|
|
|
657
657
|
let title = meta?.item?.title || '';
|
|
658
658
|
const titleMatch = output.match(new RegExp(`${prId}[^\\n]*?[—–-]\\s*([^\\n]+)`, 'i'));
|
|
659
659
|
if (titleMatch) title = titleMatch[1].trim();
|
|
660
|
-
if (title.includes('session_id') || title.includes('is_error') || title.includes('uuid') || title.length > 120) {
|
|
660
|
+
if (title.includes('session_id') || title.includes('is_error') || title.includes('uuid') || title.length > 120 || /[{}"\[\]]/.test(title) || /^[0-9a-f-]{8,}$/i.test(title)) {
|
|
661
661
|
title = meta?.item?.title || '';
|
|
662
662
|
}
|
|
663
663
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.726",
|
|
4
4
|
"description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
|
|
5
5
|
"bin": {
|
|
6
6
|
"minions": "bin/minions.js"
|