From 4198174c89963ca7614ae7705bb897814d11b4ee Mon Sep 17 00:00:00 2001 From: AdhereZ <85055734+AdhereZ@users.noreply.github.com> Date: Fri, 25 Sep 2026 19:55:35 +0800 Subject: [PATCH] fix: remove forced branching from bash guidance (#358) Co-authored-by: minimax --- packages/agent-tools/src/desktop/builtin-defs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/agent-tools/src/desktop/builtin-defs.ts b/packages/agent-tools/src/desktop/builtin-defs.ts index 24fb62a7..74b7f592 100644 --- a/packages/agent-tools/src/desktop/builtin-defs.ts +++ b/packages/agent-tools/src/desktop/builtin-defs.ts @@ -118,7 +118,7 @@ export const LocalBashToolDef = { '# Git', '- Interactive flags (`-i`, e.g. `git rebase -i`, `git add -i`) are not supported in this environment.', '- Use the `gh` CLI for GitHub operations (PRs, issues, API).', - '- Commit or push only when the user asks. If on the default branch, branch first.', + '- Commit or push only when the user asks.', ].join('\n'), schema: Type.Object({ command: Type.String({