Hi
You could run the caf getprop command to get the installed and enabled status of the sdagent plugin like this
caf getprop sdagent installed
caf getprop sdagent enabled
IF that comes back as not 1 which would mean its installed and enabled then you can run
caf setprop sdagent installed 1
caf setprop sdagent enabled 1
You can check the other plugins the same way
Hope this is helpful I am not sure of how you can locate these using a query but I will continue to check on this and post an update if I do
Thanks
Joe