Strange file index bug on OkPy editor? Code gets overridden when deleting a file

Hello, I am facing a strange bug after trying to add an image file to my tool.

After adding the image file (I tried both png and jpg) it seems the editor gets the tools files mixed up. The very moment I first add the image file the editor reports “Binary file: . (file size)”, for example: “Logo.jpg (45.2KB)”.

Once I re-open the script, or sometimes just continue to work on the tool after test running it, the file size changes to exactly match (according to the agent) the size of one of my .cs files, for example “Logo.jpg (137KB)”.

It also happens that if I try to delete the image file, it does get deleted, but one of the other .cs files’ code gets duplicated onto another .cs file.

For example the code in ModelView.cs gets duplicated onto the main.cs file, with the contends of the main.cs file getting overridden/lost.

Almost like somehow the editing operations get pointed to the wrong file.

The agent has instructed to save the .cs files’ code separately, and import the them to a new .okpy file as a workaround, and to report this issue.