log-llm-config 1.3.52 → 1.3.54
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.
|
@@ -346,7 +346,8 @@ export function applyAutofixViolations(violations, agent = 'cursor') {
|
|
|
346
346
|
reportPromises: [],
|
|
347
347
|
};
|
|
348
348
|
const { remediations } = readRemediationInstructionsFile();
|
|
349
|
-
const
|
|
349
|
+
const scopedRemediations = remediations.filter((e) => targetsCurrentAgent(e, agent));
|
|
350
|
+
const byUuid = new Map(scopedRemediations.map((r) => [r.uuid, r]));
|
|
350
351
|
let fixed = 0;
|
|
351
352
|
const appliedViolations = [];
|
|
352
353
|
const seen = new Set();
|