Bug: Prototyper intermittently fails to apply XML/file changes

I kind of fixed the error by deleting every message instead of the first one from /home/user/.idx/ai/capra-context-state.json

Here is a more detailed guide:
Temporary workaround for error due to exceeding input token count (unofficial) - General - Firebase Studio Community