craft-cli 0.11.0: backlinks from Craft itself
Backlinks and outgoing links now come from Craft's own internal-links endpoint, so they no longer miss renamed links.
Craft added internal links to its API and MCP. craft-cli 0.11.0 switches to it. Until now the CLI found backlinks by searching for a document’s title, which missed links with custom text and anything past the top search results.
craft links in DOC_ID # where this document is referenced
craft links out DOC_ID # what it references
craft links in DOC_ID --level block # the exact referencing blocks
craft links map --from-date today # what today's daily note links toOn my own space, 77 documents link to my skills database. The old title search found one of them.
Craft answers per document, so a link to a card or a single block counts toward the document that contains it. The CLI finds that document in the local Craft cache and filters down to the block you asked about. Without the cache, name the document with --doc or let it scan the whole space with --scan.
--links on document reads uses the same path. The old title search is still there as --legacy, and the CLI falls back to it if Craft’s endpoint is unavailable, since Craft marks it experimental. Release on GitHub.