ai_xiaopei
9 days ago ec47bcd9555cbf94ba40823a5dbd2fb957582bbe
refs
author ai_xiaopei <xiaopei@aisim.cn>
Sunday, July 26, 2026 08:23 +0800
committer ai_xiaopei <xiaopei@aisim.cn>
Sunday, July 26, 2026 08:23 +0800
commitec47bcd9555cbf94ba40823a5dbd2fb957582bbe
tree d53894a7f5ff739e29ba9a169205bd791feceb07 tree | zip | gz
parent 46a01d99b5d15120ada95754c9effbdcb576d31e view | diff
feat: add --with-content and --with-links flags

- Add GetNodeLinks method to retrieve wikilink targets
- Extend SearchResult with Content and Links fields (omitempty)
- Add WithContent and WithLinks to SearchOptions
- Update output formatters to display content and links
- Performance: 8ms for 10 results with content+links
- All tests passing
2 files modified
15 ■■■■■ changed files
bin/kb diff | view | raw | blame | history
internal/output/formatter.go 15 ●●●●● diff | view | raw | blame | history