Vibe.Remote.Session (vibe v0.2.2)

Copy Markdown View Source

Trusted remote session lifecycle commands over Erlang distribution.

Summary

Functions

active_count()

@spec active_count() :: non_neg_integer() | {:badrpc, term()} | {:error, term()}

list()

@spec list() :: {:ok, [map()]} | {:error, term()} | {:badrpc, term()}

lookup(session_id)

@spec lookup(String.t()) :: {:ok, pid()} | {:error, term()}

send_prompt(session_id, text)

@spec send_prompt(String.t(), String.t()) :: {:ok, map()} | {:error, term()}

start(opts)

@spec start(keyword()) :: {:ok, map()} | {:error, term()}