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

Function httpServerOptions

internal/daemon/daemon.go:1049–1096  ·  view source on GitHub ↗
(deps *RuntimeDeps)

Source from the content-addressed store, hash-verified

1047}
1048
1049func httpServerOptions(deps *RuntimeDeps) []httpapi.Option {
1050 return []httpapi.Option{
1051 httpapi.WithHomePaths(deps.HomePaths),
1052 httpapi.WithConfig(&deps.Config),
1053 httpapi.WithLogger(deps.Logger),
1054 httpapi.WithStartedAt(deps.StartedAt),
1055 httpapi.WithSessionManager(deps.Sessions),
1056 httpapi.WithSessionCatalog(deps.Registry),
1057 httpapi.WithTaskService(deps.Tasks),
1058 httpapi.WithNetworkService(deps.Network),
1059 httpapi.WithNetworkStore(deps.Registry),
1060 httpapi.WithOnboardingStore(deps.Registry),
1061 httpapi.WithObserver(deps.Observer),
1062 httpapi.WithAutomation(deps.Automation),
1063 httpapi.WithBridgeService(deps.Bridges),
1064 httpapi.WithNotificationPresetService(notificationPresetServiceFromDeps(deps)),
1065 httpapi.WithBundleService(deps.Bundles),
1066 httpapi.WithToolRegistry(deps.ToolRegistry),
1067 httpapi.WithToolsetRegistry(deps.Toolsets),
1068 httpapi.WithToolApprovalIssuer(deps.ToolApprovals),
1069 httpapi.WithSettingsService(deps.Settings),
1070 httpapi.WithSettingsRestartController(deps.SettingsRestart),
1071 httpapi.WithSettingsUpdateController(deps.SettingsUpdate),
1072 httpapi.WithSupportBundleService(deps.SupportBundles),
1073 httpapi.WithVaultService(deps.Vault),
1074 httpapi.WithResourceService(deps.Resources),
1075 httpapi.WithWorkspaceResolver(deps.WorkspaceService),
1076 httpapi.WithAgentCatalog(deps.AgentCatalog),
1077 httpapi.WithModelCatalogService(deps.ModelCatalog),
1078 httpapi.WithAgentContext(deps.AgentContext),
1079 httpapi.WithCoordinatorConfig(deps.CoordinatorConfig),
1080 httpapi.WithSoulAuthoring(deps.SoulAuthoring),
1081 httpapi.WithSoulRefresher(deps.SoulRefresher),
1082 httpapi.WithHeartbeatAuthoring(deps.HeartbeatAuthor),
1083 httpapi.WithHeartbeatStatus(deps.HeartbeatStatus),
1084 httpapi.WithHeartbeatWake(deps.HeartbeatWake),
1085 httpapi.WithSessionHealthReader(deps.SessionHealth),
1086 httpapi.WithHeartbeatWakeEventReader(deps.WakeEvents),
1087 httpapi.WithSkillsRegistry(deps.SkillsRegistry),
1088 httpapi.WithSkillResourceSyncer(deps.SkillResources),
1089 httpapi.WithMemoryStore(deps.MemoryStore),
1090 httpapi.WithDreamTrigger(deps.DreamTrigger),
1091 httpapi.WithMemoryExtractorService(deps.MemoryExtractor),
1092 httpapi.WithMemoryProviderService(deps.MemoryProviders),
1093 httpapi.WithMemorySessionLedgerService(deps.MemorySessionLedger),
1094 httpapi.WithExtensionService(deps.Extensions),
1095 }
1096}
1097
1098func notificationPresetServiceFromDeps(deps *RuntimeDeps) core.NotificationPresetService {
1099 if deps == nil {

Callers 1

Calls 15

WithHomePathsFunction · 0.92
WithConfigFunction · 0.92
WithLoggerFunction · 0.92
WithStartedAtFunction · 0.92
WithSessionManagerFunction · 0.92
WithSessionCatalogFunction · 0.92
WithTaskServiceFunction · 0.92
WithNetworkServiceFunction · 0.92
WithNetworkStoreFunction · 0.92
WithOnboardingStoreFunction · 0.92
WithObserverFunction · 0.92
WithAutomationFunction · 0.92

Tested by

no test coverage detected