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.
- package/CHANGELOG.md +46 -7
- package/HIRE_ME.md +234 -234
- package/INSTRUCTIONS.md +274 -274
- package/LICENSE +21 -21
- package/README.md +486 -486
- package/SECURITY.md +14 -14
- package/SPONSORS.md +104 -104
- package/dist/src/core/cacheManager.d.ts +11 -2
- package/dist/src/core/cacheManager.js +42 -33
- package/dist/src/core/cacheManager.js.map +1 -1
- package/dist/src/core/engine.d.ts +1 -1
- package/dist/src/core/engine.js +1 -1
- package/dist/src/core/validator.d.ts +1 -1
- package/dist/src/core/validator.js +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +237 -25
- package/dist/src/index.js.map +1 -1
- package/dist/src/operations/compress.d.ts +1 -1
- package/dist/src/operations/compress.js +1 -1
- package/dist/src/operations/confirmationStore.d.ts +3 -1
- package/dist/src/operations/confirmationStore.js +2 -1
- package/dist/src/operations/confirmationStore.js.map +1 -1
- package/dist/src/operations/read.d.ts +39 -1
- package/dist/src/operations/read.js +169 -16
- package/dist/src/operations/read.js.map +1 -1
- package/dist/src/operations/write.d.ts +3 -2
- package/dist/src/operations/write.js +7 -2
- package/dist/src/operations/write.js.map +1 -1
- package/dist/src/parsers/base.d.ts +3 -1
- package/dist/src/parsers/base.js +1 -1
- package/dist/src/parsers/base.js.map +1 -1
- package/dist/src/parsers/dartTreeSitter.d.ts +1 -1
- package/dist/src/parsers/dartTreeSitter.js +5 -1
- package/dist/src/parsers/dartTreeSitter.js.map +1 -1
- package/dist/src/parsers/php.d.ts +1 -1
- package/dist/src/parsers/php.js +5 -1
- package/dist/src/parsers/php.js.map +1 -1
- package/dist/src/parsers/python.d.ts +1 -1
- package/dist/src/parsers/python.js +5 -1
- package/dist/src/parsers/python.js.map +1 -1
- package/dist/src/parsers/registry.d.ts +1 -1
- package/dist/src/parsers/registry.js +1 -1
- package/dist/src/parsers/typescript.d.ts +1 -1
- package/dist/src/parsers/typescript.js +9 -5
- package/dist/src/parsers/typescript.js.map +1 -1
- package/dist/src/utils/auditLogger.d.ts +1 -1
- package/dist/src/utils/auditLogger.js +1 -1
- package/dist/src/utils/backupManager.d.ts +1 -1
- package/dist/src/utils/backupManager.js +1 -1
- package/dist/src/utils/constants.d.ts +1 -1
- package/dist/src/utils/constants.js +1 -1
- package/dist/src/utils/diff.d.ts +1 -1
- package/dist/src/utils/diff.js +4 -4
- package/dist/src/utils/fileLock.d.ts +1 -1
- package/dist/src/utils/fileLock.js +1 -1
- package/dist/src/utils/fileWalker.d.ts +1 -1
- package/dist/src/utils/fileWalker.js +1 -1
- package/dist/src/utils/fileWatcher.d.ts +2 -1
- package/dist/src/utils/fileWatcher.js +12 -2
- package/dist/src/utils/fileWatcher.js.map +1 -1
- package/dist/src/utils/fuzzySearch.d.ts +1 -1
- package/dist/src/utils/fuzzySearch.js +1 -1
- package/dist/src/utils/logger.d.ts +1 -1
- package/dist/src/utils/logger.js +1 -1
- package/dist/src/utils/rateLimiter.d.ts +5 -1
- package/dist/src/utils/rateLimiter.js +5 -1
- package/dist/src/utils/rateLimiter.js.map +1 -1
- package/dist/src/utils/safeRegex.d.ts +1 -1
- package/dist/src/utils/safeRegex.js +1 -1
- package/dist/src/utils/streaming.d.ts +1 -1
- package/dist/src/utils/streaming.js +1 -1
- package/dist/src/utils/telemetry.d.ts +1 -1
- package/dist/src/utils/telemetry.js +1 -1
- package/llms.txt +5 -5
- package/package.json +3 -3
- package/scripts/replace-version.js +59 -59
- 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
|
+
});
|