@link-assistant/hive-mind 1.35.2 → 1.35.3

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,15 @@
1
1
  # @link-assistant/hive-mind
2
2
 
3
+ ## 1.35.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 22ae6d6: fix: rename "attempt" to "iteration" in auto-restart messages (Issue #1456)
8
+
9
+ The auto-restart PR comment title and log message now use "iteration" instead of "attempt" to match the project's terminology. Affected messages:
10
+ - PR comment: `Auto-restart triggered (iteration N)` (was `attempt N`)
11
+ - Log: `Exiting auto-restart mode after N iterations` (was `attempts`)
12
+
3
13
  ## 1.35.2
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/hive-mind",
3
- "version": "1.35.2",
3
+ "version": "1.35.3",
4
4
  "description": "AI-powered issue solver and hive mind for collaborative problem solving",
5
5
  "main": "src/hive.mjs",
6
6
  "type": "module",
@@ -658,7 +658,7 @@ Once the billing issue is resolved, you can re-run the CI checks or push a new c
658
658
  // Post a comment to PR about the restart
659
659
  // Issue #1356: Include restart count for tracking and add deduplication
660
660
  try {
661
- const commentBody = `## 🔄 Auto-restart triggered (attempt ${restartCount})\n\n**Reason:** ${restartReason}\n\nStarting new session to address the issues.\n\n---\n*Auto-restart-until-mergeable mode is active. Will continue until PR becomes mergeable.*`;
661
+ const commentBody = `## 🔄 Auto-restart triggered (iteration ${restartCount})\n\n**Reason:** ${restartReason}\n\nStarting new session to address the issues.\n\n---\n*Auto-restart-until-mergeable mode is active. Will continue until PR becomes mergeable.*`;
662
662
  await $`gh pr comment ${prNumber} --repo ${owner}/${repo} --body ${commentBody}`;
663
663
  await log(formatAligned('', '💬 Posted auto-restart notification to PR', '', 2));
664
664
  } catch (commentError) {
@@ -112,7 +112,7 @@ export const watchForFeedback = async params => {
112
112
  // Check if we've reached max iterations
113
113
  if (autoRestartCount >= maxAutoRestartIterations) {
114
114
  await log('');
115
- await log(formatAligned('⚠️', 'MAX ITERATIONS REACHED', `Exiting auto-restart mode after ${autoRestartCount} attempts`));
115
+ await log(formatAligned('⚠️', 'MAX ITERATIONS REACHED', `Exiting auto-restart mode after ${autoRestartCount} iterations`));
116
116
  await log(formatAligned('', 'Some uncommitted changes may remain', '', 2));
117
117
  await log(formatAligned('', 'Please review and commit manually if needed', '', 2));
118
118
  await log('');