mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
- Add helper methods to locate match lines and find containing symbols - Modify search_fts, search_fts_exact, search_fts_fuzzy to return complete code blocks (functions/methods/classes) instead of short snippets - Join with files table to get full content and file_id - Query symbols table to find the smallest symbol containing the match - Fall back to context lines when no symbol contains the match - Add return_full_content and context_lines parameters for flexibility - Include start_line, end_line, symbol_name, symbol_kind in SearchResult This improves search result quality by returning semantically meaningful code blocks rather than arbitrary 20-byte snippets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>