[rime] adopt api v1.