Skip to content

[DX] Non-Intrusive Execution (Focus Management) #30

@AlexChesser

Description

@AlexChesser

Ticket 3.3: [DX] Non-Intrusive Execution (Focus Management)

Title: Prevent Focus-Stealing During Pipeline Execution

Description:
Currently, starting an ail run forces the VS Code "Output" channel or "Terminal" to jump into focus. This disrupts the developer's "Flow State" if they are currently typing in an editor or inspecting a different terminal tab.

Tasks:

  • Audit the extension.ts and execution loop for channel.show() or terminal.show() calls.
  • Ensure the Monitor updates its state silently in the background.
  • Allow the user to keep their current active editor/panel focus throughout the duration of the run.

Opus Planning Prompt:

"Analyze the ail execution start-up logic in the VS Code extension. Identify calls that force focus onto the 'Output' or 'Debug' consoles. Propose a refactor that allows the ail runner to report progress to the Webview via messages while leaving the user's active cursor and panel focus undisturbed."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions