Links: drop what the scanner computed or accepted for nobody
scan() also built a Related list that no caller reads (the page asks /links/related, which related() answers); the `within` option was never sent; near() was only ever given a vector, so its embed-the-text fallback and null answer could not happen. extract.ts and words.ts re-exported phraseKey and singular from src/core/links, where they now come from directly. The suggestions are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
1 parent
7f6b9d8e77
commit
9f8245e6d7
6 files changed
+20
-38
No files matched your search
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* HTTP routes for link discovery. Wired into server/index.ts before the 404.
|
||||
* HTTP routes for one library's link discovery, under /api/l/<id>/links/ (server/bundle.ts).
|
||||
*
|
||||
* POST /api/links/scan { node, text?, title?, top?, topTitle?, ancestors?, occupied?, rejected?, forced?, within?, save?, review? }
|
||||
* → { suggestions, related, unresolved, degraded, stats, entries?, apply?, review? }; save (default
|
||||
* POST /api/links/scan { node, text?, title?, top?, topTitle?, ancestors?, occupied?, rejected?, forced?, save?, review? }
|
||||
* → { suggestions, unresolved, degraded, stats, entries?, apply?, review? }; save (default
|
||||
* true) records the suggestions as pending for the node, and `entries` is then everything
|
||||
* stored for it, with determinations. review ("all", or "unmarked" to leave out [[marks]],
|
||||
* which a person typed) has the model reviewer judge what is undecided; `apply` is then the
|
||||
|
||||
Reference in new issue
Block a user