Question: The Sanskrit love poem Kokila Sandeśa was modeled upon the Meghadūta of Kālidāsa, which was in turn primarily based on what type of Indian writings?

Context paragraphs:
Meghadūta: Meghadūta (Sanskrit: मेघदूत literally Cloud Messenger) is a lyric poem written by Kālidāsa, considered to be one of the greatest Sanskrit poets.

Brothers of the Sacred Heart: The Brothers of the Sacred Heart is a Catholic religious congregation founded in 1821 by the Reverend André Coindre (1787-1826).  Its Constitutions were modeled upon those of the Jesuits, while its Rule of Life was based upon the Rule of Saint Augustine.  Its members bind themselves for life by simple vows of religion.  There are only a few ordained members in the Congregation, the vast majority of its members being lay Brothers, who live in community in accordance with the Congregation's Rule of Life.  The objective purpose of the Congregation has evolved slightly over the years - though its fundamental mission remains centred on the education of the young: in asylums, parochial and select schools, and colleges.

Hamsa-Sandesha: Hansa-Sandesha (Sanskrit: हंससन्देश ; IAST: Hansasandeśa ) or "The message of the Swan" is a Sanskrit love poem written by Vedanta Desika in the 13th century AD.  A short lyric poem of 110 verses, it describes how Rama, hero of the "Ramayana" epic, sends a message via a swan to his beloved wife, Sita, who has been abducted by the demon king Ravana.  The poem belongs to the "sandeśa kāvya ", ‘messenger poem’, genre and is very closely modeled upon the "Meghaduta" of Kalidasa.  It has particular significance for Srivaishnavites, whose god, Vishnu, it celebrates.

Menecrates of Ephesus: Menecrates of Ephesus ( ; Greek: Μενεκράτης ὁ Ἐφέσιος ; 330–270 BC) was a Greek didactic poet of the Hellenistic period.  He wrote a poem called the "Works" which was modeled upon Hesiod's "Works and Days" and included a discussion of bees based on the work of Aristotle.  He was the teacher of the astronomical poet Aratus.

Kokila Sandeśa: The Kokila Sandeśa (Sanskrit: कोकिलसन्देश) or "The Message of The Koel" is a Sanskrit love poem written by Uddanda Śāstrī in the 15th century AD.  A short lyric poem of 162 verses, it describes how a nameless hero, abducated from his wife’s side by mysterious women, sends a message to her via a koel.  The poem belongs to the sandeśa kāvya, (‘messenger poem’) genre and is modelled upon the Meghadūtaof Kālidāsa.  It is one of the most famous of the many sandeśa kāvya poems from Kerala.

Pavanadūta: Pavanadūta (पवनदूत) or "Wind Messenger" was composed by Dhoyin or Dhoyī, a poet at the court of the Sena king Lakshmana who ruled Gauda, in what is now Bengal, during the latter part of the twelfth century CE.  His Pavanadūta is probably the earliest surviving example of the many messenger poems which were written in imitation of the "Meghadūta" or Cloud Messenger by Kālidāsa.  It tells the story of Kuvalayavatī, a gandharva maiden from the south who falls in love with King Laksmana when she sees him during his victory tour of the world.  She asks the south wind to take her message to the king at his court.

Kālidāsa: Kālidāsa was a Classical Sanskrit writer, widely regarded as the greatest poet and dramatist in the Sanskrit language.  His plays and poetry are primarily based on the Indian Puranas.

Kodupunna Govinda Ganakan: Kodupunna Govinda Ganakan (1921–1988) was an Indian multilingual scholar and essayist, born in Koduppunna village of Kuttanadu, Kerala.  A Malayalam prose translation of Kālidāsa's Sanskrit lyric poem "Meghadūta" is one of his famous works.

Triprangode Siva Temple: Triprangode Siva Temple is a Hindu temple located at Triprangode, near Tirur, Malappuram district, Kerala.  The ancient temple is situated 5 km west of Tirunavaya railway station and 10 km south of Tirur railway station.  It is one of the most important Hindu pilgrimage centres in northern Kerala. " Kokila Sandeśa" of Uddanta Sanstrikal (15th century) mentions Triprangode among other major destinations in the region.

Kumārasambhava: Kumārasaṃbhavam (Sanskrit: Kumārasaṃbhavam ) is an epic poem by Kālidāsa.  The "Kumārasaṃbhavam" is widely regarded as one of Kālidāsa's finest works, a paradigmatic example of kāvya poetry.  The style of description of spring set the standard for nature metaphors pervading many centuries of Indian literary tradition.  "Kumarasambhava" basically talks about the birth of Kumara (Kārtikeya), the son of Shiva and Parvati.  The period of composition is uncertain, although Kālidāsa is thought to have lived in the 5th century.

Supporting paragraphs: Kokila Sandeśa Kālidāsa
Answer: Indian Puranas