code-graph-context 3.0.2 → 3.0.3
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.
|
@@ -14,7 +14,7 @@ const DEFAULT_CONFIG = {
|
|
|
14
14
|
host: '127.0.0.1',
|
|
15
15
|
model: process.env.EMBEDDING_MODEL ?? 'codesage/codesage-base-v2',
|
|
16
16
|
startupTimeoutMs: 120_000, // 2 min — first run downloads the model
|
|
17
|
-
requestTimeoutMs:
|
|
17
|
+
requestTimeoutMs: parseInt(process.env.EMBEDDING_REQUEST_TIMEOUT_MS ?? '', 10) || 120_000,
|
|
18
18
|
idleTimeoutMs: 180_000, // 3 min — auto-shutdown after no requests
|
|
19
19
|
};
|
|
20
20
|
export class EmbeddingSidecar {
|
package/dist/mcp/constants.js
CHANGED
|
@@ -212,9 +212,9 @@ export const PARSING = {
|
|
|
212
212
|
/** File count threshold to trigger streaming import */
|
|
213
213
|
streamingThreshold: 100,
|
|
214
214
|
/** Default number of files per chunk */
|
|
215
|
-
defaultChunkSize:
|
|
216
|
-
/** Worker timeout in milliseconds (
|
|
217
|
-
workerTimeoutMs:
|
|
215
|
+
defaultChunkSize: 50,
|
|
216
|
+
/** Worker timeout in milliseconds (60 minutes) */
|
|
217
|
+
workerTimeoutMs: 60 * 60 * 1000,
|
|
218
218
|
};
|
|
219
219
|
// Job Management
|
|
220
220
|
export const JOBS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-graph-context",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
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",
|