Commit graph

2 commits

Author SHA1 Message Date
acb82971b4 feat: add context intelligence for auto-detecting related notes
Scores vault notes using 5 signals (forward links, backlinks, shared
tags, folder proximity, shared properties) and presents a review modal
with color-coded badges and token budget tracking. Adds "Copy smart
context" command, Intelligence settings tab, and mode: auto preset
support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 13:25:25 +01:00
Luca G. Oelfke
11fcce0f4c
feat: add frontmatter preset system for one-hotkey context generation
- Parse ai-context block from frontmatter with validation
- Support fields: template, include-linked, link-depth, include-tags,
  exclude-paths, exclude-tags, max-tokens, include-active-note
- Add LinkTraverser for cycle-safe graph traversal of linked notes
- Add TagCollector for collecting files by tags (hierarchical support)
- Token budget enforcement with size-based file prioritization
- New command: "Copy context from frontmatter preset"
- Fallback to generator modal when no preset found
- Clear error messages for invalid preset values

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 10:41:41 +01:00