Claude chats: pass the chat title as --name so terminal resume lists them by name

Spawns pass the session title with --name (Claude Code records it as the
transcript's custom-title). A rename tells the harness the new title for its
next spawn, and the first routing of a session after a restart hands it the
registry title.
This commit is contained in:
2026-11-03 12:31:31 +00:00
parent d34185b56c
commit a12a7b3d66
8 changed files with 279 additions and 27 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ func handleChat(ctx context.Context, request protocol.Message, broker chatBroker
handleChatColor(ctx, request, registry, hub.changes(), clientID, write)
return true
case protocol.ChatRename:
handleChatRename(ctx, request, registry, hub.changes(), clientID, write)
handleChatRename(ctx, request, broker, registry, hub.changes(), clientID, write)
return true
case protocol.ChatExport:
handleChatExport(ctx, request, broker, registry, write)