@yemi33/minions 0.1.766 → 0.1.768
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,11 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.768 (2026-04-10)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- id/kill endpoint
|
|
7
7
|
|
|
8
8
|
### Fixes
|
|
9
|
+
- handle work type names as action aliases for dispatch
|
|
10
|
+
- align Agent Usage and Engine Usage table columns
|
|
9
11
|
- harden agent kill endpoint — use killGracefully, clean steer.md, remove dead var
|
|
10
12
|
|
|
11
13
|
## 0.1.764 (2026-04-10)
|
|
@@ -683,9 +683,15 @@ async function ccExecuteAction(action) {
|
|
|
683
683
|
|
|
684
684
|
try {
|
|
685
685
|
switch (action.type) {
|
|
686
|
-
case 'dispatch':
|
|
686
|
+
case 'dispatch':
|
|
687
|
+
case 'fix':
|
|
688
|
+
case 'implement':
|
|
689
|
+
case 'explore':
|
|
690
|
+
case 'review':
|
|
691
|
+
case 'test': {
|
|
692
|
+
var workType = action.workType || (action.type !== 'dispatch' ? action.type : 'implement');
|
|
687
693
|
var res = await _ccFetch('/api/work-items', {
|
|
688
|
-
title: action.title, type:
|
|
694
|
+
title: action.title, type: workType,
|
|
689
695
|
priority: action.priority || 'medium', description: action.description || '',
|
|
690
696
|
project: action.project || '', agents: action.agents || [],
|
|
691
697
|
});
|
|
@@ -214,7 +214,7 @@ function renderTokenUsage(metrics) {
|
|
|
214
214
|
var agentsWithUsage = tokenRows.filter(function(a) { return (a[1].totalCostUsd || 0) > 0; });
|
|
215
215
|
if (agentsWithUsage.length > 0) {
|
|
216
216
|
html += '<div style="font-size:10px;color:var(--muted);margin:12px 0 4px;font-weight:600;text-transform:uppercase;letter-spacing:0.5px">Agent Usage</div>';
|
|
217
|
-
html += '<table class="token-agent-table"><thead><tr><th>Agent</th><th>Model</th><th>Cost</th><th>Input</th><th>Output</th><th>Cache</th><th>$/task</th></tr></thead><tbody>';
|
|
217
|
+
html += '<table class="token-agent-table"><thead><tr><th style="width:20%">Agent</th><th style="width:10%">Model</th><th style="width:14%">Cost</th><th style="width:14%">Input</th><th style="width:14%">Output</th><th style="width:14%">Cache</th><th style="width:14%">$/task</th></tr></thead><tbody>';
|
|
218
218
|
for (const [id, m] of agentsWithUsage.sort((a, b) => (b[1].totalCostUsd || 0) - (a[1].totalCostUsd || 0))) {
|
|
219
219
|
const tasks = (m.tasksCompleted || 0) + (m.tasksErrored || 0);
|
|
220
220
|
const perTask = tasks > 0 ? fmtCost((m.totalCostUsd || 0) / tasks) : '-';
|
|
@@ -237,7 +237,7 @@ function renderTokenUsage(metrics) {
|
|
|
237
237
|
if (engineEntries.length > 0) {
|
|
238
238
|
const labels = { 'consolidation': 'Consolidation', 'command-center': 'Command Center', 'doc-chat': 'Doc Chat', 'kb-sweep': 'KB Sweep', 'schedule-parse': 'Schedule Parse' };
|
|
239
239
|
html += '<div style="font-size:10px;color:var(--muted);margin:12px 0 4px;font-weight:600;text-transform:uppercase;letter-spacing:0.5px">Engine Usage</div>';
|
|
240
|
-
html += '<table class="token-agent-table"><thead><tr><th>Operation</th><th>Calls</th><th>Cost</th><th>Input</th><th>Output</th><th>Cache</th><th>$/call</th></tr></thead><tbody>';
|
|
240
|
+
html += '<table class="token-agent-table"><thead><tr><th style="width:20%">Operation</th><th style="width:10%">Calls</th><th style="width:14%">Cost</th><th style="width:14%">Input</th><th style="width:14%">Output</th><th style="width:14%">Cache</th><th style="width:14%">$/call</th></tr></thead><tbody>';
|
|
241
241
|
for (const [cat, e] of engineEntries.sort((a, b) => (b[1].costUsd || 0) - (a[1].costUsd || 0))) {
|
|
242
242
|
const perCall = (e.calls || 0) > 0 ? fmtCost((e.costUsd || 0) / e.calls) : '-';
|
|
243
243
|
html += '<tr>' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.768",
|
|
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"
|