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
+2 -4
View File
@@ -74,10 +74,8 @@ export const methodBody = (
opcodeCounts[instruction.opcode] =
(opcodeCounts[instruction.opcode] ?? 0) + 1;
const anchors = decoded.parsed
.map((instruction, index) => ({ instruction, index }))
.filter(({ instruction }) => instruction.operandKind !== "none")
.slice(0, limits.instructionAnchorLimit)
.map(({ instruction }) => ({
.filter((instruction) => instruction.operandKind !== "none")
.map((instruction) => ({
il_offset: instruction.offset,
opcode: instruction.opcode,
operand_kind: instruction.operandKind,