OptionalgovernanceGovernance check result (present when governance is configured)
OptionalgovernanceGovernance outcome (present after successful execution with governance)
OptionalgovernanceError message when governance outcome reporting failed
OptionalconversationFull conversation history
Optionaldebug_Debug logs (if debug enabled)
OptionalmatchExhaustive pattern match on the result's status. Prefer this method
form — it autocompletes alongside the other TaskResult accessors.
The free function import('./match').match is also exported for compositional use (e.g., point-free style or when the result type is not yet narrowed).
Attached non-enumerably by the client when the result is returned
from executeTask. Results constructed by hand (e.g., in test
fixtures or custom middleware) will not have this method — use the
free function, or call attachMatch(result) first.
Task is progressing but not yet final. 'auth-required' and
'input-required' are paused states surfaced by the polling
cycle (pollTaskCompletion) — the buyer must satisfy the
paused condition (refresh auth / supply input) and retry the
original tool call. Polling alone won't advance them.
OptionaldataOptionalerrorOptionaladcpOptionalerrorOptionalcorrelationOptionaldeferredDeferred continuation (client needs time for input)
OptionalsubmittedSubmitted continuation (server needs time for processing)
Task is still progressing (working, submitted, input-required, deferred).