fix: support thinking.type=auto from Amp client and decouple thinking translation from unsigned history