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

Function _visible_wiki_node_ids

deployments/desktop/shared/agents.py:3199–3203  ·  view source on GitHub ↗
(user_id: str)

Source from the content-addressed store, hash-verified

3197def _filter_wiki_nodes_for_configured_dir(nodes: Iterable[Dict[str, Any]]) -> Optional[List[Dict[str, Any]]]:
3198 root = _configured_wiki_root()
3199 if root is None:
3200 return None
3201 filtered = []
3202 for node in nodes or []:
3203 relative_path = str(node.get("file_path") or "").strip()
3204 if _wiki_node_file_exists(root, relative_path):
3205 filtered.append(node)
3206 return filtered

Callers 2

wiki_askFunction · 0.85
wiki_ask_streamFunction · 0.85

Calls 2

getMethod · 0.80

Tested by

no test coverage detected