Israeli rescue workers and paramedics carry an injured woman from the site of a bombing in Tel Aviv, Israel, Wednesday, Nov. 21, 2012. A bomb ripped through an Israeli bus near the nation's military headquarters in Tel Aviv on Wednesday, wounding several people, Israeli officials said. The blast came amid a weeklong Israeli offensive against Palestinian militants in Gaza that has killed more than 130 Palestinians.

GAZA/JERUSALEM - Israel and Hamas agreed on Wednesday to a ceasefire brokered by Egypt on the eighth day of intensive Israeli fire on the Gaza Strip and militant rocket attacks out of the enclave, Israeli, Palestinian and Egyptian sources said.

First word of the truce came from a Palestinian official who has knowledge of the negotiations in Cairo, where U.S. Secretary of State Hillary Clinton was also pursuing peace efforts.

Asked whether a ceasefire deal had been reached, an Egyptian official in Cairo said: “Yes, and Egypt will announce it.”

Egyptian state TV had earlier said a news conference would be broadcast from President Mohamed Mursi’s palace shortly.

Israeli sources said Israel had agreed to a truce, but would not lift its blockade of the Palestinian territory, which is run by the Islamist Hamas movement.

All the sources declined to be named or to give further details of the arrangements hammered out in Cairo.

More than 140 Palestinians and five Israelis have been killed in the fighting that began last Wednesday.

The ceasefire, if confirmed, was forged despite a bus bomb explosion that wounded 15 Israelis in Tel Aviv earlier in the day and despite more Israeli air strikes on the Gaza Strip.

After talks in Ramallah with Palestinian President Mahmoud Abbas, Clinton held a second meeting with Israeli Prime Minister Benjamin Netanyahu before travelling to Egypt for discussions with Mursi, whose country has led mediation efforts.

In Tel Aviv, targeted by rockets from Gaza that either did not hit the city or were shot down by Israel’s Iron Dome interceptor system, 15 people were wounded when a bus was blown up near the Defence Ministry and military headquarters.

The blast, which police said was caused by a bomb placed on the vehicle, touched off celebratory gunfire from militants in Gaza and had threatened to complicate truce efforts. It was the first serious bombing in Israel’s commercial capital since 2006.

In Gaza, Israel struck more than 100 targets, including a cluster of Hamas government buildings, in attacks that medical officials said killed 10 people, among them a 2-year-old boy.

Israel’s best-selling Yedioth Ahronoth newspaper had reported an emerging outline of a ceasefire agreement that called for Egypt to announce a 72-hour ceasefire followed by further talks on long-term understandings.

Under the proposed document, which the newspaper said neither party would be required to sign, Israel would hold its fire, end attacks against top militants and promise to examine ways to ease its blockade of Gaza, controlled by Hamas Islamists who do not recognise the Jewish state’s right to exist.

Hamas, the report said, would pledge not to strike any Israeli target and ensure other Palestinian factions in the Gaza Strip also stop their attacks.

Israel has carried out more than 1,500 strikes since the offensive began with the killing of a top Hamas commander and with declared aim of deterring Hamas from launching rocket attacks that have long disrupted life in its southern towns.

Medical officials in Gaza said 146 Palestinians, more than half of them civilians, including 36 children, have been killed in Israel’s offensive. Nearly 1,400 rockets have been fired into Israel, killing four civilians and a soldier, the military said.