chore: generate

pull/10772/head^2
opencode-agent[bot] 2026-04-03 02:10:50 +00:00
parent 81d3ac3bf0
commit 8daeacc989
1 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,10 @@ describe("Tool.define", () => {
test("object-defined tool does not accumulate wrapper layers across init() calls", async () => {
let executeCalls = 0
const tool = Tool.define("test-tool", makeTool("test", () => executeCalls++))
const tool = Tool.define(
"test-tool",
makeTool("test", () => executeCalls++),
)
// Call init() many times to simulate many agentic steps
for (let i = 0; i < 100; i++) {