mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(coding-agent): start UI before session_start closes #2035
This commit is contained in:
parent
c3fc724887
commit
80ca61a1c4
1 changed files with 4 additions and 4 deletions
|
|
@ -453,16 +453,16 @@ export class InteractiveMode {
|
|||
this.setupKeyHandlers();
|
||||
this.setupEditorSubmitHandler();
|
||||
|
||||
// Start the UI before initializing extensions so session_start handlers can use interactive dialogs
|
||||
this.ui.start();
|
||||
this.isInitialized = true;
|
||||
|
||||
// Initialize extensions first so resources are shown before messages
|
||||
await this.initExtensions();
|
||||
|
||||
// Render initial messages AFTER showing loaded resources
|
||||
this.renderInitialMessages();
|
||||
|
||||
// Start the UI
|
||||
this.ui.start();
|
||||
this.isInitialized = true;
|
||||
|
||||
// Set terminal title
|
||||
this.updateTerminalTitle();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue