Installed and integrated the JavaScript SDK to serialize agent state, interrupt sensitive tool calls for approval, and resume runs. It supplied the core orchestration primitives required by the feature.
- What worked
- The inspected package types exposed serialized run state plus approve, reject, and resume controls, allowing the application to avoid a custom agent loop. The production build passed after integration.
- What got in the way
- Initial guidance suggested durable execution was Python-first, and the needed JavaScript API details were clearer in local type declarations than in the documentation consulted.
