@link-assistant/hive-mind 1.18.0 → 1.20.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,22 @@
1
1
  # @link-assistant/hive-mind
2
2
 
3
+ ## 1.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 98a7582: Set kimi-k2.5-free as default model for --tool agent and enhance documentation with free model examples.
8
+
9
+ ## 1.19.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 64687ce: Add support and documentation for free AI models:
14
+ - Added support for opencode/big-pickle, opencode/gpt-5-nano, opencode/kimi-k2.5-free, opencode/glm-4.7-free, opencode/minimax-m2.1-free
15
+ - Updated model mapping and validation to handle free models
16
+ - Created comprehensive documentation in FREE_MODELS.md
17
+ - Added tests for all free model support
18
+ - Created case study analysis for issue #1244
19
+
3
20
  ## 1.18.0
4
21
 
5
22
  ### Minor Changes
package/README.md CHANGED
@@ -474,6 +474,15 @@ All commands work in **group chats only** (not in private messages with the bot)
474
474
  Examples:
475
475
  /solve https://github.com/owner/repo/issues/123 --model sonnet
476
476
  /solve https://github.com/owner/repo/issues/123 --model opus --think max
477
+
478
+ Free Models (with --tool agent):
479
+ /solve https://github.com/owner/repo/issues/123 --tool agent --model kimi-k2.5-free
480
+ /solve https://github.com/owner/repo/issues/123 --tool agent --model minimax-m2.1-free
481
+ /solve https://github.com/owner/repo/issues/123 --tool agent --model gpt-5-nano
482
+ /solve https://github.com/owner/repo/issues/123 --tool agent --model glm-4.7-free
483
+ /solve https://github.com/owner/repo/issues/123 --tool agent --model big-pickle
484
+
485
+ > **📖 Free Models Guide**: See [docs/FREE_MODELS.md](./docs/FREE_MODELS.md) for comprehensive information about all free models.
477
486
  ```
478
487
 
479
488
  #### `/hive` - Run Hive Orchestration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/hive-mind",
3
- "version": "1.18.0",
3
+ "version": "1.20.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",
@@ -31,7 +31,10 @@ export const agentModels = {
31
31
  'grok-code': 'opencode/grok-code',
32
32
  'grok-code-fast-1': 'opencode/grok-code',
33
33
  'big-pickle': 'opencode/big-pickle',
34
- 'gpt-5-nano': 'openai/gpt-5-nano',
34
+ 'gpt-5-nano': 'opencode/gpt-5-nano',
35
+ 'glm-4.7-free': 'opencode/glm-4.7-free',
36
+ 'minimax-m2.1-free': 'opencode/minimax-m2.1-free',
37
+ 'kimi-k2.5-free': 'opencode/kimi-k2.5-free',
35
38
  sonnet: 'anthropic/claude-3-5-sonnet',
36
39
  haiku: 'anthropic/claude-3-5-haiku',
37
40
  opus: 'anthropic/claude-3-opus',
@@ -99,6 +99,9 @@ export const AGENT_MODELS = {
99
99
  'grok-code-fast-1': 'opencode/grok-code',
100
100
  'big-pickle': 'opencode/big-pickle',
101
101
  'gpt-5-nano': 'opencode/gpt-5-nano',
102
+ 'glm-4.7-free': 'opencode/glm-4.7-free',
103
+ 'minimax-m2.1-free': 'opencode/minimax-m2.1-free',
104
+ 'kimi-k2.5-free': 'opencode/kimi-k2.5-free',
102
105
  // Premium models (requires OpenCode Zen subscription)
103
106
  sonnet: 'anthropic/claude-3-5-sonnet',
104
107
  haiku: 'anthropic/claude-3-5-haiku',
@@ -108,6 +111,9 @@ export const AGENT_MODELS = {
108
111
  'opencode/grok-code': 'opencode/grok-code',
109
112
  'opencode/big-pickle': 'opencode/big-pickle',
110
113
  'opencode/gpt-5-nano': 'opencode/gpt-5-nano',
114
+ 'opencode/glm-4.7-free': 'opencode/glm-4.7-free',
115
+ 'opencode/minimax-m2.1-free': 'opencode/minimax-m2.1-free',
116
+ 'opencode/kimi-k2.5-free': 'opencode/kimi-k2.5-free',
111
117
  'anthropic/claude-3-5-sonnet': 'anthropic/claude-3-5-sonnet',
112
118
  'anthropic/claude-3-5-haiku': 'anthropic/claude-3-5-haiku',
113
119
  'anthropic/claude-3-opus': 'anthropic/claude-3-opus',
@@ -390,7 +390,7 @@ export const createYargsConfig = yargsInstance => {
390
390
  config = config
391
391
  .option('model', {
392
392
  type: 'string',
393
- description: 'Model to use (for claude: opus, sonnet, haiku, haiku-3-5, haiku-3; for opencode: grok, gpt4o; for codex: gpt5, gpt5-codex, o3; for agent: grok, grok-code, big-pickle)',
393
+ description: 'Model to use (for claude: opus, sonnet, haiku, haiku-3-5, haiku-3; for opencode: grok, gpt4o; for codex: gpt5, gpt5-codex, o3; for agent: grok, grok-code, big-pickle, gpt-5-nano, glm-4.7-free, minimax-m2.1-free, kimi-k2.5-free)',
394
394
  alias: 'm',
395
395
  default: currentParsedArgs => {
396
396
  // Dynamic default based on tool selection
@@ -399,7 +399,7 @@ export const createYargsConfig = yargsInstance => {
399
399
  } else if (currentParsedArgs?.tool === 'codex') {
400
400
  return 'gpt-5';
401
401
  } else if (currentParsedArgs?.tool === 'agent') {
402
- return 'grok-code';
402
+ return 'kimi-k2.5-free';
403
403
  }
404
404
  return 'sonnet';
405
405
  },
@@ -528,7 +528,7 @@ export const parseArguments = async (yargs, hideBin) => {
528
528
  argv.model = 'gpt-5';
529
529
  } else if (argv.tool === 'agent' && !modelExplicitlyProvided) {
530
530
  // User did not explicitly provide --model, so use the correct default for agent
531
- argv.model = 'grok-code';
531
+ argv.model = 'kimi-k2.5-free';
532
532
  }
533
533
 
534
534
  // Tool-specific defaults for --claude-file and --gitkeep-file