@yemi33/minions 0.1.1810 → 0.1.1812

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,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1812 (2026-05-09)
4
+
5
+ ### Features
6
+ - stop invalid project fallback (#2245)
7
+ - harden doc-chat dispatch prompt (#2249)
8
+
9
+ ## 0.1.1811 (2026-05-09)
10
+
11
+ ### Features
12
+ - centralize project source resolution (#2251)
13
+
3
14
  ## 0.1.1810 (2026-05-09)
4
15
 
5
16
  ### Features
@@ -1022,6 +1022,7 @@ function _tagServerExecuted(actions, actionResults) {
1022
1022
  if (r.id) actions[i]._serverId = r.id;
1023
1023
  if (r.warning) actions[i]._serverWarning = r.warning;
1024
1024
  if (r.duplicate) actions[i]._serverDuplicate = true;
1025
+ if (r.reusedFromAction !== undefined) actions[i]._serverHidden = true;
1025
1026
  } else if (r && r.error) {
1026
1027
  actions[i]._serverExecuted = true;
1027
1028
  actions[i]._serverError = r.error;
@@ -1037,15 +1038,18 @@ async function ccExecuteAction(action, targetTabId) {
1037
1038
 
1038
1039
  // Server-executed actions: just show status, don't re-fire the API
1039
1040
  if (action._serverExecuted) {
1041
+ if (action._serverHidden) return;
1040
1042
  if (action._serverError) {
1041
1043
  status.innerHTML = '✗ ' + escHtml(action.type) + ' failed: ' + escHtml(action._serverError);
1042
1044
  status.style.color = 'var(--red)';
1043
1045
  } else {
1044
1046
  var label = action._serverId ? escHtml(action._serverId) : escHtml(action.title || action.type);
1045
- status.innerHTML = '&#10003; ' + escHtml(action.type) + ': <strong>' + label + '</strong>' +
1046
- (action._serverDuplicate ? ' <span style="color:var(--orange)">already exists</span>' : '') +
1047
+ var serverActionType = action.type || '';
1048
+ var successLabel = serverActionType === 'dispatch' ? 'Dispatched' : serverActionType;
1049
+ status.innerHTML = '&#10003; ' + escHtml(successLabel) + ': <strong>' + label + '</strong>' +
1050
+ (action._serverDuplicate ? '<div style="font-size:10px;color:var(--orange);margin-top:2px">Already existed from a previous request; no duplicate work item was created.</div>' : '') +
1047
1051
  (action._serverWarning ? '<div style="font-size:10px;color:var(--muted);margin-top:2px">' + escHtml(action._serverWarning) + '</div>' : '');
1048
- status.style.color = action._serverDuplicate ? 'var(--orange)' : 'var(--green)';
1052
+ status.style.color = 'var(--green)';
1049
1053
  }
1050
1054
  ccAddMessage('action', status.outerHTML, false, targetTabId);
1051
1055
  if (['dispatch','fix','explore','review','test','create-meeting'].includes(action.type)) wakeEngine();
@@ -367,9 +367,10 @@ function _qaBuildActionFeedbackHtml(actionFeedback) {
367
367
  return '<div class="modal-qa-action-feedback" style="' + baseStyle + 'color:var(--red)">&#10007; ' + type + ' failed: ' + escHtml(item.error) + '</div>';
368
368
  }
369
369
  const label = escHtml(item.id || item.duplicateOf || '');
370
- const duplicate = item.duplicate ? ' <span style="color:var(--orange)">already exists</span>' : '';
370
+ const verb = item.type === 'dispatch' ? 'Dispatched' : type;
371
+ const duplicate = item.duplicate ? '<div style="font-size:10px;color:var(--orange);margin-top:2px">Already existed from a previous request; no duplicate work item was created.</div>' : '';
371
372
  const warning = item.warning ? '<div style="font-size:10px;color:var(--muted);margin-top:2px">' + escHtml(item.warning) + '</div>' : '';
372
- return '<div class="modal-qa-action-feedback" style="' + baseStyle + 'color:' + (item.duplicate ? 'var(--orange)' : 'var(--green)') + '">&#10003; ' + type + ': <strong>' + label + '</strong>' + duplicate + warning + '</div>';
373
+ return '<div class="modal-qa-action-feedback" style="' + baseStyle + 'color:var(--green)">&#10003; ' + verb + ': <strong>' + label + '</strong>' + duplicate + warning + '</div>';
373
374
  }).join('');
374
375
  }
375
376