@yemi33/minions 0.1.1847 → 0.1.1849

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.1849 (2026-05-10)
4
+
5
+ ### Fixes
6
+ - restore fencedUntrustedBlock helper
7
+
8
+ ## 0.1.1848 (2026-05-10)
9
+
10
+ ### Other
11
+ - refactor(test): runStandalone helper + pre-loaded shared/queries from _helpers
12
+
3
13
  ## 0.1.1844 (2026-05-10)
4
14
 
5
15
  ### Other
package/dashboard.js CHANGED
@@ -2571,6 +2571,18 @@ function _inferDocChatProject(filePath) {
2571
2571
  return inferred?.name || null;
2572
2572
  }
2573
2573
 
2574
+ function markdownFenceFor(content) {
2575
+ const runs = String(content || '').match(/`+/g) || [];
2576
+ const maxRun = runs.reduce((max, run) => Math.max(max, run.length), 0);
2577
+ return '`'.repeat(Math.max(4, maxRun + 1));
2578
+ }
2579
+
2580
+ function fencedUntrustedBlock(label, content) {
2581
+ const value = String(content || '');
2582
+ const fence = markdownFenceFor(value);
2583
+ return `### ${label}\n${fence}text\n${value}\n${fence}`;
2584
+ }
2585
+
2574
2586
  function _formatDocChatContext({ document, title, filePath, selection, canEdit, isJson, docUnchanged }) {
2575
2587
  const safeTitle = title || 'Document';
2576
2588
  const location = filePath ? ` (\`${String(filePath).replace(/[\r\n]/g, ' ')}\`)` : '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1847",
3
+ "version": "0.1.1849",
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"