@yemi33/minions 0.1.735 → 0.1.737

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.737 (2026-04-09)
4
+
5
+ ### Fixes
6
+ - pins not showing — invalidatePinsCache was clearing cache before async sync
7
+
8
+ ## 0.1.736 (2026-04-09)
9
+
10
+ ### Fixes
11
+ - remove undefined DEFAULT_HEARTBEAT_TIMEOUTS, fix 5 stale tests
12
+
3
13
  ## 0.1.735 (2026-04-09)
4
14
 
5
15
  ### Features
@@ -33,8 +33,6 @@ function renderKnowledgeBase() {
33
33
  const listEl = document.getElementById('kb-list');
34
34
  const countEl = document.getElementById('kb-count');
35
35
 
36
- invalidatePinsCache();
37
-
38
36
  // Single pass: flatten all KB items and count pinned
39
37
  const allItems = [];
40
38
  let pinnedCount = 0;
@@ -9,12 +9,9 @@ function markDeleted(key) { _deletedIds.set(key, Date.now() + 10000); } // suppr
9
9
  function isDeleted(key) { const exp = _deletedIds.get(key); if (!exp) return false; if (Date.now() > exp) { _deletedIds.delete(key); return false; } return true; }
10
10
 
11
11
  // Pin-to-top — persisted server-side so CC and agents can also pin items
12
- let _pinsCache = null;
13
- function invalidatePinsCache() { _pinsCache = null; }
12
+ let _pinsCache = [];
13
+ function invalidatePinsCache() { /* no-op cache updated by sync and togglePin only */ }
14
14
  function getPinnedItems() {
15
- if (_pinsCache) return _pinsCache;
16
- // Migrate from localStorage if server hasn't been seeded yet
17
- try { _pinsCache = JSON.parse(localStorage.getItem('minions-pinned-items') || '[]'); } catch { _pinsCache = []; }
18
15
  return _pinsCache;
19
16
  }
20
17
  function isPinned(key) { return getPinnedItems().includes(key); }
package/engine/timeout.js CHANGED
@@ -132,8 +132,8 @@ function checkTimeouts(config) {
132
132
  const timeout = config.engine?.agentTimeout || DEFAULTS.agentTimeout;
133
133
  const heartbeatTimeout = config.engine?.heartbeatTimeout || DEFAULTS.heartbeatTimeout;
134
134
 
135
- // Per-type heartbeat timeouts: merge defaults ← ENGINE_DEFAULTS ← config overrides
136
- const perTypeTimeouts = { ...DEFAULT_HEARTBEAT_TIMEOUTS, ...DEFAULTS.heartbeatTimeouts, ...(config.engine?.heartbeatTimeouts || {}) };
135
+ // Per-type heartbeat timeouts: merge ENGINE_DEFAULTS ← config overrides
136
+ const perTypeTimeouts = { ...DEFAULTS.heartbeatTimeouts, ...(config.engine?.heartbeatTimeouts || {}) };
137
137
 
138
138
  // 1. Check tracked processes for hard timeout (supports per-item deadline from fan-out)
139
139
  for (const [id, info] of activeProcesses.entries()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.735",
3
+ "version": "0.1.737",
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"