[task] Add thrift dir to save the thrift interface