loop: split title tool into title and precommit tools
title wants to be called early, as soon as the topic is clear.
precommit wants to be called late, just before first git commit.
Co-Authored-By: sketch <hello@sketch.dev>
diff --git a/termui/termui.go b/termui/termui.go
index 008b1d6..1ffe655 100644
--- a/termui/termui.go
+++ b/termui/termui.go
@@ -41,6 +41,7 @@
{{/* nothing to show here, the agent will write more in its next message */}}
{{else if eq .msg.ToolName "title" -}}
🏷️ {{.input.title}}
+{{else if eq .msg.ToolName "precommit" -}}
🌱 git branch: sketch/{{.input.branch_name}}
{{else if eq .msg.ToolName "str_replace_editor" -}}
✏️ {{.input.file_path -}}