@mariozechner/pi-coding-agent 0.50.2 → 0.50.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -322,15 +322,15 @@ export class InteractiveMode {
322
322
  this.ui.setFocus(this.editor);
323
323
  this.setupKeyHandlers();
324
324
  this.setupEditorSubmitHandler();
325
- // Render initial messages before starting the UI to avoid layout jump
325
+ // Initialize extensions first so resources are shown before messages
326
+ await this.initExtensions();
327
+ // Render initial messages AFTER showing loaded resources
326
328
  this.renderInitialMessages();
327
329
  // Start the UI
328
330
  this.ui.start();
329
331
  this.isInitialized = true;
330
332
  // Set terminal title
331
333
  this.updateTerminalTitle();
332
- // Initialize extensions with TUI-based UI context
333
- await this.initExtensions();
334
334
  // Subscribe to agent events
335
335
  this.subscribeToAgent();
336
336
  // Set up theme file watcher