Definitively. Domain. NodeDefinition
(definitively v0.2.0)
Copy Markdown
Reusable node (CLI or LLM) referenced by active states.
Summary
Types
@type kind() :: :cli | :llm
@type predicate() :: map()
@type t() :: %Definitively.Domain.NodeDefinition{ command: [String.t()] | nil, cwd: String.t() | nil, id: atom(), kind: kind(), model: String.t() | nil, outcome: outcome_clause(), prompt_file: String.t() | nil, timeout_ms: pos_integer() | nil }
Functions
@spec kinds() :: [kind()]
Returns supported node kinds.
iex> Definitively.Domain.NodeDefinition.kinds()
[:cli, :llm]