Palantir rises 5%, Cloudflare gains 3% as peace deal lifts AI stocks