Pixir.Delegate.DaemonCommand (pixir v0.1.6)

Copy Markdown View Source

CLI-facing command helpers for the manual Delegate daemon.

The foreground command has a slightly different lifecycle from normal Delegate commands: it must print startup evidence and then keep the BEAM runtime alive. To keep Pixir.CLI rendering disciplined, this module returns a payload map that may include an internal :after_render callback. The public return shape still follows the project contract: {:ok, term} | {:error, term}.

Summary

Functions

Start, inspect, or stop the workspace-local Delegate daemon.

Functions

run(action, opts)

@spec run(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, map()}

Start, inspect, or stop the workspace-local Delegate daemon.