Questions & Answers about Hier, Marie a dit qu'elle viendrait avec nous sur l'île.
a dit is the passé composé, used for a single, completed action at a specific moment in the past.
disait is the imparfait, used for background actions, ongoing past situations, or repeated habits.
Here, Hier, Marie a dit... refers to one specific moment yesterday when she said this once, so a dit is the natural choice.
You would use disait in a sentence like Autrefois, Marie disait qu'elle viendrait, meaning she used to say that, repeatedly or habitually.
The main verb a dit is in the past, and the coming is a future action relative to that past moment.
In French, this “future in the past” is normally expressed with the conditional: qu'elle viendrait = “that she would come.”
Using a simple future (qu'elle viendra) would present the coming as a future seen from now, rather than from the time when she spoke.
So a dit qu'elle viendrait keeps the time relationship clear: first she spoke, later (from her viewpoint then) she is supposed to come.