| 27 | * unless the session is in bypass mode. |
| 28 | */ |
| 29 | export class GitCommitTool extends Tool<z.infer<typeof GitCommitArgs>> { |
| 30 | name = 'git_commit'; |
| 31 | description = 'Create a git commit. Optionally stage paths first. Refuses to commit when nothing is staged. Never pushes. Pre-commit hooks run normally. Destructive — creates a permanent commit object.'; |
| 32 | isReadOnly = false; |
nothing calls this directly
no outgoing calls
no test coverage detected