Asian stocks gain on trade truce, AI sentiment; dollar at 3-month high