You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: DH-21945: listVariables and openVariablePanels now use right connection (#309)
DH-21945: Most of the MCP tools can handle an agent passing a DHE server
URL instead of a worker URL. There was a subtle bug with listVariables
and openVariablePanels where the call would succeed but found zero
variables due to checking the server URL.
I also added a better error message for panelUrls missing on earlier DHE
servers
### Testing
#### List Fixes
- Connect to a DHE server. And create at least 1 table on the worker
- Ask the agent to call `listVariables` tool telling it to use the
server URL explicitly instead of the worker URL. It should find it.
Before it would get zero results
- Same general test for `openVariablePanels` but it should open the
panel in VS Code
#### Panel URL message
- Connect to a grizzly server and create at least 1 table on the worker
- Ask agent about the panelUrl for the table. It should see a message
saying it isn't supported instead of speculating why it isn't there
0 commit comments