Skip to content

headless mode doesn't show detail info when using command #1435

Description

@cwtuan

When using the CLI in headless mode, command execution is invisible. In contrast, interactive (non-headless) mode shows a detailed, formatted panel including the command used and its output.


Steps to Reproduce

  1. Headless mode
    Run:

    qwen "count files in this project using shell command" -y

    Output:

    I'll count the files in your project using a shell command. Let me run that for you.
    
    692There are 692 files in your project directory.
    
  2. Interactive mode
    Run:

    qwen
    # then input: count files in this project using shell command

    Output:

    ✦ I'll count the files in your project using a shell command.
    
     ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
     │ ✓  Shell find . -type f | wc -l (Count all files in the current project directory)                                                                                         │
     │                                                                                                                                                                            │
     │    692                                                                                                                                                                     │
     ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
    ✦ There are 692 files in your project directory.
    

Expected Behavior

In headless mode, when a command (e.g., shell) is invoked, the CLI should still display execution details


Environment

Key Value
CLI Version 0.6.1
Git Commit 570ec43
Model qwen3-coder-plus
Sandbox no sandbox
OS Platform darwin
OS Arch arm64
OS Release 21.4.0
Node.js Version v20.19.0
NPM Version 10.8.2
Session ID 1742686a-71b9-40cb-b3c1-068b6d3a217d
Auth Method openai
Memory Usage 271.3 MB

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions