Releases: zhenghaoyang24/obsidian-plugin-vaultbuddy
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
VaultBuddy v1.0.4
Full Changelog: 1.0.3...1.0.4
VaultBuddy v1.0.3
✨ Improvements
- Redesigned settings tab switcher — Now a segmented card-style control for a more modern look
- Consolidated layout — Merged "Default Model" dropdown and "Add Model" button into a single row
- Strict model editing — Changes only persist on explicit save with all fields validated
🔧 Code Quality
- Fixed all
@typescript-eslinttype-safety warnings:- Catch blocks use
unknown+instanceof Errorinstead of implicitany - Defined explicit interfaces for
loadData()and API responses - Declared
window.momentviadeclare global, removedas any - Unified async event callbacks to
void+.then()pattern
- Catch blocks use
- Annotated
fetchusage with reason (requestUrllacks streaming support)
📁 Changed Files
src/ui/settings.ts— Settings UI redesign, model edit validationsrc/ui/view.ts— Type safety fixes, tab switcher stylessrc/core/i18n.ts—window.momenttype declarationsrc/services/aiService.ts— API response interfaces, error type guardssrc/services/storage.ts—StoredDatainterfacestyles.css— Segmented control stylesmanifest.json/package.json/versions.json— Version bumped to 1.0.3
VaultBuddy v1.0.2
✨ Improvements
- Redesigned settings tab switcher — Now a segmented card-style control for a more modern look
- Consolidated layout — Merged "Default Model" dropdown and "Add Model" button into a single row for a cleaner interface
🐛 Bug Fixes
- Fixed an issue where clearing a field while editing an existing model and clicking Save would persist empty values
- Added validation on save — all 5 fields (Name, Base URL, API Key, Model ID, Context Window) must be non‑empty before changes are applied
VaultTalk v1.0.1
A maintenance release focused on multi-turn conversations, smarter AI behavior, safer rendering, and technical cleanup.
✨ Improvements
- Multi-turn conversation support — AI now remembers the last 20 messages, enabling natural follow-up questions (e.g., "summarize it as a table" now correctly references previous context)
- Smarter AI responses — Optimized system prompt with structured response style: more concise, direct, and less repetitive
- Better clarification — AI will ask for clarification instead of guessing when questions are ambiguous
- Safe markdown rendering — Replaced
innerHTMLwith Obsidian's nativeMarkdownRendererfor secure rendering - Wiki-link navigation fix — Folder links are now displayed as plain text to prevent accidental note creation; file links navigate correctly using exact vault paths
🔧 Technical Changes
- Removed
markeddependency, using Obsidian's built-in markdown renderer - Replaced
navigatorAPI withPlatformAPI for OS detection - Replaced
localStoragewith Obsidian'sloadLocalStorage/saveLocalStorage - Moved inline styles to CSS classes for better theme compatibility
- Updated
minAppVersionto 1.8.7 - Cleaned up unused context builder methods
VaultTalk v1.0.0
VaultTalk is an AI-powered chat assistant that lives in your Obsidian sidebar. It turns your entire vault into context, so you can ask questions and get answers based on your actual notes.
Key Features:
- 💬 Sidebar Chat — A persistent AI assistant panel right inside Obsidian. Ask anything, get answers grounded in your notes.
- 📚 Vault as Context — Automatically reads your vault, selects the most relevant passages, and sends them as context to the AI. Every answer cites its sources with
[[wiki-links]]. - ⚡ Streaming Responses — See answers appear in real-time as the AI generates them.
- 🔐 Encrypted API Key Storage — API keys are encrypted locally using the Web Crypto API. Never stored in plain text.
- 🤖 Custom Models — Supports any cURL-compatible OpenAI API (DeepSeek, OpenAI, Groq, etc.). Add multiple models and switch freely.
- 📝 Conversation History — All conversations are automatically saved. Resume where you left off anytime.
- 🌍 i18n — Chinese and English interface, auto-detected from your Obsidian language setting.
- 📱 Mobile Support — Works on both desktop and mobile.支持** — 桌面端和移动端均可使用。