lv24-opencode-consilium 1.4.0 → 1.4.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/README.md +12 -0
- package/consilium.config.example.json +1 -1
- package/dist/config.js +1 -1
- package/dist/defaults.js +1 -1
- package/dist/mcp.js +1 -1
- package/{README.ru.md → docs/README.ru.md} +9 -1
- package/{README.zh.md → docs/README.zh.md} +10 -2
- package/docs/session-and-plugin.md +1 -1
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# lv24-opencode-consilium
|
|
2
2
|
|
|
3
|
+
**Languages:** English · [Русский](docs/README.ru.md) · [中文](docs/README.zh.md)
|
|
4
|
+
|
|
5
|
+
> **Кратко по-русски.** Консилиум ИИ-экспертов для OpenCode V1 и V2: роли `arch`, `ux`, `ba`, `sec` параллельно отвечают на разных моделях, а председатель синтезирует итоговый план. Бесплатные модели подбираются и проверяются автоматически (`consilium init --free`). В комплекте: CLI `consilium`, MCP-сервер, нативный плагин OpenCode V2 (`consilium.run`), артефакты запусков с replay/diff, анализ согласия, HTML/PR-отчёты, watch-режим, git-hooks и варианты моделей.
|
|
6
|
+
>
|
|
7
|
+
> Установка: `npm install -g lv24-opencode-consilium`, затем `consilium doctor` и `consilium "ваша задача"`. Полная документация — [docs/README.ru.md](docs/README.ru.md).
|
|
8
|
+
|
|
3
9
|
A council of AI experts for [OpenCode](https://opencode.ai): several agent personas answer your task **in parallel on different models**, then a chair model synthesizes a final plan. Ships with a zero-config free-model bootstrap, a CLI, a library API, and an **MCP server** that works in any harness (Claude Desktop, Codex, Cursor, VS Code, custom agents).
|
|
4
10
|
|
|
5
11
|
```
|
|
@@ -451,6 +457,12 @@ Remaining ideas (1.3.0 shipped artifacts, consensus, smart-experts, model fallba
|
|
|
451
457
|
| `consilium` slash command for the TUI | Invoke the council with one command inside OpenCode | S |
|
|
452
458
|
| Report export to ticket systems | Ready-made artifact for Jira/Linear | S |
|
|
453
459
|
|
|
460
|
+
## 1.4.1 changes
|
|
461
|
+
|
|
462
|
+
- npm package renamed to **`lv24-opencode-consilium`** (npm cannot rename in place; the old `opencode-consilium@1.0.2` stays in the registry and is deprecated).
|
|
463
|
+
- The npm page now shows this `README.md`; Russian and Chinese translations moved to `docs/README.ru.md` and `docs/README.zh.md` so they no longer compete for npm's single readme slot.
|
|
464
|
+
- No functional changes since 1.4.0.
|
|
465
|
+
|
|
454
466
|
## 1.4.0 changes
|
|
455
467
|
|
|
456
468
|
- Reports: `--report html|pr|markdown`, `--report-file <path>` (`.html` → html, `.md` → pr; without a file prints to stdout, except with `-f json`); `renderHtmlReport` (self-contained escaped HTML), `renderPrMarkdown` (GitHub comment with an `<!-- consilium:report -->` marker and `<details>` blocks), `renderReport`.
|
package/dist/config.js
CHANGED
package/dist/defaults.js
CHANGED
package/dist/mcp.js
CHANGED
|
@@ -9,7 +9,7 @@ import { formatDoctorReport, runDoctor } from './doctor.js';
|
|
|
9
9
|
import { verifyModels } from './verify.js';
|
|
10
10
|
import { applyPreset, listPresets } from './presets.js';
|
|
11
11
|
import { DEFAULT_CONFIG } from './defaults.js';
|
|
12
|
-
const DEFAULT_VERSION = '1.4.
|
|
12
|
+
const DEFAULT_VERSION = '1.4.1';
|
|
13
13
|
const SERVER_NAME = 'lv24-opencode-consilium';
|
|
14
14
|
const MAX_LINE_BYTES = 4 * 1024 * 1024;
|
|
15
15
|
const FALLBACK_PROTOCOL_VERSION = '2025-06-18';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# lv24-opencode-consilium
|
|
2
2
|
|
|
3
|
+
[English](../README.md) · **Русский** · [中文](README.zh.md)
|
|
4
|
+
|
|
3
5
|
Консилиум ИИ-экспертов для [OpenCode](https://opencode.ai): несколько ролей-агентов **параллельно отвечают на разных моделях**, затем председатель синтезирует итоговый план. В комплекте — подбор сильнейших бесплатных моделей, CLI, библиотека и **MCP-сервер** для любого харнесса (Claude Desktop, Codex, Cursor, VS Code, свои агенты).
|
|
4
6
|
|
|
5
7
|
```
|
|
@@ -381,7 +383,7 @@ PR-отчёт — это markdown для комментария GitHub с мар
|
|
|
381
383
|
| `opencodePath` | `opencode` | Свой путь к CLI |
|
|
382
384
|
| `cwd` | текущая | Рабочая директория OpenCode |
|
|
383
385
|
|
|
384
|
-
Полная схема: [`schema/config.schema.json`](schema/config.schema.json); пример: [`consilium.config.example.json`](consilium.config.example.json).
|
|
386
|
+
Полная схема: [`schema/config.schema.json`](../schema/config.schema.json); пример: [`consilium.config.example.json`](../consilium.config.example.json).
|
|
385
387
|
|
|
386
388
|
## Библиотека
|
|
387
389
|
|
|
@@ -472,6 +474,12 @@ npm run typecheck # tsc --noEmit
|
|
|
472
474
|
| Slash-команда `consilium` для TUI | Вызов совета одной командой внутри OpenCode | S |
|
|
473
475
|
| Экспорт отчёта в тикет-системы | Готовый артефакт для Jira/Linear | S |
|
|
474
476
|
|
|
477
|
+
## Изменения 1.4.1
|
|
478
|
+
|
|
479
|
+
- npm-пакет переименован в **`lv24-opencode-consilium`** (npm не умеет переименовывать на месте; старый `opencode-consilium@1.0.2` остаётся в реестре и помечен deprecated).
|
|
480
|
+
- На странице npm теперь показывается этот `README.md`; русская и китайская версии перенесены в `docs/README.ru.md` и `docs/README.zh.md`, чтобы не конкурировать за единственный readme-слот npm.
|
|
481
|
+
- Функциональных изменений относительно 1.4.0 нет.
|
|
482
|
+
|
|
475
483
|
## Изменения 1.4.0
|
|
476
484
|
|
|
477
485
|
- Отчёты: `--report html|pr|markdown`, `--report-file <путь>` (`.html` → html, `.md` → pr; без файла — в stdout, кроме `-f json`); `renderHtmlReport` (самодостаточный HTML с экранированием), `renderPrMarkdown` (комментарий GitHub с маркером `<!-- consilium:report -->` и `<details>`-блоками), `renderReport`.
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# lv24-opencode-consilium
|
|
2
2
|
|
|
3
|
+
[English](../README.md) · [Русский](README.ru.md) · **中文**
|
|
4
|
+
|
|
3
5
|
面向 [OpenCode](https://opencode.ai) 的 AI 专家委员会:多个角色在**不同模型上并行**回答同一个任务,最后由主席模型综合成最终方案。内置免费模型自动挑选、CLI、库 API,以及可在任意宿主中使用的 **MCP 服务器**(Claude Desktop、Codex、Cursor、VS Code、自有 Agent)。
|
|
4
6
|
|
|
5
|
-
> 完整文档以英文和俄文为准:[README.md](README.md) · [README.ru.md](README.ru.md)
|
|
7
|
+
> 完整文档以英文和俄文为准:[README.md](../README.md) · [README.ru.md](README.ru.md)
|
|
6
8
|
|
|
7
9
|
## 快速开始
|
|
8
10
|
|
|
@@ -148,6 +150,12 @@ consilium hooks uninstall # 仅删除托管块,不动 hook 其余内容
|
|
|
148
150
|
|
|
149
151
|
新增配置键:`report`、`reportFile`、`variant`、`debounceMs`。`--replay <id>` 现在还会恢复主席 agent/模型、专家模型以及产物的 consensus/smartExperts/fallbackModels/session 标志。测试 224 个。
|
|
150
152
|
|
|
153
|
+
## 1.4.1
|
|
154
|
+
|
|
155
|
+
- npm 包已更名为 **`lv24-opencode-consilium`**(npm 不支持原地改名;旧的 `opencode-consilium@1.0.2` 仍留在注册表并标记 deprecated)。
|
|
156
|
+
- npm 页面现在显示英文 `README.md`;俄语和中文版本移到 `docs/README.ru.md` 与 `docs/README.zh.md`。
|
|
157
|
+
- 相比 1.4.0 无功能变化。
|
|
158
|
+
|
|
151
159
|
## 分析、产物与成本(1.3.0)
|
|
152
160
|
|
|
153
161
|
- `--consensus` / `--no-consensus`:专家一致性的**词法**分析(关键词交集,Jaccard,中俄英停用词),不是 LLM 评分。简版注入主席提示词,完整报告写入结果与 `metadata.consensus`。
|
|
@@ -161,7 +169,7 @@ consilium hooks uninstall # 仅删除托管块,不动 hook 其余内容
|
|
|
161
169
|
|
|
162
170
|
## 配置
|
|
163
171
|
|
|
164
|
-
配置查找顺序:`consilium.config.json`、`consilium.json`、`.consiliumrc`、`.consiliumrc.json`。完整 JSON Schema:[`schema/config.schema.json`](schema/config.schema.json)。
|
|
172
|
+
配置查找顺序:`consilium.config.json`、`consilium.json`、`.consiliumrc`、`.consiliumrc.json`。完整 JSON Schema:[`schema/config.schema.json`](../schema/config.schema.json)。
|
|
165
173
|
|
|
166
174
|
```json
|
|
167
175
|
{
|
|
@@ -600,7 +600,7 @@ V1 вызовет `server()`, V2 прочитает `id`/`setup` и проигн
|
|
|
600
600
|
| `schema/config.schema.json` | добавить `session` (сейчас поля нет), `forkSession` | Схема отстаёт от `types.ts` |
|
|
601
601
|
| `opencode.json` | блок `plugins` (dogfood) — только после публикации или через `./plugin` | Проверка «в бою» |
|
|
602
602
|
| `test/plugin.test.mjs` | **новый**: валидация входа инструмента, маппинг аргументов, отмена по `signal` | Регрессии |
|
|
603
|
-
| `README.md`, `README.ru.md`, `README.zh.md`, `docs/*` | раздел «Плагин OpenCode v2» с примером `plugins` | Пользовательская документация |
|
|
603
|
+
| `README.md`, `docs/README.ru.md`, `docs/README.zh.md`, `docs/*` | раздел «Плагин OpenCode v2» с примером `plugins` | Пользовательская документация |
|
|
604
604
|
| `bin/cli.js`, `bin/mcp.js` | без изменений | Точки входа CLI/MCP не затрагиваются |
|
|
605
605
|
|
|
606
606
|
Порядок безопасного включения:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lv24-opencode-consilium",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Консилиум ИИ-экспертов для OpenCode CLI: мульти-модельный совет, MCP-сервер и подбор сильнейших бесплатных моделей",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -45,8 +45,6 @@
|
|
|
45
45
|
"docs",
|
|
46
46
|
"consilium.config.example.json",
|
|
47
47
|
"README.md",
|
|
48
|
-
"README.ru.md",
|
|
49
|
-
"README.zh.md",
|
|
50
48
|
"LICENSE"
|
|
51
49
|
],
|
|
52
50
|
"scripts": {
|