feat(gui): Rename gui.py to gui_legacy.py and update references

This commit is contained in:
2026-02-24 20:36:04 -05:00
parent 76ee25b299
commit c4c47b8df9
10 changed files with 25 additions and 25 deletions

View File

@@ -17,7 +17,7 @@ All synchronization between these boundaries is managed via lock-protected queue
### Lifetime & Application Boot
The application lifetime is localized within App.run in gui.py.
The application lifetime is localized within App.run in gui_legacy.py.
1. __init__ parses the global config.toml (which sets the active provider, theme, and project paths).
2. It immediately hands off to project_manager.py to deserialize the active <project>.toml which hydrates the session's files, discussion histories, and prompts.

View File

@@ -36,7 +36,7 @@ The core manipulation mechanism. This is a single, heavily guarded tool.
### Flow
1. The AI generates a 'run_powershell' payload containing a PowerShell script.
2. The AI background thread calls confirm_and_run_callback (injected by gui.py).
2. The AI background thread calls confirm_and_run_callback (injected by gui_legacy.py).
3. The background thread blocks completely, creating a modal popup on the main GUI thread.
4. The user reads the script and chooses to Approve or Reject.
5. If Approved, shell_runner.py executes the script using -NoProfile -NonInteractive -Command within the specified base_dir.