feat: cherry picks

This commit is contained in:
Gab
2026-04-09 22:59:51 +10:00
parent c8231976f3
commit f72686a74a
8 changed files with 39 additions and 52 deletions

View File

@@ -200,7 +200,7 @@ export const ReadTool = Tool.define("read", {
})
const preview = raw.slice(0, 20).join("\n")
let output = [`<path>${filepath}</path>`, `<type>file</type>`, "<content>"].join("\n")
let output = [`<path>${filepath}</path>`, `<type>file</type>`, "<content>" + "\n"].join("\n")
output += content.join("\n")
const totalLines = lines