Conversation
These changes allow to specify the link depth of mentioned files. These will be fetched additionally to the mentioned files.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Super happy to share this. It is my first real coding project (well, if I don't count modding for Stellaris and Skyrim!), so please be nice to me. I'm really happy with how it turned out. It was just for my own personal use, but I liked it so much I thought I'd make it available for everyone.
What's New: Context Linking
This update introduces Forward and Backward Linking.
This new feature automatically pulls in content from linked notes, giving the AI a much richer and smarter context for your chats. The linking work in the YAML frontmatter.
Key Features:
Granular Control: You can set how "deep" you want to follow links for each file, right from the chat input. Want to follow links 2 levels deep from NoteA.md but only 1 level from NoteB.md? No problem.
Intuitive UI: I've made it super easy with a compact, always-visible set of controls directly on the file "badges" in your chat. Adjust forward (-->) and backward (<--) link depths with just a click.
Active Note Settings: You can set a default link-fetching behavior specifically for the note you're currently viewing.
Duplicate Safe: The system's built to be clever about what it fetches, so no duplicate notes get sent to the AI. That helps keep your token usage in check.
If everything works well, I'll refine it a bit more, and maybe even try to make a pull request out of it, as soon as I figure out how to do that. Probably not today, though, as it's quite late here and I just finished the code!
I will also go through the code changes and put the comments back in as i am just too tired today to do this :)
I hope you have fun with this one and find it useful. I'd love to hear your feedback, like i said first real code ever.
And i'd like to say thank you to @Lapis0x0 who with his agent mode inspired me to make my own changes to smart composer, thanks man :) !
Checklist before requesting a review
npm run lint:checkandnpm run type:check)npm run test)