@cursor/[email protected]: sessionStart runs, but additional_context never reaches the model

Hey @Joao_Gabriel_Lima,

A fix for the sessionStart hook’s additional_context not reaching the first model turn with Agent.create on the local runtime has landed, and it will be included in an upcoming release of @cursor/sdk.

With that release, the context returned by sessionStart is passed into the first model turn, so you should be able to drop the patch (or the in-process rewrite) once you update.

Give it a try once the new version is out and let me know if you still hit it.

cc @nkoynov