fix: always confirm cloud resource name with user, even when SPAWN_NAME is set (#1758)

When the CLI collects a display name (SPAWN_NAME), each cloud now shows
the kebab-case derivative as the default in the resource name prompt
instead of silently accepting it. Users can hit Enter to accept or type
an override. Non-interactive mode still skips the prompt.

Co-authored-by: lab <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
A 2026-02-22 14:25:34 -08:00 committed by GitHub
parent 7c37a793de
commit f3a2b85b5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 29 additions and 36 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "0.6.15",
"version": "0.6.16",
"type": "module",
"bin": {
"spawn": "cli.js"