feat: powershell

This commit is contained in:
Gab
2026-04-09 22:23:04 +10:00
parent c5af4f99e1
commit fbe07343c8
10 changed files with 505 additions and 223 deletions

View File

@@ -35,6 +35,9 @@ export const ReadTool = Tool.define("read", {
if (!path.isAbsolute(filepath)) {
filepath = path.resolve(Instance.directory, filepath)
}
if (process.platform === "win32") {
filepath = Filesystem.normalizePath(filepath)
}
const title = path.relative(Instance.worktree, filepath)
const stat = Filesystem.stat(filepath)