@yemi33/minions 0.1.988 → 0.1.990

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,8 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.988 (2026-04-15)
3
+ ## 0.1.990 (2026-04-15)
4
4
 
5
5
  ### Features
6
+ - gate review auto-dispatch on adoPollEnabled and evalLoop config flags (#1092)
7
+ - remove DEFAULTS alias from timeout.js — standardize to ENGINE_DEFAULTS
6
8
  - complete watches management — new conditions, CC actions, PROJECTS fix (#1103)
7
9
  - fix misleading poll frequency field labels in settings modal (#1099)
8
10
  - add Auto-complete PRs toggle to settings modal (#1095)
@@ -21,8 +23,6 @@
21
23
  - update render-work-items.js output viewer to use renderAgentOutput
22
24
  - update detail-panel.js Output Log tab to use renderAgentOutput
23
25
  - Update command-center.js to capture tool inputs and use formatted summaries
24
- - certificate-based auth for Teams integration (#1027)
25
- - Create render-utils.js with shared formatting helpers
26
26
 
27
27
  ### Fixes
28
28
  - updatePrAfterReview preserves fixedAt when writing minionsReview
package/engine/timeout.js CHANGED
@@ -9,7 +9,7 @@ const shared = require('./shared');
9
9
  const queries = require('./queries');
10
10
 
11
11
  const { safeRead, safeWrite, safeJson, mutateJsonFileLocked, getProjects, projectWorkItemsPath, log, ts,
12
- ENGINE_DEFAULTS: DEFAULTS, WI_STATUS, WORK_TYPE, DISPATCH_RESULT, AGENT_STATUS } = shared;
12
+ ENGINE_DEFAULTS, WI_STATUS, WORK_TYPE, DISPATCH_RESULT, AGENT_STATUS } = shared;
13
13
  const { getDispatch, getAgentStatus } = queries;
14
14
  const AGENTS_DIR = queries.AGENTS_DIR;
15
15
  const MINIONS_DIR = shared.MINIONS_DIR;
@@ -131,11 +131,11 @@ function checkTimeouts(config) {
131
131
  const { completeDispatch } = dispatch();
132
132
  const { runPostCompletionHooks } = require('./lifecycle');
133
133
 
134
- const timeout = config.engine?.agentTimeout || DEFAULTS.agentTimeout;
135
- const defaultHeartbeatTimeout = config.engine?.heartbeatTimeout || DEFAULTS.heartbeatTimeout;
134
+ const timeout = config.engine?.agentTimeout || ENGINE_DEFAULTS.agentTimeout;
135
+ const defaultHeartbeatTimeout = config.engine?.heartbeatTimeout || ENGINE_DEFAULTS.heartbeatTimeout;
136
136
 
137
137
  // Per-type heartbeat timeouts: merge ENGINE_DEFAULTS ← config overrides
138
- const perTypeTimeouts = { ...DEFAULTS.heartbeatTimeouts, ...(config.engine?.heartbeatTimeouts || {}) };
138
+ const perTypeTimeouts = { ...ENGINE_DEFAULTS.heartbeatTimeouts, ...(config.engine?.heartbeatTimeouts || {}) };
139
139
 
140
140
  // 1. Check tracked processes for hard timeout (supports per-item deadline from fan-out)
141
141
  for (const [id, info] of activeProcesses.entries()) {
@@ -389,7 +389,7 @@ function checkTimeouts(config) {
389
389
  (dispatchData.active || []).some(d => d.meta?.item?.id === item.id);
390
390
  if (!isActive) {
391
391
  const retries = (item._retryCount || 0);
392
- const maxRetries = DEFAULTS.maxRetries;
392
+ const maxRetries = ENGINE_DEFAULTS.maxRetries;
393
393
  if (retries < maxRetries) {
394
394
  log('info', `Reconcile: work item ${item.id} agent died — auto-retry ${retries + 1}/${maxRetries}`);
395
395
  item.status = WI_STATUS.PENDING;
package/engine.js CHANGED
@@ -1995,7 +1995,7 @@ async function discoverFromPrs(config, project) {
1995
1995
  // or when no minions review has completed yet (e.g. human-feedback-only fix path).
1996
1996
  const fixedAfterReview = !!(pr.minionsReview?.fixedAt &&
1997
1997
  (!pr.lastReviewedAt || pr.minionsReview.fixedAt > pr.lastReviewedAt));
1998
- const needsReReview = autoReview && reviewStatus === 'waiting' &&
1998
+ const needsReReview = reviewEnabled && reviewStatus === 'waiting' &&
1999
1999
  fixedAfterReview && !evalEscalated;
2000
2000
  if (needsReReview) {
2001
2001
  const key = `rereview-${project?.name || 'default'}-${pr.id}`;
@@ -2020,7 +2020,7 @@ async function discoverFromPrs(config, project) {
2020
2020
  } catch {}
2021
2021
  continue;
2022
2022
  }
2023
- } catch (e) { log('warn', `Pre-dispatch vote check for ${pr.id}: ${e.message}`); }
2023
+ } catch (e) { log('warn', `Pre-dispatch vote check for ${pr.id}: ${e.message} — skipping dispatch`); continue; }
2024
2024
 
2025
2025
  const agentId = resolveAgent('review', config);
2026
2026
  if (!agentId) continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.988",
3
+ "version": "0.1.990",
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"