agent/pkg/brain/register.go
Virgil ce6f016d63 ax(brain): rename direct options for clarity
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:40:24 +00:00

16 lines
404 B
Go

// SPDX-License-Identifier: EUPL-1.2
package brain
import (
core "dappco.re/go/core"
)
// c := core.New(core.WithService(brain.Register))
// subsystem := c.Service("brain")
// core.Println(subsystem.OK) // true
func Register(c *core.Core) core.Result {
subsystem := NewDirect()
subsystem.ServiceRuntime = core.NewServiceRuntime(c, DirectOptions{})
return core.Result{Value: subsystem, OK: true}
}