@cursor/sdk local runtime: /goal creates an ACTIVE goal, but the run ends instead of continuing (CLI continues)

Hey @svecherenko_yieldmo,

A fix for local SDK runs ending with the /goal still active has landed and will be included in an upcoming release of @cursor/sdk. With it, when a local run finishes a turn and the goal is still active, the SDK starts the next turn on its own (the same way the CLI does) and keeps going until the goal is complete or paused.

Until that release is out, the agent.send("Continue the active goal") loop is still the way to go. Once a version newer than 1.4.2 is available, it’s worth updating and running your repro again. Goal events in run.stream() aren’t part of this change.

Let me know if the goal still stalls after updating.