8abfa627cb
## Summary - Updates `e2b template init` to generate code using the current Template.build() API with the `name` parameter - Replaces deprecated `alias` parameter usage throughout build templates and generator code - Maintains support for all languages (TypeScript, Python sync/async) ## Changes - Renamed `alias` to `name` in generator functions and templates (8 files) - Updated CLI option description and prompts to reference "template name" consistently - Added changeset for patch release ## Testing All 79 template init tests pass, including validation of generated build files. 🤖 Generated with Claude Code <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: changes are limited to CLI template-code generation and user-facing prompts, primarily a rename from deprecated `alias` to `name` in generated build/README templates. > > **Overview** > Updates `e2b template init`/`migrate` code generation to pass a `name` parameter (and `name-dev` for dev builds) instead of the deprecated `alias`, across the Handlebars generator APIs and the TypeScript/Python build and README templates. > > Cleans up CLI UX copy to consistently refer to *template name* (option help text and interactive prompt), and adds a changeset for a patch release. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit d6e291df259a62efa4e59244b44ef8b4044d26dd. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
120 B
120 B
@e2b/cli
| @e2b/cli |
|---|
| patch |
fix(cli): use name parameter instead of deprecated alias in template init generated code