From 2215e402a4d8eed0bacd29bfef1e1603be39c9ec Mon Sep 17 00:00:00 2001 From: Dariusz Gafka Date: Sat, 7 Feb 2026 11:18:26 +0100 Subject: [PATCH] feat: add PHP and multi-language support to file indexing - Add .php, .rb, .go, .rs, .swift, .kt, .scala extensions to glob pattern - Add vendor/ to ignore patterns for PHP projects - Update semantic search config with new extensions - Bump version to 1.8.0 (MINOR - new feature) Fixes issue where PHP projects showed 0 files to scan during indexing. Now supports: TypeScript, JavaScript, Python, Java, PHP, Ruby, Go, Rust, C/C++, C#, Swift, Kotlin, and Scala. Files changed: - src/cli/commands/handlers/search-command-handler.ts - src/cli/services/search/semantic-search.ts - package.json - plugins/codeseeker/.claude-plugin/plugin.json - plugins/codeseeker/version.json --- package.json | 2 +- plugins/codeseeker/.claude-plugin/plugin.json | 2 +- plugins/codeseeker/version.json | 4 ++-- src/cli/commands/handlers/search-command-handler.ts | 4 ++-- src/cli/services/search/semantic-search.ts | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index dd04e65..a9155f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeseeker", - "version": "1.7.2", + "version": "1.8.0", "description": "Graph-powered code intelligence for Claude Code. Semantic search + knowledge graph for better AI code understanding.", "main": "dist/index.js", "bin": { diff --git a/plugins/codeseeker/.claude-plugin/plugin.json b/plugins/codeseeker/.claude-plugin/plugin.json index db89b4b..1d28f6f 100644 --- a/plugins/codeseeker/.claude-plugin/plugin.json +++ b/plugins/codeseeker/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "codeseeker", - "version": "1.7.2", + "version": "1.8.0", "description": "CodeSeeker - Intelligent code understanding with semantic search, knowledge graphs, and auto-detected coding standards", "author": { "name": "CodeSeeker Team", diff --git a/plugins/codeseeker/version.json b/plugins/codeseeker/version.json index c3bd4d4..94b49bf 100644 --- a/plugins/codeseeker/version.json +++ b/plugins/codeseeker/version.json @@ -1,6 +1,6 @@ { - "version": "1.7.2", - "releaseDate": "2026-01-20", + "version": "1.8.0", + "releaseDate": "2026-02-07", "minCliVersion": "1.0.1", "changelog": "https://github.com/jghiringhelli/codeseeker/releases", "updateCommand": "/plugin uninstall codeseeker && /plugin install codeseeker@github:jghiringhelli/codeseeker#plugin" diff --git a/src/cli/commands/handlers/search-command-handler.ts b/src/cli/commands/handlers/search-command-handler.ts index e1d5323..0e985d8 100644 --- a/src/cli/commands/handlers/search-command-handler.ts +++ b/src/cli/commands/handlers/search-command-handler.ts @@ -105,9 +105,9 @@ export class SearchCommandHandler extends BaseCommandHandler { try { // Get all code files - const files = await glob(['**/*.{ts,js,jsx,tsx,py,java,cs,cpp,c,h,hpp}'], { + const files = await glob(['**/*.{ts,js,jsx,tsx,py,java,cs,cpp,c,h,hpp,php,rb,go,rs,swift,kt,scala}'], { cwd: projectPath, - ignore: ['**/node_modules/**', '**/dist/**', '**/build/**', '**/.git/**'] + ignore: ['**/node_modules/**', '**/vendor/**', '**/dist/**', '**/build/**', '**/.git/**'] }); console.log(`📂 Found ${files.length} files to scan`); diff --git a/src/cli/services/search/semantic-search.ts b/src/cli/services/search/semantic-search.ts index a76f2d7..68be4da 100644 --- a/src/cli/services/search/semantic-search.ts +++ b/src/cli/services/search/semantic-search.ts @@ -56,8 +56,8 @@ export class SemanticSearchService extends AnalysisTool implements IProjectIndex // Configuration private config = { - supportedExtensions: ['.ts', '.js', '.py', '.java', '.go', '.rs', '.cpp', '.c', '.h'], - excludePatterns: ['node_modules', '.git', 'dist', 'build', 'coverage'], + supportedExtensions: ['.ts', '.js', '.py', '.java', '.go', '.rs', '.cpp', '.c', '.h', '.php', '.rb', '.swift', '.kt', '.scala', '.cs'], + excludePatterns: ['node_modules', 'vendor', '.git', 'dist', 'build', 'coverage'], batchSize: 50, enableCaching: true };