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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user