@yemi33/minions 0.1.1690 → 0.1.1691

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 CHANGED
@@ -1,13 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.1690 (2026-05-03)
3
+ ## 0.1.1691 (2026-05-04)
4
4
 
5
5
  ### Features
6
- - prefer az cli for ado tokens (#1996)
6
+ - preserve doc-chat response fragments (#2003)
7
7
 
8
- ### Other
9
- - test(consolidation): add unit tests for buildConsolidationPrompt, consolidateWithRegex, consolidateWithLLM, archiveInboxFiles (#1998)
10
- - test(preflight): add unit tests for runtime-fleet helpers (_distinctRuntimes, _checkRuntimeBinary, _warmModelCache, _fleetSummaryResults, _modelDiscoveryResults) (#1997)
8
+ ## 0.1.1689 (2026-05-03)
9
+
10
+ ### Features
11
+ - prefer az cli for ado tokens (#1996)
11
12
 
12
13
  ## 0.1.1688 (2026-05-02)
13
14
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-03T15:02:36.167Z"
4
+ "cachedAt": "2026-05-04T01:58:05.343Z"
5
5
  }
package/engine/llm.js CHANGED
@@ -368,15 +368,13 @@ function _createStreamAccumulator({
368
368
  if (ev) consumer.consume(ev);
369
369
  }
370
370
  if (!text && lastTaskCompleteSummary) text = lastTaskCompleteSummary;
371
- // Reconciliation: if any field is still missing, ask the runtime adapter
372
- // to re-parse the whole stdout. parseOutput() may catch a result event
373
- // that was malformed when streamed in chunks.
374
- if (!text || !usage || !sessionId) {
375
- const parsedTail = runtime.parseOutput(stdout, maxTextLength ? { maxTextLength } : {});
376
- if (!text && parsedTail.text) text = parsedTail.text;
377
- if (!usage && parsedTail.usage) usage = parsedTail.usage;
378
- if (!sessionId && parsedTail.sessionId) sessionId = parsedTail.sessionId;
379
- }
371
+ // Reconciliation: always let the runtime adapter re-parse the complete
372
+ // stdout. Stream consumers emit live progress, but parseOutput() owns the
373
+ // runtime-specific final answer shape (including multi-fragment messages).
374
+ const parsedTail = runtime.parseOutput(stdout, maxTextLength ? { maxTextLength } : {});
375
+ if (parsedTail.text) text = parsedTail.text;
376
+ if (!usage && parsedTail.usage) usage = parsedTail.usage;
377
+ if (!sessionId && parsedTail.sessionId) sessionId = parsedTail.sessionId;
380
378
  return { text, usage, sessionId, raw: stdout, stderr, toolUses };
381
379
  }
382
380
 
@@ -627,4 +625,5 @@ module.exports = {
627
625
  _resolveModelFor,
628
626
  _resolveModelForRuntime,
629
627
  _resolveRuntimeFeatureOpts,
628
+ _createStreamAccumulator,
630
629
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1690",
3
+ "version": "0.1.1691",
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"