@yemi33/minions 0.1.874 → 0.1.876

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,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.874 (2026-04-11)
3
+ ## 0.1.876 (2026-04-11)
4
+
5
+ ### Features
6
+ - add 13 missing CC action types for full dashboard parity
4
7
 
5
8
  ### Fixes
9
+ - reset central work-items.json on agent kill (closes #890) (#891)
6
10
  - include started_at in done/error agent status so duration renders
7
11
 
8
12
  ## 0.1.873 (2026-04-11)
@@ -1097,6 +1097,95 @@ async function ccExecuteAction(action, targetTabId) {
1097
1097
  refresh();
1098
1098
  break;
1099
1099
  }
1100
+ // ── High-impact gaps ──
1101
+ case 'continue-pipeline': {
1102
+ await _ccFetch('/api/pipelines/continue', { id: action.id });
1103
+ status.innerHTML = '&#10003; Pipeline continued: <strong>' + escHtml(action.id) + '</strong>';
1104
+ status.style.color = 'var(--green)';
1105
+ wakeEngine();
1106
+ break;
1107
+ }
1108
+ case 'work-item-feedback': {
1109
+ await _ccFetch('/api/work-items/feedback', { id: action.id, rating: action.rating || 'up', comment: action.comment || '' });
1110
+ status.innerHTML = '&#10003; Feedback submitted for: <strong>' + escHtml(action.id) + '</strong> (' + escHtml(action.rating || 'up') + ')';
1111
+ status.style.color = 'var(--green)';
1112
+ break;
1113
+ }
1114
+ case 'archive-work-item': {
1115
+ await _ccFetch('/api/work-items/archive', { id: action.id });
1116
+ status.innerHTML = '&#10003; Work item archived: <strong>' + escHtml(action.id) + '</strong>';
1117
+ status.style.color = 'var(--green)';
1118
+ refresh();
1119
+ break;
1120
+ }
1121
+ case 'reopen-prd-item': {
1122
+ await _ccFetch('/api/prd-items/update', { id: action.id, file: action.file, status: 'updated' });
1123
+ status.innerHTML = '&#10003; PRD item reopened: <strong>' + escHtml(action.id) + '</strong>';
1124
+ status.style.color = 'var(--green)';
1125
+ wakeEngine();
1126
+ break;
1127
+ }
1128
+ case 'promote-to-kb': {
1129
+ await _ccFetch('/api/inbox/promote-kb', { file: action.file, category: action.category || 'project-notes' });
1130
+ status.innerHTML = '&#10003; Promoted to KB: <strong>' + escHtml(action.file) + '</strong>';
1131
+ status.style.color = 'var(--green)';
1132
+ refresh();
1133
+ break;
1134
+ }
1135
+ // ── Lower-priority gaps ──
1136
+ case 'revise-plan': {
1137
+ await _ccFetch('/api/plans/revise', { file: action.file, feedback: action.feedback || action.description, requestedBy: 'command-center' });
1138
+ status.innerHTML = '&#10003; Plan revision dispatched: <strong>' + escHtml(action.file) + '</strong>';
1139
+ status.style.color = 'var(--green)';
1140
+ wakeEngine();
1141
+ break;
1142
+ }
1143
+ case 'kb-sweep': {
1144
+ await _ccFetch('/api/knowledge/sweep', {});
1145
+ status.innerHTML = '&#10003; KB sweep triggered';
1146
+ status.style.color = 'var(--green)';
1147
+ break;
1148
+ }
1149
+ case 'toggle-kb-pin': {
1150
+ await _ccFetch('/api/kb-pins/toggle', { key: action.key });
1151
+ status.innerHTML = '&#10003; KB pin toggled: <strong>' + escHtml(action.key) + '</strong>';
1152
+ status.style.color = 'var(--green)';
1153
+ refresh();
1154
+ break;
1155
+ }
1156
+ case 'add-project': {
1157
+ await _ccFetch('/api/projects/add', { localPath: action.localPath, name: action.name || '', repoHost: action.repoHost || 'github' });
1158
+ status.innerHTML = '&#10003; Project added: <strong>' + escHtml(action.name || action.localPath) + '</strong>';
1159
+ status.style.color = 'var(--green)';
1160
+ refresh();
1161
+ break;
1162
+ }
1163
+ case 'restart-engine': {
1164
+ await _ccFetch('/api/engine/restart', {});
1165
+ status.innerHTML = '&#10003; Engine restart requested';
1166
+ status.style.color = 'var(--green)';
1167
+ break;
1168
+ }
1169
+ case 'delete-pr': {
1170
+ await _ccFetch('/api/pull-requests/delete', { id: action.id, project: action.project || '' });
1171
+ status.innerHTML = '&#10003; PR unlinked: <strong>' + escHtml(action.id) + '</strong>';
1172
+ status.style.color = 'var(--green)';
1173
+ refresh();
1174
+ break;
1175
+ }
1176
+ case 'unarchive-meeting': {
1177
+ await _ccFetch('/api/meetings/unarchive', { id: action.id });
1178
+ status.innerHTML = '&#10003; Meeting unarchived: <strong>' + escHtml(action.id) + '</strong>';
1179
+ status.style.color = 'var(--green)';
1180
+ refresh();
1181
+ break;
1182
+ }
1183
+ case 'reset-settings': {
1184
+ await _ccFetch('/api/settings/reset', {});
1185
+ status.innerHTML = '&#10003; Settings reset to defaults';
1186
+ status.style.color = 'var(--green)';
1187
+ break;
1188
+ }
1100
1189
  default:
1101
1190
  status.innerHTML = '? Unknown action: ' + escHtml(action.type);
1102
1191
  status.style.color = 'var(--muted)';
package/dashboard.js CHANGED
@@ -1622,7 +1622,7 @@ const server = http.createServer(async (req, res) => {
1622
1622
  }, { defaultValue: { pending: [], active: [], completed: [] } });
1623
1623
 
1624
1624
  // 4. Reset work items from dispatched → pending so they can be retried
1625
- const allWiPaths = [];
1625
+ const allWiPaths = [path.join(MINIONS_DIR, 'work-items.json')];
1626
1626
  for (const proj of PROJECTS) allWiPaths.push(shared.projectWorkItemsPath(proj));
1627
1627
  let resetCount = 0;
1628
1628
  for (const wiPath of allWiPaths) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.874",
3
+ "version": "0.1.876",
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"
@@ -73,8 +73,15 @@ Additional actions (all take `id` or `file` as primary key):
73
73
  - Work items: delete-work-item (id, source)
74
74
  - Schedules: schedule (id, title, cron, workType, project, agent, description, priority, enabled), delete-schedule (id)
75
75
  - Pipelines: create-pipeline (id, title, stages[], trigger, stopWhen, monitoredResources), edit-pipeline (id, title, stages, trigger), delete-pipeline (id), trigger-pipeline (id), abort-pipeline (id), retrigger-pipeline (id)
76
- - Meetings: add-meeting-note (id, note), advance-meeting (id), end-meeting (id), archive-meeting (id), delete-meeting (id)
77
- - Other: unpin (title), link-pr (url, title, project, autoObserve), update-routing (content), file-bug (title, description, labels)
76
+ - Meetings: add-meeting-note (id, note), advance-meeting (id), end-meeting (id), archive-meeting (id), unarchive-meeting (id), delete-meeting (id)
77
+ - Work item ops: delete-work-item (id, source), archive-work-item (id), work-item-feedback (id, rating: up/down, comment)
78
+ - PRD ops: edit-prd-item, remove-prd-item, reopen-prd-item (id, file — re-dispatches on existing branch)
79
+ - KB/Inbox: promote-to-kb (file, category), kb-sweep, toggle-kb-pin (key)
80
+ - Plan lifecycle: revise-plan (file, feedback — dispatches agent to revise)
81
+ - Pipeline: continue-pipeline (id — resume past wait stage)
82
+ - Projects: add-project (localPath, name, repoHost)
83
+ - Engine: restart-engine, reset-settings
84
+ - Other: unpin (title), link-pr (url, title, project, autoObserve), delete-pr (id, project), update-routing (content), file-bug (title, description, labels)
78
85
 
79
86
  ## Terminology
80
87
  Terms like schedules, pipelines, agents, inbox, work items, plans, PRD, PRs, dispatch, routing, KB, notes, pinned, meetings have Minions-specific meanings. Always resolve against Minions state first (read files or call APIs). Fall back to generic only if no Minions context exists.