Downcity
Commands

studio restart

Restart Studio runtime, restore managed agents, then restart Console

studio restart

Restart the full Studio runtime stack.

Current behavior:

  1. stop Console
  2. stop Studio runtime
  3. restart Studio runtime
  4. restore managed agents that were running before restart
  5. restart Console

During the stop phase, Downcity stops the matching process group first. ACP executors, shell sessions, and watch child processes started by an agent stop with the parent, so old children do not keep consuming memory after the restart.

Usage

studio restart

Example output

$ studio restart
studio v1.0.0
✅ Console stopped
   pid: <consolePid>
✅ Studio runtime stopped
   pid: <studioPid>
✅ Studio runtime started
   pid: <newStudioPid>
Restarting 2 managed agents...
✅ Console started
   pid: <newConsolePid>
   url: http://127.0.0.1:5315