Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/core / / ProactiveQuestionOutcome

Interface: ProactiveQuestionOutcome

Defined in: packages/core/src/types/proactive.ts:111

The task needs user input to continue. ref is the opaque HITL resolve reference carried into messenger callback-data: a serialized workflow awakeable address (serializeAwakeableRef from @graphorin/workflow) or a serialized agent approval reference.

Stable

Extends

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
firedAtreadonlystringISO-8601 instant of the fire that produced this outcome.ProactiveOutcomeBase.firedAtpackages/core/src/types/proactive.ts:85
kindreadonly"question"--packages/core/src/types/proactive.ts:112
options?readonlyreadonly ProactiveOutcomeOption[]--packages/core/src/types/proactive.ts:114
refreadonlystring--packages/core/src/types/proactive.ts:113
runId?readonlystringAgent run id behind the outcome, when a run happened.ProactiveOutcomeBase.runIdpackages/core/src/types/proactive.ts:93
sessionId?readonlystringSession the run executed in, when a run happened.ProactiveOutcomeBase.sessionIdpackages/core/src/types/proactive.ts:95
taskIdreadonlystringId of the proactive task (heartbeat id, cron task id) that fired.ProactiveOutcomeBase.taskIdpackages/core/src/types/proactive.ts:83
textreadonlystringThe outbound text: the notification body, the question / review context, or the act report. Outbound sanitization happens at the delivery boundary, not here.ProactiveOutcomeBase.textpackages/core/src/types/proactive.ts:91