@yemi33/minions 0.1.1705 → 0.1.1706
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
|
@@ -991,6 +991,7 @@ async function ccExecuteAction(action, targetTabId) {
|
|
|
991
991
|
title: action.title, type: workType,
|
|
992
992
|
priority: action.priority || 'medium', description: action.description || '',
|
|
993
993
|
project: action.project || '',
|
|
994
|
+
scope: action.scope || '',
|
|
994
995
|
agent: action.agent || '',
|
|
995
996
|
agents: action.agents || [],
|
|
996
997
|
});
|
package/dashboard.js
CHANGED
|
@@ -184,6 +184,7 @@ function workItemCreateFingerprint(item, options = {}) {
|
|
|
184
184
|
type: routing.normalizeWorkType(item?.type || item?.workType, WORK_TYPE.IMPLEMENT),
|
|
185
185
|
priority: normalizeWorkItemDedupText(item?.priority || 'medium').toLowerCase(),
|
|
186
186
|
description: normalizeWorkItemDedupText(item?.description),
|
|
187
|
+
scope: normalizeWorkItemDedupText(item?.scope).toLowerCase(),
|
|
187
188
|
prIdentity: normalizeWorkItemDedupPrIdentity(item, project),
|
|
188
189
|
};
|
|
189
190
|
}
|
|
@@ -211,6 +212,7 @@ function findDuplicateWorkItemCreate(items, candidate, options = {}) {
|
|
|
211
212
|
existingFingerprint.type === candidateFingerprint.type &&
|
|
212
213
|
existingFingerprint.priority === candidateFingerprint.priority &&
|
|
213
214
|
existingFingerprint.description === candidateFingerprint.description &&
|
|
215
|
+
existingFingerprint.scope === candidateFingerprint.scope &&
|
|
214
216
|
existingFingerprint.prIdentity === candidateFingerprint.prIdentity;
|
|
215
217
|
}) || null;
|
|
216
218
|
}
|
|
@@ -1654,6 +1656,7 @@ async function executeCCActions(actions) {
|
|
|
1654
1656
|
priority: action.priority || 'medium', description: action.description || '',
|
|
1655
1657
|
status: WI_STATUS.PENDING, created: new Date().toISOString(),
|
|
1656
1658
|
createdBy: 'command-center', project: targetProject?.name || project,
|
|
1659
|
+
...(action.scope ? { scope: action.scope } : {}),
|
|
1657
1660
|
...(agentHints.length ? { preferred_agent: agentHints[0], agents: agentHints } : {}),
|
|
1658
1661
|
...(isOneShot ? { oneShot: true } : {}),
|
|
1659
1662
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1706",
|
|
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
|
@@ -86,10 +86,10 @@ I'll dispatch dallas to fix that bug.
|
|
|
86
86
|
- `knowledge`: `title`, `content`, and `category` REQUIRED. Valid categories: architecture, conventions, project-notes, build-reports, reviews.
|
|
87
87
|
|
|
88
88
|
Core action types:
|
|
89
|
-
- **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)
|
|
89
|
+
- **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)
|
|
90
90
|
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)
|
|
91
91
|
If the user wants a design/architecture artifact committed through a PR, dispatch `implement` or `docs` rather than `explore`.
|
|
92
|
-
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.
|
|
92
|
+
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"`.
|
|
93
93
|
- **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.
|
|
94
94
|
Example: user says "run build and test on PR 1834" → `{"type":"build-and-test","pr":"1834"}`
|
|
95
95
|
- **note**: title, content — save to inbox
|
|
@@ -15,7 +15,7 @@ Do not emit `===ACTIONS===` or fenced `action` JSON for normal document question
|
|
|
15
15
|
Emit Minions actions when the human asks doc-chat to hand work to Minions or describes a complex engineering task that should not be completed by editing the current document directly. This includes: dispatching an agent, creating or cancelling a work item, code fixes, bug investigations, audits, reviews, tests, builds, verification, feature work, refactors, multi-step engineering tasks, watches, schedules, steering an agent, or changing Minions state.
|
|
16
16
|
|
|
17
17
|
For code fixes, investigations, reviews, tests, feature work, and other engineering tasks, delegate by emitting the same Command Center work-item action shape:
|
|
18
|
-
`{"type":"dispatch","title":"...","workType":"fix|explore|review|test|implement|verify","priority":"low|medium|high","project":"...","description":"...","agents":["optional-agent"]}`.
|
|
18
|
+
`{"type":"dispatch","title":"...","workType":"fix|explore|review|test|implement|verify","priority":"low|medium|high","project":"...","description":"...","agents":["optional-agent"],"scope":"fan-out only when explicitly requested"}`.
|
|
19
19
|
|
|
20
20
|
Preserve normal document editing behavior when the human explicitly asks you to edit/rewrite/update the current document, selection, paragraph, plan text, or wording. In that case, do not dispatch a work item unless the human also explicitly asks for Minions orchestration.
|
|
21
21
|
|