Skip to content

Command code unable to read local files. Became 'stale', and no usefull output yet. #403

@PedroC79

Description

@PedroC79

Summary

Command code unable to read local file:

FUNCTIONS READ FILE [{"absolutePath":"/Users/.../Workspace/PFA/README.md"}]
│ Error: Tool "functions_read_file" not found. Available tools: read_file, edit_file, read_director...

FUNCTIONS GLOB [{"pattern":"**/*.md"}]
│ Error: Tool "functions_glob" not found. Available tools: read_file, edit_file, read_directory, wr...

FUNCTIONS READ DIRECTORY [{"path":"/Users/.../Workspace/PFA"}]
│ Error: Tool "functions_read_directory" not found. Available tools: read_file, edit_file, read_dir...

In the end of the project analyzes it presented this statement, then just stopped:

"Now I have a solid understanding of the project. Let me examine a few more key components to complete my analysis before creating the comprehensive plan."

Then restarted CommandCode, and told it to resume previous work:

READ [.commandcode/memory.md]
└ ERROR: File not found or not readable: .commandcode/memory.md

Until now, I couldn't take any advantage from the tool. And the tokens are being consumed!!

Need some assitance please.

Thank you,
Pedro Carvalho

Expected Behavior

No stopping during prompt. Clear problems resolution, i.e., tell the user what we can do to surpass the difficulties, not just 'stalled' cli agent.

Actual Behavior

FUNCTIONS READ FILE [{"absolutePath":"/Users/.../Workspace/PFA/README.md"}]
│ Error: Tool "functions_read_file" not found. Available tools: read_file, edit_file, read_director...

FUNCTIONS GLOB [{"pattern":"**/*.md"}]
│ Error: Tool "functions_glob" not found. Available tools: read_file, edit_file, read_directory, wr...

FUNCTIONS READ DIRECTORY [{"path":"/Users/.../Workspace/PFA"}]
│ Error: Tool "functions_read_directory" not found. Available tools: read_file, edit_file, read_dir...

In the end of the project analyzes it presented this statement, then just stopped:

"Now I have a solid understanding of the project. Let me examine a few more key components to complete my analysis before creating the comprehensive plan."

Then restarted CommandCode, and told it to resume previous work:

READ [.commandcode/memory.md]
└ ERROR: File not found or not readable: .commandcode/memory.md

Until now, I couldn't take any advantage from the tool. And the tokens are being consumed!!

Need some assitance please.

Thank you,
Pedro Carvalho

Steps to reproduce the issue

  1. Opened cmd command on my macbook pro.
  2. Asked to analyze the current project, and to propose improvements, prepare a plan for it, and then act.
  3. Then, after some 'thinking' and some error messages, no usefull output occurred..

Command Code Version

0.26.25

Operating System

macOS

Terminal/IDE

Terminal

Shell

zsh

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions