Шаг 4: история напоминаний, запрос "что-то ещё" по таймеру, язык ответа; тесты; docs/proposed
All checks were successful
ci / test (push) Successful in 14s
ci / deploy (push) Successful in 1m8s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 23:41:13 +03:00
parent 27b9842894
commit 8c2cd65498
23 changed files with 162 additions and 44 deletions

View File

@@ -89,6 +89,6 @@ await app.listen({ host: service.http.host, port: service.http.port });
log.info({ port: service.http.port }, "khbuild_assistant_prep запущен");
if (service.slack && chatDeps) {
const intake = new SlackIntake(chatDeps, { channelIds: service.slack.channelIds, debounceMs: service.slack.debounceSeconds * 1000 });
const intake = new SlackIntake(chatDeps, { channelIds: service.slack.channelIds, debounceMs: service.slack.debounceSeconds * 1000, followupMs: service.slack.followupMinutes * 60_000 });
startSocketMode({ appToken: service.slack.appToken, log, onEvent: (ev) => void intake.onEvent(ev).catch((e) => log.error({ err: String(e) }, "ошибка приёма события Slack")) });
}