@yemi33/minions 0.1.1784 → 0.1.1785
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/command-center.js +2 -3
- package/dashboard.js +4 -4
- package/engine/copilot-models.json +1 -1
- package/package.json +1 -1
- package/prompts/cc-system.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -141,7 +141,7 @@ function _ccMergeStreamText(prev, incoming) {
|
|
|
141
141
|
return current + '\n\n' + next;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
var CC_DISPATCH_ACTION_ALIASES = ['fix', '
|
|
144
|
+
var CC_DISPATCH_ACTION_ALIASES = ['fix', 'explore', 'review', 'test'];
|
|
145
145
|
function _ccNormalizeDispatchAction(action) {
|
|
146
146
|
if (!action || typeof action !== 'object' || typeof action.type !== 'string') return action;
|
|
147
147
|
var type = action.type.trim().toLowerCase();
|
|
@@ -1045,7 +1045,7 @@ async function ccExecuteAction(action, targetTabId) {
|
|
|
1045
1045
|
status.style.color = action._serverDuplicate ? 'var(--orange)' : 'var(--green)';
|
|
1046
1046
|
}
|
|
1047
1047
|
ccAddMessage('action', status.outerHTML, false, targetTabId);
|
|
1048
|
-
if (['dispatch','create-meeting'].includes(action.type)) wakeEngine();
|
|
1048
|
+
if (['dispatch','fix','explore','review','test','create-meeting'].includes(action.type)) wakeEngine();
|
|
1049
1049
|
refresh();
|
|
1050
1050
|
return;
|
|
1051
1051
|
}
|
|
@@ -1054,7 +1054,6 @@ async function ccExecuteAction(action, targetTabId) {
|
|
|
1054
1054
|
switch (action.type) {
|
|
1055
1055
|
case 'dispatch':
|
|
1056
1056
|
case 'fix':
|
|
1057
|
-
case 'implement':
|
|
1058
1057
|
case 'explore':
|
|
1059
1058
|
case 'review':
|
|
1060
1059
|
case 'test': {
|
package/dashboard.js
CHANGED
|
@@ -1799,7 +1799,7 @@ function _extractActionsJson(segment) {
|
|
|
1799
1799
|
return null;
|
|
1800
1800
|
}
|
|
1801
1801
|
|
|
1802
|
-
const CC_DISPATCH_ACTION_ALIASES = new Set(['fix', '
|
|
1802
|
+
const CC_DISPATCH_ACTION_ALIASES = new Set(['fix', 'explore', 'review', 'test']);
|
|
1803
1803
|
|
|
1804
1804
|
function normalizeCCAction(action) {
|
|
1805
1805
|
if (!action || typeof action !== 'object') return action;
|
|
@@ -2209,7 +2209,7 @@ function createPipelineFromAction(action) {
|
|
|
2209
2209
|
function _ccValidateAction(action) {
|
|
2210
2210
|
if (!action || typeof action !== 'object' || !action.type) return 'action is missing required field: type';
|
|
2211
2211
|
switch (action.type) {
|
|
2212
|
-
case 'dispatch': case 'fix': case '
|
|
2212
|
+
case 'dispatch': case 'fix': case 'explore': case 'review': case 'test':
|
|
2213
2213
|
if (!action.title || typeof action.title !== 'string' || !action.title.trim()) return `${action.type} action missing required field: title`;
|
|
2214
2214
|
return null;
|
|
2215
2215
|
case 'build-and-test':
|
|
@@ -2543,8 +2543,8 @@ async function executeCCActions(actions, { source = 'command-center', inferredPr
|
|
|
2543
2543
|
}
|
|
2544
2544
|
try {
|
|
2545
2545
|
switch (action.type) {
|
|
2546
|
-
case 'dispatch': case 'fix': case '
|
|
2547
|
-
const workType = routing.normalizeWorkType(action.workType || WORK_TYPE.IMPLEMENT, WORK_TYPE.IMPLEMENT);
|
|
2546
|
+
case 'dispatch': case 'fix': case 'explore': case 'review': case 'test': {
|
|
2547
|
+
const workType = routing.normalizeWorkType(action.workType || (action.type !== 'dispatch' ? action.type : WORK_TYPE.IMPLEMENT), WORK_TYPE.IMPLEMENT);
|
|
2548
2548
|
const id = 'W-' + shared.uid();
|
|
2549
2549
|
const project = action.project || '';
|
|
2550
2550
|
const prRef = getWorkItemPrRef(action);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1785",
|
|
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"
|
package/prompts/cc-system.md
CHANGED
|
@@ -91,11 +91,11 @@ I'll dispatch dallas to fix that bug.
|
|
|
91
91
|
- `knowledge`: `title`, `content`, and `category` REQUIRED. Valid categories: architecture, conventions, project-notes, build-reports, reviews.
|
|
92
92
|
|
|
93
93
|
Core action types:
|
|
94
|
-
- **dispatch**: title (REQUIRED), workType, priority (low/medium/high), agents[] or agent (optional — both shapes accepted), project (REQUIRED when multi-project unless `pr` resolves to a tracked PR), description, pr (optional PR number/id/url for work that targets an existing PR), scope (`"fan-out"` only when the user explicitly asks to fan out to all agents). Do not emit `type:"fix"` or `type:"implement"`; emit `type:"dispatch"` with `workType:"fix"` or `workType:"implement"`.
|
|
94
|
+
- **dispatch**: title (REQUIRED), workType, priority (low/medium/high), agents[] or agent (optional — both shapes accepted), project (REQUIRED when multi-project unless `pr` resolves to a tracked PR), description, pr (optional PR number/id/url for work that targets an existing PR), scope (`"fan-out"` only when the user explicitly asks to fan out to all agents). Do not emit `type:"fix"` or `type:"implement"`; emit `type:"dispatch"` with `workType:"fix"` or emit `type:"dispatch"` with `workType:"implement"`.
|
|
95
95
|
workTypes: `explore` (research/report only, NO PR), `ask` (answer/report, NO PR), `implement` (new code, PR REQUIRED), `fix` (standalone bug fix creates a PR; include `pr` when fixing review comments/build failures on an existing PR), `review` (code review, NO PR), `test` (tests, PR if new), `verify` (merge/build/maintenance, NO PR)
|
|
96
96
|
If the user wants a design/architecture artifact committed through a PR, dispatch `implement` or `docs` rather than `explore`.
|
|
97
97
|
When the user names a specific agent ("assign this to lambert"), put exactly that one name in `agents` (e.g. `"agents": ["lambert"]`). A single-agent assignment is hard-pinned by the server — it will queue for that agent only and skip the routing table. If the user explicitly asks for fan-out/all agents, set `scope: "fan-out"`.
|
|
98
|
-
After emitting a dispatch
|
|
98
|
+
After emitting a dispatch-like action, return immediately; do not poll, monitor, watch, wait, or check until completion, and do not add follow-up status actions. Only create a watch, monitor, poll, or periodically check when the human explicitly asks for monitoring, watching, periodic checks, or notification on completion.
|
|
99
99
|
- **build-and-test**: pr, project (optional), agent (optional) — Run the build-and-test playbook against a PR. The agent will checkout the PR branch, run the project's build/test commands, and report results. Use when the user asks to "run tests on PR X" or "build PR X" or after a fix to verify nothing regressed.
|
|
100
100
|
Example: user says "run build and test on PR 1834" → `{"type":"build-and-test","pr":"1834"}`
|
|
101
101
|
- **note**: title, content — save to inbox
|