@link-assistant/hive-mind 1.32.1 ā 1.32.2
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 +6 -0
- package/package.json +1 -1
- package/src/telegram-bot.mjs +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @link-assistant/hive-mind
|
|
2
2
|
|
|
3
|
+
## 1.32.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 695954c: Remove duplication of locked options in /solve and /hive command responses by showing only user-provided options in the Options line, adding emoji prefix for visual distinction, and adding empty line separator between URL and options
|
|
8
|
+
|
|
3
9
|
## 1.32.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
package/src/telegram-bot.mjs
CHANGED
|
@@ -991,8 +991,9 @@ async function handleSolveCommand(ctx) {
|
|
|
991
991
|
const normalizedUrl = validation.parsed.normalized;
|
|
992
992
|
|
|
993
993
|
const requester = buildUserMention({ user: ctx.from, parseMode: 'Markdown' });
|
|
994
|
-
|
|
995
|
-
|
|
994
|
+
// Issue #1228: Show only user-provided options (exclude locked overrides to avoid duplication)
|
|
995
|
+
const userOptionsText = userArgs.slice(1).join(' ') || 'none';
|
|
996
|
+
let infoBlock = `Requested by: ${requester}\nURL: ${escapeMarkdown(normalizedUrl)}\n\nš Options: ${userOptionsText}`;
|
|
996
997
|
if (solveOverrides.length > 0) infoBlock += `\nš Locked options: ${solveOverrides.join(' ')}`;
|
|
997
998
|
const solveQueue = getSolveQueue({ verbose: VERBOSE });
|
|
998
999
|
|
|
@@ -1160,8 +1161,9 @@ async function handleHiveCommand(ctx) {
|
|
|
1160
1161
|
|
|
1161
1162
|
const requester = buildUserMention({ user: ctx.from, parseMode: 'Markdown' });
|
|
1162
1163
|
const escapedUrl = escapeMarkdown(args[0]);
|
|
1163
|
-
|
|
1164
|
-
|
|
1164
|
+
// Issue #1228: Show only user-provided options (exclude locked overrides to avoid duplication)
|
|
1165
|
+
const userOptionsText = normalizedArgs.slice(1).join(' ') || 'none';
|
|
1166
|
+
let infoBlock = `Requested by: ${requester}\nURL: ${escapedUrl}\n\nš Options: ${userOptionsText}`;
|
|
1165
1167
|
if (hiveOverrides.length > 0) {
|
|
1166
1168
|
infoBlock += `\nš Locked options: ${hiveOverrides.join(' ')}`;
|
|
1167
1169
|
}
|