@yemi33/minions 0.1.469 → 0.1.470

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,8 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.469 (2026-04-07)
3
+ ## 0.1.470 (2026-04-07)
4
4
 
5
5
  ### Fixes
6
+ - prevent slow work item modal on large descriptions
6
7
  - only cache sessionId for steering when actually resuming same branch
7
8
 
8
9
  ## 0.1.468 (2026-04-07)
@@ -431,7 +431,7 @@ function openWorkItemDetail(id) {
431
431
  '<span class="dispatch-type ' + (item.type || 'implement') + '">' + escHtml(item.type || 'implement') + '</span>' +
432
432
  '<span class="prd-item-priority ' + (item.priority || '') + '">' + escHtml(item.priority || 'medium') + '</span>' +
433
433
  '</div>';
434
- html += field('Description', '<div style="font-size:12px">' + renderMd((item.description || item.title || '—').slice(0, 3000)) + '</div>');
434
+ html += field('Description', '<div style="font-size:12px">' + renderMd((item.description || item.title || '—').slice(0, 1000)) + '</div>');
435
435
  html += field('Agent', escHtml(item.dispatched_to || item.agent || 'Auto'));
436
436
  html += field('Source', escHtml(item._source || 'central'));
437
437
  if (item.created) html += field('Created', escHtml(new Date(item.created).toLocaleString()));
@@ -60,6 +60,8 @@ function copyLlmText(btn) {
60
60
  */
61
61
  function renderMd(s) {
62
62
  if (!s) return '';
63
+ // Truncate excessively long inputs to prevent regex backtracking
64
+ if (s.length > 10000) s = s.slice(0, 10000) + '\n\n…(truncated)';
63
65
  let html = escHtml(s);
64
66
 
65
67
  // 1. Extract code blocks and inline code into placeholders (protect from other transforms)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.469",
3
+ "version": "0.1.470",
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"