semantic-code-mcp 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,896 @@
1
+ // Comprehensive ignore patterns based on industry best practices
2
+ // Researched from gitignore templates and development community standards
3
+
4
+ export const IGNORE_PATTERNS = {
5
+ // JavaScript/Node.js
6
+ javascript: [
7
+ '**/node_modules/**',
8
+ '**/.next/**',
9
+ '**/dist/**',
10
+ '**/build/**',
11
+ '**/.nuxt/**',
12
+ '**/.output/**',
13
+ '**/.vercel/**',
14
+ '**/.netlify/**',
15
+ '**/out/**',
16
+ '**/coverage/**',
17
+ '**/.nyc_output/**',
18
+ '**/npm-debug.log*',
19
+ '**/yarn-debug.log*',
20
+ '**/yarn-error.log*',
21
+ '**/.pnpm-store/**',
22
+ '**/.turbo/**'
23
+ ],
24
+
25
+ // Python
26
+ python: [
27
+ '**/__pycache__/**',
28
+ '**/*.pyc',
29
+ '**/*.pyd',
30
+ '**/.Python',
31
+ '**/build/**',
32
+ '**/develop-eggs/**',
33
+ '**/dist/**',
34
+ '**/downloads/**',
35
+ '**/eggs/**',
36
+ '**/.eggs/**',
37
+ '**/lib/**',
38
+ '**/lib64/**',
39
+ '**/parts/**',
40
+ '**/sdist/**',
41
+ '**/var/**',
42
+ '**/*.egg-info/**',
43
+ '**/.installed.cfg',
44
+ '**/*.egg',
45
+ '**/.venv/**',
46
+ '**/venv/**',
47
+ '**/env/**',
48
+ '**/ENV/**',
49
+ '**/.pytest_cache/**',
50
+ '**/htmlcov/**',
51
+ '**/.tox/**',
52
+ '**/.coverage',
53
+ '**/.hypothesis/**',
54
+ '**/.mypy_cache/**',
55
+ '**/.ruff_cache/**'
56
+ ],
57
+
58
+ // Java/Maven
59
+ java: [
60
+ '**/target/**',
61
+ '**/.gradle/**',
62
+ '**/build/**',
63
+ '**/.idea/**',
64
+ '**/*.iml',
65
+ '**/out/**',
66
+ '**/gen/**',
67
+ '**/classes/**',
68
+ '**/.classpath',
69
+ '**/.project',
70
+ '**/.settings/**',
71
+ '**/.m2/**',
72
+ '**/*.class',
73
+ '**/*.jar',
74
+ '**/*.war',
75
+ '**/*.ear'
76
+ ],
77
+
78
+ // Android
79
+ android: [
80
+ '**/.gradle/**',
81
+ '**/build/**',
82
+ '**/.idea/**',
83
+ '**/*.iml',
84
+ '**/local.properties',
85
+ '**/captures/**',
86
+ '**/.externalNativeBuild/**',
87
+ '**/.cxx/**',
88
+ '**/*.apk',
89
+ '**/*.aar',
90
+ '**/*.ap_',
91
+ '**/*.dex',
92
+ '**/google-services.json',
93
+ '**/gradle-app.setting',
94
+ '**/.navigation/**'
95
+ ],
96
+
97
+ // iOS/Swift
98
+ ios: [
99
+ '**/Pods/**',
100
+ '**/DerivedData/**',
101
+ '**/xcuserdata/**',
102
+ '**/*.xcarchive',
103
+ '**/build/**',
104
+ '**/.build/**',
105
+ '**/Packages/**',
106
+ '**/.swiftpm/**',
107
+ '**/Carthage/Build/**',
108
+ '**/fastlane/report.xml',
109
+ '**/fastlane/Preview.html',
110
+ '**/fastlane/screenshots/**',
111
+ '**/fastlane/test_output/**',
112
+ '**/*.moved-aside',
113
+ '**/*.xcuserstate',
114
+ '**/*.hmap',
115
+ '**/*.ipa'
116
+ ],
117
+
118
+ // Go
119
+ go: [
120
+ '**/vendor/**',
121
+ '**/bin/**',
122
+ '**/pkg/**',
123
+ '**/*.exe',
124
+ '**/*.test',
125
+ '**/*.prof'
126
+ ],
127
+
128
+ // PHP
129
+ php: [
130
+ '**/vendor/**',
131
+ '**/composer.phar',
132
+ '**/composer.lock',
133
+ '**/.phpunit.result.cache'
134
+ ],
135
+
136
+ // Rust
137
+ rust: [
138
+ '**/target/**',
139
+ '**/Cargo.lock',
140
+ '**/*.rs.bk'
141
+ ],
142
+
143
+ // Ruby
144
+ ruby: [
145
+ '**/vendor/bundle/**',
146
+ '**/.bundle/**',
147
+ '**/Gemfile.lock',
148
+ '**/.byebug_history'
149
+ ],
150
+
151
+ // .NET/C#
152
+ dotnet: [
153
+ '**/bin/**',
154
+ '**/obj/**',
155
+ '**/packages/**',
156
+ '**/*.user',
157
+ '**/*.suo',
158
+ '**/.vs/**',
159
+ '**/node_modules/**'
160
+ ],
161
+
162
+ // Common (IDE, OS, Build tools)
163
+ common: [
164
+ // Version control
165
+ '**/.git/**',
166
+ '**/.svn/**',
167
+ '**/.hg/**',
168
+ '**/.bzr/**',
169
+
170
+ // OS files
171
+ '**/.DS_Store',
172
+ '**/Thumbs.db',
173
+ '**/desktop.ini',
174
+ '**/$RECYCLE.BIN/**',
175
+
176
+ // Backup files
177
+ '**/*.bak',
178
+ '**/*.backup',
179
+ '**/*~',
180
+ '**/*.swp',
181
+ '**/*.swo',
182
+ '**/*.swn',
183
+ '**/#*#',
184
+ '**/.#*',
185
+
186
+ // Lock files (editor/runtime, not package managers)
187
+ '**/*.lock',
188
+ '**/.~lock*',
189
+
190
+ // Logs
191
+ '**/*.log',
192
+ '**/logs/**',
193
+ '**/*.log.*',
194
+
195
+ // IDEs and Editors
196
+ '**/.vscode/**',
197
+ '**/.idea/**',
198
+ '**/.sublime-project',
199
+ '**/.sublime-workspace',
200
+ '**/nbproject/**',
201
+ '**/.settings/**',
202
+ '**/.metadata/**',
203
+ '**/.classpath',
204
+ '**/.project',
205
+ '**/.c9/**',
206
+ '**/*.launch',
207
+ '**/*.tmproj',
208
+ '**/*.tmproject',
209
+ '**/tmtags',
210
+
211
+ // Vim
212
+ '**/*~',
213
+ '**/*.swp',
214
+ '**/*.swo',
215
+ '**/.*.sw?',
216
+ '**/Session.vim',
217
+
218
+ // Emacs
219
+ '**/*~',
220
+ '**/#*#',
221
+ '**/.#*',
222
+
223
+ // Environment files (secrets)
224
+ '**/.env',
225
+ '**/.env.local',
226
+ '**/.env.*.local',
227
+ '**/.env.production',
228
+ '**/.env.development',
229
+ '**/.env.test',
230
+ '**/secrets.json',
231
+ '**/secrets.yaml',
232
+ '**/secrets.yml',
233
+ '**/*.key',
234
+ '**/*.pem',
235
+ '**/*.crt',
236
+ '**/*.cer',
237
+ '**/*.p12',
238
+ '**/*.pfx',
239
+
240
+ // Temporary files
241
+ '**/tmp/**',
242
+ '**/temp/**',
243
+ '**/*.tmp',
244
+ '**/*.temp',
245
+ '**/.cache/**',
246
+
247
+ // Session & runtime
248
+ '**/.sass-cache/**',
249
+ '**/connect.lock',
250
+ '**/*.pid',
251
+ '**/*.seed',
252
+ '**/*.pid.lock',
253
+
254
+ // Coverage & test output
255
+ '**/coverage/**',
256
+ '**/.nyc_output/**',
257
+ '**/test-results/**',
258
+ '**/*.cover',
259
+ '**/*.coverage',
260
+ '**/htmlcov/**',
261
+
262
+ // Test files & directories (reduce search noise)
263
+ '**/test/**',
264
+ '**/tests/**',
265
+ '**/__tests__/**',
266
+ '**/*.test.js',
267
+ '**/*.test.ts',
268
+ '**/*.test.jsx',
269
+ '**/*.test.tsx',
270
+ '**/*.spec.js',
271
+ '**/*.spec.ts',
272
+ '**/*.test.py',
273
+ '**/test_*.py',
274
+ '**/*_test.go',
275
+
276
+ // Documentation builds
277
+ '**/docs/_build/**',
278
+ '**/site/**',
279
+
280
+ // Misc
281
+ '**/*.orig',
282
+ '**/*.core', // Unix core dumps
283
+
284
+ // ============================================
285
+ // DATABASE FILES
286
+ // ============================================
287
+ '**/*.rdb', // Redis
288
+ '**/*.sqlite', // SQLite
289
+ '**/*.sqlite3',
290
+ '**/*.db',
291
+ '**/*.mdb', // Access
292
+ '**/*.accdb',
293
+ '**/*.frm', // MySQL table format
294
+ '**/*.ibd', // InnoDB
295
+ '**/*.ldf', // SQL Server log
296
+ '**/*.mdf', // SQL Server data
297
+ '**/*.ndf', // SQL Server secondary data
298
+ '**/*.dbf', // dBase
299
+ '**/*.kdbx', // KeePass
300
+
301
+ // ============================================
302
+ // ARCHIVES & COMPRESSED FILES
303
+ // ============================================
304
+ '**/*.zip',
305
+ '**/*.tar',
306
+ '**/*.gz',
307
+ '**/*.tgz',
308
+ '**/*.rar',
309
+ '**/*.7z',
310
+ '**/*.bz2',
311
+ '**/*.xz',
312
+ '**/*.lz',
313
+ '**/*.lzma',
314
+ '**/*.lzo',
315
+ '**/*.z',
316
+ '**/*.Z',
317
+ '**/*.cab',
318
+ '**/*.arj',
319
+ '**/*.lzh',
320
+ '**/*.ace',
321
+ '**/*.uue',
322
+ '**/*.pkg', // macOS package
323
+ '**/*.dmg', // macOS disk image
324
+ '**/*.iso', // Disk image
325
+ '**/*.img', // Disk image
326
+ '**/*.deb', // Debian package
327
+ '**/*.rpm', // RedHat package
328
+ '**/*.msi', // Windows installer
329
+ '**/*.appimage', // Linux AppImage
330
+ '**/*.snap', // Snap package
331
+ '**/*.flatpak', // Flatpak
332
+
333
+ // ============================================
334
+ // IMAGES & GRAPHICS
335
+ // ============================================
336
+ '**/*.png',
337
+ '**/*.jpg',
338
+ '**/*.jpeg',
339
+ '**/*.gif',
340
+ '**/*.ico',
341
+ '**/*.bmp',
342
+ '**/*.webp',
343
+ '**/*.tiff',
344
+ '**/*.tif',
345
+ '**/*.psd', // Photoshop
346
+ '**/*.ai', // Illustrator
347
+ '**/*.eps',
348
+ '**/*.raw',
349
+ '**/*.cr2', // Canon RAW
350
+ '**/*.nef', // Nikon RAW
351
+ '**/*.orf', // Olympus RAW
352
+ '**/*.sr2', // Sony RAW
353
+ '**/*.heic', // Apple HEIF
354
+ '**/*.heif',
355
+ '**/*.avif',
356
+ '**/*.jxl', // JPEG XL
357
+ '**/*.xcf', // GIMP
358
+ '**/*.sketch', // Sketch
359
+ '**/*.fig', // Figma (exported)
360
+ '**/*.indd', // InDesign
361
+ '**/*.blend', // Blender
362
+ '**/*.fbx', // 3D model
363
+ '**/*.obj', // 3D object (also compiled, already covered)
364
+ '**/*.stl', // 3D printing
365
+ '**/*.3ds', // 3D Studio
366
+ '**/*.dae', // Collada
367
+ '**/*.gltf', // GL Transmission Format
368
+ '**/*.glb', // Binary GLTF
369
+ '**/*.usdz', // Apple AR
370
+
371
+ // ============================================
372
+ // FONTS
373
+ // ============================================
374
+ '**/*.woff',
375
+ '**/*.woff2',
376
+ '**/*.ttf',
377
+ '**/*.eot',
378
+ '**/*.otf',
379
+ '**/*.fon',
380
+ '**/*.fnt',
381
+ '**/*.pfb',
382
+ '**/*.pfm',
383
+
384
+ // ============================================
385
+ // AUDIO FILES
386
+ // ============================================
387
+ '**/*.mp3',
388
+ '**/*.wav',
389
+ '**/*.ogg',
390
+ '**/*.m4a',
391
+ '**/*.aac',
392
+ '**/*.flac',
393
+ '**/*.wma',
394
+ '**/*.aiff',
395
+ '**/*.aif',
396
+ '**/*.mid',
397
+ '**/*.midi',
398
+ '**/*.opus',
399
+ '**/*.ra',
400
+ '**/*.ram',
401
+
402
+ // ============================================
403
+ // VIDEO FILES
404
+ // ============================================
405
+ '**/*.mp4',
406
+ '**/*.avi',
407
+ '**/*.mov',
408
+ '**/*.mkv',
409
+ '**/*.flv',
410
+ '**/*.wmv',
411
+ '**/*.webm',
412
+ '**/*.m4v',
413
+ '**/*.mpg',
414
+ '**/*.mpeg',
415
+ '**/*.3gp',
416
+ '**/*.3g2',
417
+ '**/*.ogv',
418
+ '**/*.vob',
419
+ '**/*.ts', // Video transport stream (not TypeScript - handled by ext whitelist)
420
+ '**/*.mts',
421
+ '**/*.m2ts',
422
+
423
+ // ============================================
424
+ // DOCUMENTS (Non-text)
425
+ // ============================================
426
+ '**/*.pdf',
427
+ '**/*.doc',
428
+ '**/*.docx',
429
+ '**/*.xls',
430
+ '**/*.xlsx',
431
+ '**/*.ppt',
432
+ '**/*.pptx',
433
+ '**/*.odt', // OpenDocument
434
+ '**/*.ods',
435
+ '**/*.odp',
436
+ '**/*.odg',
437
+ '**/*.odf',
438
+ '**/*.rtf',
439
+ '**/*.wps',
440
+ '**/*.wpd',
441
+ '**/*.pages', // Apple Pages
442
+ '**/*.numbers', // Apple Numbers
443
+ '**/*.key', // Apple Keynote (also certs, already covered)
444
+ '**/*.epub',
445
+ '**/*.mobi',
446
+ '**/*.azw',
447
+ '**/*.azw3',
448
+ '**/*.djvu',
449
+ '**/*.xps',
450
+
451
+ // ============================================
452
+ // COMPILED BINARIES & EXECUTABLES
453
+ // ============================================
454
+ '**/*.so', // Unix shared object
455
+ '**/*.dylib', // macOS dynamic library
456
+ '**/*.dll', // Windows DLL
457
+ '**/*.exe', // Windows executable
458
+ '**/*.com', // DOS executable
459
+ '**/*.o', // Object file
460
+ '**/*.a', // Static library (Unix)
461
+ '**/*.lib', // Static library (Windows)
462
+ '**/*.obj', // Object file (Windows)
463
+ '**/*.ko', // Kernel object
464
+ '**/*.elf', // ELF binary
465
+ '**/*.bin', // Binary
466
+ '**/*.out', // Unix output
467
+ '**/*.app', // macOS app bundle
468
+ '**/*.framework/**', // macOS/iOS framework
469
+ '**/*.xcframework/**',
470
+ '**/*.wasm', // WebAssembly
471
+ '**/*.pdb', // Debug symbols (Windows)
472
+ '**/*.dSYM/**', // Debug symbols (macOS)
473
+ '**/*.sym', // Symbol file
474
+
475
+ // ============================================
476
+ // JAVA/JVM COMPILED
477
+ // ============================================
478
+ '**/*.class',
479
+ '**/*.jar',
480
+ '**/*.war',
481
+ '**/*.ear',
482
+ '**/*.sar',
483
+ '**/*.nar',
484
+ '**/*.hpi', // Jenkins plugin
485
+ '**/*.jpi',
486
+
487
+ // ============================================
488
+ // .NET COMPILED
489
+ // ============================================
490
+ '**/*.nupkg', // NuGet package
491
+ '**/*.snupkg', // Symbol package
492
+
493
+ // ============================================
494
+ // PYTHON COMPILED
495
+ // ============================================
496
+ '**/*.pyc',
497
+ '**/*.pyo',
498
+ '**/*.pyd',
499
+ '**/*.whl', // Wheel package
500
+ '**/*.egg',
501
+
502
+ // ============================================
503
+ // MOBILE BINARIES
504
+ // ============================================
505
+ '**/*.apk', // Android
506
+ '**/*.aab', // Android App Bundle
507
+ '**/*.ipa', // iOS
508
+ '**/*.xapk', // Split APK
509
+ '**/*.obb', // Android expansion
510
+
511
+ // ============================================
512
+ // GENERATED/MINIFIED FILES
513
+ // ============================================
514
+ '**/*.map', // Source maps
515
+ '**/*.min.js',
516
+ '**/*.min.css',
517
+ '**/*.min.html',
518
+ '**/*.bundle.js',
519
+ '**/*.chunk.js',
520
+ '**/*.chunk.css',
521
+ '**/-*.js', // Next.js chunks
522
+ '**/_buildManifest.js',
523
+ '**/_ssgManifest.js',
524
+ '**/vendor.js', // Bundled vendor
525
+ '**/polyfills.js',
526
+ '**/runtime.js',
527
+ '**/main.*.js', // Hashed output
528
+ '**/styles.*.css',
529
+
530
+ // ============================================
531
+ // PACKAGE MANAGER BINARIES
532
+ // ============================================
533
+ '**/*.lockb', // Bun lock binary
534
+ '**/shrinkwrap.yaml', // pnpm
535
+
536
+ // ============================================
537
+ // MACHINE LEARNING & DATA
538
+ // ============================================
539
+ '**/*.h5', // HDF5 / Keras
540
+ '**/*.hdf5',
541
+ '**/*.pkl', // Pickle
542
+ '**/*.pickle',
543
+ '**/*.joblib',
544
+ '**/*.npy', // NumPy
545
+ '**/*.npz',
546
+ '**/*.pt', // PyTorch
547
+ '**/*.pth',
548
+ '**/*.onnx', // ONNX
549
+ '**/*.pb', // TensorFlow protobuf
550
+ '**/*.tflite', // TensorFlow Lite
551
+ '**/*.mlmodel', // Core ML
552
+ '**/*.caffemodel', // Caffe
553
+ '**/*.ckpt', // Checkpoint
554
+ '**/*.safetensors', // Safe Tensors
555
+ '**/*.gguf', // GGML/llama.cpp
556
+ '**/*.bin', // Model weights
557
+ '**/*.msgpack', // MessagePack
558
+ '**/*.parquet', // Apache Parquet
559
+ '**/*.arrow', // Apache Arrow
560
+ '**/*.feather', // Feather format
561
+ '**/*.csv.gz', // Compressed data
562
+ '**/*.jsonl.gz',
563
+
564
+ // ============================================
565
+ // GAME DEVELOPMENT
566
+ // ============================================
567
+ '**/*.unity', // Unity
568
+ '**/*.unitypackage',
569
+ '**/*.asset',
570
+ '**/*.prefab',
571
+ '**/*.mat', // Material
572
+ '**/*.physicMaterial',
573
+ '**/*.controller',
574
+ '**/*.anim', // Animation
575
+ '**/*.mask',
576
+ '**/*.flare',
577
+ '**/*.compute',
578
+ '**/*.spriteatlas',
579
+ '**/*.uasset', // Unreal
580
+ '**/*.umap',
581
+ '**/*.upk',
582
+ '**/Content/**/*.uasset',
583
+
584
+ // ============================================
585
+ // MISC BINARY/NON-CODE
586
+ // ============================================
587
+ '**/*.dat', // Generic data
588
+ '**/*.data',
589
+ '**/*.bson', // Binary JSON
590
+ '**/*.avro', // Apache Avro
591
+ '**/*.thrift', // Compiled Thrift
592
+ '**/*.cap', // Packet capture
593
+ '**/*.pcap',
594
+ '**/*.pcapng',
595
+ '**/*.dmp', // Crash dump
596
+ '**/*.mdmp', // Minidump
597
+ '**/*.hprof', // Java heap dump
598
+ '**/*.prof', // Profile data
599
+ '**/*.trace', // Trace file
600
+ '**/*.lnk', // Windows shortcut
601
+ '**/*.url', // Internet shortcut
602
+ '**/*.webloc', // macOS web location
603
+ '**/*.torrent', // Torrent file
604
+ '**/*.crx', // Chrome extension
605
+ '**/*.xpi', // Firefox extension
606
+ '**/*.vsix', // VS Code extension
607
+
608
+ // ============================================
609
+ // CI/CD & DEVOPS
610
+ // ============================================
611
+ '**/.github/actions/**/dist/**', // GitHub Actions compiled
612
+ '**/terraform.tfstate',
613
+ '**/terraform.tfstate.backup',
614
+ '**/.terraform/**',
615
+ '**/terraform.tfvars',
616
+ '**/*.tfplan',
617
+ '**/pulumi.*.yaml',
618
+ '**/.pulumi/**',
619
+ '**/cdk.out/**',
620
+ '**/.serverless/**',
621
+ '**/.aws-sam/**',
622
+ '**/amplify/**/#current-cloud-backend/**',
623
+ '**/firebase-debug.log',
624
+ '**/.firebase/**',
625
+ '**/firestore-debug.log',
626
+
627
+ // ============================================
628
+ // CONTAINER & ORCHESTRATION
629
+ // ============================================
630
+ '**/docker-compose.override.yml',
631
+ '**/.docker/**',
632
+ '**/helm/charts/**/*.tgz',
633
+ '**/.kube/cache/**',
634
+ '**/*.dockerignore', // Not code
635
+
636
+ // ============================================
637
+ // VIRTUALIZATION
638
+ // ============================================
639
+ '**/*.vmdk', // VMware disk
640
+ '**/*.vdi', // VirtualBox disk
641
+ '**/*.vhd', // Hyper-V disk
642
+ '**/*.vhdx',
643
+ '**/*.qcow', // QEMU disk
644
+ '**/*.qcow2',
645
+ '**/.vagrant/**',
646
+ '**/Vagrantfile.local',
647
+
648
+ // ============================================
649
+ // ELIXIR/ERLANG
650
+ // ============================================
651
+ '**/_build/**',
652
+ '**/deps/**',
653
+ '**/*.beam', // Compiled Erlang
654
+ '**/*.ez', // Erlang archive
655
+ '**/erl_crash.dump',
656
+ '**/.fetch',
657
+ '**/mix.lock', // Elixir lock (consider keeping)
658
+
659
+ // ============================================
660
+ // HASKELL
661
+ // ============================================
662
+ '**/.stack-work/**',
663
+ '**/dist-newstyle/**',
664
+ '**/*.hi', // Haskell interface
665
+ '**/*.chi',
666
+ '**/*.chs.h',
667
+ '**/*.dyn_hi',
668
+ '**/*.dyn_o',
669
+
670
+ // ============================================
671
+ // SCALA/SBT
672
+ // ============================================
673
+ '**/project/target/**',
674
+ '**/project/project/**',
675
+ '**/.bsp/**',
676
+ '**/.metals/**',
677
+ '**/.bloop/**',
678
+
679
+ // ============================================
680
+ // CLOJURE
681
+ // ============================================
682
+ '**/target/**',
683
+ '**/repl/**',
684
+ '**/.lein-*',
685
+ '**/.nrepl-port',
686
+ '**/.cpcache/**',
687
+ '**/.clj-kondo/.cache/**',
688
+
689
+ // ============================================
690
+ // JULIA
691
+ // ============================================
692
+ '**/.julia/**',
693
+ '**/Manifest.toml', // Julia lock
694
+ '**/docs/build/**',
695
+
696
+ // ============================================
697
+ // R / RSTUDIO
698
+ // ============================================
699
+ '**/.Rproj.user/**',
700
+ '**/.Rhistory',
701
+ '**/.RData',
702
+ '**/rsconnect/**',
703
+ '**/*.Rproj',
704
+
705
+ // ============================================
706
+ // LATEX
707
+ // ============================================
708
+ '**/*.aux',
709
+ '**/*.lof',
710
+ '**/*.lot',
711
+ '**/*.fls',
712
+ '**/*.out',
713
+ '**/*.toc',
714
+ '**/*.fmt',
715
+ '**/*.fot',
716
+ '**/*.cb',
717
+ '**/*.cb2',
718
+ '**/*.bbl',
719
+ '**/*.bcf',
720
+ '**/*.blg',
721
+ '**/*.synctex.gz',
722
+ '**/*.synctex',
723
+ '**/*.pdfsync',
724
+ '**/*.fdb_latexmk',
725
+ '**/*.run.xml',
726
+
727
+ // ============================================
728
+ // C/C++ BUILD ARTIFACTS
729
+ // ============================================
730
+ '**/CMakeCache.txt',
731
+ '**/CMakeFiles/**',
732
+ '**/cmake_install.cmake',
733
+ '**/Makefile.in',
734
+ '**/autom4te.cache/**',
735
+ '**/config.status',
736
+ '**/config.log',
737
+ '**/configure~',
738
+ '**/*.gch', // Precompiled header
739
+ '**/*.pch',
740
+ '**/*.d', // Dependency files
741
+
742
+ // ============================================
743
+ // DART/FLUTTER
744
+ // ============================================
745
+ '**/.dart_tool/**',
746
+ '**/.packages',
747
+ '**/pubspec.lock',
748
+ '**/build/**',
749
+ '**/*.g.dart', // Generated
750
+ '**/*.freezed.dart',
751
+ '**/*.gr.dart',
752
+ '**/ios/Pods/**',
753
+ '**/ios/.symlinks/**',
754
+ '**/android/.gradle/**',
755
+ '**/windows/flutter/ephemeral/**',
756
+ '**/macos/Flutter/ephemeral/**',
757
+ '**/linux/flutter/ephemeral/**',
758
+
759
+ // ============================================
760
+ // KOTLIN MULTIPLATFORM
761
+ // ============================================
762
+ '**/kotlin-js-store/**',
763
+ '**/.kotlin/**',
764
+
765
+ // ============================================
766
+ // REACT NATIVE
767
+ // ============================================
768
+ '**/ios/build/**',
769
+ '**/android/build/**',
770
+ '**/android/app/build/**',
771
+ '**/.expo/**',
772
+ '**/web-build/**',
773
+
774
+ // ============================================
775
+ // ELECTRON
776
+ // ============================================
777
+ '**/release/**',
778
+ '**/app-builds/**',
779
+ '**/*.asar',
780
+
781
+ // ============================================
782
+ // DOCUMENTATION GENERATORS
783
+ // ============================================
784
+ '**/docs/_build/**',
785
+ '**/_site/**',
786
+ '**/.docusaurus/**',
787
+ '**/public/**', // Static site output (careful - may want to keep)
788
+ '**/storybook-static/**',
789
+ '**/.storybook/build/**',
790
+ '**/.vuepress/dist/**',
791
+ '**/.vitepress/dist/**',
792
+ '**/book/**', // mdBook output
793
+
794
+ // ============================================
795
+ // EDITOR/TOOL METADATA
796
+ // ============================================
797
+ '**/.history/**', // Local history
798
+ '**/.ionide/**', // F# IDE
799
+ '**/.ensime_cache/**',// Scala
800
+ '**/.ammonite/**', // Scala REPL
801
+ '**/.bsp/**',
802
+ '**/.worksheet/**',
803
+ '**/.scalafmt.conf',
804
+ '**/.scalafix.conf',
805
+
806
+ // ============================================
807
+ // SECURITY/SECRETS (Never index)
808
+ // ============================================
809
+ '**/*.keystore',
810
+ '**/*.jks', // Java keystore
811
+ '**/*.p8',
812
+ '**/*.mobileprovision',
813
+ '**/*.provisionprofile',
814
+ '**/id_rsa',
815
+ '**/id_rsa.pub',
816
+ '**/id_ed25519',
817
+ '**/id_ed25519.pub',
818
+ '**/*.gpg',
819
+ '**/*.asc',
820
+ '**/credentials.json',
821
+ '**/service-account*.json',
822
+ '**/gcloud/**',
823
+ '**/.netrc',
824
+ '**/.npmrc',
825
+ '**/.yarnrc',
826
+ '**/.pypirc',
827
+
828
+ // ============================================
829
+ // MISC TOOLS & EDGE CASES
830
+ // ============================================
831
+ '**/*.swc', // SWC cache
832
+ '**/.parcel-cache/**',
833
+ '**/.cache/**',
834
+ '**/.turbo/**',
835
+ '**/.wireit/**',
836
+ '**/tsconfig.tsbuildinfo',
837
+ '**/.eslintcache',
838
+ '**/.stylelintcache',
839
+ '**/.prettiercache',
840
+ '**/.rpt2_cache/**', // Rollup TypeScript
841
+ '**/vite.config.*.timestamp-*',
842
+ '**/*.tsbuildinfo',
843
+ '**/.nx/**', // Nx cache
844
+ '**/reports/**',
845
+ '**/test-results/**',
846
+ '**/playwright-report/**',
847
+ '**/allure-results/**',
848
+ '**/cypress/videos/**',
849
+ '**/cypress/screenshots/**',
850
+ '**/__snapshots__/**',
851
+ '**/*.snap' // Jest snapshots (consider keeping)
852
+ ]
853
+ };
854
+
855
+ // Map marker files to project types
856
+ export const FILE_TYPE_MAP = {
857
+ // JavaScript/Node
858
+ 'package.json': 'javascript',
859
+ 'package-lock.json': 'javascript',
860
+ 'yarn.lock': 'javascript',
861
+ 'pnpm-lock.yaml': 'javascript',
862
+
863
+ // Python
864
+ 'requirements.txt': 'python',
865
+ 'Pipfile': 'python',
866
+ 'pyproject.toml': 'python',
867
+ 'setup.py': 'python',
868
+
869
+ // Android
870
+ 'build.gradle': 'android',
871
+ 'build.gradle.kts': 'android',
872
+ 'settings.gradle': 'android',
873
+
874
+ // Java
875
+ 'pom.xml': 'java',
876
+
877
+ // iOS
878
+ 'Podfile': 'ios',
879
+ 'Package.swift': 'ios',
880
+
881
+ // Go
882
+ 'go.mod': 'go',
883
+
884
+ // PHP
885
+ 'composer.json': 'php',
886
+
887
+ // Rust
888
+ 'Cargo.toml': 'rust',
889
+
890
+ // Ruby
891
+ 'Gemfile': 'ruby',
892
+
893
+ // .NET
894
+ '*.csproj': 'dotnet',
895
+ '*.sln': 'dotnet'
896
+ };