tweak: make bash give agent more awareness of cwd, bump default timeout, drop max timeout (#5140)

This commit is contained in:
Aiden Cline 2025-12-06 21:55:07 -08:00 committed by GitHub
commit 75a4dcbce8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6251 additions and 42 deletions

View file

@ -13,7 +13,6 @@ const ctx = {
metadata: () => {},
}
const bash = await BashTool.init()
const projectRoot = path.join(__dirname, "../..")
describe("tool.bash", () => {
@ -21,6 +20,7 @@ describe("tool.bash", () => {
await Instance.provide({
directory: projectRoot,
fn: async () => {
const bash = await BashTool.init()
const result = await bash.execute(
{
command: "echo 'test'",