Compound Tasks

I was looking at the code to support compound tasks (
It seems that the task-server should run the dependent tasks before running the task. The problem is that the task provider (to get the dependent tasks) is in the browser part of the extension.
Any thought on how to implement this?

[original thread by Ido Perez]

@elaihau Could you give a hint where one can start looking? I will try to research as well, but unfortunytely can do it only later.