Skip to content

Commit 9564e4a

Browse files
Enable indexing of config, infra, and style files by default
Uncomment and extend the DEFAULT_SUPPORTED_EXTENSIONS list to include file types commonly found in real projects: YAML, JSON, SQL, CSS, HTML, shell scripts, Prisma schemas, GraphQL, Protobuf, Terraform, and Dockerfiles (by extension). Without these, Kubernetes manifests, CI/CD workflows, database migrations, and styling are invisible to semantic search. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 22efac7 commit 9564e4a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

packages/core/src/context.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ const DEFAULT_SUPPORTED_EXTENSIONS = [
2929
'.cs', '.go', '.rs', '.php', '.rb', '.swift', '.kt', '.scala', '.m', '.mm',
3030
// Text and markup files
3131
'.md', '.markdown', '.ipynb',
32-
// '.txt', '.json', '.yaml', '.yml', '.xml', '.html', '.htm',
33-
// '.css', '.scss', '.less', '.sql', '.sh', '.bash', '.env'
32+
// Config, infrastructure, and supporting files
33+
'.json', '.yaml', '.yml', '.xml', '.html', '.htm', '.toml',
34+
'.css', '.scss', '.less', '.sql', '.sh', '.bash',
35+
'.prisma', '.graphql', '.gql', '.proto',
36+
'.dockerfile', '.tf', '.hcl',
3437
];
3538

3639
const DEFAULT_IGNORE_PATTERNS = [

0 commit comments

Comments
 (0)