@link-assistant/hive-mind 1.35.8 → 1.35.9
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 +9 -0
- package/package.json +1 -1
- package/src/agent.lib.mjs +1 -1
- package/src/claude.lib.mjs +1 -1
- package/src/codex.lib.mjs +1 -1
- package/src/model-info.lib.mjs +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @link-assistant/hive-mind
|
|
2
2
|
|
|
3
|
+
## 1.35.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2e4e00e: fix: update tool display names to full official names (Issue #1470)
|
|
8
|
+
- Update `getToolDisplayName()` in `src/model-info.lib.mjs` to return full official names: "Anthropic Claude Code", "OpenAI Codex", "OpenCode", "Agent CLI"
|
|
9
|
+
- Update usage limit messages in `src/claude.lib.mjs`, `src/codex.lib.mjs`, and `src/agent.lib.mjs` to use full tool names
|
|
10
|
+
- Update test assertions in `tests/model-info.test.mjs` and `tests/test-usage-limit.mjs` to match new display names
|
|
11
|
+
|
|
3
12
|
## 1.35.8
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/package.json
CHANGED
package/src/agent.lib.mjs
CHANGED
|
@@ -899,7 +899,7 @@ export const executeAgentCommand = async params => {
|
|
|
899
899
|
|
|
900
900
|
// Format and display user-friendly message
|
|
901
901
|
const messageLines = formatUsageLimitMessage({
|
|
902
|
-
tool: 'Agent',
|
|
902
|
+
tool: 'Agent CLI',
|
|
903
903
|
resetTime: limitInfo.resetTime,
|
|
904
904
|
sessionId,
|
|
905
905
|
resumeCommand: sessionId ? `${process.argv[0]} ${process.argv[1]} ${argv.url} --resume ${sessionId}` : null,
|
package/src/claude.lib.mjs
CHANGED
|
@@ -1257,7 +1257,7 @@ export const executeClaudeCommand = async params => {
|
|
|
1257
1257
|
|
|
1258
1258
|
// Format and display user-friendly message
|
|
1259
1259
|
const messageLines = formatUsageLimitMessage({
|
|
1260
|
-
tool: 'Claude',
|
|
1260
|
+
tool: 'Anthropic Claude Code',
|
|
1261
1261
|
resetTime: limitInfo.resetTime,
|
|
1262
1262
|
sessionId,
|
|
1263
1263
|
resumeCommand: argv.url ? `${process.argv[0]} ${process.argv[1]} --auto-continue ${argv.url}` : null,
|
package/src/codex.lib.mjs
CHANGED
|
@@ -390,7 +390,7 @@ export const executeCodexCommand = async params => {
|
|
|
390
390
|
|
|
391
391
|
// Format and display user-friendly message
|
|
392
392
|
const messageLines = formatUsageLimitMessage({
|
|
393
|
-
tool: 'Codex',
|
|
393
|
+
tool: 'OpenAI Codex',
|
|
394
394
|
resetTime: limitInfo.resetTime,
|
|
395
395
|
sessionId,
|
|
396
396
|
resumeCommand: sessionId ? `${process.argv[0]} ${process.argv[1]} ${argv.url} --resume ${sessionId}` : null,
|
package/src/model-info.lib.mjs
CHANGED
|
@@ -26,13 +26,13 @@ export const getToolDisplayName = tool => {
|
|
|
26
26
|
const name = (tool || '').toString().toLowerCase();
|
|
27
27
|
switch (name) {
|
|
28
28
|
case 'claude':
|
|
29
|
-
return 'Claude';
|
|
29
|
+
return 'Anthropic Claude Code';
|
|
30
30
|
case 'codex':
|
|
31
|
-
return 'Codex';
|
|
31
|
+
return 'OpenAI Codex';
|
|
32
32
|
case 'opencode':
|
|
33
33
|
return 'OpenCode';
|
|
34
34
|
case 'agent':
|
|
35
|
-
return 'Agent';
|
|
35
|
+
return 'Agent CLI';
|
|
36
36
|
default:
|
|
37
37
|
return 'AI tool';
|
|
38
38
|
}
|