Text
Namespace: E2E.Decision
public static class TextUpstream’s text.ts.
Inheritance: object
Properties
Section titled “Properties”DrawnField
Section titled “DrawnField”public static Ask<DrawnFieldAnswer> DrawnField { get; }The drawn field to fill next and the exact string to enter, in one ask: the field as a short visual description the point questions
locate, the text as TextAsk takes it from the goal (upstream’s DRAWN_FIELD).
Value: Ask<DrawnFieldAnswer>
public static Ask<PathsAnswer> Paths { get; }The project-relative paths to attach to a file input; empty when the goal supplies none (upstream’s PATHS).
Value: Ask<PathsAnswer>
Target
Section titled “Target”public static Ask<TargetAnswer> Target { get; }The drawn control to tap next, as a short visual description the point questions then locate (upstream’s TARGET). A decision
model picks among offered choices; which key of a drawn keypad comes next is the text model’s call.
Value: Ask<TargetAnswer>
TextAsk
Section titled “TextAsk”public static Ask<TextAnswer> TextAsk { get; }The exact string to enter in a field; empty or null when the goal supplies none (upstream’s TEXT).
Value: Ask<TextAnswer>
Methods
Section titled “Methods”AskTextAsync<T>(StepExecutorContext, IAgentModel, Ask<T>, FieldInput, CancellationToken)
Section titled “AskTextAsync<T>(StepExecutorContext, IAgentModel, Ask<T>, FieldInput, CancellationToken)”public static Task<T> AskTextAsync<T>(StepExecutorContext ctx, IAgentModel model, Ask<T> spec, FieldInput input, CancellationToken cancellationToken = default)Upstream’s askText. One structured call to the text model, recorded against the step budget and mapped onto the runner’s error
codes. Never called for password fields; the harness still authorizes every path an upload names.
Type parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
ctx |
StepExecutorContext | |
model |
IAgentModel | |
spec |
Ask<T> |
|
input |
FieldInput | |
cancellationToken |
CancellationToken |
Returns: Task<T>