code-graph-context 3.0.4 → 3.0.5
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/dist/mcp/constants.js +2 -2
- package/package.json +1 -1
package/dist/mcp/constants.js
CHANGED
|
@@ -203,7 +203,7 @@ export const DEFAULTS = {
|
|
|
203
203
|
maxResultsDisplayed: 30,
|
|
204
204
|
codeSnippetLength: 500, // Reduced from 1000 to control output size
|
|
205
205
|
chainSnippetLength: 700,
|
|
206
|
-
maxEmbeddingChars:
|
|
206
|
+
maxEmbeddingChars: 24000, // ~6000 tokens, safe margin for 8192 token limit on text-embedding-3-large
|
|
207
207
|
};
|
|
208
208
|
// Parsing Configuration
|
|
209
209
|
export const PARSING = {
|
|
@@ -302,5 +302,5 @@ export const CONFIG_FILE_PATTERNS = {
|
|
|
302
302
|
'**/yarn.lock',
|
|
303
303
|
'**/pnpm-lock.yaml',
|
|
304
304
|
],
|
|
305
|
-
maxFileSizeBytes:
|
|
305
|
+
maxFileSizeBytes: 64 * 1024, // 64 KB — skip large config files (grafana dashboards, generated JSON, etc.)
|
|
306
306
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-graph-context",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "MCP server that builds code graphs to provide rich context to LLMs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/andrew-hernandez-paragon/code-graph-context#readme",
|