A truce between Israel and Hamas will continue, both sides said Thursday, moments before the deal was due to expire, though details of any official agreement remained unclear.