@yemi33/minions 0.1.1818 → 0.1.1819
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 +5 -0
- package/dashboard/js/state.js +8 -1
- package/engine/copilot-models.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard/js/state.js
CHANGED
|
@@ -127,7 +127,14 @@ function _sendDashboardPresence(closed) {
|
|
|
127
127
|
|
|
128
128
|
window.addEventListener('pagehide', function() { _sendDashboardPresence(true); });
|
|
129
129
|
window.addEventListener('beforeunload', function() { _sendDashboardPresence(true); });
|
|
130
|
-
|
|
130
|
+
// Only ping on becoming visible — hidden->presence beacons race the pagehide close
|
|
131
|
+
// beacon (both fire on tab close in quick succession via sendBeacon, ordering not
|
|
132
|
+
// guaranteed) and can resurrect a just-deleted entry with visibility:"hidden".
|
|
133
|
+
// Hidden tabs naturally expire via the 45s presence window; foreground returns
|
|
134
|
+
// re-fire visibilitychange so we still get a fresh heartbeat when the user comes back.
|
|
135
|
+
document.addEventListener('visibilitychange', function() {
|
|
136
|
+
if (document.visibilityState === 'visible') _sendDashboardPresence(false);
|
|
137
|
+
});
|
|
131
138
|
|
|
132
139
|
function rerenderPrdFromCache() {
|
|
133
140
|
if (!window._lastStatus || !window._lastStatus.prdProgress) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1819",
|
|
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"
|