@link-assistant/hive-mind 1.48.3 → 1.49.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,21 @@
1
1
  # @link-assistant/hive-mind
2
2
 
3
+ ## 1.49.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 00512d6: Fix broken screenshot URL in fork mode: use forked repo path instead of original repo path in screenshot URL template when operating in fork mode (#1561).
8
+
9
+ ## 1.49.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 9a904ae: feat: replace deprecated qwen3.6-plus-free default with nemotron-3-super-free for --tool agent (#1563)
14
+ - Change default agent model from `qwen3.6-plus-free` to `nemotron-3-super-free` (~262K context, NVIDIA hybrid Mamba-Transformer)
15
+ - Move `qwen3.6-plus-free` to deprecated (free promotion ended April 2026, now requires OpenCode Go subscription)
16
+ - Update documentation, tests, and model priority lists
17
+ - Syncs with upstream agent PR #243
18
+
3
19
  ## 1.48.3
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -445,9 +445,8 @@ Examples:
445
445
  /solve https://github.com/owner/repo/issues/123 --model opus --think max
446
446
 
447
447
  Free Models (with --tool agent):
448
- /solve https://github.com/owner/repo/issues/123 --tool agent --model qwen3.6-plus-free
449
- /solve https://github.com/owner/repo/issues/123 --tool agent --model opencode/qwen3.6-plus-free
450
448
  /solve https://github.com/owner/repo/issues/123 --tool agent --model nemotron-3-super-free
449
+ /solve https://github.com/owner/repo/issues/123 --tool agent --model opencode/nemotron-3-super-free
451
450
  /solve https://github.com/owner/repo/issues/123 --tool agent --model minimax-m2.5-free
452
451
  /solve https://github.com/owner/repo/issues/123 --tool agent --model gpt-5-nano
