Skip to content

Add loading spinner/animation while agent executes #72

@initcron

Description

@initcron

Problem

When running aofctl run agent, there's a noticeable delay between pressing enter and seeing output. Users have no visual feedback that the agent is working.

Proposed Solution

Add a loading spinner/animation using indicatif crate that shows while the agent is executing.

Requirements:

  • Show spinner immediately after command starts
  • Hide spinner when output is ready
  • Cross-platform support
  • Clean integration with existing output

Location: crates/aofctl/src/commands/run.rs

Related to: UX improvements from getting-started tutorial feedback

Acceptance Criteria

  • Spinner shows during agent execution
  • Spinner clears when output appears
  • Works on macOS, Linux, Windows
  • No interference with actual output

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions