@yemi33/minions 0.1.900 → 0.1.902

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,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.902 (2026-04-12)
4
+
5
+ ### Fixes
6
+ - prohibit agents from self-merging their own PRs
7
+
8
+ ## 0.1.901 (2026-04-12)
9
+
10
+ ### Fixes
11
+ - render action result badges outside chat bubble
12
+
3
13
  ## 0.1.900 (2026-04-12)
4
14
 
5
15
  ### Other
@@ -326,7 +326,8 @@ function ccUpdateSessionIndicator() {
326
326
  function ccAddMessage(role, html, skipSave, targetTabId) {
327
327
  var isUser = role === 'user';
328
328
  var isSystem = role === 'system';
329
- var isAssistant = !isUser && !isSystem;
329
+ var isAction = role === 'action';
330
+ var isAssistant = !isUser && !isSystem && !isAction;
330
331
  var targetTab = targetTabId ? _ccTabs.find(function(t) { return t.id === targetTabId; }) : _ccActiveTab();
331
332
  // Only render to DOM if this message is for the currently visible tab
332
333
  var isVisible = !targetTabId || targetTabId === _ccActiveTabId;
@@ -335,7 +336,7 @@ function ccAddMessage(role, html, skipSave, targetTabId) {
335
336
  var div = document.createElement('div');
336
337
  div.className = isAssistant ? 'cc-msg-assistant' : '';
337
338
  div.style.cssText = 'padding:8px 12px;border-radius:8px;font-size:12px;line-height:1.6;max-width:95%;' +
338
- (isUser ? 'background:var(--blue);color:#fff;align-self:flex-end' : isSystem ? 'align-self:center;max-width:100%' : 'background:var(--surface2);color:var(--text);align-self:flex-start;border:1px solid var(--border);position:relative');
339
+ (isUser ? 'background:var(--blue);color:#fff;align-self:flex-end' : isSystem ? 'align-self:center;max-width:100%' : isAction ? 'align-self:flex-start;padding:2px 0' : 'background:var(--surface2);color:var(--text);align-self:flex-start;border:1px solid var(--border);position:relative');
339
340
  div.innerHTML = (isAssistant && !html.includes('color:var(--red)') && !html.includes('cc-queued-pill') ? llmCopyBtn() : '') + html;
340
341
  var wasNearBottom = el.scrollHeight - el.scrollTop - el.clientHeight < 150;
341
342
  el.appendChild(div);
@@ -728,7 +729,7 @@ async function ccExecuteAction(action, targetTabId) {
728
729
  status.innerHTML = '&#10003; ' + escHtml(action.type) + ': <strong>' + label + '</strong>';
729
730
  status.style.color = 'var(--green)';
730
731
  }
731
- ccAddMessage('assistant', status.outerHTML, false, targetTabId);
732
+ ccAddMessage('action', status.outerHTML, false, targetTabId);
732
733
  if (['dispatch','fix','implement','explore','review','test'].includes(action.type)) wakeEngine();
733
734
  refresh();
734
735
  return;
@@ -1194,7 +1195,7 @@ async function ccExecuteAction(action, targetTabId) {
1194
1195
  status.style.color = 'var(--red)';
1195
1196
  }
1196
1197
 
1197
- ccAddMessage('assistant', status.outerHTML, false, targetTabId);
1198
+ ccAddMessage('action', status.outerHTML, false, targetTabId);
1198
1199
  refresh();
1199
1200
  }
1200
1201
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.900",
3
+ "version": "0.1.902",
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"
package/playbooks/fix.md CHANGED
@@ -76,6 +76,8 @@ After pushing, respond to each review comment/thread:
76
76
 
77
77
  Your task is complete once you have: (1) confirmed build and tests pass, (2) pushed the fix, (3) commented on the PR, and (4) resolved addressed review threads. Do NOT continue exploring unrelated code or making additional improvements. Stop immediately.
78
78
 
79
+ **NEVER run `gh pr merge` or any merge command on this PR.** The engine handles merging after review approval. Self-merging bypasses the review cycle and is prohibited.
80
+
79
81
  ## Completion
80
82
 
81
83
  After finishing, output a structured completion block so the engine can parse your results:
@@ -82,3 +82,5 @@ Include build/test status and run instructions in the PR description. If the pro
82
82
  ## When to Stop
83
83
 
84
84
  Your task is complete once you have: (1) confirmed build and tests pass, (2) pushed your branch, and (3) created the PR. Your final message MUST include the PR URL so the engine can track it. Stop immediately after.
85
+
86
+ **NEVER run `gh pr merge` or any merge command on your own PR.** The engine reviews and merges PRs through a separate review cycle. Self-merging bypasses code review entirely and is prohibited regardless of circumstances.
@@ -58,3 +58,5 @@ If you encounter merge conflicts during push or PR creation:
58
58
  ## When to Stop
59
59
 
60
60
  Your task is complete once you have: (1) confirmed build and tests pass, (2) pushed your branch, and (3) created the PR. Do NOT continue beyond the task description. Stop immediately.
61
+
62
+ **NEVER run `gh pr merge` or any merge command on your own PR.** The engine reviews and merges PRs through a separate review cycle. Self-merging bypasses code review entirely and is prohibited regardless of circumstances.