Trae Assistant
Fix: Restore missing refs and add default history data
6369f55