@yemi33/minions 0.1.2300 → 0.1.2301

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.
@@ -134,7 +134,7 @@ const RENDER_VERSIONS = {
134
134
  prdProgress: 2,
135
135
  prdPrs: 1,
136
136
  inbox: 2,
137
- projects: 3,
137
+ projects: 4,
138
138
  notes: 1,
139
139
  prd: 3,
140
140
  prs: 3,
@@ -91,9 +91,18 @@ function _renderProjectBranch(p) {
91
91
  // unset → 'worktree'). Live is the riskier/special mode (capped to one mutating
92
92
  // dispatch per project, refuses on a dirty tree) so it gets a more prominent
93
93
  // color than the muted worktree pill.
94
+ //
95
+ // Hybrid live-validation: when checkoutMode is 'live' AND p.liveValidationType
96
+ // is set, coding WIs author in isolated worktrees and only the named validation
97
+ // type runs in-place on the live checkout. This is a materially different
98
+ // dispatch profile from full-live, so it gets its own pill.
94
99
  function _renderWorktreeModePill(p) {
95
100
  if (!p) return '';
96
101
  if (p.checkoutMode === 'live') {
102
+ if (p.liveValidationType) {
103
+ const vt = escapeHtml(p.liveValidationType);
104
+ return ' <span class="project-mode-pill project-mode-hybrid" title="Hybrid live-validation — coding work items author in isolated worktrees; only the &quot;' + vt + '&quot; validation type runs in-place on the live checkout (capped to one mutating dispatch, refused on a dirty tree)">⚡ Hybrid · ' + vt + '</span>';
105
+ }
97
106
  return ' <span class="project-mode-pill project-mode-live" title="Live-checkout dispatch mode — agents run in-place inside the project working tree (no isolated worktree); capped to one mutating dispatch and refused on a dirty tree">⚡ Live checkout</span>';
98
107
  }
99
108
  return ' <span class="project-mode-pill project-mode-isolated" title="Worktree dispatch mode (default) — each agent runs in its own git worktree">Worktrees</span>';
@@ -1286,6 +1286,7 @@
1286
1286
  }
1287
1287
  .project-mode-isolated { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
1288
1288
  .project-mode-live { background: rgba(210,153,34,0.15); color: var(--yellow); border: 1px solid var(--yellow); }
1289
+ .project-mode-hybrid { background: rgba(88,166,255,0.15); color: var(--blue); border: 1px solid var(--blue); }
1289
1290
 
1290
1291
  /* QA tab (W-mpeiwz6k0005bf34-d) — targets / runbooks / runs sections.
1291
1292
  * Reuses surface/border/text tokens defined in :root so the QA page
package/dashboard.js CHANGED
@@ -2719,6 +2719,14 @@ function _buildStatusSlowState() {
2719
2719
  // pill. resolveCheckoutMode honors the legacy worktreeMode field and
2720
2720
  // defaults to 'worktree' when unset (matches engine spawn behavior).
2721
2721
  checkoutMode: shared.resolveCheckoutMode(p),
2722
+ // Surface the hybrid live-validation type (when configured) so the
2723
+ // Projects view can render a distinct "Hybrid" pill: coding WIs author
2724
+ // in isolated worktrees while only the named validation type runs
2725
+ // in-place on the live checkout. Only meaningful when checkoutMode is
2726
+ // 'live'; null otherwise (full-live or worktree projects).
2727
+ liveValidationType: (shared.resolveCheckoutMode(p) === 'live' && p.liveValidation && p.liveValidation.type)
2728
+ ? p.liveValidation.type
2729
+ : null,
2722
2730
  };
2723
2731
  }),
2724
2732
  autoMode: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.2300",
3
+ "version": "0.1.2301",
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"