fix(mcp): preserve target provenance on retained partial errors
This commit is contained in:
@@ -90,6 +90,9 @@ it.each(["cancelled", "cleanup"])(
|
||||
arguments: input,
|
||||
});
|
||||
expect(response.isError).toBe(true);
|
||||
expect(response._meta).toEqual({
|
||||
provenance: { untrusted_content: true, source: "analysis_target" },
|
||||
});
|
||||
expect(parseMcpToolError(response)).toMatchObject({
|
||||
error: {
|
||||
details: {
|
||||
|
||||
Reference in New Issue
Block a user