6b74009972
<!-- CURSOR_SUMMARY --> > [!NOTE] > Add background template build APIs and build status retrieval to JS/Python SDKs, change build methods to return BuildInfo, and add tests. > > - **JS SDK (templates)**: > - Add `Template.buildInBackground` to start builds without waiting and return `BuildInfo`. > - Add `Template.getBuildStatus` with optional `logsOffset`; expose `GetBuildStatusResponse`. > - Change `Template.build` to return `BuildInfo` and then wait for completion; refactor internal `build(...)` to accept `ApiClient` and return identifiers. > - Add types `AuthOptions`, `BuildInfo`, `GetBuildStatusOptions`; make `logsOffset` optional in `getBuildStatus` input; update tests with `backgroundBuild.test.ts`. > - **Python SDK (templates)**: > - Introduce `BuildInfo` dataclass; `Template.build`/`AsyncTemplate.build` now return `BuildInfo`. > - Add `Template.build_in_background` / `AsyncTemplate.build_in_background` and `Template.get_build_status` / `AsyncTemplate.get_build_status`; factor shared `_build`. > - Export `BuildInfo` in `__init__.py`; add sync/async background build tests. > - **Meta**: > - Add changeset for patch releases. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit a47f70ea339f6ea2964714a122cde5b7cb5a891b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->