rho's processes, for the host to start in its own tree (rho has no OTP application callback: a mob app starts its code by hand):
children = [
{Rho.Supervisor, tools: [MyApp.Tools.Search, Rho.Tools.Todo, Rho.Tools.ReadArtifact]}
]Starts, in order: Rho.Auth (sign-ins, token refresh), Rho.Auth.Login
(the OAuth browser flow), with Dyn the approval store
(Rho.Dyn.Approval.Biometric) and Rho.Dyn.Keeper, then
Rho.ToolRegistry, Rho.Usage's subscriber registry, the task
supervisor tools run under (Rho.TaskSup) and the loops' supervisor
(Rho.LoopSup, see Rho.start_loop/1).
Options:
:tools,:tool_sources:Rho.ToolRegistry's (default fromconfig :rho, elseRho.ToolRegistry.builtin_tools/0and none):auth,:login: start options ofRho.Auth/Rho.Auth.Login:llm_catalog: install rho's trimmed model catalog (Rho.LLMCatalog.install!/0) before anything looks a model up; defaulttrue:dyn: start the Dyn layer (Rho.Dyn):true, or the Keeper's options; defaultconfig :rho, :dyn, enabled: ...(off,Rho.Dyn.Config). With it the registry also offers thedyn_*tools (Rho.Dyn.Source.core_tools/0) and the current generation's (Rho.Dyn.Source). The host still callsRho.Dyn.boot/1in its boot, once this tree is up.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts rho's tree, registered as Rho.Supervisor, with the options in the moduledoc.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(keyword()) :: Supervisor.on_start()
Starts rho's tree, registered as Rho.Supervisor, with the options in the moduledoc.