@yemi33/minions 0.1.439 → 0.1.440

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.440 (2026-04-06)
4
+
5
+ ### Fixes
6
+ - safeFetch compat — drop AbortSignal.any, avoid opts mutation
7
+
3
8
  ## 0.1.439 (2026-04-06)
4
9
 
5
10
  ### Features
@@ -96,14 +96,12 @@ function rerenderPrdFromCache() {
96
96
  // Global fetch wrapper with timeout — prevents connection exhaustion from hung requests.
97
97
  // Use for all short API calls. Long-lived streams (CC, doc-chat) manage their own AbortControllers.
98
98
  function safeFetch(url, opts) {
99
- const timeout = (opts && opts.timeout) || 15000;
100
- if (opts) delete opts.timeout;
101
- const controller = new AbortController();
102
- const timer = setTimeout(() => controller.abort(), timeout);
103
- const signal = (opts && opts.signal)
104
- ? AbortSignal.any([opts.signal, controller.signal])
105
- : controller.signal;
106
- return fetch(url, Object.assign({}, opts, { signal })).finally(() => clearTimeout(timer));
99
+ var timeout = (opts && opts.timeout) || 15000;
100
+ var controller = new AbortController();
101
+ var timer = setTimeout(function() { controller.abort(); }, timeout);
102
+ var fetchOpts = Object.assign({}, opts, { signal: controller.signal });
103
+ delete fetchOpts.timeout;
104
+ return fetch(url, fetchOpts).finally(function() { clearTimeout(timer); });
107
105
  }
108
106
 
109
107
  window.MinionsState = { getPageFromUrl, switchPage, getPrdRequeueState, setPrdRequeueState, clearPrdRequeueState, prunePrdRequeueState, rerenderPrdFromCache, safeFetch };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.439",
3
+ "version": "0.1.440",
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"