test(mcp): align workflow assertions with current guidance

This commit is contained in:
morluto
2026-09-29 13:02:59 +08:00
parent f2dc749c86
commit f8bb113c22
4 changed files with 22 additions and 3 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ describe("target-free MCP workflow", () => {
const beforeTools = (await mcp.listTools()).tools;
const beforeNames = beforeTools.map(({ name }) => name);
expect(mcp.getInstructions()).toContain(
"For an archive or application package, call open_binary(path), then inspect_artifact",
"For an archive or application package, open_binary(path) binds the active target; use inspect_artifact when its graph and findings help",
);
expect(
beforeTools.find(({ name }) => name === "inspect_artifact")?.description,