MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / daily_note_mentions

Function daily_note_mentions

deployments/desktop/shared/agents.py:3520–3536  ·  view source on GitHub ↗
(user_id: str, query: str = "", limit: int = 8)

Source from the content-addressed store, hash-verified

3518 "daily_note": entry.get("daily_note"),
3519 "daily_note_topic": entry.get("topic"),
3520 "report_path": entry.get("report_path"),
3521 "pdf_url": entry.get("pdf_url") or "",
3522 },
3523 "source_type": "reading_report",
3524 "source_ref": str(entry.get("report_path") or ""),
3525 "score": 1.0,
3526 "updated_at": None,
3527 }
3528
3529
3530def daily_note_mentions(user_id: str, query: str = "", limit: int = 8) -> Dict[str, Any]:
3531 del user_id
3532 entries = _daily_note_reading_entries(scope="all", query=query, limit=limit)
3533 nodes = []
3534 for entry in entries:
3535 node = _daily_note_reading_node(entry)
3536 nodes.append(
3537 {
3538 "node_id": node["node_id"],
3539 "node_type": "paper",

Callers

nothing calls this directly

Calls 3

_daily_note_reading_nodeFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected