cf-dc-api: provide an optional namespace in sketches; build dependencies and their inputs for runfile generation