Stores per-file djb2 content hashes in history metadata on every export,
enabling a new "Copy context diff" command that compares against the most
recent baseline and copies only new/modified files with [NEW]/[MODIFIED] tags.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add export profiles, smart context, and snapshots to README features
- Document export profiles workflow and edge cases in output-targets.md
- Add per-target outputPath and intelligence settings to settings.md
- Add smart-context.md for context intelligence documentation
- Restructure history.md to include snapshots section
- Add new commands to getting-started.md
- Update repo URLs to GitHub
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Export Profiles bundle targets into named groups, enabling instant
multi-format export (e.g. XML for Claude + Markdown for ChatGPT +
Plain for Gemini) via a single "Export context (multi-target)" command.
- Add ExportProfile interface, generateProfileId, BUILTIN_PROFILES
- Add per-target outputPath override for file output location
- Add export-multi-target command with active profile resolution
- Add ExportProfileModal for creating/editing profiles
- Add profile management UI in Settings > Output
- Add profile dropdown in generator modal for target pre-selection
- Clean up stale profile references on target deletion
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Snapshots capture the file list, template, and formatting config from a
history entry so the context can be regenerated from current vault state.
Stored as JSON in .context-snapshots/ with no auto-cleanup.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Expose backlinks, forward links, recent notes, shared tags, folder
siblings, and smart context directly in templates via {{variable}}
and {{variable:N}} syntax. Makes processTemplate async to support
the new resolvers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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>
Move comprehensive documentation (settings, templates, output targets,
frontmatter presets, etc.) from the 510-line README into 9 focused files
under docs/. README is now a scannable overview with links to each doc.
Replace GitHub links with Codeberg equivalents.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rename before community plugin submission (plugin IDs are permanent).
Updates plugin ID, display name, package name, all class names,
CSS prefix (cc- → pf-), default folders (_claude → _context),
built-in target ID, and all documentation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Eight settings now show live contextual info (file counts, entry usage,
folder existence) that updates as values change.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Search input above tabs filters all settings by name and description
in real-time. When a query is active, all tabs render simultaneously
with group headings and non-matching settings are hidden via DOM
toggling. Empty sections and tab groups are hidden entirely. Escape
clears search and restores normal tabbed view.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collapsible preview shows first 30 lines of generated output with
real-time updates (300ms debounce). Status bar displays file count,
token estimate, active target, and output format — all updating as
options change. Token count warns when exceeding target limit.
Clicking target scrolls to config, clicking format cycles options.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Split the single-column generator modal into a Selection zone (what to
include) and Configuration zone (how to output) using CSS grid, with a
full-width footer for action buttons. Adds note count indicator and
token estimate from existing context files. Responsive: side-by-side
on wide viewports, stacked on narrow.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add reusable CollapsibleSection component with animated chevron and
persisted collapse state. Applied to Sources, Templates, and Output
tabs where natural content groupings exist. General and History tabs
stay flat.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Split settings into 5 tabs (General, Sources, Templates, Output,
History) with a sticky tab bar. Persists the last active tab in
plugin settings so it reopens where the user left off.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace generic Obsidian sample plugin template with project-specific
documentation covering all 15 source files, 6 commands, full settings
schema, and architecture details for each module.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 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>
- 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>
- 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>
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>
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>