@usine/config/loop
Classes
Section titled “Classes”LoopFile
Section titled “LoopFile”A Loop parsed from loops/<name>.md; the filename defines its identity.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LoopFile(…
args):LoopFile
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyagent:string&Brand<"AgentName">
approval
Section titled “approval”
readonlyapproval:"required"|"none"
readonlybody:string&Brand<"PromptTemplate">
maxCycles
Section titled “maxCycles”
readonlymaxCycles:number&Brand<"CycleLimit">
readonlyname:string&Brand<"LoopName">
selector
Section titled “selector”
readonlyselector:Option<Selector>
readonlystep:string&Brand<"StepName">
trigger
Section titled “trigger”
readonlytrigger:IssueTrigger|PullRequestTrigger|ScheduleTrigger
QuarantinedLoop
Section titled “QuarantinedLoop”A Loop excluded from execution because its file could not be loaded or its references resolved.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new QuarantinedLoop(…
args):QuarantinedLoop
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyerror:ConfigFileError
readonlyfile:string&Brand<"InstancePath">
Type Aliases
Section titled “Type Aliases”PromptTemplate
Section titled “PromptTemplate”PromptTemplate = typeof
PromptTemplate.Type
The Loop’s Markdown task template, with CEL expressions inside {{ ... }}.
Variables
Section titled “Variables”loopPath
Section titled “loopPath”
constloopPath: (name) =>InstancePath
The file a loop name refers to.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
LoopName |
Returns
Section titled “Returns”PromptTemplate
Section titled “PromptTemplate”
constPromptTemplate:Schema.brand<Schema.String,"PromptTemplate">
The Loop’s Markdown task template, with CEL expressions inside {{ ... }}.