@yemi33/minions 0.1.987 → 0.1.989

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,9 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.987 (2026-04-15)
3
+ ## 0.1.989 (2026-04-15)
4
4
 
5
5
  ### Features
6
+ - remove DEFAULTS alias from timeout.js — standardize to ENGINE_DEFAULTS
6
7
  - complete watches management — new conditions, CC actions, PROJECTS fix (#1103)
7
8
  - fix misleading poll frequency field labels in settings modal (#1099)
8
9
  - add Auto-complete PRs toggle to settings modal (#1095)
@@ -22,7 +23,6 @@
22
23
  - update detail-panel.js Output Log tab to use renderAgentOutput
23
24
  - Update command-center.js to capture tool inputs and use formatted summaries
24
25
  - 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
@@ -909,7 +909,9 @@ async function updatePrAfterReview(agentId, pr, project, config, resultSummary)
909
909
  reviewer: reviewerName,
910
910
  reviewedAt: ts(),
911
911
  note: resultSummary || completedEntry?.task || '',
912
- ...(target.minionsReview?.fixedAt ? { fixedAt: target.minionsReview.fixedAt } : {}),
912
+ // Preserve fixedAt across re-reviews so the poller guard knows a fix was pushed.
913
+ // Drop it when reviewer requests changes again — that starts a new fix cycle.
914
+ ...(target.minionsReview?.fixedAt && postReviewStatus !== 'changes-requested' ? { fixedAt: target.minionsReview.fixedAt } : {}),
913
915
  };
914
916
  updatedTarget = { ...pr, ...target };
915
917
  return prs;
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.987",
3
+ "version": "0.1.989",
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"