rait-09_obsidian-agent-client/test
RAIT-09 96ce06bcde refactor(wikilink): resolve links via Obsidian's metadata cache
Replace the hand-rolled regex extraction + basename index with
metadataCache.getFileCache().links. The cache excludes links inside code
blocks/inline code (fixing false positives like a C++ [[nodiscard]] in a
code sample), separates embeds and frontmatter, and hands back already-
tokenized links with positions — so the regex, #/| splitting, embed
exclusion, and the per-prompt vault scan all go away.

Each link now resolves to its single destination via Obsidian's own
getFirstLinkpathDest (the file it would actually open), so the
resolved/unresolved/ambiguous three-state collapses to resolved/
unresolved and the basename index (and its full-vault scan) is gone.
Aliases come from the raw 'original' text, not displayText, which
Obsidian auto-populates for section links. Selection scoping now filters
by cached link position instead of re-scanning the selected substring.

Sibling-block emission, ref correlation, empty-skip, slash-command
suppression, and the byte-identical note bodies are all unchanged.
2026-07-05 02:06:36 +09:00
..
stubs refactor(wikilink): resolve links via Obsidian's metadata cache 2026-07-05 02:06:36 +09:00
agent-block-parser.test.ts fix(embed): address code review findings on the embeddable blocks 2026-07-02 00:51:39 +09:00
platform.test.ts fix(wsl): address Copilot review on #312 (cd fail-fast, buildWslEnv guard) 2026-06-05 14:52:41 +09:00
session-helpers.test.ts refactor(agents): share the unfiltered agent enumeration 2026-07-04 20:31:02 +09:00
session-storage.test.ts fix(session): serialize transcript writes through the session lock 2026-07-04 00:10:58 +09:00
settings-normalizer.test.ts feat(agents): add an enabled flag and filter agent enumeration 2026-07-04 20:12:48 +09:00
wikilink-formatter.test.ts refactor(wikilink): resolve links via Obsidian's metadata cache 2026-07-05 02:06:36 +09:00
wikilink-resolver.test.ts refactor(wikilink): resolve links via Obsidian's metadata cache 2026-07-05 02:06:36 +09:00