@yemi33/minions 0.1.374 → 0.1.375
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
|
@@ -377,6 +377,8 @@ async function ccExecuteAction(action) {
|
|
|
377
377
|
await _ccFetch('/api/notes', { title: action.title, what: action.content || action.description, author: 'command-center' });
|
|
378
378
|
status.innerHTML = '✓ Note saved: <strong>' + escHtml(action.title) + '</strong>';
|
|
379
379
|
status.style.color = 'var(--green)';
|
|
380
|
+
var notePageLink = document.querySelector('.sidebar-link[data-page="inbox"]');
|
|
381
|
+
if (notePageLink && !notePageLink.querySelector('.notif-badge')) { var noteCurPage = document.querySelector('.sidebar-link.active')?.getAttribute('data-page'); if (noteCurPage !== 'inbox') showNotifBadge(notePageLink); }
|
|
380
382
|
break;
|
|
381
383
|
}
|
|
382
384
|
case 'pin': {
|
|
@@ -201,7 +201,14 @@ async function submitQuickNote() {
|
|
|
201
201
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
202
202
|
body: JSON.stringify({ title: title || 'Quick note', what: content || title })
|
|
203
203
|
});
|
|
204
|
-
if (res.ok) {
|
|
204
|
+
if (res.ok) {
|
|
205
|
+
refresh();
|
|
206
|
+
const currentPage = document.querySelector('.sidebar-link.active')?.getAttribute('data-page');
|
|
207
|
+
if (currentPage !== 'inbox') {
|
|
208
|
+
const link = document.querySelector('.sidebar-link[data-page="inbox"]');
|
|
209
|
+
if (link && !link.querySelector('.notif-badge')) showNotifBadge(link);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
205
212
|
else { const d = await res.json().catch(() => ({})); alert('Note failed: ' + (d.error || 'unknown')); openQuickNoteModal(); }
|
|
206
213
|
} catch (e) { alert('Error saving note: ' + e.message); openQuickNoteModal(); }
|
|
207
214
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.375",
|
|
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"
|