Skip to content

[Bug] 3.25.15 on macOS creating new custom mode is too strict in yaml to understand #7138

@ww2283

Description

@ww2283

App Version

3.25.15

API Provider

Not Applicable / Other

Model Used

N/A

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

I saw #5855, then updated Roo extension to 3.25.15, then the problem of cannot create custom mode persist.

I first created a global mode via editing the /Users/user/Library/Application Support/Code - Insiders/User/globalStorage/rooveterinaryinc.roo-cline/settings/custom_modes.yaml. I followed doc's instruction and the custom mode worked well. It helped fixed a bug. Then I added another mode, suddenly all modes disappeared. I reload vscode windows, delete modes and reinsert, even the same previously working mode cannot show up any more.

I then try to create project level mode.

Although docs says this .roomode should accept yaml, apparently it is not, because when creating a project mode, it will populate a ready-to-use json format .roomode. Then when I format a proper json one and insert, it will say it expect string, not array.

In desperation, I followed the doc, exporting a pre-made mode's yaml, and directly edit on it. Afterwards, import and it won't work. Only the exported version with very very minor modification can work when imported back in. Some larger modifications won't work when import back in. This is quite bizarre. I attached the yaml here, only the askwho askme and askyou modes works without error. The zen-debug does not work. I also crosschecked this zen-debug part in yaml checkers and it is valid. I'm just having a hard time to understand why the rule of recognizing a yaml is so strict that I cannot understand how it is going to work. Help appreciated!

💥 Outcome Summary

Skipped, as noted above.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Issue [In Progress]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions