mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
A harness agent has no docker-agent model, so the TUI got no title generator for it and its sessions stayed untitled. The Claude Code driver now implements an optional harness.Completer: a one-shot `claude` call in print mode on the haiku model, with no tools, no MCP servers and no saved session, the prompt passed on stdin and the JSON result parsed. sessiontitle.Generator accepts such completers after its models, and LocalRuntime.TitleGenerator uses the driver's completer for a harness agent. Other harness types still get no title. Signed-off-by: Sayt-0 <louis.dal-moro-compta@epita.fr>