Foundry. Studio
(foundry v0.1.3)
Copy Markdown
Launch helpers for the local Foundry Studio runtime.
This module owns the standalone runtime contract used by mix foundry.studio
and future packaged entrypoints.
Summary
Functions
@spec complete_reused_launch(map()) :: :ok
@spec configure_runtime(String.t()) :: :ok
@spec find_open_port(pos_integer()) :: {:ok, pos_integer()} | {:error, :no_open_port}
@spec healthy_port?(pos_integer()) :: boolean()
@spec open_browser(String.t()) :: :ok
@spec port_file_path() :: String.t()
@spec read_port_file() :: {:ok, pos_integer()} | {:error, term()}
@spec resolve_generic_server_port() :: {:ok, pos_integer()} | {:error, :no_open_port}
@spec url_for_port(pos_integer()) :: String.t()
@spec write_port_file(pos_integer()) :: :ok | {:error, term()}