@yemi33/minions 0.1.351 → 0.1.352
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 +2 -1
- package/dashboard/js/render-pipelines.js +13 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -253,13 +253,21 @@ async function _togglePipelineEnabled(id, enabled, btn) {
|
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
async function _continuePipeline(id, stageId, btn) {
|
|
256
|
-
if (btn) { btn.textContent = 'Continuing...'; btn.style.pointerEvents = 'none'; }
|
|
256
|
+
if (btn) { btn.textContent = 'Continuing...'; btn.style.pointerEvents = 'none'; btn.style.opacity = '0.6'; }
|
|
257
257
|
try {
|
|
258
258
|
var res = await fetch('/api/pipelines/continue', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ id: id, stageId: stageId }) });
|
|
259
|
-
if (res.ok) {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
259
|
+
if (res.ok) {
|
|
260
|
+
showToast('cmd-toast', 'Stage continued — dispatching next tick', true);
|
|
261
|
+
if (btn) { btn.textContent = '\u2713 Continued'; btn.style.color = 'var(--green)'; btn.style.borderColor = 'var(--green)'; btn.style.opacity = '1'; }
|
|
262
|
+
setTimeout(function() { openPipelineDetail(id); }, 2000);
|
|
263
|
+
} else {
|
|
264
|
+
var d = await res.json().catch(function() { return {}; }); alert('Failed: ' + (d.error || 'unknown'));
|
|
265
|
+
if (btn) { btn.textContent = 'Continue'; btn.style.pointerEvents = ''; btn.style.opacity = ''; }
|
|
266
|
+
}
|
|
267
|
+
} catch (e) {
|
|
268
|
+
alert('Error: ' + e.message);
|
|
269
|
+
if (btn) { btn.textContent = 'Continue'; btn.style.pointerEvents = ''; btn.style.opacity = ''; }
|
|
270
|
+
}
|
|
263
271
|
}
|
|
264
272
|
|
|
265
273
|
async function _deletePipelineConfirm(id) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.352",
|
|
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"
|