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
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
firedAt | readonly | string | ISO-8601 instant of the fire that produced this outcome. | ProactiveOutcomeBase.firedAt | packages/core/src/types/proactive.ts:85 |
kind | readonly | "question" | - | - | packages/core/src/types/proactive.ts:112 |
options? | readonly | readonly ProactiveOutcomeOption[] | - | - | packages/core/src/types/proactive.ts:114 |
ref | readonly | string | - | - | packages/core/src/types/proactive.ts:113 |
runId? | readonly | string | Agent run id behind the outcome, when a run happened. | ProactiveOutcomeBase.runId | packages/core/src/types/proactive.ts:93 |
sessionId? | readonly | string | Session the run executed in, when a run happened. | ProactiveOutcomeBase.sessionId | packages/core/src/types/proactive.ts:95 |
taskId | readonly | string | Id of the proactive task (heartbeat id, cron task id) that fired. | ProactiveOutcomeBase.taskId | packages/core/src/types/proactive.ts:83 |
text | readonly | string | The outbound text: the notification body, the question / review context, or the act report. Outbound sanitization happens at the delivery boundary, not here. | ProactiveOutcomeBase.text | packages/core/src/types/proactive.ts:91 |