@yemi33/minions 0.1.2126 → 0.1.2127
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/dashboard.js +14 -0
- package/package.json +1 -1
package/dashboard.js
CHANGED
|
@@ -5486,6 +5486,20 @@ const server = http.createServer(async (req, res) => {
|
|
|
5486
5486
|
// central WI silently land and loop. (W-mp631ux9000x6df0; reproduced by
|
|
5487
5487
|
// W-mp629rn3000od581 — Rebecca's spawn looped 12+ times silently.)
|
|
5488
5488
|
const normalizedType = routing.normalizeWorkType(body.type, WORK_TYPE.IMPLEMENT);
|
|
5489
|
+
// plan-to-prd must carry a planFile — without it the agent has no plan to
|
|
5490
|
+
// convert. engine.js #spawnAgent only populates `vars.plan_content` from
|
|
5491
|
+
// the plan file when `item.planFile` is set (see engine.js ~line 6710);
|
|
5492
|
+
// with no planFile that whole setup block is skipped, leaving the agent
|
|
5493
|
+
// to produce an orphaned PRD with no source_plan linkage. Engine-internal
|
|
5494
|
+
// chaining via `shared.queuePlanToPrd` always stamps planFile, so this
|
|
5495
|
+
// guard only gates external callers hitting POST /api/work-items
|
|
5496
|
+
// directly. (W-mq14txl5)
|
|
5497
|
+
if (normalizedType === WORK_TYPE.PLAN_TO_PRD
|
|
5498
|
+
&& (!body.planFile || !String(body.planFile).trim())) {
|
|
5499
|
+
return jsonReply(res, 400, {
|
|
5500
|
+
error: 'planFile is required for type=plan-to-prd. Use POST /api/plan to create a new plan (the engine will auto-chain plan-to-prd) or POST /api/plans/execute for an existing .md draft.',
|
|
5501
|
+
});
|
|
5502
|
+
}
|
|
5489
5503
|
if (WORKTREE_REQUIRING_TYPES.has(normalizedType)
|
|
5490
5504
|
&& PROJECTS.length !== 1
|
|
5491
5505
|
&& (!body.project || !String(body.project).trim())) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2127",
|
|
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"
|