qmd/src
Tobi Lutke 691c56d051
Add YAML-based collections configuration system
- Create src/collections.ts module for managing collections in YAML
- Collections defined in ~/.config/qmd/index.yml instead of SQLite
- Support for nested contexts at any path level
- Global context applies to all collections
- Functions: load/save config, add/remove/rename collections
- Context management: add, remove, find best match for path
- Add yaml package dependency
- Include example-index.yml showing the clean YAML format

This is the foundation for removing collections and path_contexts
tables from SQLite, moving all configuration to YAML.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-13 09:56:56 -05:00
..
cli.test.ts Refactor: Move TypeScript source files to src/ directory 2025-12-12 17:12:09 -05:00
collections.ts Add YAML-based collections configuration system 2025-12-13 09:56:56 -05:00
context-ops.ts Refactor: Move TypeScript source files to src/ directory 2025-12-12 17:12:09 -05:00
formatter.ts Refactor: Move TypeScript source files to src/ directory 2025-12-12 17:12:09 -05:00
llm.test.ts Refactor: Move TypeScript source files to src/ directory 2025-12-12 17:12:09 -05:00
llm.ts Refactor: Move TypeScript source files to src/ directory 2025-12-12 17:12:09 -05:00
mcp.test.ts Refactor: Move TypeScript source files to src/ directory 2025-12-12 17:12:09 -05:00
mcp.ts Refactor: Move TypeScript source files to src/ directory 2025-12-12 17:12:09 -05:00
qmd.ts Improve qmd ls to use ls -l style with colors 2025-12-13 09:48:21 -05:00
store.test.ts Refactor: Move TypeScript source files to src/ directory 2025-12-12 17:12:09 -05:00
store.ts Fix context add to support collection root paths 2025-12-13 09:41:31 -05:00