mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
devvm size, devvm network on and off, devvm ssh-agent and devvm git-protect (macOS) on a running VM ask in a terminal, without --no-input, whether to restart it now ([Y/n]): yes restarts it as devvm restart does, no or no question (no terminal, --no-input) keeps today's message (size_next_start, net_set_running, agent_set_running, git_protect_next_stop). Agents' mounts ask the same question. - one owner: Env.restartNow (Env.CanAsk, then restart_now) and Env.restartOr (yes: Launch.Restart; else the later message), in internal/vm/existing.go; UpdateAgentDirs uses restartNow - restart_now replaces update_mounts (AnswerFor: devvm restart) - tests: TestRestartToApply (each command: yes, no, no terminal, --no-input), TestUpdateAgentDirs's --no-input case - e2e: network's no-terminal on and off say net_set_running - docs: commands.md's restarting note and answers table, ports-size, ssh, safety/network, git-protection, coding-agents; CLI reference Co-Authored-By: Claude Opus 5.5 <[email protected]>