@yemi33/minions 0.1.927 → 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 +2 -2
- 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,7 @@
|
|
|
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)
|
|
23
24
|
- qaAbort race + skip kill on completed doc-chat
|
|
24
25
|
- doc-chat Stop button actually works — release server guard on disconnect
|
|
25
26
|
- CC streaming auto-retries fresh session when resume fails
|
|
@@ -39,7 +40,6 @@
|
|
|
39
40
|
- pass sysPromptPath instead of steerPromptPath as system prompt in steering resume (#962)
|
|
40
41
|
- PRD item display dispatched/in-progress status conflation (closes #950) (#955)
|
|
41
42
|
- remove KB watchdog — checkpoint never written, restore never worked
|
|
42
|
-
- make KB sweep endpoint async with status polling (#933)
|
|
43
43
|
|
|
44
44
|
### Other
|
|
45
45
|
- test(preflight): add unit tests for findClaudeBinary, runPreflight, printPreflight, checkOrExit (#953)
|
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"
|