@nprofile1q... You mentioned not wanting to load DockTilePlugins into your process. I would expect that the actual Dock fires up an XPC process to load the plugin as a separate process for obvious security reasons.
Your favorite LLM should be able to work out how to build a similar wrapper for you.
Your favorite LLM should be able to work out how to build a similar wrapper for you.