VaultBuddy v1.0.5
🚀 New Features
-
Two‑stage retrieval
Build a lightweight index via ObsidianmetadataCache(title/headings/tags/aliases/date), rank by relevance, then read full content only for top‑ranked files. Greatly improves performance. -
Enhanced tokenization & stemming
Supports Chinese word segmentation (Intl.Segmenter) + English stemming, plus bilingual synonym expansion for smarter search. -
Time‑based queries
Natural language time conditions like “last X days/months”, “yesterday”, “this week”, combined with time + keyword scoring. -
Searched notes bar
After AI responds, a “Searched Notes” bar appears at the bottom. Expand to view all referenced notes, click to navigate. -
Conversation token usage display
- Input/output token count shown below each AI reply, formatted with k/m units
- Cumulative token count and message count displayed in conversation header
-
UI improvements
- Clear view when deleting the current conversation or switching to a new one
- Temperature slider shows its value live (
setDynamicTooltip)
🐛 Bug Fixes
- Fixed
sources panelCSS causing expand/collapse malfunction - Fixed undocumented
eslint-disable-next-linecomment in ESLint review
🔧 Technical Improvements
- Dependency upgrades: TypeScript → 5.8.3, esbuild → 0.28,
gpt-tokenizer→ 3.4,@typescript-eslint→ 8 - Improved chunking: heading‑aware splitting, overlapping windows, minimum chunk size
- Improved scoring: TF weighting, position bias, length penalty
- Added
usagefield toChatMessagetype, persisted with conversation data - Updated
.gitignore(addedreasonix.tomland.codegraph/)
📄 Documentation
- Updated README: features as a list, added “How It Works” (two‑stage retrieval), removed Development section