From 2412ac9150a67c375b579cc8451007a8e55b20ee Mon Sep 17 00:00:00 2001 From: vitaliytv Date: Thu, 23 Jul 2026 10:27:00 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=D1=81=D0=BF=D0=B5=D1=86=D0=B8=D1=84?= =?UTF-8?q?=D1=96=D0=BA=D0=B0=D1=86=D1=96=D1=8F=20=D1=87=D0=B8=D1=82=D0=B0?= =?UTF-8?q?=D0=B1=D0=B5=D0=BB=D1=8C=D0=BD=D0=B0=20=D0=B2=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=94=D0=BA=D1=82=D1=96=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=20npm-=D0=B7=D0=B0=D0=BB=D0=B5=D0=B6=D0=BD=D1=96=D1=81=D1=82?= =?UTF-8?q?=D1=8C=20@7n/mt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Замість окремого Rust-крейта (nitra/mt#62, лишається відкритим на розгляд) — простіший канал: @7n/mt (сам пакет-специфікація, docs-only, з 0.29.0) як звичайна devDependency. Після bun install доступна на диску без окремого клонування: node_modules/@7n/mt/docs/index.md. README: виправлено застарілу згадку "@7n/mt = тонкий JS-клієнт" — це ім'я тепер належить специфікації; код CLI живе в nitra/mt-js і наразі не публікується. .cspell.json: додано відсутні словоформи (бампом, бінарниками), які спливли при делта-лінті зміненого README.md. Co-Authored-By: Claude Fable 5 --- .cspell.json | 2 ++ README.md | 15 +++++++++++++-- bun.lock | 5 ++++- package.json | 1 + 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.cspell.json b/.cspell.json index eca7ce4..15c0c6c 100644 --- a/.cspell.json +++ b/.cspell.json @@ -121,6 +121,7 @@ "аудитовними", "Багатотенантний", "бампи", + "бампом", "батчинг", "Батчинг", "батчі", @@ -130,6 +131,7 @@ "білінгує", "бінарі", "бінарника", + "бінарниками", "бінарники", "Бінарники", "бінарником", diff --git a/README.md b/README.md index 3e704a6..4788a7a 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,19 @@ Повна реалізація протоколу MT (задачний граф + agent-протокол) на Rust. -- Специфікація протоколу: [github.com/nitra/mt](https://github.com/nitra/mt) -- Тонкий JS-клієнт (npm-пакет `@7n/mt`): [github.com/nitra/mt-js](https://github.com/nitra/mt-js) +- Специфікація протоколу: [github.com/nitra/mt](https://github.com/nitra/mt) — публікується в npm як `@7n/mt` (з 0.29.0; версії ≤0.28.0 — це старий CLI) +- JS-клієнт (код CLI, наразі не публікується): [github.com/nitra/mt-js](https://github.com/nitra/mt-js) + +## Специфікація в цьому репозиторії + +Пакет `@7n/mt` (сама специфікація, не CLI) підключений як `devDependency` — після +`bun install` вона читабельна на диску без окремого клонування: + +```sh +cat node_modules/@7n/mt/docs/index.md +``` + +Оновлюється звичайним бампом версії в кореневому `package.json`. ## Карта крейтів (`crates/`) diff --git a/bun.lock b/bun.lock index 1fd0dfa..d567062 100644 --- a/bun.lock +++ b/bun.lock @@ -5,6 +5,7 @@ "": { "name": "mt-rust-mono", "devDependencies": { + "@7n/mt": "^0.30.1", "@7n/rules": "^1.36.1", "@7n/rules-ci-github": "^1.9.0", "@7n/rules-lang-js": "^0.9.0", @@ -54,7 +55,7 @@ "@7n/llm-lib-linux-x64": ["@7n/llm-lib-linux-x64@2.8.3", "", { "os": "linux", "cpu": "x64" }, "sha512-q21Pc86jI7lC+rc+ai24nNe+c2ng8DU5CNuPU7t1wC/xmSWWZ+k0XuSMxJvGzHmHh/ARoEyphIECbYC13l6iSw=="], - "@7n/mt": ["@7n/mt@0.5.1", "", { "optionalDependencies": { "@7n/mt-darwin-arm64": "0.5.1", "@7n/mt-linux-x64": "0.5.1" }, "bin": { "mt": "bin/mt.js" } }, "sha512-fIP75AODAX6ri+Geznpph0BJR0kkOWeCarSNJCibLCPH3vnfbEvHC9/MgTk3zg9cYIGEFAHd1gkCEnOekexIdg=="], + "@7n/mt": ["@7n/mt@0.30.1", "", {}, "sha512-7/v5jjB53jA/YBaAot2VcIQisSonLuhxDIMx6MutL5ZFaBpf3Fp6uYsP2I3S11++bG6z2yW6yDXnknQVD13xjQ=="], "@7n/mt-darwin-arm64": ["@7n/mt-darwin-arm64@0.5.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-ozofQxbsdrv7cVZJeb9P9MLwzpdNxdqTcmzRQjwSf316TK8ptxzZhU0b24CsoH/Ia98zhbJLBPsdK/ueHWFl4Q=="], @@ -2290,6 +2291,8 @@ "@7n/llm-lib/@earendil-works/pi-ai": ["@earendil-works/pi-ai@0.80.10", "", { "dependencies": { "@anthropic-ai/sdk": "0.91.1", "@aws-sdk/client-bedrock-runtime": "3.1048.0", "@google/genai": "1.52.0", "@mistralai/mistralai": "2.2.6", "@opentelemetry/api": "1.9.0", "@smithy/node-http-handler": "4.7.3", "http-proxy-agent": "7.0.2", "https-proxy-agent": "7.0.6", "openai": "6.26.0", "partial-json": "0.1.7", "typebox": "1.1.38" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-Moe/H8c87yacDGK9dPbWphZNjVsrb3nTrIHycOQJAkFEnY9PYxOOd74+ny44kATfPU9Dm7aTHefar3pZF+UKUA=="], + "@7n/rules/@7n/mt": ["@7n/mt@0.5.1", "", { "optionalDependencies": { "@7n/mt-darwin-arm64": "0.5.1", "@7n/mt-linux-x64": "0.5.1" }, "bin": { "mt": "bin/mt.js" } }, "sha512-fIP75AODAX6ri+Geznpph0BJR0kkOWeCarSNJCibLCPH3vnfbEvHC9/MgTk3zg9cYIGEFAHd1gkCEnOekexIdg=="], + "@7n/rules/@earendil-works/pi-ai": ["@earendil-works/pi-ai@0.80.10", "", { "dependencies": { "@anthropic-ai/sdk": "0.91.1", "@aws-sdk/client-bedrock-runtime": "3.1048.0", "@google/genai": "1.52.0", "@mistralai/mistralai": "2.2.6", "@opentelemetry/api": "1.9.0", "@smithy/node-http-handler": "4.7.3", "http-proxy-agent": "7.0.2", "https-proxy-agent": "7.0.6", "openai": "6.26.0", "partial-json": "0.1.7", "typebox": "1.1.38" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-Moe/H8c87yacDGK9dPbWphZNjVsrb3nTrIHycOQJAkFEnY9PYxOOd74+ny44kATfPU9Dm7aTHefar3pZF+UKUA=="], "@aws-sdk/credential-provider-http/@smithy/node-http-handler": ["@smithy/node-http-handler@4.9.9", "", { "dependencies": { "@smithy/core": "^3.29.7", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-xVBZ3hptB99iNO9XyWqEhC7KD9bP9UPXhuy3h5Y2ItCfBv160D9IIC/Fmmp3EbnWwit4C+KVqlSE+E29Nk/pPg=="], diff --git a/package.json b/package.json index c316f1b..c15abfb 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "layers": "bun ./layers/lib/cli.mjs" }, "devDependencies": { + "@7n/mt": "^0.30.1", "@7n/rules": "^1.36.1", "@7n/rules-ci-github": "^1.9.0", "@7n/rules-lang-js": "^0.9.0",