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:
2026-11-09 16:34:21 +00:00
parent 3ab029cd7b
commit 9791f09230
33 changed files with 2308 additions and 7 deletions
+6
View File
@@ -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