AiValueSpec
Defined in: ai/fsm/registry.ts:149
A name that answers a question instead of doing something — the registration
shape for a pure leaf. AiActionSpec minus the parts a question has no
use for: no Status (nothing runs across frames) and no canonical-string
projection (a value is reached by a wire, never by a hand-typed arg).
Type Parameters
Section titled “Type Parameters”Ctx
Properties
Section titled “Properties”outputs
Section titled “outputs”outputs: readonly
AiOutputDef[]
Defined in: ai/fsm/registry.ts:153
Declared outputs. A value with none is a name nothing can read.
params?
Section titled “params?”
optionalparams?: readonlyAiParamDef[]
Defined in: ai/fsm/registry.ts:151
Declared inputs — the same vocabulary an action’s parameters use.
touches?
Section titled “touches?”
optionaltouches?:AiTouches
Defined in: ai/fsm/registry.ts:155
What it reads. Undeclared means unknown, not nothing.
Methods
Section titled “Methods”evaluate()
Section titled “evaluate()”evaluate(
ctx,bb,params,out):void
Defined in: ai/fsm/registry.ts:157
Fill out with the declared outputs. Must not change the world.
Parameters
Section titled “Parameters”Ctx
params
Section titled “params”Returns
Section titled “Returns”void