453
452
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/hive-mind",
3
- "version": "1.48.3",
3
+ "version": "1.49.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",
@@ -82,7 +82,10 @@ export const buildUserPrompt = params => {
82
82
  * @returns {string} The formatted system prompt
83
83
  */
84
84
  export const buildSystemPrompt = params => {
85
- const { owner, repo, issueNumber, prNumber, branchName, workspaceTmpDir, argv, modelSupportsVision } = params;
85
+ const { owner, repo, issueNumber, prNumber, branchName, workspaceTmpDir, argv, modelSupportsVision, forkedRepo } = params;
86
+
87
+ // When in fork mode, screenshots are pushed to the fork, not the original repo
88
+ const screenshotRepoPath = argv?.fork && forkedRepo ? forkedRepo : `${owner}/${repo}`;
86
89
 
87
90
  // Build thinking instruction based on --think level
88
91
  let thinkLine = '';
@@ -245,7 +248,7 @@ GitHub CLI command patterns.
245
248
  Visual UI work and screenshots.
246
249
  - When you work on visual UI changes (frontend, CSS, HTML, design), include a render or screenshot of the final result in the pull request description.
247
250
  - When you need to show visual results, take a screenshot and save it to the repository (e.g., in a docs/screenshots/ or assets/ folder).
248
- - When you save screenshots to the repository, use permanent links in the pull request description markdown (e.g., https://github.com/${owner}/${repo}/blob/${branchName}/docs/screenshots/result.png?raw=true).
251
+ - When you save screenshots to the repository, use permanent links in the pull request description markdown (e.g., https://github.com/${screenshotRepoPath}/blob/${branchName}/docs/screenshots/result.png?raw=true).
249
252
  - When uploading images, commit them to the branch first, then reference them using the GitHub blob URL format with ?raw=true suffix (works for both public and private repositories).
250
253
  - When the visual result is important for review, mention it explicitly in the pull request description with the embedded image.
251
254
  - When fixing UI bugs, capture both the "before" (problem) and "after" (fixed) screenshots as evidence for human verification.
@@ -92,7 +92,10 @@ export const buildUserPrompt = params => {
92
92
  * @returns {string} The formatted system prompt
93
93
  */
94
94
  export const buildSystemPrompt = params => {
95
- const { owner, repo, issueNumber, prNumber, branchName, workspaceTmpDir, argv, modelSupportsVision } = params;
95
+ const { owner, repo, issueNumber, prNumber, branchName, workspaceTmpDir, argv, modelSupportsVision, forkedRepo } = params;
96
+
97
+ // When in fork mode, screenshots are pushed to the fork, not the original repo
98
+ const screenshotRepoPath = argv?.fork && forkedRepo ? forkedRepo : `${owner}/${repo}`;
96
99
 
97
100
  // Note: --think keywords are deprecated for Claude Code >= 2.1.12
98
101
  // Thinking is now enabled by default with 31,999 token budget
@@ -339,7 +342,7 @@ Agent Commander usage (unified subagent delegation).
339
342
  Visual UI work and screenshots.
340
343
  - When you work on visual UI changes (frontend, CSS, HTML, design), include a render or screenshot of the final result in the pull request description.
341
344
  - When you need to show visual results, take a screenshot and save it to the repository (e.g., in a docs/screenshots/ or assets/ folder).
342
- - When you save screenshots to the repository, use permanent links in the pull request description markdown (e.g., https://github.com/${owner}/${repo}/blob/${branchName}/docs/screenshots/result.png?raw=true).
345
+ - When you save screenshots to the repository, use permanent links in the pull request description markdown (e.g., https://github.com/${screenshotRepoPath}/blob/${branchName}/docs/screenshots/result.png?raw=true).
343
346
  - When uploading images, commit them to the branch first, then reference them using the GitHub blob URL format with ?raw=true suffix (works for both public and private repositories).
344
347
  - When the visual result is important for review, mention it explicitly in the pull request description with the embedded image.
345
348
  - When fixing UI bugs, capture both the "before" (problem) and "after" (fixed) screenshots as evidence for human verification.
@@ -82,7 +82,10 @@ export const buildUserPrompt = params => {
82
82
  * @returns {string} The formatted system prompt
83
83
  */
84
84
  export const buildSystemPrompt = params => {
85
- const { owner, repo, issueNumber, prNumber, branchName, workspaceTmpDir, argv } = params;
85
+ const { owner, repo, issueNumber, prNumber, branchName, workspaceTmpDir, argv, modelSupportsVision, forkedRepo } = params;
86
+
87
+ // When in fork mode, screenshots are pushed to the fork, not the original repo
88
+ const screenshotRepoPath = argv?.fork && forkedRepo ? forkedRepo : `${owner}/${repo}`;
86
89
 
87
90
  // Build thinking instruction based on --think level
88
91
  let thinkLine = '';
@@ -246,7 +249,22 @@ GitHub CLI command patterns.
246
249
  - When adding PR comment, use gh pr comment NUMBER --body "text" --repo OWNER/REPO.
247
250
  - When adding issue comment, use gh issue comment NUMBER --body "text" --repo OWNER/REPO.
248
251
  - When viewing PR details, use gh pr view NUMBER --repo OWNER/REPO.
249
- - When filtering with jq, use gh api repos/\${owner}/\${repo}/pulls/\${prNumber}/comments --paginate --jq 'reverse | .[0:5]'.${ciExamples}${getArchitectureCareSubPrompt(argv)}`;
252
+ - When filtering with jq, use gh api repos/\${owner}/\${repo}/pulls/\${prNumber}/comments --paginate --jq 'reverse | .[0:5]'.${
253
+ modelSupportsVision
254
+ ? `
255
+
256
+ Visual UI work and screenshots.
257
+ - When you work on visual UI changes (frontend, CSS, HTML, design), include a render or screenshot of the final result in the pull request description.
258
+ - When you need to show visual results, take a screenshot and save it to the repository (e.g., in a docs/screenshots/ or assets/ folder).
259
+ - When you save screenshots to the repository, use permanent links in the pull request description markdown (e.g., https://github.com/${screenshotRepoPath}/blob/${branchName}/docs/screenshots/result.png?raw=true).
260
+ - When uploading images, commit them to the branch first, then reference them using the GitHub blob URL format with ?raw=true suffix (works for both public and private repositories).
261
+ - When the visual result is important for review, mention it explicitly in the pull request description with the embedded image.
262
+ - When fixing UI bugs, capture both the "before" (problem) and "after" (fixed) screenshots as evidence for human verification.
263
+ - When reporting UI bugs, include a screenshot of the problem state to enable visual verification of the fix.
264
+ - When the fix is visual, include side-by-side or sequential comparison of before/after states in the PR description.
265
+ - When possible, create automated visual regression tests to prevent the UI bug from recurring.`
266
+ : ''
267
+ }${ciExamples}${getArchitectureCareSubPrompt(argv)}`;
250
268
  };
251
269
 
252
270
  // Export all functions as default object too
@@ -47,7 +47,8 @@ export const claudeModels = {
47
47
 
48
48
  // Agent models (OpenCode API and Kilo Gateway via agent CLI)
49
49
  // Issue #1300: Updated free models to match agent PR #191
50
- // Issue #1543: Added qwen3.6-plus-free (new default) and nemotron-3-super-free per agent PR #234
50
+ // Issue #1543: Added qwen3.6-plus-free (former default) and nemotron-3-super-free per agent PR #234
51
+ // Issue #1563: qwen3.6-plus-free free promotion ended (April 2026), nemotron-3-super-free is now default per agent PR #243
51
52
  export const agentModels = {
52
53
  // OpenCode Zen free models (current)
53
54
  grok: 'opencode/grok-code',
@@ -56,8 +57,7 @@ export const agentModels = {
56
57
  'big-pickle': 'opencode/big-pickle',
57
58
  'gpt-5-nano': 'opencode/gpt-5-nano',
58
59
  'minimax-m2.5-free': 'opencode/minimax-m2.5-free', // Upgraded from M2.1 (Issue #1391)
59
- 'qwen3.6-plus-free': 'opencode/qwen3.6-plus-free', // New: ~1M context, default (Issue #1543)
60
- 'nemotron-3-super-free': 'opencode/nemotron-3-super-free', // New: NVIDIA hybrid Mamba-Transformer (Issue #1543)
60
+ 'nemotron-3-super-free': 'opencode/nemotron-3-super-free', // Default: NVIDIA hybrid Mamba-Transformer (Issue #1563)
61
61
  // Kilo Gateway free models (Issue #1282, updated in #1300)
62
62
  // Short names for Kilo-exclusive models (Issue #1300)
63
63
  'glm-5-free': 'kilo/glm-5-free', // Kilo-exclusive
@@ -73,6 +73,7 @@ export const agentModels = {
73
73
  'kilo/giga-potato-free': 'kilo/giga-potato-free',
74
74
  'kilo/trinity-large-preview': 'kilo/trinity-large-preview',
75
75
  // Deprecated free models (kept for backward compatibility)
76
+ 'qwen3.6-plus-free': 'opencode/qwen3.6-plus-free', // Deprecated: free promotion ended April 2026 (Issue #1563)
76
77
  'kimi-k2.5-free': 'opencode/kimi-k2.5-free', // Deprecated: not supported (Issue #1391)
77
78
  'glm-4.7-free': 'opencode/glm-4.7-free', // Deprecated: no longer free
78
79
  'minimax-m2.1-free': 'opencode/minimax-m2.1-free', // Deprecated: replaced by m2.5
@@ -115,7 +116,7 @@ export const codexModels = {
115
116
  // Default model for each tool (Issue #1473: centralized to avoid scattered hardcoded defaults)
116
117
  export const defaultModels = {
117
118
  claude: 'sonnet',
118
- agent: 'qwen3.6-plus-free', // Issue #1543: changed from minimax-m2.5-free per agent PR #234
119
+ agent: 'nemotron-3-super-free', // Issue #1563: changed from qwen3.6-plus-free (free promotion ended) per agent PR #243
119
120
  opencode: 'grok-code-fast-1',
120
121
  codex: 'gpt-5',
121
122
  };
@@ -192,8 +193,8 @@ export const AGENT_MODELS = {
192
193
  'opencode/big-pickle': 'opencode/big-pickle',
193
194
  'opencode/gpt-5-nano': 'opencode/gpt-5-nano',
194
195
  'opencode/minimax-m2.5-free': 'opencode/minimax-m2.5-free',
195
- 'opencode/qwen3.6-plus-free': 'opencode/qwen3.6-plus-free', // Issue #1543
196
- 'opencode/nemotron-3-super-free': 'opencode/nemotron-3-super-free', // Issue #1543
196
+ 'opencode/nemotron-3-super-free': 'opencode/nemotron-3-super-free', // Issue #1563: now default
197
+ 'opencode/qwen3.6-plus-free': 'opencode/qwen3.6-plus-free', // Deprecated: free promotion ended (Issue #1563)
197
198
  'opencode/kimi-k2.5-free': 'opencode/kimi-k2.5-free', // Deprecated
198
199
  'opencode/glm-4.7-free': 'opencode/glm-4.7-free', // Deprecated
199
200
  'opencode/minimax-m2.1-free': 'opencode/minimax-m2.1-free', // Deprecated
@@ -304,7 +305,7 @@ export const primaryModelNames = {
304
305
  claude: ['opus', 'sonnet', 'haiku', 'opusplan'],
305
306
  opencode: ['grok', 'gpt4o'],
306
307
  codex: ['gpt5', 'gpt5-codex', 'o3'],
307
- agent: ['qwen3.6-plus-free', 'nemotron-3-super-free', 'minimax-m2.5-free', 'big-pickle', 'gpt-5-nano', 'glm-5-free', 'deepseek-r1-free'],
308
+ agent: ['nemotron-3-super-free', 'minimax-m2.5-free', 'big-pickle', 'gpt-5-nano', 'glm-5-free', 'deepseek-r1-free'],
308
309
  };
309
310
 
310
311
  /**
@@ -82,7 +82,10 @@ export const buildUserPrompt = params => {
82
82
  * @returns {string} The formatted system prompt
83
83
  */
84
84
  export const buildSystemPrompt = params => {
85
- const { owner, repo, issueNumber, prNumber, branchName, workspaceTmpDir, argv } = params;
85
+ const { owner, repo, issueNumber, prNumber, branchName, workspaceTmpDir, argv, modelSupportsVision, forkedRepo } = params;
86
+
87
+ // When in fork mode, screenshots are pushed to the fork, not the original repo
88
+ const screenshotRepoPath = argv?.fork && forkedRepo ? forkedRepo : `${owner}/${repo}`;
86
89
 
87
90
  // Build thinking instruction based on --think level
88
91
  let thinkLine = '';
@@ -239,7 +242,22 @@ GitHub CLI command patterns.
239
242
  - When adding PR comment, use gh pr comment NUMBER --body "text" --repo OWNER/REPO.
240
243
  - When adding issue comment, use gh issue comment NUMBER --body "text" --repo OWNER/REPO.
241
244
  - When viewing PR details, use gh pr view NUMBER --repo OWNER/REPO.
242
- - When filtering with jq, use gh api repos/${owner}/${repo}/pulls/${prNumber}/comments --paginate --jq 'reverse | .[0:5]'.${ciExamples}${getArchitectureCareSubPrompt(argv)}`;
245
+ - When filtering with jq, use gh api repos/${owner}/${repo}/pulls/${prNumber}/comments --paginate --jq 'reverse | .[0:5]'.${
246
+ modelSupportsVision
247
+ ? `
248
+
249
+ Visual UI work and screenshots.
250
+ - When you work on visual UI changes (frontend, CSS, HTML, design), include a render or screenshot of the final result in the pull request description.
251
+ - When you need to show visual results, take a screenshot and save it to the repository (e.g., in a docs/screenshots/ or assets/ folder).
252
+ - When you save screenshots to the repository, use permanent links in the pull request description markdown (e.g., https://github.com/${screenshotRepoPath}/blob/${branchName}/docs/screenshots/result.png?raw=true).
253
+ - When uploading images, commit them to the branch first, then reference them using the GitHub blob URL format with ?raw=true suffix (works for both public and private repositories).
254
+ - When the visual result is important for review, mention it explicitly in the pull request description with the embedded image.
255
+ - When fixing UI bugs, capture both the "before" (problem) and "after" (fixed) screenshots as evidence for human verification.
256
+ - When reporting UI bugs, include a screenshot of the problem state to enable visual verification of the fix.
257
+ - When the fix is visual, include side-by-side or sequential comparison of before/after states in the PR description.
258
+ - When possible, create automated visual regression tests to prevent the UI bug from recurring.`
259
+ : ''
260
+ }${ciExamples}${getArchitectureCareSubPrompt(argv)}`;
243
261
  };
244
262
 
245
263
  // Export all functions as default object too