Чат руководителя (chat_kind = ceo, промт p-ceo-assistant, ответ в разделе «Ответ Arthur»); блоки входа и правило про todo - всем версиям, необязательные фрагменты; тесты; docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@ export async function listManagers(pool: Pool, modes: string[], opts: { includeP
|
||||
// в пассивное окно календаря (например, вторник) системные события не идут никому
|
||||
if (!opts.includePaused && (await activeWindow(pool, opts.now))) return [];
|
||||
const { rows } = await pool.query(
|
||||
`select distinct cm.person_id, p.display_name, cm.slack_user_id, cm.slack_channel_id, cm.reply_mode, cm.tts_voice
|
||||
`select distinct cm.person_id, p.display_name, cm.slack_user_id, cm.slack_channel_id, cm.reply_mode, cm.tts_voice, cm.chat_kind
|
||||
from construction_manager cm join person p on p.id = cm.person_id
|
||||
join assistant_project ap on ap.manager_person_id = cm.person_id and ap.is_enabled and ap.mode = any($1)
|
||||
where cm.is_active and p.is_active${opts.includePaused ? "" : ` and ${NOT_PAUSED_SQL("cm")}`}`,
|
||||
|
||||
Reference in New Issue
Block a user