mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-26 19:56:37 +08:00
Add comprehensive tests for ast-grep and tree-sitter relationship extraction
- Introduced test suite for AstGrepPythonProcessor covering pattern definitions, parsing, and relationship extraction. - Added comparison tests between tree-sitter and ast-grep for consistency in relationship extraction. - Implemented tests for ast-grep binding module to verify functionality and availability. - Ensured tests cover various scenarios including inheritance, function calls, and imports.
This commit is contained in:
@@ -263,6 +263,10 @@ export function run(argv: string[]): void {
|
||||
.option('--output <file>', 'Output file path for export')
|
||||
.option('--overwrite', 'Overwrite existing memories when importing')
|
||||
.option('--prefix <prefix>', 'Add prefix to imported memory IDs')
|
||||
.option('--unified', 'Use unified vector+FTS search (for search subcommand)')
|
||||
.option('--topK <n>', 'Max results for unified search', '20')
|
||||
.option('--minScore <n>', 'Min relevance score for unified search', '0')
|
||||
.option('--category <cat>', 'Filter by category for unified search')
|
||||
.action((subcommand, args, options) => coreMemoryCommand(subcommand, args, options));
|
||||
|
||||
// Hook command - CLI endpoint for Claude Code hooks
|
||||
|
||||
Reference in New Issue
Block a user