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:
@@ -1387,6 +1387,7 @@ def test_a_scheduled_task_runs_with_the_read_only_tools_and_no_mcp(tmp_path, mon
|
||||
"mcps": {"x": {"transport": "stdio", "command": "nope"}}}))
|
||||
monkeypatch.setenv("JARVIS_CONFIG_PATH", str(cfg))
|
||||
monkeypatch.setattr(brain_mod, "_connect_mcp", lambda mcps: None)
|
||||
monkeypatch.setenv("JARVIS_COLLECT_PATH", str(tmp_path / "collect.json")) # the collection exists
|
||||
seen = []
|
||||
|
||||
def fake_engine(db, cfg, tts, text, mem, **kw):
|
||||
|
||||
Reference in New Issue
Block a user