Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: johnhuang316/code-index-mcp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: johnhuang316/code-index-mcp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.1
Choose a head ref
  • 4 commits
  • 12 files changed
  • 1 contributor

Commits on Jul 11, 2025

  1. fix: resolve OR search (regex pipe operator) not working in search_co…

    …de_advanced
    
    - Add explicit `regex` parameter to all search strategies for clear regex control
    - Remove misleading documentation that suggested fuzzy=True enables regex
    - Rename `create_safe_fuzzy_pattern` to `create_word_boundary_pattern` for clarity
    - Add `is_safe_regex_pattern` function with ReDoS protection
    - Update search behavior:
      - Default: literal string search (regex=False)
      - Explicit: regex search when regex=True
      - Safety: validate regex patterns to prevent ReDoS attacks
    
    Usage for OR searches:
    - Before: search_code_advanced("ERROR|WARN") # didn't work
    - After:  search_code_advanced("ERROR|WARN", regex=True) # works
    
    Fixes #11
    johnhuang316 committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    5aeab43 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2025

  1. chore: prepare v0.3.2 release

    - Bump version to 0.3.2 in pyproject.toml
    - Add .gitattributes to standardize line endings across platforms
    - Remove .claude/settings.local.json from git tracking
    johnhuang316 committed Jul 14, 2025
    Configuration menu
    Copy the full SHA
    d75b516 View commit details
    Browse the repository at this point in the history
  2. fix: resolve OR search (regex pipe operator) not working in search_co…

    …de_advanced
    
    - Fix ag search strategy to properly convert glob patterns to regex
    - Pattern "*.py" now correctly converts to "\.py$" for ag's -G parameter
    - Pattern "test_*.js" now correctly converts to "^test_.*\.js$"
    - Ensures consistent file filtering behavior across all search tools
    - Resolves issue where ag would incorrectly match files due to glob/regex mismatch
    johnhuang316 committed Jul 14, 2025
    Configuration menu
    Copy the full SHA
    af72ab5 View commit details
    Browse the repository at this point in the history
  3. chore: prepare v0.4.1 release

    - Fix ag search strategy to properly convert glob patterns to regex
    - Pattern "*.py" now correctly converts to "\.py$" for ag's -G parameter
    - Pattern "test_*.js" now correctly converts to "^test_.*\.js$"
    - Ensures consistent file filtering behavior across all search tools
    - Update search_code_advanced docstring to reflect current behavior
    - Clarify file_pattern handling: all tools now support glob patterns consistently
    - Clarify fuzzy parameter behavior: ugrep provides true fuzzy search, others use word boundaries
    - Bump version to 0.4.1 in pyproject.toml and __init__.py
    - Add comprehensive release notes for v0.4.1
    johnhuang316 committed Jul 14, 2025
    Configuration menu
    Copy the full SHA
    3970a07 View commit details
    Browse the repository at this point in the history
Loading