Skip to content

Cline cannot find file in the local workspace #1451

@siscia

Description

@siscia

What happened?

Maybe I am doing something wrong, but I see cline unable to find files in the current workspace.

I noticed it because the usual @-command stopped working. It was not finding any file to add.

Then I check the prompts, and sure enough, the section of files in the workspace was empty.

This is what cline see:

<task>
We want to use the sitemap.xml file to update the link in the configuration files
</task>

<environment_details>
# VSCode Visible Files
config/_default/config.toml

# VSCode Open Tabs
config.toml
public/sitemap.xml
public/index.xml
public/tags/index.xml
public/categories/index.xml
themes/magnolia/layouts/partials/head.html
hugo.yaml
content/_index.md
config/_default/config.toml
context.llm
themes/magnolia/layouts/_default/single.html
themes/magnolia/layouts/_default/taxonomy.html
themes/magnolia/layouts/_default/term.html

# Current Time
1/25/2025, 1:55:42 AM (Europe/Dublin, UTC+0:00)

# Current Working Directory (/home/simo/tmp/pcos/pcos-guide) Files
No files found.

# Current Mode
PLAN MODE
In this mode you should focus on information gathering, asking questions, and architecting a solution. Once you have a plan, use the plan_mode_response tool to engage in a conversational back and forth with the user. Do not use the plan_mode_response tool until you've gathered all the information you need e.g. with read_file or ask_followup_question.
(Remember: If it seems the user wants you to use tools only available in Act Mode, you should ask the user to "toggle to Act mode" (use those words) - they will have to manually do this themselves with the Plan/Act toggle button below. You do not have the ability to switch to Act Mode yourself, and must wait for the user to do it themselves once they are satisfied with the plan.)
</environment_details>

I tried stopping VSCode, but the files do not appear.

Steps to reproduce

  1. Just create one task with cline

Relevant API REQUEST output

Operating System

Ubuntu 22.04

Cline Version

3.2.5

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions