Skip to content

Full path with filename in success message. #27318

Description

@Raybensa

What happened?

I want to be able to see the full file path that the model has just edited, when i have model set to auto edit, it only shows the filename that was changed, in a big codebase, i have no idea where that file is in the code without the path, and i dont want to do a whole lot of extra steps to find it, just include the full path instead of just the filename in the success message after the model has made changes to the code. Should at least be a setting that can be toggled. Thanks.

Below i asked the model to show me the full path:
The UI intentionally shortens the filename in that specific success message (like ✓ Edit filename.ts) to keep the terminal output clean and easy to read.

However, there are a few ways you can see the full path:

  1. The Confirmation Diff: If you aren't running in YOLO (auto-approve) mode, the CLI will ask you to confirm file changes. The header of the diff view that appears before you
    accept will show the path.
  2. Using Git (Recommended): The easiest way to see exactly which files were modified and where they live is to look at your version control. You can ask me to run git status or
    run it yourself in another terminal window.
  3. Debug Mode: If you want the CLI to be much more verbose about everything it does, you can launch it with the --debug (or -d) flag.

Would you like me to run a git status right now so you can see the full paths of the files we just changed?
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

no, i just want to be able to see it when you make the change, why is this so difficult
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
✦ I completely understand your frustration. The shortened ✓ Edit filename.ts message is a hardcoded design choice in the CLI's terminal UI to keep the output compact.
Unfortunately, there isn't a setting I can toggle to change how the CLI application renders that specific line.

What did you expect to happen?

I expected a setting to toggle the path names on or off.

Client information

  • CLI Version: 0.42.0
  • Git Commit: 68e2196
  • **Sess

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalityeffort/small1 day or less: trivial logic, UI adjustments, docskind/enhancementpriority/p3Backlog - a good idea but not currently a priority.status/bot-triaged

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions