PromptRunner.RunSpec (PromptRunnerSDK v0.6.1)

Copy Markdown View Source

Normalized description of a requested prompt run before planning.

Summary

Types

input_type()

@type input_type() :: :directory | :legacy_config | :prompt_list | :single_prompt

t()

@type t() :: %PromptRunner.RunSpec{
  input: term(),
  input_type: input_type(),
  interface: :api | :cli | :legacy,
  opts: keyword(),
  source: module()
}

Functions

build(input, opts \\ [])

@spec build(
  term(),
  keyword()
) :: {:ok, t()} | {:error, term()}