refactor: return complete tool results inline

This commit is contained in:
morluto
2026-09-29 07:08:46 +08:00
parent 2160d4fae5
commit 0d96275b68
535 changed files with 4084 additions and 13537 deletions
@@ -82,7 +82,10 @@ describe("analysis error projection contract", () => {
"invalid_request",
"bridge_exception",
] as const
).map((diagnostic) => new HopperRemoteError(9, "safe", diagnostic)),
).map(
(diagnostic) =>
new HopperRemoteError(9, "safe", { diagnosticType: diagnostic }),
),
];
expect(variants).toHaveLength(39);