Use case
I am working on improving the automatic app connection flows for agents via the Dart MCP Server.
The ultimate goal is that agents can connect to the most relevant running flutter app on the developers machine.
We already have automatic discovery of applications via DTD PID files, but when we list the connected applications for those DTD instances, none of them have a specified name, only a URI.
Proposal
See https://pub.dev/documentation/dtd/latest/dtd/ConnectedAppsExtension/registerVmService.html for the API which is used to register these things. We should provide as much information as possible in the name field here, such as the application type (flutter), path to the app that was launched, and device type. Anything that might be useful in understanding what the app actually is.
There should already be an existing call to this API somewhere.
cc @bkonyi @jwren
Use case
I am working on improving the automatic app connection flows for agents via the Dart MCP Server.
The ultimate goal is that agents can connect to the most relevant running flutter app on the developers machine.
We already have automatic discovery of applications via DTD PID files, but when we list the connected applications for those DTD instances, none of them have a specified name, only a URI.
Proposal
See https://pub.dev/documentation/dtd/latest/dtd/ConnectedAppsExtension/registerVmService.html for the API which is used to register these things. We should provide as much information as possible in the
namefield here, such as the application type (flutter), path to the app that was launched, and device type. Anything that might be useful in understanding what the app actually is.There should already be an existing call to this API somewhere.
cc @bkonyi @jwren