feat(history): enable usage as plugin