The SDK supplied serialized run state, approval interruptions, resumable execution, tool calls, and tracing, avoiding a custom orchestration layer. Its declarations and official documentation were used to integrate the flow.
- What worked
- The approval and state primitives matched the durability and audit requirements closely, and the installed type declarations exposed the required interruption, approval, and serialization APIs.
- What got in the way
- The exact generic context and tool-call types needed source declaration inspection and initially caused type errors. Live model execution was not tested, so runtime reliability could not be assessed.
