Commit graph

4 commits

Author SHA1 Message Date
Luca G. Oelfke
c4b83140b5
feat: add granular heading/block selection for context
- Add ContentSelector for parsing heading structure via metadataCache
- Support reference syntax: NoteName#Heading and NoteName^blockid
- Add FileSelectorModal with expandable heading tree and checkboxes
- Live token counter updates as sections are selected/deselected
- New command: "Copy context (select sections)"
- Add "Select Sections..." button in generator modal
- Mark partially selected files with "(partial)" suffix
- Cascading selection: toggling parent affects all children

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 10:38:13 +01:00
Luca G. Oelfke
f5acee3356
feat: add context history with versioning and diff
- Add HistoryManager for saving generated contexts as JSON files
- Track metadata: timestamp, template, files, sources, tokens, user notes
- Add history modal with list view, detail view, and comparison
- Diff view shows added/removed files, sources, and size changes
- Configurable: storage folder, max entries, auto-cleanup days
- Feature is opt-in (disabled by default)
- Add "View context history" command

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 10:34:41 +01:00
Luca G. Oelfke
1ad0adeb06
feat: add modular source system and prompt templates
Sources:
- Add ContextSource system for additional context (freetext, files, shell)
- Support prefix/suffix positioning for sources
- Include source management UI in settings with add/edit/delete/test
- Platform checks for desktop-only features (file access, shell commands)

Templates:
- Add PromptTemplate system with placeholder support
- Placeholders: {{context}}, {{selection}}, {{active_note}}, {{date}}, etc.
- Conditional blocks: {{#if variable}}...{{else}}...{{/if}}
- 5 built-in starter templates (Code Review, Summary, Q&A, Continue, Explain)
- Template management in settings with import/export as JSON
- Template selection dropdown in generator modal

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 10:29:56 +01:00
Luca G. Oelfke
2d08546847
feat: initial release of Claude Context plugin
Obsidian plugin to copy vault context files to clipboard for AI assistants.

Features:
- Copy vault context files to clipboard with one hotkey
- Context generator with configurable conventions
- Settings for folder, separator, preview, exclusions
- Auto-detect vault folder structure
- Include active note option
- Ribbon icon for quick access
- Full English UI and documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 16:55:43 +01:00