@yemi33/minions 0.1.899 → 0.1.900

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,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.900 (2026-04-12)
4
+
5
+ ### Other
6
+ - chore(dashboard): remove dashboard.html monolith, fragments are canonical (closes #932) (#942)
7
+
3
8
  ## 0.1.899 (2026-04-12)
4
9
 
5
10
  ### Fixes
@@ -14,7 +14,7 @@ function buildDashboardHtml() {
14
14
  const layoutPath = path.join(dashDir, 'layout.html');
15
15
 
16
16
  if (!fs.existsSync(layoutPath)) {
17
- return safeRead(path.join(MINIONS_DIR, 'dashboard.html')) || '';
17
+ throw new Error(`Dashboard layout not found: ${layoutPath}. The dashboard/ directory must exist.`);
18
18
  }
19
19
 
20
20
  const layout = safeRead(layoutPath);
package/dashboard.js CHANGED
@@ -62,14 +62,13 @@ function resolvePlanPath(file) {
62
62
  return active;
63
63
  }
64
64
 
65
- // Assemble dashboard HTML from fragments (or fall back to monolith)
65
+ // Assemble dashboard HTML from fragments (canonical source: dashboard/)
66
66
  function buildDashboardHtml() {
67
67
  const dashDir = path.join(MINIONS_DIR, 'dashboard');
68
68
  const layoutPath = path.join(dashDir, 'layout.html');
69
69
 
70
- // Fall back to monolith if fragments don't exist
71
70
  if (!fs.existsSync(layoutPath)) {
72
- return safeRead(path.join(MINIONS_DIR, 'dashboard.html')) || '';
71
+ throw new Error(`Dashboard layout not found: ${layoutPath}. The dashboard/ directory must exist.`);
73
72
  }
74
73
 
75
74
  const layout = safeRead(layoutPath);
@@ -148,7 +148,7 @@ Frontend
148
148
  | `engine/shared.js` | `parseStreamJsonOutput()` extracts `sessionId` from result |
149
149
  | `engine/cc-session.json` | Persisted session state (sessionId, turnCount, timestamps) |
150
150
  | `dashboard.js` | CC endpoint, `buildCCStatePreamble()`, `ccDocCall()`, `parseCCActions()` |
151
- | `dashboard.html` | Frontend: localStorage persistence, session indicator, New Session button |
151
+ | `dashboard/js/` | Frontend: localStorage persistence, session indicator, New Session button |
152
152
 
153
153
  ## Command Bar
154
154
 
@@ -31,7 +31,7 @@ These files are removed during sync to personal:
31
31
 
32
32
  Controlled by the `files` field in `package.json`:
33
33
  - `bin/minions.js` — CLI entry point
34
- - `engine.js`, `dashboard.js`, `dashboard.html`, `minions.js` — core scripts
34
+ - `engine.js`, `dashboard.js`, `dashboard/` (fragments), `minions.js` — core scripts
35
35
  - `engine/spawn-agent.js`, `engine/ado-mcp-wrapper.js` — engine helpers
36
36
  - `agents/*/charter.md` — agent role definitions
37
37
  - `playbooks/*.md` — task templates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.899",
3
+ "version": "0.1.900",
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"
@@ -2,7 +2,7 @@ You are the Command Center AI for "Minions" — a multi-agent software engineeri
2
2
  You have full CLI power (read, write, edit, shell, builds) plus minions-specific actions to delegate work to agents.
3
3
 
4
4
  ## Guardrails
5
- READ ONLY — never write/edit: `engine.js`, `engine/*.js`, `dashboard.js`, `dashboard.html`, `minions.js`, `bin/*.js`, `engine/control.json`, `engine/dispatch.json`, `config.json`.
5
+ READ ONLY — never write/edit: `engine.js`, `engine/*.js`, `dashboard.js`, `dashboard/**`, `minions.js`, `bin/*.js`, `engine/control.json`, `engine/dispatch.json`, `config.json`.
6
6
  CAN modify: notes, plans, knowledge, work items, pull-requests.json, routing.md, charters, skills, playbooks, project repos.
7
7
 
8
8
  ## Filesystem