@link-assistant/hive-mind 1.62.1 → 1.63.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 +6 -0
- package/README.hi.md +4 -2
- package/README.md +18 -15
- package/README.ru.md +4 -2
- package/README.zh.md +17 -15
- package/package.json +1 -1
- package/src/bidirectional-interactive.lib.mjs +1 -1
- package/src/config.lib.mjs +1 -0
- package/src/gemini.lib.mjs +611 -0
- package/src/gemini.prompts.lib.mjs +236 -0
- package/src/hive.config.lib.mjs +1 -1
- package/src/interactive-mode.lib.mjs +1 -1
- package/src/models/index.mjs +39 -8
- package/src/solve.config.lib.mjs +4 -4
- package/src/solve.mjs +33 -0
- package/src/solve.restart-shared.lib.mjs +47 -1
- package/src/solve.results.lib.mjs +1 -1
- package/src/solve.validation.lib.mjs +8 -0
- package/src/task.config.lib.mjs +1 -1
- package/src/task.mjs +1 -1
- package/src/telegram-bot.mjs +4 -4
- package/src/telegram-solve-command.lib.mjs +1 -0
- package/src/telegram-solve-queue-command.lib.mjs +1 -1
- package/src/telegram-solve-queue.helpers.lib.mjs +12 -1
- package/src/telegram-solve-queue.lib.mjs +37 -20
- package/src/usage-limit.lib.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @link-assistant/hive-mind
|
|
2
2
|
|
|
3
|
+
## 1.63.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b7b0721: Add direct Google Gemini CLI support for solve, hive, queueing, model validation, structured stream JSON parsing, and Telegram `/gemini` aliases.
|
|
8
|
+
|
|
3
9
|
## 1.62.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.hi.md
CHANGED
|
@@ -343,7 +343,7 @@ solve <issue-url> [options]
|
|
|
343
343
|
|
|
344
344
|
| विकल्प | संक्षिप्त | विवरण | डिफ़ॉल्ट |
|
|
345
345
|
| ------------------------ | --------- | ----------------------------------------------------------- | -------- |
|
|
346
|
-
| `--tool` | | AI टूल (claude, opencode, codex, agent, qwen)
|
|
346
|
+
| `--tool` | | AI टूल (claude, opencode, codex, agent, gemini, qwen) | claude |
|
|
347
347
|
| `--verbose` | `-v` | विस्तृत लॉगिंग सक्षम करें | false |
|
|
348
348
|
| `--attach-logs` | | PR में लॉग संलग्न करें (⚠️ संवेदनशील डेटा उजागर हो सकता है) | false |
|
|
349
349
|
| `--auto-init-repository` | | खाली रेपो स्वतः-आरंभ करें (README.md बनाता है) | false |
|
|
@@ -370,7 +370,7 @@ hive <github-url> [options]
|
|
|
370
370
|
|
|
371
371
|
| विकल्प | संक्षिप्त | विवरण | डिफ़ॉल्ट |
|
|
372
372
|
| ------------------------ | --------- | ----------------------------------------------------------- | -------- |
|
|
373
|
-
| `--tool` | | AI टूल (claude, opencode, codex, agent, qwen)
|
|
373
|
+
| `--tool` | | AI टूल (claude, opencode, codex, agent, gemini, qwen) | claude |
|
|
374
374
|
| `--concurrency` | `-c` | समानांतर वर्कर की संख्या | 2 |
|
|
375
375
|
| `--skip-issues-with-prs` | `-s` | मौजूदा PR वाले इश्यू छोड़ें | false |
|
|
376
376
|
| `--verbose` | `-v` | विस्तृत लॉगिंग सक्षम करें | false |
|
|
@@ -462,12 +462,14 @@ Aliases:
|
|
|
462
462
|
/codex /solve --tool codex के बराबर है
|
|
463
463
|
/opencode /solve --tool opencode के बराबर है
|
|
464
464
|
/agent /solve --tool agent के बराबर है
|
|
465
|
+
/gemini /solve --tool gemini के बराबर है
|
|
465
466
|
/qwen /solve --tool qwen के बराबर है
|
|
466
467
|
|
|
467
468
|
Tool alias examples:
|
|
468
469
|
/codex https://github.com/owner/repo/issues/123 --model gpt-5.5
|
|
469
470
|
/opencode https://github.com/owner/repo/issues/123 --model grok-code-fast-1
|
|
470
471
|
/agent https://github.com/owner/repo/issues/123 --model nemotron-3-super-free
|
|
472
|
+
/gemini https://github.com/owner/repo/issues/123 --model flash
|
|
471
473
|
/qwen https://github.com/owner/repo/issues/123 --model qwen3-coder-plus
|
|
472
474
|
|
|
473
475
|
Free Models (with --tool agent):
|
package/README.md
CHANGED
|
@@ -350,13 +350,13 @@ solve <issue-url> [options]
|
|
|
350
350
|
|
|
351
351
|
**Other useful options:**
|
|
352
352
|
|
|
353
|
-
| Option | Alias | Description
|
|
354
|
-
| ------------------------ | ----- |
|
|
355
|
-
| `--tool` | | AI tool (claude, opencode, codex, agent, qwen)
|
|
356
|
-
| `--verbose` | `-v` | Enable verbose logging
|
|
357
|
-
| `--attach-logs` | | Attach logs to PR (⚠️ may expose sensitive data)
|
|
358
|
-
| `--auto-init-repository` | | Auto-initialize empty repos (creates README.md)
|
|
359
|
-
| `--help` | `-h` | Show all available options
|
|
353
|
+
| Option | Alias | Description | Default |
|
|
354
|
+
| ------------------------ | ----- | ------------------------------------------------------ | ------- |
|
|
355
|
+
| `--tool` | | AI tool (claude, opencode, codex, agent, gemini, qwen) | claude |
|
|
356
|
+
| `--verbose` | `-v` | Enable verbose logging | false |
|
|
357
|
+
| `--attach-logs` | | Attach logs to PR (⚠️ may expose sensitive data) | false |
|
|
358
|
+
| `--auto-init-repository` | | Auto-initialize empty repos (creates README.md) | false |
|
|
359
|
+
| `--help` | `-h` | Show all available options | - |
|
|
360
360
|
|
|
361
361
|
> **📖 Full options list**: See [docs/CONFIGURATION.md](./docs/CONFIGURATION.md#solve-options) for all available options including forking, auto-continue, watch mode, and experimental features.
|
|
362
362
|
|
|
@@ -377,14 +377,14 @@ hive <github-url> [options]
|
|
|
377
377
|
|
|
378
378
|
**Other useful options:**
|
|
379
379
|
|
|
380
|
-
| Option | Alias | Description
|
|
381
|
-
| ------------------------ | ----- |
|
|
382
|
-
| `--tool` | | AI tool (claude, opencode, codex, agent, qwen)
|
|
383
|
-
| `--concurrency` | `-c` | Number of parallel workers
|
|
384
|
-
| `--skip-issues-with-prs` | `-s` | Skip issues with existing PRs
|
|
385
|
-
| `--verbose` | `-v` | Enable verbose logging
|
|
386
|
-
| `--attach-logs` | | Attach logs to PRs (⚠️ may expose sensitive data)
|
|
387
|
-
| `--help` | `-h` | Show all available options
|
|
380
|
+
| Option | Alias | Description | Default |
|
|
381
|
+
| ------------------------ | ----- | ------------------------------------------------------ | ------- |
|
|
382
|
+
| `--tool` | | AI tool (claude, opencode, codex, agent, gemini, qwen) | claude |
|
|
383
|
+
| `--concurrency` | `-c` | Number of parallel workers | 2 |
|
|
384
|
+
| `--skip-issues-with-prs` | `-s` | Skip issues with existing PRs | false |
|
|
385
|
+
| `--verbose` | `-v` | Enable verbose logging | false |
|
|
386
|
+
| `--attach-logs` | | Attach logs to PRs (⚠️ may expose sensitive data) | false |
|
|
387
|
+
| `--help` | `-h` | Show all available options | - |
|
|
388
388
|
|
|
389
389
|
> **📖 Full options list**: See [docs/CONFIGURATION.md](./docs/CONFIGURATION.md#hive-options) for all available options including project monitoring, YouTrack integration, and experimental features.
|
|
390
390
|
|
|
@@ -469,12 +469,14 @@ Aliases:
|
|
|
469
469
|
/codex is equivalent to /solve --tool codex
|
|
470
470
|
/opencode is equivalent to /solve --tool opencode
|
|
471
471
|
/agent is equivalent to /solve --tool agent
|
|
472
|
+
/gemini is equivalent to /solve --tool gemini
|
|
472
473
|
/qwen is equivalent to /solve --tool qwen
|
|
473
474
|
|
|
474
475
|
Tool alias examples:
|
|
475
476
|
/codex https://github.com/owner/repo/issues/123 --model gpt-5.5
|
|
476
477
|
/opencode https://github.com/owner/repo/issues/123 --model grok-code-fast-1
|
|
477
478
|
/agent https://github.com/owner/repo/issues/123 --model nemotron-3-super-free
|
|
479
|
+
/gemini https://github.com/owner/repo/issues/123 --model flash
|
|
478
480
|
/qwen https://github.com/owner/repo/issues/123 --model qwen3-coder-plus
|
|
479
481
|
|
|
480
482
|
Free Models (with --tool agent):
|
|
@@ -497,6 +499,7 @@ Current tool defaults in Hive Mind:
|
|
|
497
499
|
| `codex` | `gpt-5.5` preferred, with runtime fallback to local catalog | Codex runs with `reasoning_effort=none` unless you pass `--think` or `--thinking-budget` |
|
|
498
500
|
| `opencode` | `grok-code-fast-1` | No extra thinking prompt is added for the default model |
|
|
499
501
|
| `agent` | `nemotron-3-super-free` | No extra thinking prompt is added for the default model |
|
|
502
|
+
| `gemini` | `flash` | No extra thinking prompt is added for the default model |
|
|
500
503
|
| `qwen` | `qwen3-coder-plus` | No extra thinking prompt is added for the default model |
|
|
501
504
|
|
|
502
505
|
See [docs/CONFIGURATION.md](./docs/CONFIGURATION.md) for the full per-tool defaults and reasoning mappings.
|
package/README.ru.md
CHANGED
|
@@ -343,7 +343,7 @@ solve <issue-url> [options]
|
|
|
343
343
|
|
|
344
344
|
| Параметр | Сокр. | Описание | По умолчанию |
|
|
345
345
|
| ------------------------ | ----- | --------------------------------------------------------------------- | ------------ |
|
|
346
|
-
| `--tool` | | Инструмент ИИ (claude, opencode, codex, agent, qwen)
|
|
346
|
+
| `--tool` | | Инструмент ИИ (claude, opencode, codex, agent, gemini, qwen) | claude |
|
|
347
347
|
| `--verbose` | `-v` | Включить подробное логирование | false |
|
|
348
348
|
| `--attach-logs` | | Прикрепить логи к PR (⚠️ может раскрыть конфиденциальные данные) | false |
|
|
349
349
|
| `--auto-init-repository` | | Автоматически инициализировать пустые репозитории (создаёт README.md) | false |
|
|
@@ -370,7 +370,7 @@ hive <github-url> [options]
|
|
|
370
370
|
|
|
371
371
|
| Параметр | Сокр. | Описание | По умолчанию |
|
|
372
372
|
| ------------------------ | ----- | ----------------------------------------------------------------- | ------------ |
|
|
373
|
-
| `--tool` | | Инструмент ИИ (claude, opencode, codex, agent, qwen)
|
|
373
|
+
| `--tool` | | Инструмент ИИ (claude, opencode, codex, agent, gemini, qwen) | claude |
|
|
374
374
|
| `--concurrency` | `-c` | Количество параллельных воркеров | 2 |
|
|
375
375
|
| `--skip-issues-with-prs` | `-s` | Пропускать задачи с существующими PR | false |
|
|
376
376
|
| `--verbose` | `-v` | Включить подробное логирование | false |
|
|
@@ -463,12 +463,14 @@ Aliases:
|
|
|
463
463
|
/codex эквивалентна /solve --tool codex
|
|
464
464
|
/opencode эквивалентна /solve --tool opencode
|
|
465
465
|
/agent эквивалентна /solve --tool agent
|
|
466
|
+
/gemini эквивалентна /solve --tool gemini
|
|
466
467
|
/qwen эквивалентна /solve --tool qwen
|
|
467
468
|
|
|
468
469
|
Tool alias examples:
|
|
469
470
|
/codex https://github.com/owner/repo/issues/123 --model gpt-5.5
|
|
470
471
|
/opencode https://github.com/owner/repo/issues/123 --model grok-code-fast-1
|
|
471
472
|
/agent https://github.com/owner/repo/issues/123 --model nemotron-3-super-free
|
|
473
|
+
/gemini https://github.com/owner/repo/issues/123 --model flash
|
|
472
474
|
/qwen https://github.com/owner/repo/issues/123 --model qwen3-coder-plus
|
|
473
475
|
|
|
474
476
|
Free Models (with --tool agent):
|
package/README.zh.md
CHANGED
|
@@ -341,13 +341,13 @@ solve <issue-url> [options]
|
|
|
341
341
|
|
|
342
342
|
**其他常用选项:**
|
|
343
343
|
|
|
344
|
-
| 选项 | 简写 | 描述
|
|
345
|
-
| ------------------------ | ---- |
|
|
346
|
-
| `--tool` | | AI 工具(claude、opencode、codex、agent、qwen) | claude |
|
|
347
|
-
| `--verbose` | `-v` | 启用详细日志
|
|
348
|
-
| `--attach-logs` | | 将日志附加到 PR(⚠️ 可能暴露敏感数据)
|
|
349
|
-
| `--auto-init-repository` | | 自动初始化空仓库(创建 README.md)
|
|
350
|
-
| `--help` | `-h` | 显示所有可用选项
|
|
344
|
+
| 选项 | 简写 | 描述 | 默认值 |
|
|
345
|
+
| ------------------------ | ---- | ------------------------------------------------------- | ------ |
|
|
346
|
+
| `--tool` | | AI 工具(claude、opencode、codex、agent、gemini、qwen) | claude |
|
|
347
|
+
| `--verbose` | `-v` | 启用详细日志 | false |
|
|
348
|
+
| `--attach-logs` | | 将日志附加到 PR(⚠️ 可能暴露敏感数据) | false |
|
|
349
|
+
| `--auto-init-repository` | | 自动初始化空仓库(创建 README.md) | false |
|
|
350
|
+
| `--help` | `-h` | 显示所有可用选项 | - |
|
|
351
351
|
|
|
352
352
|
> **📖 完整选项列表**:包含 Fork、自动续行、监视模式及实验性功能在内的所有可用选项,请参见 [docs/CONFIGURATION.zh.md](./docs/CONFIGURATION.zh.md#solve-options)。
|
|
353
353
|
|
|
@@ -368,14 +368,14 @@ hive <github-url> [options]
|
|
|
368
368
|
|
|
369
369
|
**其他常用选项:**
|
|
370
370
|
|
|
371
|
-
| 选项 | 简写 | 描述
|
|
372
|
-
| ------------------------ | ---- |
|
|
373
|
-
| `--tool` | | AI 工具(claude、opencode、codex、agent、qwen) | claude |
|
|
374
|
-
| `--concurrency` | `-c` | 并行工作进程数量
|
|
375
|
-
| `--skip-issues-with-prs` | `-s` | 跳过已有 PR 的 Issue
|
|
376
|
-
| `--verbose` | `-v` | 启用详细日志
|
|
377
|
-
| `--attach-logs` | | 将日志附加到 PR(⚠️ 可能暴露敏感数据)
|
|
378
|
-
| `--help` | `-h` | 显示所有可用选项
|
|
371
|
+
| 选项 | 简写 | 描述 | 默认值 |
|
|
372
|
+
| ------------------------ | ---- | ------------------------------------------------------- | ------ |
|
|
373
|
+
| `--tool` | | AI 工具(claude、opencode、codex、agent、gemini、qwen) | claude |
|
|
374
|
+
| `--concurrency` | `-c` | 并行工作进程数量 | 2 |
|
|
375
|
+
| `--skip-issues-with-prs` | `-s` | 跳过已有 PR 的 Issue | false |
|
|
376
|
+
| `--verbose` | `-v` | 启用详细日志 | false |
|
|
377
|
+
| `--attach-logs` | | 将日志附加到 PR(⚠️ 可能暴露敏感数据) | false |
|
|
378
|
+
| `--help` | `-h` | 显示所有可用选项 | - |
|
|
379
379
|
|
|
380
380
|
> **📖 完整选项列表**:包含项目监控、YouTrack 集成及实验性功能在内的所有可用选项,请参见 [docs/CONFIGURATION.zh.md](./docs/CONFIGURATION.zh.md#hive-options)。
|
|
381
381
|
|
|
@@ -459,12 +459,14 @@ Aliases:
|
|
|
459
459
|
/codex 等同于 /solve --tool codex
|
|
460
460
|
/opencode 等同于 /solve --tool opencode
|
|
461
461
|
/agent 等同于 /solve --tool agent
|
|
462
|
+
/gemini 等同于 /solve --tool gemini
|
|
462
463
|
/qwen 等同于 /solve --tool qwen
|
|
463
464
|
|
|
464
465
|
Tool alias examples:
|
|
465
466
|
/codex https://github.com/owner/repo/issues/123 --model gpt-5.5
|
|
466
467
|
/opencode https://github.com/owner/repo/issues/123 --model grok-code-fast-1
|
|
467
468
|
/agent https://github.com/owner/repo/issues/123 --model nemotron-3-super-free
|
|
469
|
+
/gemini https://github.com/owner/repo/issues/123 --model flash
|
|
468
470
|
/qwen https://github.com/owner/repo/issues/123 --model qwen3-coder-plus
|
|
469
471
|
|
|
470
472
|
Free Models (with --tool agent):
|
package/package.json
CHANGED
|
@@ -851,7 +851,7 @@ export const createBidirectionalHandler = options => {
|
|
|
851
851
|
/**
|
|
852
852
|
* Check if bidirectional interactive mode is supported for the given tool
|
|
853
853
|
*
|
|
854
|
-
* @param {string} tool - Tool name (claude, opencode, codex)
|
|
854
|
+
* @param {string} tool - Tool name (claude, opencode, codex, agent, gemini)
|
|
855
855
|
* @returns {boolean} Whether bidirectional interactive mode is supported
|
|
856
856
|
*/
|
|
857
857
|
export const isBidirectionalModeSupported = tool => {
|
package/src/config.lib.mjs
CHANGED
|
@@ -51,6 +51,7 @@ const parseFloatWithDefault = (envVar, defaultValue) => {
|
|
|
51
51
|
export const timeouts = {
|
|
52
52
|
claudeCli: parseIntWithDefault('HIVE_MIND_CLAUDE_TIMEOUT_SECONDS', 60) * 1000,
|
|
53
53
|
opencodeCli: parseIntWithDefault('HIVE_MIND_OPENCODE_TIMEOUT_SECONDS', 60) * 1000,
|
|
54
|
+
geminiCli: parseIntWithDefault('HIVE_MIND_GEMINI_TIMEOUT_SECONDS', 60) * 1000,
|
|
54
55
|
codexCli: parseIntWithDefault('HIVE_MIND_CODEX_TIMEOUT_SECONDS', 60) * 1000,
|
|
55
56
|
qwenCli: parseIntWithDefault('HIVE_MIND_QWEN_TIMEOUT_SECONDS', 60) * 1000,
|
|
56
57
|
githubApiDelay: parseIntWithDefault('HIVE_MIND_GITHUB_API_DELAY_MS', 5000),
|