feat: news notifications for the background collection and a collectedNews tool
Each collection target can announce new items at once or in a daily digest (off by default) in collect.notifyChannel, as titles and links only, with no LLM; each post is recorded in the activity log. The brain gets a read-only collectedNews tool (every target's newest items by default, fenced as untrusted web content), offered with the app's collection file and the collection feature, and available to scheduled tasks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -137,6 +137,8 @@ pub fn fields() -> Vec<Field> {
|
||||
// Background collection (admin.spec.md, "Background collection"): no targets by default.
|
||||
f("collect.targets", Collect, CollectTargets, json!([]), "수집 대상"),
|
||||
f("collect.keepDays", Collect, Int { min: 1, max: 365 }, json!(30), "보관 기간(일)"),
|
||||
f("collect.notifyChannel", Collect, Id, Value::Null, "새 글을 알릴 채팅 채널(등록한 채널, 비우면 알리지 않음)"),
|
||||
f("collect.digestHour", Collect, Int { min: 0, max: 23 }, json!(9), "하루 요약을 보낼 시각(시)"),
|
||||
// Schedules (admin.spec.md, "Schedules").
|
||||
f("schedule.chatChannel", Schedule, Id, Value::Null,
|
||||
"음성으로 맡긴 알림을 그 사람이 음성 채널에 없을 때 보낼 채팅 채널(등록한 채널)"),
|
||||
|
||||
Reference in New Issue
Block a user