Add codegraph_explore tool and expand exclude patterns
- Add codegraph_explore MCP tool for deep exploration with condensed output - Expand default exclude patterns for framework build outputs (.next, .nuxt, .expo, etc.) - Increase node ID hash length from 16 to 32 chars to prevent collisions - Add feature request detection with UX clarification reminders - Update README with MCP tools reference and best practices - Update CLAUDE.md with context usage guidelines Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
b1c6d672db
commit
0c168c4d8b
+117
-8
@@ -498,21 +498,130 @@ export const DEFAULT_CONFIG: CodeGraphConfig = {
|
||||
'**/*.rb',
|
||||
],
|
||||
exclude: [
|
||||
// Version control
|
||||
'**/.git/**',
|
||||
|
||||
// Dependencies
|
||||
'**/node_modules/**',
|
||||
'**/vendor/**',
|
||||
'**/Pods/**',
|
||||
|
||||
// Generic build outputs
|
||||
'**/dist/**',
|
||||
'**/build/**',
|
||||
'**/.git/**',
|
||||
'**/vendor/**',
|
||||
'**/__pycache__/**',
|
||||
'**/target/**',
|
||||
'**/*.min.js',
|
||||
'**/*.bundle.js',
|
||||
'**/Pods/**',
|
||||
'**/.gradle/**',
|
||||
'**/out/**',
|
||||
'**/bin/**',
|
||||
'**/obj/**',
|
||||
'**/target/**',
|
||||
|
||||
// JavaScript/TypeScript
|
||||
'**/*.min.js',
|
||||
'**/*.bundle.js',
|
||||
'**/.next/**',
|
||||
'**/.nuxt/**',
|
||||
'**/.svelte-kit/**',
|
||||
'**/.output/**',
|
||||
'**/.turbo/**',
|
||||
'**/.cache/**',
|
||||
'**/.parcel-cache/**',
|
||||
'**/.vite/**',
|
||||
'**/.astro/**',
|
||||
'**/.docusaurus/**',
|
||||
'**/.gatsby/**',
|
||||
'**/.webpack/**',
|
||||
'**/.nx/**',
|
||||
'**/.yarn/cache/**',
|
||||
'**/.pnpm-store/**',
|
||||
'**/storybook-static/**',
|
||||
|
||||
// React Native / Expo
|
||||
'**/.expo/**',
|
||||
'**/web-build/**',
|
||||
'**/ios/Pods/**',
|
||||
'**/ios/build/**',
|
||||
'**/android/build/**',
|
||||
'**/android/.gradle/**',
|
||||
|
||||
// Python
|
||||
'**/__pycache__/**',
|
||||
'**/.venv/**',
|
||||
'**/venv/**',
|
||||
'**/.pytest_cache/**',
|
||||
'**/.mypy_cache/**',
|
||||
'**/.ruff_cache/**',
|
||||
'**/.tox/**',
|
||||
'**/.nox/**',
|
||||
'**/*.egg-info/**',
|
||||
'**/.eggs/**',
|
||||
|
||||
// Go
|
||||
'**/go/pkg/mod/**',
|
||||
|
||||
// Rust
|
||||
'**/target/debug/**',
|
||||
'**/target/release/**',
|
||||
|
||||
// Java/Kotlin/Gradle
|
||||
'**/.gradle/**',
|
||||
'**/.m2/**',
|
||||
'**/generated-sources/**',
|
||||
'**/.kotlin/**',
|
||||
|
||||
// C#/.NET
|
||||
'**/.vs/**',
|
||||
'**/.nuget/**',
|
||||
'**/artifacts/**',
|
||||
'**/publish/**',
|
||||
|
||||
// C/C++
|
||||
'**/cmake-build-*/**',
|
||||
'**/CMakeFiles/**',
|
||||
'**/bazel-*/**',
|
||||
'**/vcpkg_installed/**',
|
||||
'**/.conan/**',
|
||||
'**/Debug/**',
|
||||
'**/Release/**',
|
||||
'**/x64/**',
|
||||
|
||||
// Swift/iOS/Xcode
|
||||
'**/DerivedData/**',
|
||||
'**/.build/**',
|
||||
'**/.swiftpm/**',
|
||||
'**/xcuserdata/**',
|
||||
'**/Carthage/Build/**',
|
||||
'**/SourcePackages/**',
|
||||
|
||||
// PHP
|
||||
'**/.composer/**',
|
||||
'**/storage/framework/**',
|
||||
'**/bootstrap/cache/**',
|
||||
|
||||
// Ruby
|
||||
'**/.bundle/**',
|
||||
'**/tmp/cache/**',
|
||||
'**/public/assets/**',
|
||||
'**/public/packs/**',
|
||||
'**/.yardoc/**',
|
||||
|
||||
// Testing/Coverage
|
||||
'**/coverage/**',
|
||||
'**/htmlcov/**',
|
||||
'**/.nyc_output/**',
|
||||
'**/test-results/**',
|
||||
'**/.coverage/**',
|
||||
|
||||
// IDE/Editor
|
||||
'**/.idea/**',
|
||||
|
||||
// Logs and temp
|
||||
'**/logs/**',
|
||||
'**/tmp/**',
|
||||
'**/temp/**',
|
||||
|
||||
// Documentation build output
|
||||
'**/_build/**',
|
||||
'**/docs/_build/**',
|
||||
'**/site/**',
|
||||
],
|
||||
languages: [],
|
||||
frameworks: [],
|
||||
|
||||
Reference in New Issue
Block a user