fix: remove BM25 codebase indexing feature#303
Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom Dec 21, 2025
fix/remove-bm25-searchbreaking-brake/cc-wf-studio:fix/remove-bm25-searchCopy head branch name to clipboard
Merged
fix: remove BM25 codebase indexing feature#303breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom fix/remove-bm25-searchbreaking-brake/cc-wf-studio:fix/remove-bm25-searchCopy head branch name to clipboard
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/remove-bm25-searchbreaking-brake/cc-wf-studio:fix/remove-bm25-searchCopy head branch name to clipboard
Conversation
- Removed 8 BM25-related files (services, handlers, components, types) - Removed @orama dependencies from package.json - Removed all BM25 UI components, translations, and settings - Added automatic cleanup of legacy index data on extension activation - Removed all message types and handlers for BM25 operations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Merged
github-actions Bot
added a commit
that referenced
this pull request
Dec 22, 2025
## [3.8.5](v3.8.4...v3.8.5) (2025-12-22) ### Bug Fixes * remove BM25 codebase indexing feature ([#303](#303)) ([7a5878d](7a5878d)) * remove unused timeout setting and enable proper AI cancellation ([#305](#305)) ([666a231](666a231)) ### Improvements * prevent dropdown menu from closing on settings selection ([#304](#304)) ([544cc42](544cc42))
Contributor
|
🎉 This PR is included in version 3.8.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The BM25 codebase indexing feature (Issue #265, PR #266) was implemented as a Beta feature but has significant issues:
Current Behavior
globalStorageUriIssues
❌ Manual index maintenance required (users must rebuild when code changes)
❌ BM25 keyword search has limited semantic understanding
❌ Index data persists in
globalStorageUrieven after feature removal❌ Claude Code CLI already has built-in codebase understanding (makes this redundant)
Expected Behavior
✅ Claude Code CLI's native codebase understanding should be used instead
✅ No manual index building required
✅ No orphaned data left on user devices
Solution
Completely removed the BM25 codebase indexing feature and added automatic cleanup for existing users.
Key Changes
Removed Files (8):
src/extension/commands/codebase-index-handlers.ts(489 lines)src/extension/services/codebase-index-service.ts(633 lines)src/extension/services/vector-search-service.ts(310 lines)src/shared/types/codebase-index.ts(263 lines)src/webview/src/services/codebase-search-service.ts(585 lines)src/webview/src/components/chat/CodebaseSearchResults.tsx(212 lines)src/webview/src/components/chat/CodebaseStatusBadge.tsx(147 lines)src/webview/src/components/dialogs/CodebaseSettingsDialog.tsx(462 lines)Modified Files (16):
@orama/oramaand@orama/plugin-data-persistencedependenciescc-wf-studio.codebaseReference.enabledsettingAdded Cleanup (1):
src/extension/extension.ts- AddedcleanupLegacyBM25Index()functionChanges
Dependencies
File:
package.jsonRemoved:
Extension Activation
File:
src/extension/extension.tsAdded automatic cleanup:
Message Types
File:
src/shared/types/messages.tsRemoved all BM25 message types:
BUILD_INDEX,CANCEL_INDEX_BUILD,GET_INDEX_STATUS,CLEAR_INDEX,SEARCH_CODEBASEINDEX_BUILD_PROGRESS,INDEX_BUILD_SUCCESS,INDEX_BUILD_FAILEDSEARCH_CODEBASE_RESULT,SEARCH_CODEBASE_FAILEDGET_SETTING,SET_SETTING(Settings payloads)OPEN_FILE_AT_LINE(Search result navigation)UI Components
Files:
MessageBubble.tsx,RefinementChatPanel.tsx,SettingsDropdown.tsxRemoved:
@codebasecommand parsingTranslations
Files:
en.ts,ja.ts,ko.ts,zh-CN.ts,zh-TW.tsRemoved all
codebaseIndex.*andcodebaseReference.*keysImpact
Testing
format,lint,check)npm run build)Notes
fix:instead ofchore:: This is a user-facing change (Beta feature removal) that should appear in CHANGELOGextension.tsshould be removed after 3-6 months (Issue Remove temporary BM25 cleanup code after sufficient user migration period #302)🤖 Generated with Claude Code