@yemi33/minions 0.1.999 → 0.1.1000

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,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.999 (2026-04-15)
3
+ ## 0.1.1000 (2026-04-15)
4
4
 
5
5
  ### Features
6
6
  - fix stopAfter=0 watch expiry — run forever for all conditions (#1117)
@@ -25,6 +25,7 @@
25
25
  - gate auto-fix conflict dispatch behind autoFixConflicts flag
26
26
 
27
27
  ### Fixes
28
+ - preserve ordered lists across blank lines in markdown renderer
28
29
  - restore CC rendering and tab bar
29
30
  - restore WATCH_ABSOLUTE_CONDITIONS import in watches.js lost in #1117 squash merge
30
31
  - remove dead 'meeting' row from routing.md — orchestrated by engine/meeting.js directly
@@ -44,7 +45,6 @@
44
45
  - skip isAlreadyDispatched in needsReReview to allow re-review within 1hr
45
46
  - skip SessionStart hook settings test on CI
46
47
  - loop queue flush so messages queued during combined send aren't orphaned
47
- - set lastPushedAt on fix completion to unblock re-review without poller
48
48
 
49
49
  ### Other
50
50
  - docs: update CLAUDE.md with recent Minions architecture changes
@@ -202,6 +202,17 @@ function _renderMdCore(s) {
202
202
  var listType = '';
203
203
 
204
204
  function closeList() { if (inList) { out.push(listType === 'ol' ? '</ol>' : '</ul>'); inList = false; } }
205
+ function nextNonEmptyLine(startIdx) {
206
+ for (var ni = startIdx; ni < lines.length; ni++) {
207
+ if (lines[ni].trim()) return lines[ni];
208
+ }
209
+ return '';
210
+ }
211
+ function continuesCurrentList(nextLine) {
212
+ if (!inList || !nextLine) return false;
213
+ if (listType === 'ol') return /^(\s*)\d+\.\s+(.+)/.test(nextLine);
214
+ return /^(\s*)[-*]\s+(.+)/.test(nextLine);
215
+ }
205
216
  function openList(type) {
206
217
  if (inList && listType !== type) closeList();
207
218
  if (!inList) {
@@ -291,12 +302,17 @@ function _renderMdCore(s) {
291
302
  continue;
292
303
  }
293
304
 
305
+ // Blank line → spacer
306
+ if (!line.trim()) {
307
+ if (continuesCurrentList(nextNonEmptyLine(i + 1))) continue;
308
+ closeList();
309
+ out.push('<div style="height:4px"></div>');
310
+ continue;
311
+ }
312
+
294
313
  // Non-list line — close any open list
295
314
  closeList();
296
315
 
297
- // Blank line → spacer
298
- if (!line.trim()) { out.push('<div style="height:4px"></div>'); continue; }
299
-
300
316
  out.push('<div>' + line + '</div>');
301
317
  }
302
318
  closeList();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.999",
3
+ "version": "0.1.1000",
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"