feat(api): add output_behavior to dream creation (create a new memory store or update the input store in place)