SpeculativeValidation
Parameters and properties
Section titled “Parameters and properties”keyRequiredstringKey of the candidate being validated.resultRequiredSpeculativeOutput<T>Dispatch output of the candidate: text, value, commits and usage.sandboxRequiredSandboxCandidate’s sandbox, still open; it closes after validate returns. Commits made in it during validation become part of the candidate’s commit.signalRequiredAbortSignalAborts when another candidate wins, a token limit is reached or the race is cancelled; pass it to every command.