@yemi33/minions 0.1.1834 → 0.1.1836

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,9 +1,18 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.1834 (2026-05-10)
3
+ ## 0.1.1836 (2026-05-10)
4
+
5
+ ### Other
6
+ - chore(cc): delete the ===ACTIONS=== protocol layer and doc-chat ---DOCUMENT--- delimiter
7
+
8
+ ## 0.1.1835 (2026-05-10)
9
+
10
+ ### Features
11
+ - teach CC to call /api/* directly via X-CC-Turn-Id correlation
12
+
13
+ ## 0.1.1833 (2026-05-10)
4
14
 
5
15
  ### Features
6
- - process all CC dispatch actions (#2262)
7
16
  - remove duplicate action error box (#2259)
8
17
 
9
18
  ## 0.1.1832 (2026-05-10)
@@ -1628,8 +1628,20 @@ async function ccExecuteAction(action, targetTabId, opts) {
1628
1628
  if (action.endpoint && action.endpoint.startsWith('/api/') && !action.endpoint.includes('..') && !/\%2e/i.test(action.endpoint)) {
1629
1629
  var genRes = await _ccFetch(action.endpoint, action.params || {}, action.method || 'POST');
1630
1630
  var genData = await genRes.json().catch(function() { return {}; });
1631
- status.innerHTML = '✓ ' + escHtml(action.type) + ': ' + escHtml(genData.message || genData.id || 'done');
1632
- status.style.color = 'var(--green)';
1631
+ // Surface the data so a read-only fallback doesn't render as a meaningless "✓ done".
1632
+ // If the response has nothing actionable, flag it as a likely hallucinated action.
1633
+ var summary = genData.message || genData.id;
1634
+ if (!summary && genData && typeof genData === 'object' && Object.keys(genData).length > 0) {
1635
+ var preview = JSON.stringify(genData).slice(0, 240);
1636
+ summary = 'response — ' + preview + (preview.length >= 240 ? '...' : '');
1637
+ }
1638
+ if (summary) {
1639
+ status.innerHTML = '✓ ' + escHtml(action.type) + ': ' + escHtml(summary);
1640
+ status.style.color = 'var(--green)';
1641
+ } else {
1642
+ status.innerHTML = '? <strong>' + escHtml(action.type) + '</strong> hit ' + escHtml(action.endpoint) + ' but returned no data — answer inline next time, do not invent actions for read-only queries';
1643
+ status.style.color = 'var(--orange)';
1644
+ }
1633
1645
  } else if (action.endpoint) {
1634
1646
  status.innerHTML = '&#10007; Blocked: endpoint must be a local /api/ path';
1635
1647
  status.style.color = 'var(--red)';