@yemi33/minions 0.1.498 → 0.1.499
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 +43 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard.js
CHANGED
|
@@ -576,6 +576,30 @@ Available action types:
|
|
|
576
576
|
- **update-routing**: Update the routing table. Fields: content (full routing.md content)
|
|
577
577
|
- **file-bug**: File a bug on the Minions repo (yemi33/minions). Fields: title (short bug title), description (markdown body), labels (optional array, defaults to ["bug"]). Trigger phrases: "file a bug", "file an issue", "report a bug", "create an issue", "this is a bug", "log a bug". This is for bugs in Minions itself, not the user's project. When filing, include repro steps and relevant context from the conversation in the description. If the user hasn't provided repro steps, ask before filing.
|
|
578
578
|
|
|
579
|
+
## Domain Terminology — Minions-Specific Meanings
|
|
580
|
+
|
|
581
|
+
Many common English words have specific meanings in the Minions context. **When a user mentions any of these terms, always check Minions state first** before falling back to a generic interpretation. If no Minions state exists for the term, you may answer generically but should note the disambiguation (e.g. "No Minions schedules are configured — did you mean cron schedules in general?").
|
|
582
|
+
|
|
583
|
+
| Term | Minions meaning | Where to check |
|
|
584
|
+
|------|-----------------|----------------|
|
|
585
|
+
| schedules | \`config.schedules[]\` — recurring cron-style task definitions | \`GET /api/schedules\` or read \`config.json\` |
|
|
586
|
+
| pipelines | \`pipelines/*.json\` — multi-stage execution plans with stages, triggers, and runs | \`GET /api/pipelines\` or read \`pipelines/\` dir |
|
|
587
|
+
| agents | Named Minions agents (Dallas, Ripley, etc.) with roles, charters, and status | \`config.agents\`, \`agents/\` dir |
|
|
588
|
+
| inbox | \`notes/inbox/\` — incoming agent findings awaiting consolidation | \`GET /api/inbox\` |
|
|
589
|
+
| work items | \`projects/<name>/work-items.json\` — dispatch units assigned to agents | \`GET /api/work-items\` |
|
|
590
|
+
| plans | \`plans/*.md\` — structured multi-step plan files | \`GET /api/plans\` or read \`plans/\` dir |
|
|
591
|
+
| PRD | \`prd/*.json\` — structured PRD files with items, acceptance criteria, dependencies | \`GET /api/prd-items\` or read \`prd/\` dir |
|
|
592
|
+
| PRs | \`projects/<name>/pull-requests.json\` — tracked pull requests per project | \`GET /api/pull-requests/all\` |
|
|
593
|
+
| dispatch | \`engine/dispatch.json\` — active agent task queue (pending/active/completed) | \`GET /api/status\` |
|
|
594
|
+
| tick | Engine orchestration cycle (~60s) — the heartbeat that drives all polling and dispatch | \`GET /api/status\` for tick count |
|
|
595
|
+
| routing | \`routing.md\` — maps work types to agents (e.g. implement → dallas) | \`GET /api/settings/routing\` or read \`routing.md\` |
|
|
596
|
+
| knowledge / KB | \`knowledge/\` — structured knowledge base entries by category | \`GET /api/knowledge\` |
|
|
597
|
+
| notes | \`notes.md\` — consolidated team notes (merged from inbox) | \`GET /api/notes-full\` |
|
|
598
|
+
| pinned | \`pinned.md\` — critical context injected into ALL agent prompts | \`GET /api/pinned\` |
|
|
599
|
+
| meetings | \`meetings/\` — structured multi-round agent debates (investigate → debate → conclude) | \`GET /api/meetings\` |
|
|
600
|
+
|
|
601
|
+
**Contract:** For any term in this table, resolve it against Minions state first. Only fall back to generic interpretation if the Minions context yields no results.
|
|
602
|
+
|
|
579
603
|
## Rules
|
|
580
604
|
|
|
581
605
|
1. **Use tools proactively.** Read files before answering — don't guess from the state snapshot alone.
|
|
@@ -611,6 +635,22 @@ function buildCCStatePreamble() {
|
|
|
611
635
|
? schedules.map(s => `- ${s.id}: "${s.title}" (cron: ${s.cron}, type: ${s.type || 'implement'}, ${s.enabled === false ? 'disabled' : 'enabled'})`).join('\n')
|
|
612
636
|
: '(none configured)';
|
|
613
637
|
|
|
638
|
+
let pipelineSummary = '(none configured)';
|
|
639
|
+
try {
|
|
640
|
+
const { getPipelines, getPipelineRuns } = require('./engine/pipeline');
|
|
641
|
+
const pipelines = getPipelines();
|
|
642
|
+
if (pipelines.length > 0) {
|
|
643
|
+
const runs = getPipelineRuns();
|
|
644
|
+
pipelineSummary = pipelines.map(p => {
|
|
645
|
+
const pRuns = runs[p.id] || [];
|
|
646
|
+
const lastRun = pRuns.length > 0 ? pRuns[pRuns.length - 1] : null;
|
|
647
|
+
const lastStatus = lastRun ? ` (last run: ${lastRun.status})` : '';
|
|
648
|
+
const triggerInfo = p.trigger && p.trigger.cron ? `, cron: ${p.trigger.cron}` : ', manual';
|
|
649
|
+
return `- ${p.id}: "${p.title}" (${p.stages ? p.stages.length : 0} stages${triggerInfo}, ${p.enabled === false ? 'disabled' : 'enabled'})${lastStatus}`;
|
|
650
|
+
}).join('\n');
|
|
651
|
+
}
|
|
652
|
+
} catch {}
|
|
653
|
+
|
|
614
654
|
return `### Agents
|
|
615
655
|
${agents}
|
|
616
656
|
|
|
@@ -627,6 +667,9 @@ ${projects}
|
|
|
627
667
|
### Scheduled Tasks
|
|
628
668
|
${schedSummary}
|
|
629
669
|
|
|
670
|
+
### Pipelines
|
|
671
|
+
${pipelineSummary}
|
|
672
|
+
|
|
630
673
|
### Dashboard API (all endpoints)
|
|
631
674
|
${_getApiRoutesSummary()}
|
|
632
675
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.499",
|
|
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"
|