Webview view provider for the Datalayer Agent Chat sidebar.
Hosts the compiled dist/agentChat.js bundle inside a VS Code
WebviewView contributed under the datalayerChat view container.
SAAS flow
On view resolve (and on every sign-in) the provider:
Calls datalayer.listRuntimes() to enumerate all available runtimes.
Extracts {podName, ingress, token, givenName, environmentName} for
every runtime that has a valid ingress URL and token.
Posts the full list to the webview as a chat-agents message.
The webview renders a picker; the user selects one.
<Chat> is pointed at the selected runtime's ingress + token.
If no runtimes are available the webview shows an empty state with a
"Create Agent" button that posts a create-agent message back to this
provider, which dispatches datalayer.createAgent and refreshes the
agent list when the new runtime comes up.
Webview view provider for the Datalayer Agent Chat sidebar.
Hosts the compiled
dist/agentChat.jsbundle inside a VS CodeWebviewViewcontributed under thedatalayerChatview container.SAAS flow
On view resolve (and on every sign-in) the provider:
datalayer.listRuntimes()to enumerate all available runtimes.{podName, ingress, token, givenName, environmentName}for every runtime that has a valid ingress URL and token.chat-agentsmessage.<Chat>is pointed at the selected runtime's ingress + token.If no runtimes are available the webview shows an empty state with a "Create Agent" button that posts a
create-agentmessage back to this provider, which dispatchesdatalayer.createAgentand refreshes the agent list when the new runtime comes up.