From 80597cd3fdf149cef87db55f03a3cc0bfd723a7a Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 May 2025 11:58:40 -0400 Subject: type error fix --- js/example/cli.ts | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 js/example/cli.ts (limited to 'js/example/cli.ts') diff --git a/js/example/cli.ts b/js/example/cli.ts deleted file mode 100644 index 9c9e07edd..000000000 --- a/js/example/cli.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { App } from "../src/app"; -import path from "path"; -import { edit } from "../src/tool"; -import { FileTimes } from "../src/tool/util/file-times"; - -await App.provide({ directory: process.cwd() }, async () => { - const file = path.join(process.cwd(), "example/broken.ts"); - FileTimes.read(file); - const tool = await edit.execute( - { - file_path: file, - old_string: "x:", - new_string: "x:", - }, - { - toolCallId: "test", - messages: [], - }, - ); - console.log(tool.output); -}); -- cgit v1.2.3