add initial git support

This commit is contained in:
Kujtim Hoxha
2025-04-12 18:45:36 +02:00
parent 0697dcc1d9
commit bd2ec29b65
19 changed files with 791 additions and 176 deletions

View File

@@ -22,7 +22,7 @@ type BashPermissionsParams struct {
Timeout int `json:"timeout"`
}
type BashToolResponseMetadata struct {
type BashResponseMetadata struct {
Took int64 `json:"took"`
}
type bashTool struct {
@@ -310,7 +310,7 @@ func (b *bashTool) Run(ctx context.Context, call ToolCall) (ToolResponse, error)
stdout += "\n" + errorMessage
}
metadata := BashToolResponseMetadata{
metadata := BashResponseMetadata{
Took: took,
}
if stdout == "" {