Skip to content

v2.1.4: Improved Handoff-AI Compatibility

Latest

Choose a tag to compare

@karote00 karote00 released this 23 Jan 10:28

🀝 Better Handoff-AI Integration

✨ Key Improvements

πŸ“ Docs Directory Priority

  • Prioritize docs/ over .project/ for context detection
  • Perfect handoff-ai compatibility - works seamlessly with handoff-ai's new docs/ convention
  • Backward compatible - still detects other context directories

🧹 Documentation Cleanup

  • Fixed duplicate references in README Auto-detects section
  • Clearer context discovery descriptions focusing on main directories
  • Simplified messaging without confusing users

πŸ“¦ Better CLI Compatibility

  • Removed packageManager field from package.json
  • Works with any package manager - npm, yarn, pnpm without restrictions
  • Cleaner global installation experience

πŸ”§ Technical Changes

Context Detection Updates:

  • detectProjectContext() now checks docs/ first
  • Updated default context paths from .project/ to docs/
  • All status messages and recommendations updated
  • Project-context-indexer uses docs/ as primary path

Documentation Updates:

  • README examples use docs/ instead of .project/
  • Status command shows Documentation context detected
  • All help text and error messages updated

🎯 Perfect for Handoff-AI Users

This release makes context-rag work seamlessly with handoff-ai's new approach.

πŸ“¦ Installation

npm install -g context-rag@2.1.4

πŸ”„ Migration

Existing users: No action needed! The tool still works with .project/ directories, but now prioritizes docs/ for new projects.

πŸŽ‰ Result

Context-rag now works perfectly with handoff-ai's docs/ convention while maintaining full backward compatibility and improving overall usability
: