@yemi33/minions 0.1.926 → 0.1.928
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 +3 -3
- package/dashboard/js/modal-qa.js +3 -3
- package/dashboard.js +1 -1
- package/engine.js +13 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.928 (2026-04-13)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- doc-chat abort kills LLM process + queued messages auto-process
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
- add red dot notification on CC tab when response completes (#934) (#946)
|
|
21
21
|
|
|
22
22
|
### Fixes
|
|
23
|
+
- inject cached ADO token into spawned agents (#998) (#1012)
|
|
24
|
+
- qaAbort race + skip kill on completed doc-chat
|
|
23
25
|
- doc-chat Stop button actually works — release server guard on disconnect
|
|
24
26
|
- CC streaming auto-retries fresh session when resume fails
|
|
25
27
|
- 429 retry on abort race applies to all sends, not just queued
|
|
@@ -38,8 +40,6 @@
|
|
|
38
40
|
- pass sysPromptPath instead of steerPromptPath as system prompt in steering resume (#962)
|
|
39
41
|
- PRD item display dispatched/in-progress status conflation (closes #950) (#955)
|
|
40
42
|
- remove KB watchdog — checkpoint never written, restore never worked
|
|
41
|
-
- make KB sweep endpoint async with status polling (#933)
|
|
42
|
-
- prohibit agents from self-merging their own PRs
|
|
43
43
|
|
|
44
44
|
### Other
|
|
45
45
|
- test(preflight): add unit tests for findClaudeBinary, runPreflight, printPreflight, checkOrExit (#953)
|
package/dashboard/js/modal-qa.js
CHANGED
|
@@ -340,9 +340,9 @@ function qaAbort() {
|
|
|
340
340
|
_qaAbortController.abort();
|
|
341
341
|
_qaAbortController = null;
|
|
342
342
|
}
|
|
343
|
-
//
|
|
344
|
-
|
|
345
|
-
// Don't clear _qaQueue — queued messages
|
|
343
|
+
// Don't reset _qaProcessing here — the catch block in _processQaMessage handles it,
|
|
344
|
+
// avoiding a double-drain race on _qaQueue from a microtask gap.
|
|
345
|
+
// Don't clear _qaQueue — queued messages auto-process after abort.
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
function toggleDocChat() {
|
package/dashboard.js
CHANGED
|
@@ -2989,7 +2989,7 @@ What would you like to discuss or change? When you're happy, say "approve" and I
|
|
|
2989
2989
|
return jsonReply(res, 200, { ok: true, answer, edited: true, content, actions });
|
|
2990
2990
|
}
|
|
2991
2991
|
return jsonReply(res, 200, { ok: true, answer: answer + '\n\n(Read-only — changes not saved)', edited: false, actions });
|
|
2992
|
-
} finally { docChatInFlight.delete(docKey); }
|
|
2992
|
+
} finally { _docAbort = null; docChatInFlight.delete(docKey); }
|
|
2993
2993
|
} catch (e) { return jsonReply(res, 500, { error: e.message }); }
|
|
2994
2994
|
}
|
|
2995
2995
|
|
package/engine.js
CHANGED
|
@@ -855,6 +855,13 @@ async function spawnAgent(dispatchItem, config) {
|
|
|
855
855
|
// Spawn the claude process
|
|
856
856
|
const childEnv = shared.cleanChildEnv();
|
|
857
857
|
|
|
858
|
+
// Inject cached ADO token so agents skip re-authentication (#998)
|
|
859
|
+
// getAdoToken() returns cached token (30-min TTL) or null — never blocks on browser auth
|
|
860
|
+
try {
|
|
861
|
+
const adoToken = await getAdoToken();
|
|
862
|
+
if (adoToken) childEnv.MINIONS_ADO_TOKEN = adoToken;
|
|
863
|
+
} catch { /* non-fatal — agent can still authenticate on its own */ }
|
|
864
|
+
|
|
858
865
|
// Spawn via wrapper script — node directly (no bash intermediary)
|
|
859
866
|
// spawn-agent.js handles CLAUDECODE env cleanup and claude binary resolution
|
|
860
867
|
const spawnScript = path.join(ENGINE_DIR, 'spawn-agent.js');
|
|
@@ -1023,6 +1030,11 @@ async function spawnAgent(dispatchItem, config) {
|
|
|
1023
1030
|
|
|
1024
1031
|
const spawnScript = path.join(ENGINE_DIR, 'spawn-agent.js');
|
|
1025
1032
|
const childEnv = shared.cleanChildEnv();
|
|
1033
|
+
// Inject cached ADO token for steering session too (#998)
|
|
1034
|
+
try {
|
|
1035
|
+
const adoToken = await getAdoToken();
|
|
1036
|
+
if (adoToken) childEnv.MINIONS_ADO_TOKEN = adoToken;
|
|
1037
|
+
} catch { /* non-fatal */ }
|
|
1026
1038
|
let resumeProc;
|
|
1027
1039
|
try {
|
|
1028
1040
|
resumeProc = runFile(process.execPath, [spawnScript, steerPromptPath, sysPromptPath, ...resumeArgs], {
|
|
@@ -1405,7 +1417,7 @@ function reconcileItemsWithPrs(items, allPrs, { onlyIds } = {}) {
|
|
|
1405
1417
|
// ─── Inbox Consolidation (extracted to engine/consolidation.js) ──────────────
|
|
1406
1418
|
|
|
1407
1419
|
const { consolidateInbox } = require('./engine/consolidation');
|
|
1408
|
-
const { pollPrStatus, pollPrHumanComments, reconcilePrs, checkLiveReviewStatus: adoCheckLiveReview, needsAdoPollRetry } = require('./engine/ado');
|
|
1420
|
+
const { pollPrStatus, pollPrHumanComments, reconcilePrs, checkLiveReviewStatus: adoCheckLiveReview, needsAdoPollRetry, getAdoToken } = require('./engine/ado');
|
|
1409
1421
|
const { pollPrStatus: ghPollPrStatus, pollPrHumanComments: ghPollPrHumanComments, reconcilePrs: ghReconcilePrs, checkLiveReviewStatus: ghCheckLiveReview } = require('./engine/github');
|
|
1410
1422
|
|
|
1411
1423
|
// ─── State Snapshot ─────────────────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.928",
|
|
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"
|