File actions
File actions icon by KTrain5369
Modified from original design by Dazzle UI
Get/open/read workspace files
Section titled “Get/open/read workspace files”Neuro can get or open files within the workspace. This will either get the list of Neuro-safe files in the workspace, or open files as specified (assuming the path is Neuro-safe). If a file is already opened, its tab will be focused.
Reading a file (using read_file) will not open the file in the editor or reveal Neuro’s cursor position in that file (if there was one already).
When opening a file, Neuro will be sent the current file as well as her cursor position. (this is configurable)
Create/Delete/Rename files and folders
Section titled “Create/Delete/Rename files and folders”Neuro can choose to create, delete or rename files and folders within the workspace.
To toggle between deleting a file or folder, Neuro must set the recursive parameter to true.
This will check for Neuro-unsafe paths before performing said actions. In the case of renaming, the Neuro-safe path check will happen on both the old and new path.