refactor: return complete tool results inline

This commit is contained in:
morluto committed 2026-09-29 07:08:46 +08:00
1 parent 2160d4fae5
commit 0d96275b68
535 files changed
+4084 -13537

No files matched your search

+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,