@link-assistant/hive-mind 1.34.0 → 1.34.1

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,13 @@
1
1
  # @link-assistant/hive-mind
2
2
 
3
+ ## 1.34.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0f02dc5: Better wording for auto-restart comment
8
+
9
+ Updated the auto-restart comment to say "Starting new session to review and commit or discard them" instead of "Starting new session to review and commit them". This makes the wording consistent with the system prompts that already instruct the AI to either COMMIT or REVERT (discard) uncommitted changes.
10
+
3
11
  ## 1.34.0
4
12
 
5
13
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/hive-mind",
3
- "version": "1.34.0",
3
+ "version": "1.34.1",
4
4
  "description": "AI-powered issue solver and hive mind for collaborative problem solving",
5
5
  "main": "src/hive.mjs",
6
6
  "type": "module",
package/src/solve.mjs CHANGED
@@ -1265,8 +1265,8 @@ try {
1265
1265
  await log('');
1266
1266
  await log('🔄 AUTO-RESTART: Uncommitted changes detected');
1267
1267
  await log(' Starting temporary monitoring cycle (NOT --watch mode)');
1268
- await log(' The tool will run once more to commit the changes');
1269
- await log(' Will exit automatically after changes are committed');
1268
+ await log(' The tool will run once more to commit or discard the changes');
1269
+ await log(' Will exit automatically after changes are committed or discarded');
1270
1270
  await log('');
1271
1271
  }
1272
1272
 
@@ -189,7 +189,7 @@ export const watchForFeedback = async params => {
189
189
  uncommittedFilesList = '\n\n**Uncommitted files:**\n```\n' + changes.join('\n') + '\n```';
190
190
  }
191
191
 
192
- const commentBody = `## 🔄 Auto-restart ${autoRestartCount}/${maxAutoRestartIterations}\n\nDetected uncommitted changes from previous run. Starting new session to review and commit them.${uncommittedFilesList}\n\n---\n*Auto-restart will stop after changes are committed or after ${remainingIterations} more iteration${remainingIterations !== 1 ? 's' : ''}. Please wait until working session will end and give your feedback.*`;
192
+ const commentBody = `## 🔄 Auto-restart ${autoRestartCount}/${maxAutoRestartIterations}\n\nDetected uncommitted changes from previous run. Starting new session to review and commit or discard them.${uncommittedFilesList}\n\n---\n*Auto-restart will stop after changes are committed or discarded, or after ${remainingIterations} more iteration${remainingIterations !== 1 ? 's' : ''}. Please wait until working session will end and give your feedback.*`;
193
193
  await $`gh pr comment ${prNumber} --repo ${owner}/${repo} --body ${commentBody}`;
194
194
  await log(formatAligned('', '💬 Posted auto-restart notification to PR', '', 2));
195
195
  } catch (commentError) {