mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
When defaultSaveFolder is a hidden directory (e.g. .copilot/conversations), Obsidian's metadata cache doesn't index it, causing saves to fail and chat history to show empty. Add adapter-level fallback utilities in src/utils/vaultAdapterUtils.ts: - resolveFileByPath: vault lookup with synthetic TFile fallback - listMarkdownFiles: folder listing with adapter fallback - patchFrontmatter: processFrontMatter with adapter YAML patching fallback - readFrontmatterViaAdapter: parse frontmatter from raw file content Apply fallbacks across ChatPersistenceManager (save, load, list, find) and main.ts (history picker, load, delete, title update, lastAccessedAt). Also removes obsolete design docs from docs/. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ACP_DESIGN.md | ||
| AGENT_PLANNING_REFLECTION_V0.md | ||
| AGENT_REASONING_BLOCK.md | ||
| BEDROCK_TOOL_CALLING.md | ||
| CITATION_IMPLEMENTATION.md | ||
| CONTEXT_ENGINEERING.md | ||
| MESSAGE_ARCHITECTURE.md | ||
| TECHDEBT.md | ||
| TODO-composer-tool-redesign.md | ||
| TOKEN_BUDGET_ENFORCEMENT.md | ||
| TOOLS.md | ||