Context: Visited Check
This internal utility manages the global $HOME/.cursor/research-visited.txt file.
Operations
check
Determine if a URL has already been visited.
- Input:
url - Logic: Read the visited file (one URL per line). Return
trueifurlexists. - Note: URLs should be normalized before checking (e.g., remove
#hashesunless it's a SPA router).
mark
Mark a URL as visited.
- Input:
url - Logic: Append
urlto the file on a new line.
clear
Reset the visited list.
- Warning: This affects ALL workspaces. Use with caution.