Migrate MultiEditTool from Tool.define to Tool.defineEffect pattern, resolving EditTool via Effect.gen + Tool.init in the outer generator and using Effect.promise + Effect.orDie in the execute body.
To install dependencies:
bun install
To run:
bun run index.ts
This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.
bun init