/** @file A Think agent, lent a mower, mows: model, generated code, sandbox, mower. */ import { getAgentByName } from "agents"; import { env } from "cloudflare:workers"; import { expect, test } from "vitest"; test("lent a mower, the neighbor mows", async ({ annotate }) => { const neighbor = await getAgentByName(env.Neighbor, "weekend"); const turn = await neighbor.runTurn({ input: "you can use this mower for the weekend" }); await annotate("the turn", { body: JSON.stringify(turn, null, 2), contentType: "application/json" }); const cells = await neighbor.cutCells(); expect(cells.length).toBeGreaterThan(10); });