Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

fix(contracts): align byte read schema with provider

morlutof580d9d07382
diff --git a/src/contracts/hopperMemoryContracts.ts b/src/contracts/hopperMemoryContracts.ts
index 3eb032522..0488ea5ac 100644
--- a/src/contracts/hopperMemoryContracts.ts
+++ b/src/contracts/hopperMemoryContracts.ts
@@ -15,7 +15,7 @@ export const HOPPER_MEMORY_TOOL_DEFINITIONS = [
"Read at most 4,096 analyzed bytes from one provider-normalized virtual address. The hexadecimal payload reports the exact returned length; incomplete reads remain explicit and unsupported provider APIs return typed capability unavailability.",
inputSchema: z.object({
address,
- length: z.number().int().min(1).default(256),
+ length: z.number().int().min(1).max(4_096).default(256),
document,
}),
},