Chat tools: argument validation, replace, file snapshots, server-fetched images, show_run, show_diff head/paths, schedule_followup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 19:44:47 +00:00
parent c441400f36
commit d204ce3187
27 changed files with 1988 additions and 79 deletions
+5 -1
View File
@@ -187,7 +187,11 @@ func HandlerWithOptions(ctx context.Context, options Options, stores ...*pipelin
if len(stores) > 0 {
// The Pipelines chat tools' MCP endpoint, for harnesses on this machine.
hub.shown = stores[0]
registerChatTools(mux, newChatToolService(stores[0], stores[0], hub, registry), build.Version)
tools := newChatToolService(stores[0], stores[0], hub, registry)
tools.runs = stores[0]
tools.broker = options.Chat
events.observe(tools.observeRun)
registerChatTools(mux, tools, build.Version)
}
mux.HandleFunc("GET /discovery", serveServerDiscovery)
mux.HandleFunc("GET /files", serveHomeFile)