@link-assistant/hive-mind 1.47.2 → 1.48.0

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,11 @@
1
1
  # @link-assistant/hive-mind
2
2
 
3
+ ## 1.48.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 28f7ace: Add /do and /continue as alias commands for /solve in telegram bot
8
+
3
9
  ## 1.47.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/hive-mind",
3
- "version": "1.47.2",
3
+ "version": "1.48.0",
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 @@ bot.command('help', async ctx => {
658
658
  message += '📝 *Available Commands:*\n\n';
659
659
 
660
660
  if (solveEnabled) {
661
- message += '*/solve* - Solve a GitHub issue\n';
661
+ message += '*/solve* (aliases: */do*, */continue*) - Solve a GitHub issue\n';
662
662
  message += 'Usage: `/solve <github-url> [options]`\n';
663
663
  message += 'Example: `/solve https://github.com/owner/repo/issues/123 --model sonnet`\n';
664
664
  message += 'Or reply to a message with a GitHub link: `/solve`\n';
@@ -667,7 +667,7 @@ bot.command('help', async ctx => {
667
667
  }
668
668
  message += '\n';
669
669
  } else {
670
- message += '*/solve* - ❌ Disabled\n\n';
670
+ message += '*/solve* (aliases: */do*, */continue*) - ❌ Disabled\n\n';
671
671
  }
672
672
 
673
673
  if (hiveEnabled) {
@@ -695,7 +695,7 @@ bot.command('help', async ctx => {
695
695
  message += '🔔 *Session Notifications:* The bot monitors sessions and notifies when they complete.\n';
696
696
  if (ISOLATION_BACKEND) message += `🔒 *Isolation Mode:* \`${ISOLATION_BACKEND}\` (experimental)\n`;
697
697
  message += '\n';
698
- message += '⚠️ *Note:* /solve, /hive, /solve\\_queue, /limits, /version, /accept\\_invites, /merge, /stop and /start commands only work in group chats.\n\n';
698
+ message += '⚠️ *Note:* /solve, /do, /continue, /hive, /solve\\_queue, /limits, /version, /accept\\_invites, /merge, /stop and /start commands only work in group chats.\n\n';
699
699
  message += '🔧 *Common Options:*\n';
700
700
  message += `• \`--model <model>\` or \`-m\` - ${buildModelOptionDescription()}\n`;
701
701
  message += '• `--base-branch <branch>` or `-b` - Target branch for PR (default: repo default branch)\n';
@@ -1041,7 +1041,7 @@ async function handleSolveCommand(ctx) {
1041
1041
  }
1042
1042
  }
1043
1043
 
1044
- bot.command(/^solve$/i, handleSolveCommand);
1044
+ bot.command([/^solve$/i, /^do$/i, /^continue$/i], handleSolveCommand); // /do and /continue are aliases (issue #525)
1045
1045
 
1046
1046
  // Named handler for /hive command - extracted for reuse by text-based fallback (issue #1207)
1047
1047
  async function handleHiveCommand(ctx) {
@@ -1268,12 +1268,8 @@ bot.on('message', async (ctx, next) => {
1268
1268
  }
1269
1269
 
1270
1270
  // Check if this is a command we handle
1271
- const handlers = {
1272
- solve: handleSolveCommand,
1273
- hive: handleHiveCommand,
1274
- solve_queue: handleSolveQueueCommand,
1275
- solvequeue: handleSolveQueueCommand,
1276
- };
1271
+ // /do and /continue are aliases for /solve (issue #525)
1272
+ const handlers = { solve: handleSolveCommand, do: handleSolveCommand, continue: handleSolveCommand, hive: handleHiveCommand, solve_queue: handleSolveQueueCommand, solvequeue: handleSolveQueueCommand };
1277
1273
 
1278
1274
  const handler = handlers[extracted.command];
1279
1275
  if (!handler) return next();