spawn/cli/src
A abe1f33318
fix: use sentinel values in Daytona saveVmConnection (#1778)
Daytona was writing raw sshHost/sshToken as ip/user in last-connection.json.
history.ts:mergeLastConnection() calls validateUsername() on the user field,
rejecting SSH tokens (>32 chars) and deleting the connection file. This meant
spawn list/delete/resume never showed Daytona sandboxes.

Replace with the "daytona-sandbox" sentinel (already in CONNECTION_SENTINELS
in security.ts:31 and checked by all relevant handlers in commands.ts) — the
same pattern Fly.io and Sprite use for their provider-managed SSH.

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 19:41:51 -08:00
..
__tests__ feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
aws fix: use getSpawnDir()/getConnectionPath() in all cloud providers (#1774) 2026-02-22 19:27:21 -08:00
daytona fix: use sentinel values in Daytona saveVmConnection (#1778) 2026-02-22 19:41:51 -08:00
digitalocean fix: use getSpawnDir()/getConnectionPath() in all cloud providers (#1774) 2026-02-22 19:27:21 -08:00
fly fix: use getSpawnDir()/getConnectionPath() in all cloud providers (#1774) 2026-02-22 19:27:21 -08:00
gcp fix: use getSpawnDir()/getConnectionPath() in all cloud providers (#1774) 2026-02-22 19:27:21 -08:00
hetzner fix: use getSpawnDir()/getConnectionPath() in all cloud providers (#1774) 2026-02-22 19:27:21 -08:00
local fix: use getSpawnDir()/getConnectionPath() in all cloud providers (#1774) 2026-02-22 19:27:21 -08:00
shared feat: shared SSH wait utility with TCP pre-check and stderr capture (#1779) 2026-02-22 19:17:09 -08:00
sprite fix: use getSpawnDir()/getConnectionPath() in all cloud providers (#1774) 2026-02-22 19:27:21 -08:00
commands.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
flags.ts fix: extract flags module to fix KNOWN_FLAGS drift in tests (#1757) 2026-02-22 18:10:07 -05:00
guidance-data.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
history.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
index.ts fix: Result monad for retry logic — prevent duplicate server creation (#1771) 2026-02-22 20:39:42 -05:00
manifest.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
picker.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
security.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00