MCPcopy Create free account

hub / github.com/Durafen/Claude-code-memory / functions

Functions1,001 in github.com/Durafen/Claude-code-memory

↓ 81 callersMethodexists
Check if project config exists.
claude_indexer/config/project_config.py:26
↓ 65 callersMethodcount
Count total points in collection - test compatibility method.
claude_indexer/storage/qdrant.py:1142
↓ 59 callersFunctionload_config
Load configuration from multiple sources with precedence. Maintains backward compatibility with old signature. Args: settings_file:
claude_indexer/config/config_loader.py:148
↓ 46 callersMethodextract_node_text
Extract text from tree-sitter node.
claude_indexer/analysis/base_parsers.py:57
↓ 46 callersFunctionget_logger
Get the global logger instance.
claude_indexer/indexer_logging.py:108
↓ 44 callersMethodsearch
Legacy search interface for test compatibility.
claude_indexer/storage/qdrant.py:1160
↓ 43 callersMethodindex_project
Index an entire project with automatic incremental detection.
claude_indexer/indexer.py:374
↓ 35 callersMethodload
Load unified configuration from all sources. Precedence (highest to lowest): 1. Explicit overrides 2. Environment variables
claude_indexer/config/config_loader.py:23
↓ 29 callersMethodembed_single
Legacy method for backward compatibility.
tests/conftest.py:277
↓ 25 callersMethod_find_nodes_by_type
Recursively find all nodes matching given types.
claude_indexer/analysis/parser.py:1183
↓ 21 callersMethod_load_state
Load previous indexing state.
claude_indexer/indexer.py:1522
↓ 20 callersFunctionformat_change
Format a change value with +/- indicator.
claude_indexer/indexer.py:22
↓ 17 callersMethodcreate_imports_relation
Create an 'imports' relationship.
claude_indexer/analysis/entities.py:561
↓ 16 callersMethod_create_chunk_id
Create deterministic chunk ID following existing pattern.
claude_indexer/analysis/parser.py:104
↓ 15 callersMethod_get_state_file
Get collection-specific state file with simple naming.
claude_indexer/indexer.py:340
↓ 13 callersMethodcreate_contains_relation
Create a 'contains' relationship.
claude_indexer/analysis/entities.py:549
↓ 12 callersMethod_update_state
Update state file by merging new files with existing state, or do full rebuild.
claude_indexer/indexer.py:1595
↓ 12 callersMethodsave_debug_info
Save debug information to last updated log file (keeps 3 files).
utils/memory_guard.py:249
↓ 11 callersMethodregister
Register a new parser.
claude_indexer/analysis/parser.py:2225
↓ 10 callersMethod_find_all_files
Find all files matching project patterns.
claude_indexer/indexer.py:820
↓ 10 callersMethod_get_current_state
Get current state of files.
claude_indexer/indexer.py:1485
↓ 10 callersMethod_get_file_hash
Get SHA256 hash of file contents.
claude_indexer/indexer.py:1510
↓ 10 callersMethod_get_file_hash
Calculate SHA256 hash of file contents.
claude_indexer/analysis/parser.py:252
↓ 10 callersFunctioncreate_embedder_from_config
Create embedder from configuration (IndexerConfig or dict).
claude_indexer/embeddings/registry.py:87
↓ 10 callersMethodstart
Start file watching using IndexingEventHandler.
claude_indexer/watcher/handler.py:478
↓ 10 callersMethodsuccess_result
Create a successful processing result.
claude_indexer/processing/results.py:25
↓ 9 callersMethod_cleanup_orphaned_relations
Clean up relations that reference non-existent entities. Uses a single atomic query to get a consistent snapshot of the database, avo
claude_indexer/storage/qdrant.py:1937
↓ 9 callersMethod_create_file_entity
Create file entity using EntityFactory pattern.
claude_indexer/analysis/base_parsers.py:94
↓ 9 callersMethod_extract_array_items
Extract individual items from a content array.
claude_indexer/analysis/json_parser.py:420
↓ 9 callersMethod_scroll_collection
Unified scroll method for retrieving points from a collection. Args: collection_name: Name of the collection to scroll
claude_indexer/storage/qdrant.py:1204
↓ 9 callersMethod_should_include_variable
Enhanced scope filtering - exclude function-local and block-scoped variables. Only include module-level variables (like Python parser
claude_indexer/analysis/javascript_parser.py:1106
↓ 9 callersMethodcan_parse
Check if this is a Markdown file.
claude_indexer/analysis/parser.py:1505
↓ 9 callersMethodcollection_exists
Check if collection exists.
claude_indexer/storage/qdrant.py:262
↓ 9 callersFunctionload_legacy_settings
Load configuration from legacy settings.txt format.
claude_indexer/config/legacy.py:12
↓ 8 callersMethod_estimate_tokens_with_tiktoken
Accurate token count using tiktoken with fallback.
claude_indexer/embeddings/base.py:79
↓ 8 callersMethod_get_attribute_value
Get the value of an attribute from an HTML element.
claude_indexer/analysis/html_parser.py:270
↓ 8 callersMethodcan_parse
Check if this is a Python file.
claude_indexer/analysis/parser.py:149
↓ 8 callersFunctioncreate_store_from_config
Create vector store from configuration (IndexerConfig or dict).
claude_indexer/storage/registry.py:56
↓ 8 callersFunctionno_errors_in_logs
Helper function to check if there are no errors in the log output.
tests/integration/test_indexer_flow.py:19
↓ 8 callersMethodstop
Stop file watching and cleanup.
claude_indexer/watcher/handler.py:553
↓ 8 callersFunctionverify_entity_searchable
Verify that a specific entity is indexed and searchable. Args: qdrant_store: QdrantStore instance dummy_embedder: Embedder f
tests/conftest.py:682
↓ 7 callersMethod_create_variable_entity
Helper to create variable entity with consistent structure.
claude_indexer/analysis/javascript_parser.py:1140
↓ 7 callersMethodparse
Parse Python file using Tree-sitter and Jedi.
claude_indexer/analysis/parser.py:157
↓ 7 callersMethodparse
(self, file_path: Path)
tests/unit/test_parser.py:501
↓ 7 callersFunctionwait_for_eventual_consistency
Wait for Qdrant eventual consistency by retrying searches until entities are properly deleted. Args: search_func: Function that retu
tests/conftest.py:536
↓ 6 callersMethod_estimate_tokens
Accurate token estimation using tiktoken.
claude_indexer/embeddings/openai.py:109
↓ 6 callersMethod_has_syntax_errors
Check if the parse tree contains syntax errors.
claude_indexer/analysis/parser.py:275
↓ 6 callersMethod_preprocess_text
Preprocess text into tokens.
claude_indexer/embeddings/bm25.py:163
↓ 6 callersMethodcreate_file_entity
Create a file entity with standard observations.
claude_indexer/analysis/entities.py:444
↓ 6 callersMethodgenerate_deterministic_id
Generate deterministic ID from content (same as base.py).
claude_indexer/storage/qdrant.py:1423
↓ 6 callersMethodload_config
Load service configuration from file.
claude_indexer/service.py:41
↓ 5 callersMethod_calculate_cost
Calculate estimated cost for token count.
claude_indexer/embeddings/openai.py:113
↓ 5 callersMethod_extract_function_name
Extract function name from various function node types.
claude_indexer/analysis/javascript_parser.py:282
↓ 5 callersMethod_handle_file_event
Process a file system event by adding it to the coalescer.
claude_indexer/watcher/handler.py:102
↓ 5 callersMethodcollection_exists
Check if collection exists.
claude_indexer/storage/base.py:112
↓ 5 callersMethodcreate_inherits_relation
Create an 'inherits' relationship.
claude_indexer/analysis/entities.py:586
↓ 5 callersMethodembed_text
Generate embedding for a single text.
claude_indexer/embeddings/openai.py:118
↓ 5 callersMethodget_chat_files
Get all JSONL files for a project.
claude_indexer/chat/parser.py:96
↓ 5 callersMethodget_parser_for_file
Get the appropriate parser for a file.
claude_indexer/analysis/parser.py:2229
↓ 5 callersMethodload
Load project configuration.
claude_indexer/config/project_config.py:30
↓ 5 callersMethodparse
Parse the file and extract entities and relations.
claude_indexer/analysis/parser.py:95
↓ 5 callersMethodparse
Parse Markdown file to extract documentation entities.
claude_indexer/analysis/parser.py:1513
↓ 5 callersMethodparse_file
Parse a file using the appropriate parser.
claude_indexer/analysis/parser.py:2236
↓ 5 callersMethodparse_jsonl
Parse a single JSONL file into a conversation.
claude_indexer/chat/parser.py:110
↓ 5 callersMethodparse_tree
Parse content into tree-sitter AST.
claude_indexer/analysis/base_parsers.py:53
↓ 5 callersMethodsearch_similar
Search for similar entities/relations. Args: collection_name: Name of the collection to search query: Search query te
claude_indexer/indexer.py:741
↓ 5 callersMethodstop
Stop the background service.
claude_indexer/service.py:207
↓ 5 callersMethodto_vector_payload
Convert chat chunk to vector storage payload.
claude_indexer/analysis/entities.py:328
↓ 5 callersMethodtruncate_text
Truncate text to fit within token limits.
claude_indexer/embeddings/base.py:120
↓ 4 callersMethod_check_rate_limits
Check and enforce rate limits.
claude_indexer/embeddings/openai.py:80
↓ 4 callersMethod_embed_with_retry
Execute embedding operation with retry logic.
claude_indexer/embeddings/base.py:216
↓ 4 callersMethod_flush_pending
Process all pending events.
claude_indexer/watcher/debounce.py:103
↓ 4 callersMethod_is_internal_import
Check if an import is internal to the project by checking if the module file exists.
claude_indexer/analysis/parser.py:753
↓ 4 callersMethod_is_meaningful_by_structure
Determine meaningfulness using AST structural heuristics.
claude_indexer/analysis/observation_extractor.py:454
↓ 4 callersMethod_load_previous_statistics
Load previous run statistics from state file.
claude_indexer/indexer.py:1539
↓ 4 callersMethod_prepare_git_meta_context
Unified Git+Meta setup for ALL indexing flows.
claude_indexer/indexer.py:212
↓ 4 callersMethod_store_vectors
Store entities, relations, and implementation chunks with Git+Meta content deduplication.
claude_indexer/indexer.py:1374
↓ 4 callersMethodclear_collection
Clear collection data. By default, preserves manually-added memories. Args: collection_name: Name of the collection p
claude_indexer/storage/qdrant.py:1303
↓ 4 callersMethodcompute_content_hash
Generate SHA256 hash of content
claude_indexer/storage/qdrant.py:56
↓ 4 callersMethodcreate_collection
Create a new Qdrant collection.
claude_indexer/storage/qdrant.py:152
↓ 4 callersMethoddimension
Get the dimensionality of the embedding vector.
claude_indexer/embeddings/base.py:40
↓ 4 callersMethodembed_batch
Generate embeddings for multiple texts with enhanced token-based batching.
claude_indexer/embeddings/openai.py:162
↓ 4 callersMethodembed_text
Generate embedding for a single text.
claude_indexer/embeddings/base.py:101
↓ 4 callersMethodensure_collection
Ensure collection exists, create if necessary.
claude_indexer/storage/base.py:204
↓ 4 callersMethodget_collection_stats
Get detailed statistics for a collection.
utils/qdrant_stats.py:46
↓ 4 callersMethodsearch_similar
Search for similar vectors.
claude_indexer/storage/qdrant.py:827
↓ 4 callersFunctionsetup_logging
Setup global logging configuration.
claude_indexer/indexer_logging.py:40
↓ 4 callersMethodstart
Start the background service.
claude_indexer/service.py:161
↓ 4 callersMethodupsert_points
Insert or update points in the collection with improved reliability.
claude_indexer/storage/qdrant.py:297
↓ 4 callersFunctionvalidate_state_file_structure
Validate state file JSON structure and file contents.
tests/integration/test_indexer_flow.py:61
↓ 3 callersMethod_calculate_cost
Calculate estimated cost for token count.
claude_indexer/embeddings/voyage.py:126
↓ 3 callersFunction_create_indexer_components
Create common indexer components (project, logger, config, embedder, vector_store, indexer). Args: project_path: Path to the project root
claude_indexer/main.py:14
↓ 3 callersMethod_detect_mcp_collection
Detect the MCP collection name for this project.
utils/memory_guard.py:228
↓ 3 callersMethod_detect_project_root
Detect the project root directory using Claude-first weighted scoring.
utils/memory_guard.py:189
↓ 3 callersMethod_estimate_tokens
Accurate token estimation using tiktoken (cl100k_base).
claude_indexer/embeddings/voyage.py:122
↓ 3 callersMethod_extract_function_calls_from_source
Extract function calls from source code using regex.
claude_indexer/analysis/parser.py:1109
↓ 3 callersMethod_extract_item_content
Extract meaningful text content from a content item.
claude_indexer/analysis/json_parser.py:511
↓ 3 callersMethod_extract_python_entities
Extract Python function and class names.
utils/memory_guard.py:115
↓ 3 callersMethod_extract_yaml_mapping_keys
Extract keys from a YAML mapping under a parent key.
claude_indexer/analysis/yaml_parser.py:270
↓ 3 callersMethod_extract_yaml_value
Extract a value from YAML by key path (e.g., 'metadata.name').
claude_indexer/analysis/yaml_parser.py:254
next →1–100 of 1,001, ranked by callers