Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/agent / / ResumeDirective

Interface: ResumeDirective

Defined in: packages/agent/src/types.ts:206

Resume directive accepted by agent.run(input | RunState, { directive }).

The library-mode pickup pattern is: the operator stores the suspended RunState from the previous agent.run(...) call, waits for the user / cron / webhook to resolve the pending approval, and re-invokes agent.run(savedState, { directive: { approvals: [...] } }) to resume.

Stable

Properties

PropertyModifierTypeDefined in
approvals?readonlyreadonly ApprovalDecision[]packages/agent/src/types.ts:207