I'd be inclined to do a dedicated plugin as you discuss; that makes it possible for bzr-gtk to use it too, without requiring bzr-qt installed, which would be a little weird ;)