Thanks as usual for the feedback!
In v2 we have a registered protocol drafft://
which is used by internal links and the app will use them to route to a document if it founds it. this has the benefit of being used even outside the app, (a chat message for example – need to test it in different platforms yet)
so drafft://scripts/script-unique-id
will focus the app, create a new tab, load that document on it, and focus that tab.
this is also usable in gdds (with a nice ui picker) to link between differt documents
New endpoints are a great idea, add it to the wishlist.