Проектные каналы: тихий режим, recap для Daily Log; Huddle через message_changed; короткие напоминания
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 2m13s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 21:12:07 +03:00
parent 12147fc3eb
commit 4a32a08b6d
18 changed files with 613 additions and 32 deletions

View File

@@ -106,7 +106,8 @@ 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, followupMs: service.slack.followupMinutes * 60_000 });
const intake = new SlackIntake(chatDeps, { channelIds: service.slack.channelIds, debounceMs: service.slack.debounceSeconds * 1000, followupMs: service.slack.followupMinutes * 60_000, recapSilenceMs: service.slack.recapSilenceMinutes * 60_000, recapFromHour: service.slack.recapFromHour, recapToHour: service.slack.recapToHour });
void intake.restoreRecapTimers().catch((e) => log.error({ err: String(e) }, "восстановление таймеров recap не удалось"));
startSocketMode({ appToken: service.slack.appToken, log, onEvent: (ev) => void intake.onEvent(ev).catch((e) => log.error({ err: String(e) }, "ошибка приёма события Slack")) });
if (service.drive && driveClient && service.drive.inboxScanSeconds > 0) {
const d = service.drive;