Pi.Plugin.Worker (pi_bridge v0.6.22)

Copy Markdown View Source

Isolated GenServer wrapper for one project-local pi_bridge plugin.

Summary

Types

t()

@type t() :: %Pi.Plugin.Worker{module: module(), state: term()}

Functions

apis(pid)

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

commands(pid)

dispatch_event(pid, event)

info(pid)

run_command(pid, name, args)

shutdown(pid)

start_link(module)

tool_call(pid, call, context)

tool_result(pid, result, context)