@yemi33/minions 0.1.736 → 0.1.738
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 +6 -0
- package/dashboard/js/render-kb.js +0 -2
- package/dashboard/js/utils.js +2 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.738 (2026-04-09)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
- add regression tests for undefined DEFAULT_HEARTBEAT_TIMEOUTS (closes #721) (#726)
|
|
7
|
+
- pins not showing — invalidatePinsCache was clearing cache before async sync
|
|
8
|
+
|
|
3
9
|
## 0.1.736 (2026-04-09)
|
|
4
10
|
|
|
5
11
|
### Fixes
|
|
@@ -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;
|
package/dashboard/js/utils.js
CHANGED
|
@@ -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 =
|
|
13
|
-
function invalidatePinsCache() {
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.738",
|
|
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"
|