Describe the bug
Creating a new "main" loop results in a closed terminal due to something failing during startup.
To reproduce
Steps to reproduce the behavior:
- For a workspace, click on new loop
- Select "Main"
- Select Create loop
- Note that it fails to arrive at an agent session
Expected behavior
Arriving at a github copilot cli session
Screenshots

Environment
- GraphCode version: 0.1.58 (232)
- macOS version: 15.7.9
- Backend: Copilot CLI
Additional context
Last login: Thu Sep 3 10:37:41 on ttys006
manpath: can't set the locale; make sure $LC_* and $LANG are correct
Applying codespace configured settings...
Loaded cached username for Entra ID as: <redacted>
✓ git diff.noRenames already configured
── Loop session is not running; waiting for graphcoded to start it. ──
Connection to localhost closed.
shell closed: exit status 255
── Connection failed (exit 1). Retrying in 1s. Press Ctrl-C to stop. ──
manpath: can't set the locale; make sure $LC_* and $LANG are correct
Applying codespace configured settings...
Loaded cached username for Entra ID as: bekaise@microsoft.com
✓ git diff.noRenames already configured
── Remote session ended while disconnected. ──
Connection to localhost closed.
Process exited. Press any key to close the terminal.
Describe the bug
Creating a new "main" loop results in a closed terminal due to something failing during startup.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Arriving at a github copilot cli session
Screenshots

Environment
Additional context