You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get_page_links omits <link> elements despite its description #517
get_page_links's description says it extracts "all links from the page" and is "more reliable than DOM queries" (apps/server/src/tools/snapshot.ts:170-172), but it only returns a11y-tree link nodes (anchor elements), never <link rel="alternate">, rel="canonical", or rel="me".
Impact
An agent trusting the tool's own description to find alternate/canonical representations of a page (e.g. a JSON alternate of an HTML page) will get an empty or incomplete result with no indication anything was skipped.
Proposal
Either widen get_page_links to also return <link> elements with a rel attribute, or narrow the tool's description to state it only covers in-body anchors reachable via the accessibility tree.
Activity