From 9bc1425ec04345d41408a9eb512ea0c37db8fa3e Mon Sep 17 00:00:00 2001 From: leemour Date: Wed, 25 Nov 2026 04:23:11 +0100 Subject: [PATCH 1/2] docs(slk): pages from slack-cli 0.2.0 in EN/RU/ES slk 0.2.0 is on npm: inbox counts a mention of a user group the owner is in, skips the DM with Slackbot that Slack lists but cannot show, and reads a channel never opened. tools.json pins v0.2.0; the RU and ES changelogs carry the new section and point at v0.2.0; the signed registry lists slk 0.2.0 (the other tools' bumps are left to their own pull requests). Co-Authored-By: Claude Opus 5.5 --- registry/official-manifests.json | 2 +- tools.json | 2 +- translations/slk/changelog.es.md | 22 ++++++++++++++++++++-- translations/slk/changelog.ru.md | 22 ++++++++++++++++++++-- translations/sources.json | 4 ++-- 5 files changed, 44 insertions(+), 8 deletions(-) diff --git a/registry/official-manifests.json b/registry/official-manifests.json index 14fbd5df..81daf18b 100644 --- a/registry/official-manifests.json +++ b/registry/official-manifests.json @@ -782,7 +782,7 @@ } }, "slk": { - "version": "0.1.0", + "version": "0.2.0", "manifestSha256": "04e0955ca837633856f6fedc12e6c41462602c94c18ea079b02a426f3a0f4cb0", "bin": "wcat-slk", "bins": ["slk", "wcat-slk"], diff --git a/tools.json b/tools.json index a3582dd4..84efefc7 100644 --- a/tools.json +++ b/tools.json @@ -42,7 +42,7 @@ "repo": "WireCatLabs/slack-cli", "package": "@wirecat/slack-cli", "lang": "en", - "docsRef": "v0.1.0", + "docsRef": "v0.2.0", "summary": { "en": "Your Slack channels, DMs and threads for your AI agent: it reads and searches them as you, with a Slack app of your own.", "ru": "Каналы, личные сообщения и ветки Slack для вашего ИИ-агента: он читает и ищет их от вашего имени, через ваше собственное приложение Slack.", diff --git a/translations/slk/changelog.es.md b/translations/slk/changelog.es.md index 67076e4e..884b61fe 100644 --- a/translations/slk/changelog.es.md +++ b/translations/slk/changelog.es.md @@ -4,6 +4,24 @@ title: "Historial de cambios" Cambios notables de `@wirecat/slack-cli`. Una sección por versión, la más nueva primero. +## 0.2.0 — 25.11.2026 + +### Añadido + +- **`inbox` cuenta la mención de un grupo de usuarios al que perteneces.** Un canal que no sigues ahora aparece cuando + un mensaje posterior a tu última lectura nombra uno de tus grupos, por ejemplo `@devs`. La lista de grupos de Slack + se pide una vez por ejecución y solo cuando un mensaje nombra un grupo. Si el espacio de trabajo la rechaza, se + indica en `missing`. + +### Corregido + +- **`inbox` ya no se detiene en el mensaje directo con Slackbot.** Slack incluye ese chat en la lista, pero responde + `channel_not_found` al preguntar por él. Ahora inbox lo omite y cuenta los demás chats. +- **`inbox` lee un canal que nunca has abierto.** Slack da a ese canal una marca de lectura a cero y luego no la + acepta, así que inbox se detenía ahí. Ahora cuenta el canal desde su mensaje más nuevo. +- **La habilidad para agentes y el título de la documentación nombran `slk`.** La habilidad pedía a los agentes un + programa `slack`, que el paquete no instala. + ## 0.1.0 — 24.11.2026 ### Añadido @@ -60,7 +78,7 @@ Cambios notables de `@wirecat/slack-cli`. Una sección por versión, la más nue - **`setup` y el README enlazan a la creación de la app de Slack con el manifiesto ya rellenado.** Un clic abre **Create New App** con los permisos de slk. Pegar `docs/slack-app-manifest.json` a mano sigue funcionando. - **Inicia sesión con tu propia app de Slack: `slk session start`.** Crea una app en tu espacio de trabajo - a partir del [manifiesto](https://github.com/WireCatLabs/slack-cli/blob/v0.1.0/docs/slack-app-manifest.json), instálala y pega su User OAuth Token (`xoxp-`) en la + a partir del [manifiesto](https://github.com/WireCatLabs/slack-cli/blob/v0.2.0/docs/slack-app-manifest.json), instálala y pega su User OAuth Token (`xoxp-`) en la pregunta oculta o por stdin. slack lo comprueba con `auth.test` de Slack y lo guarda en el llavero del sistema, con el espacio de trabajo y la persona a la que pertenece. Un token de bot (`xoxb-`) y uno rotativo (`xoxe.`) se rechazan antes de enviar nada, porque slack lee como tú y no puede renovar un token que dura 12 horas. @@ -77,7 +95,7 @@ Cambios notables de `@wirecat/slack-cli`. Una sección por versión, la más nue Cualquier otro borrado pide `slack.delete`. Once GET que envían, comparten o publican (`views publish`, `files remote-share` …) cuentan como escrituras: un perfil de solo lectura los rechaza, y nunca se envían dos veces. Los 15 métodos que solo aceptan un formulario y los cuatro que responden con un token o un enlace secreto quedan - fuera, cada uno con su motivo en `slk api show` y en [cobertura de la API](https://github.com/WireCatLabs/slack-cli/blob/v0.1.0/docs/dev/API_COVERAGE.md). + fuera, cada uno con su motivo en `slk api show` y en [cobertura de la API](https://github.com/WireCatLabs/slack-cli/blob/v0.2.0/docs/dev/API_COVERAGE.md). ### Cambios — pueden romper llamadas diff --git a/translations/slk/changelog.ru.md b/translations/slk/changelog.ru.md index 905e18ce..68918cdd 100644 --- a/translations/slk/changelog.ru.md +++ b/translations/slk/changelog.ru.md @@ -4,6 +4,24 @@ title: "История изменений" Заметные изменения `@wirecat/slack-cli`. Один раздел на версию, новые сверху. +## 0.2.0 — 25.11.2026 + +### Добавлено + +- **`inbox` учитывает упоминание группы пользователей, в которой вы состоите.** Канал, за которым вы не следите, + теперь появляется, когда сообщение после вашего последнего прочтения называет вашу группу, например `@devs`. Список + групп Slack спрашивается один раз за запуск и только когда сообщение называет группу. Если пространство в нем + отказывает, это названо в `missing`. + +### Исправлено + +- **`inbox` больше не останавливается на личном чате со Slackbot.** Slack показывает этот чат в списке, но на вопрос + о нем отвечает `channel_not_found`. Теперь inbox пропускает его и считает остальные чаты. +- **`inbox` читает канал, который вы ни разу не открывали.** Slack дает такому каналу нулевую отметку прочтения, а + потом сам ее не принимает, поэтому inbox на нем останавливался. Теперь канал считается от самого нового сообщения. +- **Навык для агентов и заголовок документации называют `slk`.** Навык просил у агентов программу `slack`, которую + пакет не ставит. + ## 0.1.0 — 24.11.2026 ### Добавлено @@ -59,7 +77,7 @@ title: "История изменений" - **`setup` и README ведут на создание приложения Slack с заполненным манифестом.** Один клик открывает **Create New App** с разрешениями slk. Вставить `docs/slack-app-manifest.json` вручную по-прежнему можно. - **Вход через собственное приложение Slack: `slk session start`.** Создайте приложение в своем - пространстве из [манифеста](https://github.com/WireCatLabs/slack-cli/blob/v0.1.0/docs/slack-app-manifest.json), установите его и вставьте его User OAuth Token (`xoxp-`) + пространстве из [манифеста](https://github.com/WireCatLabs/slack-cli/blob/v0.2.0/docs/slack-app-manifest.json), установите его и вставьте его User OAuth Token (`xoxp-`) в скрытый запрос или через stdin. slack проверяет его через `auth.test` Slack и хранит в связке ключей системы вместе с пространством и человеком, которому он принадлежит. Токен бота (`xoxb-`) и обновляемый токен (`xoxe.`) отклоняются до любой отправки, потому что slack читает от вашего имени и не умеет обновлять токен, который живет 12 @@ -76,7 +94,7 @@ title: "История изменений" другое удаление спрашивает `slack.delete`. Одиннадцать GET-запросов, которые отправляют, делятся или публикуют (`views publish`, `files remote-share` …), считаются записью: профиль только для чтения их отклоняет, и они никогда не отправляются дважды. 15 методов, которые принимают только форму, и четыре, которые отвечают токеном или секретной - ссылкой, не включены, у каждого причина указана в `slk api show` и в [покрытии API](https://github.com/WireCatLabs/slack-cli/blob/v0.1.0/docs/dev/API_COVERAGE.md). + ссылкой, не включены, у каждого причина указана в `slk api show` и в [покрытии API](https://github.com/WireCatLabs/slack-cli/blob/v0.2.0/docs/dev/API_COVERAGE.md). ### Изменено — может сломать вызовы diff --git a/translations/sources.json b/translations/sources.json index 1b13e594..23fd7235 100644 --- a/translations/sources.json +++ b/translations/sources.json @@ -530,6 +530,6 @@ "slk/security.es": "9c19a44893a7086829ccddab53868668ce46b6ab8811f18b468d363424494276", "slk/commands.ru": "48083db5ca58e99d1c95b54f62e71e56d66378ee900ce6a36493ca02d945623d", "slk/commands.es": "48083db5ca58e99d1c95b54f62e71e56d66378ee900ce6a36493ca02d945623d", - "slk/changelog.ru": "244e2f94b7d837620e4781a16f90413ccece868c2327095b153eba63aa8f2b6f", - "slk/changelog.es": "244e2f94b7d837620e4781a16f90413ccece868c2327095b153eba63aa8f2b6f" + "slk/changelog.ru": "7b9196ef5d24c6d4a73ab67b8f08da2a987c2cae21a544f09b88c3d45ab89052", + "slk/changelog.es": "7b9196ef5d24c6d4a73ab67b8f08da2a987c2cae21a544f09b88c3d45ab89052" } From 7f956e70b50f256fdc8413e940110179354f5df7 Mon Sep 17 00:00:00 2001 From: leemour Date: Wed, 25 Nov 2026 04:26:39 +0100 Subject: [PATCH 2/2] fix(registry): leave signIn.setupFrom out of the drift check cli-base's manifest schema allows setupFrom only as "0.0.0": a manifest ships inside the version it describes. Desktop's catalog keeps the first version it offers the setup flow for (slk 0.1.0, pbx 0.7.0), so the two can never agree, as with accountRemove.remove.minVersion, already ignored for the same reason. drift failed on slk once Desktop listed it. Co-Authored-By: Claude Opus 5.5 --- scripts/official-tools.test.ts | 1 + scripts/official-tools.ts | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/official-tools.test.ts b/scripts/official-tools.test.ts index 24a39e97..97cfa64c 100644 --- a/scripts/official-tools.test.ts +++ b/scripts/official-tools.test.ts @@ -128,6 +128,7 @@ describe("the drift check", () => { expect( differences({ remove: { minVersion: "0.0.0" } }, { remove: { minVersion: "0.9.0" } }, "accountRemove"), ).toEqual([]) + expect(differences({ setupFrom: "0.0.0" }, { setupFrom: "0.1.0" }, "signIn")).toEqual([]) }) it("fails on a word, a program the package does not install, or a text", () => { diff --git a/scripts/official-tools.ts b/scripts/official-tools.ts index c7ad7bec..9a30334f 100644 --- a/scripts/official-tools.ts +++ b/scripts/official-tools.ts @@ -255,8 +255,11 @@ const FACTS = [ ] as const /** What the person reads. */ const WORDS = ["tagline", "signIn.gives", "signIn.asks"] as const -/** cli-base always writes `0.0.0`, since a manifest ships inside the version it describes; Desktop keeps its own. */ -const IGNORED = ["accountRemove.remove.minVersion"] +/** + * cli-base always writes `0.0.0` (its schema allows no other value), since a manifest ships inside the version it + * describes; Desktop keeps its own: the first version it offers the flow for. + */ +const IGNORED = ["accountRemove.remove.minVersion", "signIn.setupFrom"] const at = (v: unknown, path: string): unknown => path.split(".").reduce((o, k) => (record(o) ? (o as Record)[k] : undefined), v)