Serve the Pipelines chat tools over a loopback MCP endpoint and register it with Claude Code, Codex and OpenCode chats
This commit is contained in:
@@ -70,6 +70,12 @@ func main() {
|
||||
} else if seeded > 0 {
|
||||
log.Printf("added %d example pipelines to the new database", seeded)
|
||||
}
|
||||
// Every chat harness Pipelines launches registers the Pipelines tools (show
|
||||
// a file, an image or an HTML view in the chat, notify the phone) as an MCP
|
||||
// server on this listener's loopback address (internal/chattools).
|
||||
if err := server.ConfigureChatTools(store, *addr); err != nil {
|
||||
log.Printf("chat tools unavailable: %v", err)
|
||||
}
|
||||
artifactsRoot := filepath.Join(filepath.Dir(*db), "artifacts")
|
||||
// Each new run gets a bounded one-line title from the configured default
|
||||
// harness; the summariser falls back to the prompt's first line, so title
|
||||
|
||||
Reference in New Issue
Block a user