Packages

Prompt Runner SDK - packet-first prompt execution for Elixir and CLI workflows with verifier-owned completion, retry, repair, and git-aware repository orchestration.

Current section

Files

Jump to
prompt_runner_sdk lib prompt_runner prompt.ex
Raw

lib/prompt_runner/prompt.ex

defmodule PromptRunner.Prompt do
@moduledoc """
Normalized prompt representation used across all PromptRunner sources.
"""
@type t :: %__MODULE__{
num: String.t(),
phase: integer(),
sp: integer(),
name: String.t(),
file: String.t() | nil,
body: String.t() | nil,
origin: map() | nil,
target_repos: [String.t()] | nil,
commit_message: String.t() | nil,
validation_commands: [String.t()],
metadata: map()
}
defstruct [
:num,
:phase,
:sp,
:name,
:file,
:body,
:origin,
:target_repos,
:commit_message,
validation_commands: [],
metadata: %{}
]
end