mcp-code-context 3.6.0 → 3.6.2

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.
Files changed (77) hide show
  1. package/CHANGELOG.md +46 -7
  2. package/HIRE_ME.md +234 -234
  3. package/INSTRUCTIONS.md +274 -274
  4. package/LICENSE +21 -21
  5. package/README.md +486 -486
  6. package/SECURITY.md +14 -14
  7. package/SPONSORS.md +104 -104
  8. package/dist/src/core/cacheManager.d.ts +11 -2
  9. package/dist/src/core/cacheManager.js +42 -33
  10. package/dist/src/core/cacheManager.js.map +1 -1
  11. package/dist/src/core/engine.d.ts +1 -1
  12. package/dist/src/core/engine.js +1 -1
  13. package/dist/src/core/validator.d.ts +1 -1
  14. package/dist/src/core/validator.js +1 -1
  15. package/dist/src/index.d.ts +1 -1
  16. package/dist/src/index.js +237 -25
  17. package/dist/src/index.js.map +1 -1
  18. package/dist/src/operations/compress.d.ts +1 -1
  19. package/dist/src/operations/compress.js +1 -1
  20. package/dist/src/operations/confirmationStore.d.ts +3 -1
  21. package/dist/src/operations/confirmationStore.js +2 -1
  22. package/dist/src/operations/confirmationStore.js.map +1 -1
  23. package/dist/src/operations/read.d.ts +39 -1
  24. package/dist/src/operations/read.js +169 -16
  25. package/dist/src/operations/read.js.map +1 -1
  26. package/dist/src/operations/write.d.ts +3 -2
  27. package/dist/src/operations/write.js +7 -2
  28. package/dist/src/operations/write.js.map +1 -1
  29. package/dist/src/parsers/base.d.ts +3 -1
  30. package/dist/src/parsers/base.js +1 -1
  31. package/dist/src/parsers/base.js.map +1 -1
  32. package/dist/src/parsers/dartTreeSitter.d.ts +1 -1
  33. package/dist/src/parsers/dartTreeSitter.js +5 -1
  34. package/dist/src/parsers/dartTreeSitter.js.map +1 -1
  35. package/dist/src/parsers/php.d.ts +1 -1
  36. package/dist/src/parsers/php.js +5 -1
  37. package/dist/src/parsers/php.js.map +1 -1
  38. package/dist/src/parsers/python.d.ts +1 -1
  39. package/dist/src/parsers/python.js +5 -1
  40. package/dist/src/parsers/python.js.map +1 -1
  41. package/dist/src/parsers/registry.d.ts +1 -1
  42. package/dist/src/parsers/registry.js +1 -1
  43. package/dist/src/parsers/typescript.d.ts +1 -1
  44. package/dist/src/parsers/typescript.js +9 -5
  45. package/dist/src/parsers/typescript.js.map +1 -1
  46. package/dist/src/utils/auditLogger.d.ts +1 -1
  47. package/dist/src/utils/auditLogger.js +1 -1
  48. package/dist/src/utils/backupManager.d.ts +1 -1
  49. package/dist/src/utils/backupManager.js +1 -1
  50. package/dist/src/utils/constants.d.ts +1 -1
  51. package/dist/src/utils/constants.js +1 -1
  52. package/dist/src/utils/diff.d.ts +1 -1
  53. package/dist/src/utils/diff.js +4 -4
  54. package/dist/src/utils/fileLock.d.ts +1 -1
  55. package/dist/src/utils/fileLock.js +1 -1
  56. package/dist/src/utils/fileWalker.d.ts +1 -1
  57. package/dist/src/utils/fileWalker.js +1 -1
  58. package/dist/src/utils/fileWatcher.d.ts +2 -1
  59. package/dist/src/utils/fileWatcher.js +12 -2
  60. package/dist/src/utils/fileWatcher.js.map +1 -1
  61. package/dist/src/utils/fuzzySearch.d.ts +1 -1
  62. package/dist/src/utils/fuzzySearch.js +1 -1
  63. package/dist/src/utils/logger.d.ts +1 -1
  64. package/dist/src/utils/logger.js +1 -1
  65. package/dist/src/utils/rateLimiter.d.ts +5 -1
  66. package/dist/src/utils/rateLimiter.js +5 -1
  67. package/dist/src/utils/rateLimiter.js.map +1 -1
  68. package/dist/src/utils/safeRegex.d.ts +1 -1
  69. package/dist/src/utils/safeRegex.js +1 -1
  70. package/dist/src/utils/streaming.d.ts +1 -1
  71. package/dist/src/utils/streaming.js +1 -1
  72. package/dist/src/utils/telemetry.d.ts +1 -1
  73. package/dist/src/utils/telemetry.js +1 -1
  74. package/llms.txt +5 -5
  75. package/package.json +3 -3
  76. package/scripts/replace-version.js +59 -59
  77. package/vitest.config.ts +37 -37
package/vitest.config.ts CHANGED
@@ -1,37 +1,37 @@
1
- import { defineConfig } from 'vitest/config';
2
- import path from 'path';
3
-
4
- export default defineConfig({
5
- test: {
6
- globals: true,
7
- environment: 'node',
8
- reporters: ['default'],
9
- coverage: {
10
- provider: 'v8',
11
- reporter: ['text', 'json', 'html'],
12
- exclude: [
13
- 'node_modules/',
14
- 'dist/',
15
- 'dist-tests/',
16
- '**/*.spec.ts',
17
- '**/*.test.ts',
18
- 'tests/',
19
- 'scripts/'
20
- ],
21
- thresholds: {
22
- lines: 80,
23
- functions: 80,
24
- branches: 75,
25
- statements: 80
26
- }
27
- },
28
- testTimeout: 60000,
29
- hookTimeout: 60000,
30
- outputTruncateLength: 80
31
- },
32
- resolve: {
33
- alias: {
34
- '@': path.resolve(__dirname, './src')
35
- }
36
- }
37
- });
1
+ import { defineConfig } from 'vitest/config';
2
+ import path from 'path';
3
+
4
+ export default defineConfig({
5
+ test: {
6
+ globals: true,
7
+ environment: 'node',
8
+ reporters: ['default'],
9
+ coverage: {
10
+ provider: 'v8',
11
+ reporter: ['text', 'json', 'html'],
12
+ exclude: [
13
+ 'node_modules/',
14
+ 'dist/',
15
+ 'dist-tests/',
16
+ '**/*.spec.ts',
17
+ '**/*.test.ts',
18
+ 'tests/',
19
+ 'scripts/'
20
+ ],
21
+ thresholds: {
22
+ lines: 80,
23
+ functions: 80,
24
+ branches: 75,
25
+ statements: 80
26
+ }
27
+ },
28
+ testTimeout: 60000,
29
+ hookTimeout: 60000,
30
+ outputTruncateLength: 80
31
+ },
32
+ resolve: {
33
+ alias: {
34
+ '@': path.resolve(__dirname, './src')
35
+ }
36
+ }
37
+ });