MCPcopy Create free account
hub / github.com/compozy/agh / WithSessionCatalog

Function WithSessionCatalog

internal/api/httpapi/server.go:174–178  ·  view source on GitHub ↗

WithSessionCatalog injects the daemon-owned session catalog.

(catalog core.SessionCatalog)

Source from the content-addressed store, hash-verified

172
173// WithSessionCatalog injects the daemon-owned session catalog.
174func WithSessionCatalog(catalog core.SessionCatalog) Option {
175 return func(server *Server) {
176 server.sessionCatalog = catalog
177 }
178}
179
180// WithTaskService injects the daemon-owned task service.
181func WithTaskService(service core.TaskService) Option {

Callers 2

httpServerOptionsFunction · 0.92

Calls

no outgoing calls

Tested by 1