Services are now registered during Core construction:
core.New(
core.WithService(agentic.Register),
core.WithService(monitor.Register),
core.WithService(brain.Register),
)
- Remove initServices() closure — services created once in conclave
- Commands use c.ServiceStartup()/c.ServiceShutdown() for lifecycle
- Service instances retrieved via c.Config() for MCP tool registration
- run/orchestrator reduced to ServiceStartup + block + ServiceShutdown
- run/task uses conclave's agentic instance
Co-Authored-By: Virgil <virgil@lethean.io>
|
||
|---|---|---|
| .. | ||
| brain.go | ||
| brain_test.go | ||
| bridge_test.go | ||
| direct.go | ||
| direct_test.go | ||
| messaging.go | ||
| messaging_test.go | ||
| provider.go | ||
| provider_test.go | ||
| register.go | ||
| tools.go | ||