@securecode-ai/mcp 0.5.0 → 0.5.1
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.
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* would produce different findings for the same file. All cached entries
|
|
16
16
|
* with an older version are invalidated.
|
|
17
17
|
*/
|
|
18
|
-
export declare const AGENT_SCAN_CACHE_VERSION =
|
|
18
|
+
export declare const AGENT_SCAN_CACHE_VERSION = 20;
|
|
19
19
|
export interface ScanCacheEntry {
|
|
20
20
|
/** SHA-256 of the file content at scan time. */
|
|
21
21
|
fileHash: string;
|
|
@@ -60,7 +60,7 @@ const CACHE_FILE = 'scan-cache.json';
|
|
|
60
60
|
* would produce different findings for the same file. All cached entries
|
|
61
61
|
* with an older version are invalidated.
|
|
62
62
|
*/
|
|
63
|
-
exports.AGENT_SCAN_CACHE_VERSION =
|
|
63
|
+
exports.AGENT_SCAN_CACHE_VERSION = 20;
|
|
64
64
|
/** Cache TTL: 7 days. Findings older than this are re-scanned. */
|
|
65
65
|
const CACHE_TTL_MS = 7 * 24 * 60 * 60 * 1000;
|
|
66
66
|
function cachePath(workspaceRoot) {
|
package/package.json
CHANGED