@yemi33/minions 0.1.266 → 0.1.267

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,10 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.266 (2026-04-03)
3
+ ## 0.1.267 (2026-04-03)
4
4
 
5
5
  ### Features
6
6
  - CC streaming shows cumulative tool list with loading dots
7
7
 
8
+ ### Fixes
9
+ - Thinking... indicator shows alongside tool calls until text arrives
10
+ - use safeJson instead of JSON.parse(safeRead()) in trigger-verify handler
11
+
8
12
  ## 0.1.265 (2026-04-03)
9
13
 
10
14
  ### Features
@@ -203,16 +203,15 @@ async function _ccDoSend(message, skipUserMsg) {
203
203
  function updateStreamDiv() {
204
204
  var html = '';
205
205
  if (toolsUsed.length > 0) {
206
- html += '<div style="margin-bottom:' + (streamedText ? '6px' : '0') + '">';
207
- toolsUsed.forEach(function(t, i) {
208
- var isLast = i === toolsUsed.length - 1 && !streamedText;
209
- html += '<div style="color:var(--blue);font-size:11px">\uD83D\uDD27 ' + escHtml(t) + (isLast ? dotPulse : '') + '</div>';
206
+ html += '<div style="margin-bottom:6px">';
207
+ toolsUsed.forEach(function(t) {
208
+ html += '<div style="color:var(--blue);font-size:11px">\uD83D\uDD27 ' + escHtml(t) + '</div>';
210
209
  });
211
210
  html += '</div>';
212
211
  }
213
212
  if (streamedText) {
214
213
  html += renderMd(streamedText);
215
- } else if (toolsUsed.length === 0) {
214
+ } else {
216
215
  html += '<span style="color:var(--muted);font-size:11px">Thinking...' + dotPulse + '</span>';
217
216
  }
218
217
  streamDiv.innerHTML = html;
package/dashboard.js CHANGED
@@ -831,7 +831,8 @@ const server = http.createServer(async (req, res) => {
831
831
  // If archived, temporarily restore to active so checkPlanCompletion can find it
832
832
  const activePath = path.join(prdDir, body.file);
833
833
  if (fromArchive) {
834
- const plan = JSON.parse(safeRead(prdPath));
834
+ const plan = safeJson(prdPath);
835
+ if (!plan) return jsonReply(res, 500, { error: 'Could not parse PRD file' });
835
836
  plan.status = 'approved';
836
837
  delete plan.completedAt;
837
838
  safeWrite(activePath, plan);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.266",
3
+ "version": "0.1.267",
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"