Skip to content

CLI not able to run any commands #196

@javiercn

Description

@javiercn

Describe the bug

This is on windows. Whenever I try to make it do anything, it fails to run any command (powershell or CMD)

Below is just an extract of me asking it to describe the project structure for a folder it has access to.

● I'll help you explore the directory structure of the current working directory.

✗ List directory .
   Unhandled error: Error: Command timed out
●

   Let me try using PowerShell to list the directory structure:

✓ List all directories recursively up to 2 levels deep
   $ Get-ChildItem -Path . -Directory -Recurse -Depth 2 | Select-Object FullName
   ↪ 1 line...
✗ read_powershell
   Invalid session ID: main. Please supply a valid session ID to read output from.
●

   Let me try a simpler approach:

✓ List directories in current folder
   $ Get-ChildItem -Directory | Select-Object Name
   ↪ 1 line...
✓ stop_powershell
   ↪ 1 line...
●

   Let me try with a fresh session and simpler command:

✓ List directories
   $ ls -Directory
   ↪ 1 line...
✓ stop_powershell
   ↪ 1 line...
●

   Let me try with tree command:

✗ Show directory tree structure
   $ tree /F /A
   Permission denied and could not request permission from user
●

   Let me try using Get-ChildItem with limited output:

✗ List items in current directory
   $ Get-ChildItem | Format-Table Name, Mode -AutoSize
   Permission denied and could not request permission from user

Affected version

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions