fix(snapshot): retain MCP workflow replay bindings
This commit is contained in:
@@ -349,6 +349,14 @@ const registerBinaryAnalysisTools = ({
|
||||
...analysisOptions,
|
||||
analysisProfile:
|
||||
session === undefined ? undefined : () => session.analysisProfile(),
|
||||
allowsSnapshotReplay:
|
||||
session === undefined
|
||||
? undefined
|
||||
: (operation) => session.allowsSnapshotReplay(operation),
|
||||
recordWorkflowSnapshot:
|
||||
session === undefined
|
||||
? undefined
|
||||
: (input) => session.recordWorkflowSnapshot(input),
|
||||
});
|
||||
const evidenceOptions = { logger, activeTarget, recordEvidence };
|
||||
registerNativeTools(server, analysis, evidenceOptions);
|
||||
|
||||
Reference in New Issue
Block a user