The agreement ends the immediate threat of an extended shutdown, though the terms of the deal have not been announced.