Israeli Prime Minister Benjamin Netanyahu's office said on Friday that the government had "approved the framework" of a hostage release deal with Hamas, as both sides edged closer to ending more than two years of hostilities in Gaza.