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:
@@ -157,7 +157,7 @@ MCP_ENV_VAR = "JARVIS_MCP_ENV"
|
||||
V2_HOST_TOOLS = ("localFiles", "screenshot")
|
||||
# The only tools a scheduled task may use: it runs with nobody there to ask, so it only looks
|
||||
# things up (schedule.spec.md, "Tasks"). No MCP tools either: what they do is not known.
|
||||
TASK_TOOLS = ("getWeather", "webSearch", "fetchWebPage", "fetchMeals", "toolSearchTool")
|
||||
TASK_TOOLS = ("getWeather", "webSearch", "fetchWebPage", "fetchMeals", "collectedNews", "toolSearchTool")
|
||||
|
||||
|
||||
def take_mcp_env() -> dict:
|
||||
|
||||
Reference in New Issue
Block a user