diff --git a/examples/.codechunk.yaml b/examples/.codechunk.yaml new file mode 100644 index 0000000..a09d43a --- /dev/null +++ b/examples/.codechunk.yaml @@ -0,0 +1,49 @@ +# CodeChunk CLI Configuration Example +# Save this as .codechunk.yaml in your project root + +# Chunking settings +chunking: + # File patterns to include + include_patterns: + - "*.py" + - "*.js" + - "*.ts" + # File patterns to exclude + exclude_patterns: + - "**/test_*.py" + - "**/__pycache__/**" + - "**/node_modules/**" + - "**/.git/**" + # Maximum chunk size in lines + max_chunk_size: 500 + # Remove comments from code + remove_comments: false + # Preserve docstrings + preserve_docstrings: true + +# Prioritization settings +prioritization: + # Keywords that increase priority + keywords: + - "main" + - "core" + - "handler" + - "controller" + - "service" + # Maximum file size for processing + size_limit: 10000 + # Exclude patterns + exclude_patterns: + - "**/test_*.py" + - "**/*_test.py" + +# Output settings +output: + # Default output format: ollama, lmstudio, markdown + format: markdown + # Maximum token limit + max_tokens: 8192 + # Include metadata in output + include_metadata: true + # Enable syntax highlighting + syntax_highlighting: true