From 392beef5565671b37cff1d81494fe9e7e4820ce0 Mon Sep 17 00:00:00 2001 From: Junjie Li Date: Fri, 22 May 2026 10:39:08 +0800 Subject: [PATCH 1/2] Prepare azure.ai.inspector 0.0.1-preview initial release metadata --- .../extensions/azure.ai.inspector/CHANGELOG.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/cli/azd/extensions/azure.ai.inspector/CHANGELOG.md b/cli/azd/extensions/azure.ai.inspector/CHANGELOG.md index 3a52e0f1122..6ab4945ac89 100644 --- a/cli/azd/extensions/azure.ai.inspector/CHANGELOG.md +++ b/cli/azd/extensions/azure.ai.inspector/CHANGELOG.md @@ -1,3 +1,18 @@ # Release History -## 0.0.1-preview - Initial Version \ No newline at end of file +## 0.0.1-preview (2026-05-22) + +Initial preview release of the Agent Inspector extension. + +### Features Added + +- Agent Inspector extension: serves the Inspector single-page app on loopback and bridges it to a locally running agent over WebSocket JSON-RPC and HTTP/SSE proxying. +- Added `azd ai inspector launch` to start the Inspector standalone; the `azd ai inspector` command group is kept for future subcommands. +- Integrated with `azd ai agent run` so the Inspector is launched automatically for local agent runs (opt out with `--no-inspector`). + +### Other Changes + +- Hardened the loopback server with `Host`/`Origin` allowlisting, proxy URL constraints (http/https, loopback hosts, configured agent port), bounded WebSocket frame size, read/write deadlines, ping/pong, and Content-Security-Policy and related hardening headers on the served SPA. +- Restricted `openUrlInBrowser` to `http`/`https` URLs. +- Suppressed proxy body logging and stdout output when launched in silent mode from `azd ai agent run`. +- Added panic recovery in per-message RPC goroutines and fixed a nil-map race in stream registration during session cleanup. From 5c0e9223280caa0cc1ebbfc4c00b95b05f368e77 Mon Sep 17 00:00:00 2001 From: Junjie Li Date: Fri, 22 May 2026 11:07:56 +0800 Subject: [PATCH 2/2] Pin azure.ai.inspector release to 0.0.1-preview --- cli/azd/extensions/azure.ai.inspector/CHANGELOG.md | 2 +- cli/azd/extensions/azure.ai.inspector/extension.yaml | 2 +- cli/azd/extensions/azure.ai.inspector/version.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/azd/extensions/azure.ai.inspector/CHANGELOG.md b/cli/azd/extensions/azure.ai.inspector/CHANGELOG.md index 7e19edc78a4..6ab4945ac89 100644 --- a/cli/azd/extensions/azure.ai.inspector/CHANGELOG.md +++ b/cli/azd/extensions/azure.ai.inspector/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 0.1.0-preview (2026-05-22) +## 0.0.1-preview (2026-05-22) Initial preview release of the Agent Inspector extension. diff --git a/cli/azd/extensions/azure.ai.inspector/extension.yaml b/cli/azd/extensions/azure.ai.inspector/extension.yaml index 9efd484e4ff..4ff7e327d5a 100644 --- a/cli/azd/extensions/azure.ai.inspector/extension.yaml +++ b/cli/azd/extensions/azure.ai.inspector/extension.yaml @@ -5,7 +5,7 @@ displayName: Foundry agent inspector (Preview) description: Browser-based inspector UI for locally running Foundry agents. (Preview) usage: azd ai inspector [options] # NOTE: Make sure version.txt is in sync with this version. -version: 0.1.0-preview +version: 0.0.1-preview requiredAzdVersion: ">1.23.13" language: go capabilities: diff --git a/cli/azd/extensions/azure.ai.inspector/version.txt b/cli/azd/extensions/azure.ai.inspector/version.txt index 2c31a296e4c..1d8239b9041 100644 --- a/cli/azd/extensions/azure.ai.inspector/version.txt +++ b/cli/azd/extensions/azure.ai.inspector/version.txt @@ -1 +1 @@ -0.1.0-preview +0.0.1-preview