autoremediator 0.18.0 → 0.20.0
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/README.md +20 -28
- package/dist/api/change-request/index.d.ts.map +1 -1
- package/dist/api/context.d.ts.map +1 -1
- package/dist/api/options-schema.d.ts +3 -0
- package/dist/api/options-schema.d.ts.map +1 -1
- package/dist/api/patches/reconcile.d.ts.map +1 -1
- package/dist/api/scan-execution.d.ts.map +1 -1
- package/dist/api/vex/index.d.ts +6 -2
- package/dist/api/vex/index.d.ts.map +1 -1
- package/dist/{chunk-FXOUJDQ3.js → chunk-ZGLGT4XQ.js} +3213 -774
- package/dist/cli/program.d.ts.map +1 -1
- package/dist/cli/runners.d.ts.map +1 -1
- package/dist/cli/triage.d.ts +9 -1
- package/dist/cli/triage.d.ts.map +1 -1
- package/dist/cli/types.d.ts +3 -0
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/cli.js +82 -31
- package/dist/index.js +2956 -639
- package/dist/index.js.map +1 -1
- package/dist/intelligence/snapshot.d.ts +2 -0
- package/dist/intelligence/snapshot.d.ts.map +1 -0
- package/dist/intelligence/sources/github-advisory.d.ts.map +1 -1
- package/dist/intelligence/sources/registry.d.ts +1 -0
- package/dist/intelligence/sources/registry.d.ts.map +1 -1
- package/dist/intelligence/sources/snapshot.d.ts +1 -1
- package/dist/intelligence/sources/snapshot.d.ts.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/openapi/handlers/routes.d.ts.map +1 -1
- package/dist/openapi/handlers/validators.d.ts.map +1 -1
- package/dist/openapi/http-utils.d.ts.map +1 -1
- package/dist/openapi/server.js +20 -7
- package/dist/platform/evidence.d.ts +2 -0
- package/dist/platform/evidence.d.ts.map +1 -1
- package/dist/platform/jobs.d.ts +39 -1
- package/dist/platform/jobs.d.ts.map +1 -1
- package/dist/platform/package-manager/index.d.ts.map +1 -1
- package/dist/platform/policy.d.ts +10 -0
- package/dist/platform/policy.d.ts.map +1 -1
- package/dist/platform/rollback.d.ts +11 -0
- package/dist/platform/rollback.d.ts.map +1 -1
- package/dist/platform/supply-chain.d.ts.map +1 -1
- package/dist/platform/types.d.ts +37 -3
- package/dist/platform/types.d.ts.map +1 -1
- package/dist/remediation/local/disposition.d.ts +5 -2
- package/dist/remediation/local/disposition.d.ts.map +1 -1
- package/dist/remediation/local/fallback.d.ts +2 -0
- package/dist/remediation/local/fallback.d.ts.map +1 -1
- package/dist/remediation/local/options.d.ts +3 -0
- package/dist/remediation/local/options.d.ts.map +1 -1
- package/dist/remediation/local/primary-strategy.d.ts +6 -11
- package/dist/remediation/local/primary-strategy.d.ts.map +1 -1
- package/dist/remediation/local/run.d.ts.map +1 -1
- package/dist/remediation/pipeline-runtime/tool-wrappers.d.ts.map +1 -1
- package/dist/remediation/proof-of-fix/runner.d.ts +68 -0
- package/dist/remediation/proof-of-fix/runner.d.ts.map +1 -0
- package/dist/remediation/refactor/call-site-finder.d.ts +36 -0
- package/dist/remediation/refactor/call-site-finder.d.ts.map +1 -0
- package/dist/remediation/refactor/refactor-agent.d.ts +52 -0
- package/dist/remediation/refactor/refactor-agent.d.ts.map +1 -0
- package/dist/remediation/tools/apply-package-override/index.d.ts +4 -0
- package/dist/remediation/tools/apply-package-override/index.d.ts.map +1 -1
- package/dist/remediation/tools/apply-patch-file/index.d.ts +5 -1
- package/dist/remediation/tools/apply-patch-file/index.d.ts.map +1 -1
- package/dist/remediation/tools/apply-version-bump.d.ts +5 -0
- package/dist/remediation/tools/apply-version-bump.d.ts.map +1 -1
- package/dist/remediation/tools/check-inventory.d.ts +1 -0
- package/dist/remediation/tools/check-inventory.d.ts.map +1 -1
- package/dist/remediation/tools/check-reachability.d.ts.map +1 -1
- package/dist/remediation/tools/fetch-package-source.d.ts.map +1 -1
- package/dist/remediation/tools/find-fixed-version.d.ts.map +1 -1
- package/dist/remediation/tools/generate-patch/helpers.d.ts +3 -3
- package/dist/remediation/tools/generate-patch/helpers.d.ts.map +1 -1
- package/dist/scanner/adapters/yarn-audit.d.ts.map +1 -1
- package/dist/scanner/lockfile-diff.d.ts.map +1 -1
- package/package.json +13 -11
- package/dist/api/change-request/index.test.d.ts +0 -2
- package/dist/api/change-request/index.test.d.ts.map +0 -1
- package/dist/api/delta-scan/delta-scan.test.d.ts +0 -2
- package/dist/api/delta-scan/delta-scan.test.d.ts.map +0 -1
- package/dist/api/evaluate/evaluate.test.d.ts +0 -2
- package/dist/api/evaluate/evaluate.test.d.ts.map +0 -1
- package/dist/api/index.test.d.ts +0 -2
- package/dist/api/index.test.d.ts.map +0 -1
- package/dist/api/jobs/index.test.d.ts +0 -2
- package/dist/api/jobs/index.test.d.ts.map +0 -1
- package/dist/api/patches/reconcile.test.d.ts +0 -2
- package/dist/api/patches/reconcile.test.d.ts.map +0 -1
- package/dist/api/patches.test.d.ts +0 -2
- package/dist/api/patches.test.d.ts.map +0 -1
- package/dist/api/portfolio/portfolio.test.d.ts +0 -2
- package/dist/api/portfolio/portfolio.test.d.ts.map +0 -1
- package/dist/api/portfolio/risk-score.test.d.ts +0 -2
- package/dist/api/portfolio/risk-score.test.d.ts.map +0 -1
- package/dist/api/reachability/reachability.test.d.ts +0 -2
- package/dist/api/reachability/reachability.test.d.ts.map +0 -1
- package/dist/api/update-outdated/index.test.d.ts +0 -2
- package/dist/api/update-outdated/index.test.d.ts.map +0 -1
- package/dist/api/vex/index.test.d.ts +0 -2
- package/dist/api/vex/index.test.d.ts.map +0 -1
- package/dist/cli/index.test.d.ts +0 -2
- package/dist/cli/index.test.d.ts.map +0 -1
- package/dist/intelligence/sources/certcc.test.d.ts +0 -2
- package/dist/intelligence/sources/certcc.test.d.ts.map +0 -1
- package/dist/intelligence/sources/cisa-kev.test.d.ts +0 -2
- package/dist/intelligence/sources/cisa-kev.test.d.ts.map +0 -1
- package/dist/intelligence/sources/cve-services.test.d.ts +0 -2
- package/dist/intelligence/sources/cve-services.test.d.ts.map +0 -1
- package/dist/intelligence/sources/deps-dev.test.d.ts +0 -2
- package/dist/intelligence/sources/deps-dev.test.d.ts.map +0 -1
- package/dist/intelligence/sources/epss.test.d.ts +0 -2
- package/dist/intelligence/sources/epss.test.d.ts.map +0 -1
- package/dist/intelligence/sources/external-feeds.test.d.ts +0 -2
- package/dist/intelligence/sources/external-feeds.test.d.ts.map +0 -1
- package/dist/intelligence/sources/gitlab-advisory.test.d.ts +0 -2
- package/dist/intelligence/sources/gitlab-advisory.test.d.ts.map +0 -1
- package/dist/intelligence/sources/nvd.test.d.ts +0 -2
- package/dist/intelligence/sources/nvd.test.d.ts.map +0 -1
- package/dist/intelligence/sources/ossf-scorecard.test.d.ts +0 -2
- package/dist/intelligence/sources/ossf-scorecard.test.d.ts.map +0 -1
- package/dist/intelligence/sources/osv.test.d.ts +0 -2
- package/dist/intelligence/sources/osv.test.d.ts.map +0 -1
- package/dist/intelligence/sources/registry.test.d.ts +0 -2
- package/dist/intelligence/sources/registry.test.d.ts.map +0 -1
- package/dist/intelligence/sources/snapshot.test.d.ts +0 -2
- package/dist/intelligence/sources/snapshot.test.d.ts.map +0 -1
- package/dist/mcp/server.test.d.ts +0 -2
- package/dist/mcp/server.test.d.ts.map +0 -1
- package/dist/openapi/server.test.d.ts +0 -2
- package/dist/openapi/server.test.d.ts.map +0 -1
- package/dist/platform/architecture-guardrails.test.d.ts +0 -2
- package/dist/platform/architecture-guardrails.test.d.ts.map +0 -1
- package/dist/platform/audit-logger.test.d.ts +0 -2
- package/dist/platform/audit-logger.test.d.ts.map +0 -1
- package/dist/platform/escalation.test.d.ts +0 -2
- package/dist/platform/escalation.test.d.ts.map +0 -1
- package/dist/platform/evidence.test.d.ts +0 -2
- package/dist/platform/evidence.test.d.ts.map +0 -1
- package/dist/platform/package-manager/index.test.d.ts +0 -2
- package/dist/platform/package-manager/index.test.d.ts.map +0 -1
- package/dist/platform/package-manager/list-parser.test.d.ts +0 -2
- package/dist/platform/package-manager/list-parser.test.d.ts.map +0 -1
- package/dist/platform/package-manager.test.d.ts +0 -2
- package/dist/platform/package-manager.test.d.ts.map +0 -1
- package/dist/platform/policy.test.d.ts +0 -2
- package/dist/platform/policy.test.d.ts.map +0 -1
- package/dist/platform/repo-lock.test.d.ts +0 -2
- package/dist/platform/repo-lock.test.d.ts.map +0 -1
- package/dist/platform/rollback.test.d.ts +0 -2
- package/dist/platform/rollback.test.d.ts.map +0 -1
- package/dist/platform/safe-exec.test.d.ts +0 -2
- package/dist/platform/safe-exec.test.d.ts.map +0 -1
- package/dist/platform/sla.test.d.ts +0 -2
- package/dist/platform/sla.test.d.ts.map +0 -1
- package/dist/platform/supply-chain.test.d.ts +0 -2
- package/dist/platform/supply-chain.test.d.ts.map +0 -1
- package/dist/platform/workspace.test.d.ts +0 -2
- package/dist/platform/workspace.test.d.ts.map +0 -1
- package/dist/remediation/local/consensus-gate.test.d.ts +0 -2
- package/dist/remediation/local/consensus-gate.test.d.ts.map +0 -1
- package/dist/remediation/local/disposition.test.d.ts +0 -2
- package/dist/remediation/local/disposition.test.d.ts.map +0 -1
- package/dist/remediation/local/run.secops.test.d.ts +0 -2
- package/dist/remediation/local/run.secops.test.d.ts.map +0 -1
- package/dist/remediation/local/sbom.test.d.ts +0 -2
- package/dist/remediation/local/sbom.test.d.ts.map +0 -1
- package/dist/remediation/local/vulnerability-match.test.d.ts +0 -2
- package/dist/remediation/local/vulnerability-match.test.d.ts.map +0 -1
- package/dist/remediation/pipeline.test.d.ts +0 -2
- package/dist/remediation/pipeline.test.d.ts.map +0 -1
- package/dist/remediation/tools/apply-package-override.test.d.ts +0 -2
- package/dist/remediation/tools/apply-package-override.test.d.ts.map +0 -1
- package/dist/remediation/tools/apply-patch-file.test.d.ts +0 -2
- package/dist/remediation/tools/apply-patch-file.test.d.ts.map +0 -1
- package/dist/remediation/tools/apply-version-bump.test.d.ts +0 -2
- package/dist/remediation/tools/apply-version-bump.test.d.ts.map +0 -1
- package/dist/remediation/tools/check-exploit-signal.test.d.ts +0 -2
- package/dist/remediation/tools/check-exploit-signal.test.d.ts.map +0 -1
- package/dist/remediation/tools/check-reachability.test.d.ts +0 -2
- package/dist/remediation/tools/check-reachability.test.d.ts.map +0 -1
- package/dist/remediation/tools/check-suppression.test.d.ts +0 -2
- package/dist/remediation/tools/check-suppression.test.d.ts.map +0 -1
- package/dist/remediation/tools/generate-patch/helpers.test.d.ts +0 -2
- package/dist/remediation/tools/generate-patch/helpers.test.d.ts.map +0 -1
- package/dist/remediation/tools/lookup-cve.test.d.ts +0 -2
- package/dist/remediation/tools/lookup-cve.test.d.ts.map +0 -1
- package/dist/scanner/adapters/npm-audit.test.d.ts +0 -2
- package/dist/scanner/adapters/npm-audit.test.d.ts.map +0 -1
- package/dist/scanner/adapters/sarif.test.d.ts +0 -2
- package/dist/scanner/adapters/sarif.test.d.ts.map +0 -1
- package/dist/scanner/adapters/yarn-audit.test.d.ts +0 -2
- package/dist/scanner/adapters/yarn-audit.test.d.ts.map +0 -1
- package/dist/scanner/lockfile-diff.test.d.ts +0 -2
- package/dist/scanner/lockfile-diff.test.d.ts.map +0 -1
- package/dist/scanner/parse-input.test.d.ts +0 -2
- package/dist/scanner/parse-input.test.d.ts.map +0 -1
|
@@ -26,6 +26,9 @@ export interface LocalRunOptions {
|
|
|
26
26
|
escalationGraph?: EscalationGraph;
|
|
27
27
|
offlineIntelligence: boolean;
|
|
28
28
|
intelligenceSnapshotPath?: string;
|
|
29
|
+
proofOfFix?: boolean | string;
|
|
30
|
+
requireProofOfFix?: boolean;
|
|
31
|
+
breakingChangeRefactor?: boolean;
|
|
29
32
|
}
|
|
30
33
|
export declare function resolveLocalRunOptions(options: RemediateOptions): LocalRunOptions;
|
|
31
34
|
//# sourceMappingURL=options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/remediation/local/options.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,2BAA2B,EAC3B,cAAc,EACd,yBAAyB,EACzB,gBAAgB,EAChB,S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Manager, PatchResult,
|
|
1
|
+
import type { PackageManager, PatchResult, RemediationConstraints, VulnerablePackage } from "../../platform/types.js";
|
|
2
2
|
export declare function resolvePrimaryResult(params: {
|
|
3
3
|
vulnerable: VulnerablePackage;
|
|
4
4
|
cwd: string;
|
|
@@ -6,16 +6,11 @@ export declare function resolvePrimaryResult(params: {
|
|
|
6
6
|
dryRun: boolean;
|
|
7
7
|
policy: string;
|
|
8
8
|
runTests: boolean;
|
|
9
|
-
constraints:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
enforceFrozenLockfile?: boolean;
|
|
15
|
-
workspace?: string;
|
|
16
|
-
typecheck?: boolean;
|
|
17
|
-
supplyChainPolicy?: SupplyChainPolicy;
|
|
18
|
-
};
|
|
9
|
+
constraints: RemediationConstraints;
|
|
10
|
+
proofOfFix?: boolean | string;
|
|
11
|
+
requireProofOfFix?: boolean;
|
|
12
|
+
reproductionTest?: string;
|
|
13
|
+
patchesDir?: string;
|
|
19
14
|
}): Promise<{
|
|
20
15
|
result: PatchResult;
|
|
21
16
|
steps: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primary-strategy.d.ts","sourceRoot":"","sources":["../../../src/remediation/local/primary-strategy.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"primary-strategy.d.ts","sourceRoot":"","sources":["../../../src/remediation/local/primary-strategy.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AAEjC,wBAAsB,oBAAoB,CAAC,MAAM,EAAE;IACjD,UAAU,EAAE,iBAAiB,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,cAAc,CAAC;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,sBAAsB,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CA0NlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/remediation/local/run.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAKV,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/remediation/local/run.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAKV,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAejC,wBAAsB,2BAA2B,CAC/C,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,gBAAqB,GAC7B,OAAO,CAAC,iBAAiB,CAAC,CAuR5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-wrappers.d.ts","sourceRoot":"","sources":["../../../src/remediation/pipeline-runtime/tool-wrappers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool-wrappers.d.ts","sourceRoot":"","sources":["../../../src/remediation/pipeline-runtime/tool-wrappers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAYhE,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,gBAAgB,qCA2IjE"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { ProofOfFixPhaseResult, ProofOfFixVerification } from "../../platform/types.js";
|
|
2
|
+
export interface RunProofOfFixPhaseOptions {
|
|
3
|
+
stage: "negative" | "positive";
|
|
4
|
+
testFilePath: string;
|
|
5
|
+
cwd: string;
|
|
6
|
+
timeoutMs?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface HarnessFailureContext {
|
|
9
|
+
exitCode?: number;
|
|
10
|
+
output: string;
|
|
11
|
+
errorMsg?: string;
|
|
12
|
+
testFilePath?: string;
|
|
13
|
+
signal?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Sanitizes file paths and directory names from diagnostic text
|
|
17
|
+
* to prevent repository paths from colliding with error classification tokens.
|
|
18
|
+
*/
|
|
19
|
+
export declare function sanitizePathLeakage(text: string, paths?: (string | undefined)[]): string;
|
|
20
|
+
/**
|
|
21
|
+
* Strips V8 / Node.js call site stack frames (` at ...`) from diagnostic text
|
|
22
|
+
* so that directory names and file paths in stack traces never leak into token matching.
|
|
23
|
+
*/
|
|
24
|
+
export declare function stripStackTraceFrames(text: string): string;
|
|
25
|
+
/**
|
|
26
|
+
* Determines whether a process failure was caused by harness / execution defects
|
|
27
|
+
* (syntax error, missing module, missing file, bad CLI flag, fatal signal, or runtime crash)
|
|
28
|
+
* rather than a genuine exploit assertion failure.
|
|
29
|
+
*/
|
|
30
|
+
export declare function isHarnessFailure(context: HarnessFailureContext): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Validates whether output indicates a genuine exploit assertion failure.
|
|
33
|
+
*
|
|
34
|
+
* Requirements:
|
|
35
|
+
* 1. Process must exit with code 1.
|
|
36
|
+
* 2. Unhandled runtime crashes (TypeError, ReferenceError, RangeError, URIError, EvalError, SyntaxError)
|
|
37
|
+
* veto assertion qualification even if preceded by stdout debug logs or keywords.
|
|
38
|
+
* 3. Stack frames (` at ...`) are stripped so directory paths never collide with assertion tokens.
|
|
39
|
+
* 4. Assertion matching requires structured line-anchored headers (e.g. `AssertionError:`, `AssertionError [ERR_ASSERTION]:`),
|
|
40
|
+
* error codes (`ERR_ASSERTION`), or explicit exploit reproduction token (`EXPLOIT_REPRODUCED`).
|
|
41
|
+
*/
|
|
42
|
+
export declare function isAssertionFailure(output: string, exitCode?: number): boolean;
|
|
43
|
+
export interface PrepareReproductionTestParams {
|
|
44
|
+
cwd: string;
|
|
45
|
+
packageName: string;
|
|
46
|
+
vulnerableVersion: string;
|
|
47
|
+
patchesDir?: string;
|
|
48
|
+
proofOfFix?: boolean | string;
|
|
49
|
+
reproductionTest?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface PreparedReproductionTest {
|
|
52
|
+
testFilePath?: string;
|
|
53
|
+
isCreated: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Prepares reproduction test artifact on disk if provided as script string,
|
|
57
|
+
* or verifies existence of path if provided as file reference.
|
|
58
|
+
*/
|
|
59
|
+
export declare function prepareReproductionTestFile(params: PrepareReproductionTestParams): Promise<PreparedReproductionTest>;
|
|
60
|
+
export declare function runProofOfFixPhase(options: RunProofOfFixPhaseOptions): Promise<ProofOfFixPhaseResult>;
|
|
61
|
+
export interface AssembleProofOfFixParams {
|
|
62
|
+
reproductionTestPath?: string;
|
|
63
|
+
negativePhase: ProofOfFixPhaseResult;
|
|
64
|
+
positivePhase: ProofOfFixPhaseResult;
|
|
65
|
+
regressionPhase?: ProofOfFixPhaseResult;
|
|
66
|
+
}
|
|
67
|
+
export declare function assembleProofOfFixVerification(params: AssembleProofOfFixParams): ProofOfFixVerification;
|
|
68
|
+
//# sourceMappingURL=runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../../../src/remediation/proof-of-fix/runner.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,qBAAqB,EAErB,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,UAAU,GAAG,UAAU,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,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oB,CAAC,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,qBAAqB,CAAC;IACrC,aAAa,EAAE,qBAAqB,CAAC;IACrC,eAAe,CAAC,EAAE,qBAAqB,CAAC;CACzC;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,wBAAwB,GAC/B,sBAAsB,CAkCxB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type ImportKind = "default" | "namespace" | "named" | "require-default" | "require-destructured";
|
|
2
|
+
export interface ImportReference {
|
|
3
|
+
localName: string;
|
|
4
|
+
importedName: string;
|
|
5
|
+
isDefault: boolean;
|
|
6
|
+
isNamespace: boolean;
|
|
7
|
+
kind?: ImportKind;
|
|
8
|
+
start?: number;
|
|
9
|
+
end?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface AstCallSite {
|
|
12
|
+
start: number;
|
|
13
|
+
end: number;
|
|
14
|
+
line: number;
|
|
15
|
+
column: number;
|
|
16
|
+
calleeText: string;
|
|
17
|
+
expressionType: "call" | "property-access";
|
|
18
|
+
localSymbol: string;
|
|
19
|
+
memberName?: string;
|
|
20
|
+
argumentCount: number;
|
|
21
|
+
argumentSpans: Array<{
|
|
22
|
+
start: number;
|
|
23
|
+
end: number;
|
|
24
|
+
text: string;
|
|
25
|
+
}>;
|
|
26
|
+
}
|
|
27
|
+
export interface ConsumerCallSite {
|
|
28
|
+
filePath: string;
|
|
29
|
+
sourceContent: string;
|
|
30
|
+
importSources: string[];
|
|
31
|
+
imports: ImportReference[];
|
|
32
|
+
referencedLines: number[];
|
|
33
|
+
callSites?: AstCallSite[];
|
|
34
|
+
}
|
|
35
|
+
export declare function findPackageCallSites(cwd: string, packageName: string): ConsumerCallSite[];
|
|
36
|
+
//# sourceMappingURL=call-site-finder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-site-finder.d.ts","sourceRoot":"","sources":["../../../src/remediation/refactor/call-site-finder.ts"],"names":[],"mappings":"AAuBA,MAA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interface ArgumentTransformOptions {
|
|
3
|
+
callee: string;
|
|
4
|
+
dropIndex?: number;
|
|
5
|
+
reorder?: [number, number];
|
|
6
|
+
}
|
|
7
|
+
export interface RefactorParams {
|
|
8
|
+
cwd: string;
|
|
9
|
+
packageName: string;
|
|
10
|
+
fromVersion: string;
|
|
11
|
+
toVersion: string;
|
|
12
|
+
diagnosticError: string;
|
|
13
|
+
callSites: ConsumerCallSite[];
|
|
14
|
+
argumentTransforms?: ArgumentTransformOptions;
|
|
15
|
+
}
|
|
16
|
+
export interface RefactorExecutionResult {
|
|
17
|
+
applied: boolean;
|
|
18
|
+
refactoredFiles: string[];
|
|
19
|
+
snapshots: Record<string, string>;
|
|
20
|
+
error?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ParsedTsDiagnostic {
|
|
23
|
+
filePath?: string;
|
|
24
|
+
line?: number;
|
|
25
|
+
column?: number;
|
|
26
|
+
code?: string;
|
|
27
|
+
message: string;
|
|
28
|
+
suggestedSymbol?: string;
|
|
29
|
+
missingMember?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Parses compiler/typecheck diagnostic output into structured errors.
|
|
33
|
+
*/
|
|
34
|
+
export declare function parseCompilerDiagnostics(diagnosticError: string): ParsedTsDiagnostic[];
|
|
35
|
+
/**
|
|
36
|
+
* Restores original file contents from snapshot in case of failure.
|
|
37
|
+
*/
|
|
38
|
+
export declare function revertRefactorSnapshots(snapshots: Record<string, string>): void;
|
|
39
|
+
/**
|
|
40
|
+
* Transforms function call arguments via AST manipulation (dropping parameters, reordering arguments).
|
|
41
|
+
*/
|
|
42
|
+
export declare function transformCallArguments(content: string, options: {
|
|
43
|
+
callee: string;
|
|
44
|
+
dropIndex?: number;
|
|
45
|
+
reorder?: [number, number];
|
|
46
|
+
filePath?: string;
|
|
47
|
+
}): {
|
|
48
|
+
modified: boolean;
|
|
49
|
+
newContent: string;
|
|
50
|
+
};
|
|
51
|
+
export declare function refactorConsumerCallSites(params: RefactorParams): Promise<RefactorExecutionResult>;
|
|
52
|
+
//# sourceMappingURL=refactor-agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refactor-agent.d.ts","sourceRoot":"","sources":["../../../src/remediation/refactor/refactor-agent.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;CAC/C;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAmBD;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,eAAe,EAAE,MAAM,GAAG,kBAAkB,EAAE,CA2CtF;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAQ/E;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE;IACP,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GACA;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAsF3C;AAsWD,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,uBAAuB,CAAC,CA0DlC"}
|
|
@@ -24,5 +24,9 @@ export declare const applyPackageOverrideTool: import("../tool-compat.js").Execu
|
|
|
24
24
|
installPreferOffline: z.ZodOptional<z.ZodBoolean>;
|
|
25
25
|
enforceFrozenLockfile: z.ZodOptional<z.ZodBoolean>;
|
|
26
26
|
workspace: z.ZodOptional<z.ZodString>;
|
|
27
|
+
reproductionTest: z.ZodOptional<z.ZodString>;
|
|
28
|
+
proofOfFix: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
29
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
patchesDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27
31
|
}, z.core.$strip>, PatchResult>;
|
|
28
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/remediation/tools/apply-package-override/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/remediation/tools/apply-package-override/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EACV,WAAW,EAGZ,MAAM,4BAA4B,CAAC;AA6BpC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAohBnC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type { PatchArtifact, PatchMode, PatchValidationPhase } from "../../../platform/types.js";
|
|
2
|
+
import type { PatchArtifact, PatchMode, PatchValidationPhase, ProofOfFixVerification, UnresolvedReason } from "../../../platform/types.js";
|
|
3
3
|
import { type ValidationResult } from "./helpers.js";
|
|
4
4
|
interface ApplyPatchFileResult {
|
|
5
5
|
success: boolean;
|
|
@@ -16,6 +16,8 @@ interface ApplyPatchFileResult {
|
|
|
16
16
|
patchArtifact?: PatchArtifact;
|
|
17
17
|
validation?: ValidationResult;
|
|
18
18
|
validationPhases?: PatchValidationPhase[];
|
|
19
|
+
proofOfFix?: ProofOfFixVerification;
|
|
20
|
+
unresolvedReason?: UnresolvedReason;
|
|
19
21
|
error?: string;
|
|
20
22
|
}
|
|
21
23
|
export declare const applyPatchFileTool: import("../tool-compat.js").ExecutableTool<z.ZodObject<{
|
|
@@ -53,6 +55,8 @@ export declare const applyPatchFileTool: import("../tool-compat.js").ExecutableT
|
|
|
53
55
|
workspace: z.ZodOptional<z.ZodString>;
|
|
54
56
|
validateWithTests: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
55
57
|
reproductionTest: z.ZodOptional<z.ZodString>;
|
|
58
|
+
proofOfFix: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
59
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
56
60
|
dryRun: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
57
61
|
}, z.core.$strip>, ApplyPatchFileResult>;
|
|
58
62
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/remediation/tools/apply-patch-file/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/remediation/tools/apply-patch-file/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,OAAO,KAAK,EACV,aAAa,EACb,SAAS,EACT,oBAAoB,EAEpB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAaL,KAAK,gBAAgB,EACtB,MAAM,cAAc,CAAC;AAEtB,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC1C,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAulB7B,CAAC"}
|
|
@@ -24,5 +24,10 @@ export declare const applyVersionBumpTool: import("./tool-compat.js").Executable
|
|
|
24
24
|
installPreferOffline: z.ZodOptional<z.ZodBoolean>;
|
|
25
25
|
enforceFrozenLockfile: z.ZodOptional<z.ZodBoolean>;
|
|
26
26
|
workspace: z.ZodOptional<z.ZodString>;
|
|
27
|
+
breakingChangeRefactor: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
reproductionTest: z.ZodOptional<z.ZodString>;
|
|
29
|
+
proofOfFix: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
30
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
patchesDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27
32
|
}, z.core.$strip>, PatchResult>;
|
|
28
33
|
//# sourceMappingURL=apply-version-bump.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply-version-bump.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/apply-version-bump.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"apply-version-bump.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/apply-version-bump.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EACV,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AA+BjC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BA2c/B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { InventoryPackage } from "../../platform/types.js";
|
|
3
|
+
export declare function resolveInventoryVersion(rawVersion: string): string;
|
|
3
4
|
export declare const checkInventoryTool: import("./tool-compat.js").ExecutableTool<z.ZodObject<{
|
|
4
5
|
cwd: z.ZodString;
|
|
5
6
|
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-inventory.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/check-inventory.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"check-inventory.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/check-inventory.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAkBhE,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAqClE;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;cAoBL,gBAAgB,EAAE;YAAU,MAAM;EAuE1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-reachability.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/check-reachability.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAc5F,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAqB9E;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,mBAAmB,GAC3B,MAAM,GAAG,SAAS,CAmBpB;AAiED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC7C,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,mBAAmB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAM9D;AAED,wBAAgB,4BAA4B,CAC1C,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,GAAG,CAAC,MAAM,CAAC,GAClC;IAAE,gBAAgB,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAmBvD;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,mBAAmB,EAC9B,yBAAyB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GACtC,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"check-reachability.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/check-reachability.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAc5F,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAqB9E;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,mBAAmB,GAC3B,MAAM,GAAG,SAAS,CAmBpB;AAiED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC7C,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,mBAAmB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAM9D;AAED,wBAAgB,4BAA4B,CAC1C,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,GAAG,CAAC,MAAM,CAAC,GAClC;IAAE,gBAAgB,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAmBvD;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,mBAAmB,EAC9B,yBAAyB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GACtC,kBAAkB,EAAE,CAkItB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,mBAAmB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EACxC,YAAY,CAAC,EAAE,MAAM,GACpB;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CA6DzC;AAED,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,YAAY,CAAC,EAAE,MAAM,GACpB,sBAAsB,CAoIxB;AAED,eAAO,MAAM,qBAAqB;;;;0CAchC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-package-source.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/fetch-package-source.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,UAAU,wBAAwB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,sBAAsB;;;;
|
|
1
|
+
{"version":3,"file":"fetch-package-source.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/fetch-package-source.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,UAAU,wBAAwB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,sBAAsB;;;;4CA0IjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-fixed-version.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/find-fixed-version.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"find-fixed-version.d.ts","sourceRoot":"","sources":["../../../src/remediation/tools/find-fixed-version.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;kBAsBf,MAAM;mBACL,OAAO,GAAG,OAAO,GAAG,OAAO;gBAC9B,OAAO,CAAC,MAAM,CAAC,OAAO,GAAG,OAAO,GAAG,OAAO,EAAE,MAAM,CAAC,CAAC;iBACnD,OAAO;2BACG,OAAO;aACrB,MAAM;EAoCjB,CAAC"}
|
|
@@ -32,8 +32,8 @@ export declare function validatePatchedCodeSyntax(filePath: string, code: string
|
|
|
32
32
|
};
|
|
33
33
|
export declare function buildGeneratedPatches(sourceFiles: Record<string, string>, fixedCodeByFile: Record<string, string>): GeneratedPatch[];
|
|
34
34
|
/**
|
|
35
|
-
* Generate a unified diff between two strings.
|
|
36
|
-
* Returns
|
|
35
|
+
* Generate a standard Myers unified diff between two strings.
|
|
36
|
+
* Returns unified diff format or null if there are no differences.
|
|
37
37
|
*/
|
|
38
|
-
export declare function generateUnifiedDiff(original: string, fixed: string, filePath: string): string | null;
|
|
38
|
+
export declare function generateUnifiedDiff(original: string, fixed: string, filePath: string, context?: number): string | null;
|
|
39
39
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/remediation/tools/generate-patch/helpers.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,MAAM,GACX;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,WAAW,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAWpE;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO,CAOjE;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,QA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,EAAE,MAAM,CAAC,EACnC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACtC,cAAc,EAAE,CAqBlB;AAmGD;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,MAAU,GAClB,MAAM,GAAG,IAAI,CAmIf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yarn-audit.d.ts","sourceRoot":"","sources":["../../../src/scanner/adapters/yarn-audit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAaxD,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"yarn-audit.d.ts","sourceRoot":"","sources":["../../../src/scanner/adapters/yarn-audit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAaxD,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAuDjF;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAG5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lockfile-diff.d.ts","sourceRoot":"","sources":["../../src/scanner/lockfile-diff.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GACd,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CA+G1B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,UAAU,EAAE,MAAM,GAAG,IAAI,GACxB,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"lockfile-diff.d.ts","sourceRoot":"","sources":["../../src/scanner/lockfile-diff.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GACd,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CA+G1B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,UAAU,EAAE,MAAM,GAAG,IAAI,GACxB,qBAAqB,EAAE,CA8DzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoremediator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Agentic CVE remediation platform for Node.js. Correlates threat intelligence, applies policy-governed fixes, and delivers auditable remediation outcomes across CI/CD pipelines, agent workflows, and service portfolios.",
|
|
6
6
|
"keywords": [
|
|
@@ -84,25 +84,27 @@
|
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
|
-
"
|
|
87
|
+
"clean": "rm -rf dist",
|
|
88
|
+
"build": "tsup && tsc -p tsconfig.build.json",
|
|
88
89
|
"dev": "tsup --watch",
|
|
89
|
-
"typecheck": "tsc --noEmit",
|
|
90
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
|
|
90
91
|
"test": "vitest run",
|
|
91
|
-
"test:watch": "vitest"
|
|
92
|
+
"test:watch": "vitest",
|
|
93
|
+
"lint": "oxlint"
|
|
92
94
|
},
|
|
93
95
|
"dependencies": {
|
|
94
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
95
|
-
"ai": "^7.0.
|
|
96
|
+
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
97
|
+
"ai": "^7.0.137",
|
|
96
98
|
"commander": "^15.0.0",
|
|
97
|
-
"execa": "^10.0
|
|
98
|
-
"oxc-parser": "^0.
|
|
99
|
+
"execa": "^10.1.0",
|
|
100
|
+
"oxc-parser": "^0.153.0",
|
|
99
101
|
"semver": "^7.8.5",
|
|
100
102
|
"yaml": "catalog:",
|
|
101
|
-
"zod": "^4.
|
|
103
|
+
"zod": "^4.6.5"
|
|
102
104
|
},
|
|
103
105
|
"devDependencies": {
|
|
104
|
-
"@ai-sdk/anthropic": "^4.0.
|
|
105
|
-
"@ai-sdk/openai": "^4.0.
|
|
106
|
+
"@ai-sdk/anthropic": "^4.0.78",
|
|
107
|
+
"@ai-sdk/openai": "^4.0.91",
|
|
106
108
|
"@types/node": "catalog:",
|
|
107
109
|
"@types/semver": "catalog:",
|
|
108
110
|
"tsup": "catalog:",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../src/api/change-request/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delta-scan.test.d.ts","sourceRoot":"","sources":["../../../src/api/delta-scan/delta-scan.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"evaluate.test.d.ts","sourceRoot":"","sources":["../../../src/api/evaluate/evaluate.test.ts"],"names":[],"mappings":""}
|
package/dist/api/index.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/api/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../src/api/jobs/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reconcile.test.d.ts","sourceRoot":"","sources":["../../../src/api/patches/reconcile.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patches.test.d.ts","sourceRoot":"","sources":["../../src/api/patches.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"portfolio.test.d.ts","sourceRoot":"","sources":["../../../src/api/portfolio/portfolio.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"risk-score.test.d.ts","sourceRoot":"","sources":["../../../src/api/portfolio/risk-score.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reachability.test.d.ts","sourceRoot":"","sources":["../../../src/api/reachability/reachability.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../src/api/update-outdated/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../src/api/vex/index.test.ts"],"names":[],"mappings":""}
|
package/dist/cli/index.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/cli/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"certcc.test.d.ts","sourceRoot":"","sources":["../../../src/intelligence/sources/certcc.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cisa-kev.test.d.ts","sourceRoot":"","sources":["../../../src/intelligence/sources/cisa-kev.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cve-services.test.d.ts","sourceRoot":"","sources":["../../../src/intelligence/sources/cve-services.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deps-dev.test.d.ts","sourceRoot":"","sources":["../../../src/intelligence/sources/deps-dev.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"epss.test.d.ts","sourceRoot":"","sources":["../../../src/intelligence/sources/epss.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external-feeds.test.d.ts","sourceRoot":"","sources":["../../../src/intelligence/sources/external-feeds.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gitlab-advisory.test.d.ts","sourceRoot":"","sources":["../../../src/intelligence/sources/gitlab-advisory.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nvd.test.d.ts","sourceRoot":"","sources":["../../../src/intelligence/sources/nvd.test.ts"],"names":[],"mappings":""}
|