Skip to content

Remove full paths from the log output of the textEditor tool #223

@bhouston

Description

@bhouston

The text editor has very verbose output because it includes the full path in its log messages. Can we use the tool context that contains the current working directory to turn these full absolute paths into relative paths to clean up the log output?

I am referring to the log output that looks like this:

view operation on "/Users/benhouston/Coding/Business/drivecore/mycoder2/packages/agent/src/core/llm/provider.ts", Viewing provider.ts merge conflict

I would prefer that it reads:

view operation on "./packages/agent/src/core/llm/provider.ts", Viewing provider.ts merge conflict

Given that I know the current working directory is ""/Users/benhouston/Coding/Business/drivecore/mycoder2/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions