@yemi33/minions 0.1.1669 → 0.1.1670
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 +2 -1
- package/engine/ado.js +5 -13
- package/engine/copilot-models.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/ado.js
CHANGED
|
@@ -138,16 +138,7 @@ function clearBuildStatusStale(pr) {
|
|
|
138
138
|
if (pr._buildStatusDetail) delete pr._buildStatusDetail;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
function
|
|
142
|
-
const text = String(title || '').trim();
|
|
143
|
-
if (!text) return true;
|
|
144
|
-
if (/\bpolling\.\.\./i.test(text)) return true;
|
|
145
|
-
if (String(prNum || '') && (text === `PR #${prNum}` || text === `PR-${prNum}`)) return true;
|
|
146
|
-
if (/[{}"\[\]]/.test(text)) return true;
|
|
147
|
-
return /^[0-9a-f-]{8,}$/i.test(text);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
function applyAdoPrMetadata(pr, prData, prNum) {
|
|
141
|
+
function applyAdoPrMetadata(pr, prData) {
|
|
151
142
|
if (!pr || !prData) return false;
|
|
152
143
|
let updated = false;
|
|
153
144
|
|
|
@@ -160,8 +151,9 @@ function applyAdoPrMetadata(pr, prData, prNum) {
|
|
|
160
151
|
}
|
|
161
152
|
|
|
162
153
|
const title = String(prData.title || '').trim();
|
|
163
|
-
|
|
164
|
-
|
|
154
|
+
const storedTitle = title.slice(0, 120);
|
|
155
|
+
if (storedTitle && pr.title !== storedTitle) {
|
|
156
|
+
pr.title = storedTitle;
|
|
165
157
|
updated = true;
|
|
166
158
|
}
|
|
167
159
|
|
|
@@ -496,7 +488,7 @@ async function pollPrStatus(config) {
|
|
|
496
488
|
|
|
497
489
|
const prData = await adoFetch(`${repoBase}?api-version=7.1`, token);
|
|
498
490
|
|
|
499
|
-
if (applyAdoPrMetadata(pr, prData
|
|
491
|
+
if (applyAdoPrMetadata(pr, prData)) updated = true;
|
|
500
492
|
|
|
501
493
|
let newStatus = pr.status;
|
|
502
494
|
if (prData.status === 'completed') newStatus = PR_STATUS.MERGED;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1670",
|
|
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"
|