From c71bc3e7aecb6f2935577db5158b2644a2639ce5 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Thu, 5 Nov 2026 10:09:44 +0000 Subject: [PATCH] [azure.ai.agents] Registry update for 1.0.0 --- cli/azd/cmd/testdata/TestFigSpec.ts | 95 ++++++++++++++-- .../cmd/testdata/TestUsage-azd-ai-agent.snap | 2 +- cli/azd/cmd/testdata/TestUsage-azd-ai.snap | 2 +- cli/azd/extensions/registry.json | 103 +++++++++++++++++- 4 files changed, 190 insertions(+), 12 deletions(-) diff --git a/cli/azd/cmd/testdata/TestFigSpec.ts b/cli/azd/cmd/testdata/TestFigSpec.ts index 0462b640774..0faf6ee7e80 100644 --- a/cli/azd/cmd/testdata/TestFigSpec.ts +++ b/cli/azd/cmd/testdata/TestFigSpec.ts @@ -229,7 +229,7 @@ const completionSpec: Fig.Spec = { subcommands: [ { name: ['agent'], - description: 'Ship prompt, hosted, and voice agents with Microsoft Foundry from your terminal. (Beta)', + description: 'Ship prompt, hosted, and voice agents with Microsoft Foundry from your terminal.', subcommands: [ { name: ['add'], @@ -276,11 +276,11 @@ const completionSpec: Fig.Spec = { }, { name: ['code'], - description: 'Manage agent source code. (Preview)', + description: 'Manage agent source code.', subcommands: [ { name: ['download'], - description: 'Download agent source code from Foundry. (Preview)', + description: 'Download agent source code from Foundry.', options: [ { name: ['--dest', '-d'], @@ -730,7 +730,7 @@ const completionSpec: Fig.Spec = { }, { name: ['init'], - description: 'Initialize a new prompt, hosted, or voice agent project. (Preview)', + description: 'Initialize a new prompt, hosted, or voice agent project.', options: [ { name: ['--acr-connection'], @@ -741,6 +741,15 @@ const completionSpec: Fig.Spec = { }, ], }, + { + name: ['--acr-resource-id'], + description: 'Existing ACR ARM resource ID for source builds in a new Foundry project (same subscription only)', + args: [ + { + name: 'acr-resource-id', + }, + ], + }, { name: ['--agent-name'], description: 'Foundry agent name to write to azure.yaml. Reusing a name creates a new version of the existing agent.', @@ -1143,7 +1152,7 @@ const completionSpec: Fig.Spec = { }, { name: ['--call-id'], - description: 'Call ID header value (sent as x-agent-foundry-call-id for local invocations only; ignored for remote requests)', + description: 'Call ID header value (sent as x-agent-foundry-call-id for local responses/invocations only; ignored for remote requests)', args: [ { name: 'call-id', @@ -1250,7 +1259,7 @@ const completionSpec: Fig.Spec = { }, { name: ['--user-identity'], - description: 'User identity header value (sent as x-agent-user-id for local invocations and x-ms-user-identity for remote requests)', + description: 'User identity header value (sent as x-agent-user-id for local invocations and x-ms-user-identity for remote requests); not supported with local a2a', args: [ { name: 'user-identity', @@ -1324,7 +1333,7 @@ const completionSpec: Fig.Spec = { }, { name: ['optimize'], - description: 'Evaluate and optimize AI agents.', + description: 'Optimize AI agents, prompts, and skills.', subcommands: [ { name: ['apply'], @@ -1444,6 +1453,67 @@ const completionSpec: Fig.Spec = { }, ], }, + { + name: ['download'], + description: 'Download a published optimization candidate file.', + options: [ + { + name: ['--candidate'], + description: 'Candidate ID (required)', + args: [ + { + name: 'candidate', + }, + ], + }, + { + name: ['--endpoint'], + description: 'Optimization service endpoint (for local dev)', + args: [ + { + name: 'endpoint', + }, + ], + }, + { + name: ['--file', '-f'], + description: 'Declared candidate file path (required)', + args: [ + { + name: 'file', + }, + ], + }, + { + name: ['--output', '-o'], + description: 'The output format', + args: [ + { + name: 'output', + suggestions: ['json', 'table'], + }, + ], + }, + { + name: ['--project-endpoint', '-p'], + description: 'Foundry project endpoint URL', + args: [ + { + name: 'project-endpoint', + }, + ], + }, + { + name: ['--target-path', '-t'], + description: 'Local destination path (defaults to remote filename)', + args: [ + { + name: 'target-path', + }, + ], + }, + ], + }, { name: ['list'], description: 'List recent optimization runs.', @@ -1500,6 +1570,15 @@ const completionSpec: Fig.Spec = { name: ['status'], description: 'Check the status of an optimization job.', options: [ + { + name: ['--candidate'], + description: 'Inspect this candidate\'s full details instead of the job', + args: [ + { + name: 'candidate', + }, + ], + }, { name: ['--endpoint'], description: 'Optimization service endpoint (for local dev)', @@ -1601,7 +1680,7 @@ const completionSpec: Fig.Spec = { }, { name: ['--eval-model', '-m'], - description: 'Model for evaluation (required)', + description: 'Model for evaluation-driven agent optimization', args: [ { name: 'eval-model', diff --git a/cli/azd/cmd/testdata/TestUsage-azd-ai-agent.snap b/cli/azd/cmd/testdata/TestUsage-azd-ai-agent.snap index af73afea558..3c8b9745796 100644 --- a/cli/azd/cmd/testdata/TestUsage-azd-ai-agent.snap +++ b/cli/azd/cmd/testdata/TestUsage-azd-ai-agent.snap @@ -1,5 +1,5 @@ -Ship prompt, hosted, and voice agents with Microsoft Foundry from your terminal. (Beta) +Ship prompt, hosted, and voice agents with Microsoft Foundry from your terminal. Usage azd ai agent [flags] diff --git a/cli/azd/cmd/testdata/TestUsage-azd-ai.snap b/cli/azd/cmd/testdata/TestUsage-azd-ai.snap index cf7d00d9913..0995ac24f62 100644 --- a/cli/azd/cmd/testdata/TestUsage-azd-ai.snap +++ b/cli/azd/cmd/testdata/TestUsage-azd-ai.snap @@ -5,7 +5,7 @@ Usage azd ai [command] Available Commands - agent : Ship prompt, hosted, and voice agents with Microsoft Foundry from your terminal. (Beta) + agent : Ship prompt, hosted, and voice agents with Microsoft Foundry from your terminal. connection : Manage Microsoft Foundry Connections from your terminal. (Beta) cu : Extension for Azure Content Understanding. (Preview) dataset : Register and version Foundry datasets from your terminal. (Beta) diff --git a/cli/azd/extensions/registry.json b/cli/azd/extensions/registry.json index 2295f41d7e6..84d48cd51b5 100644 --- a/cli/azd/extensions/registry.json +++ b/cli/azd/extensions/registry.json @@ -2123,8 +2123,8 @@ { "id": "azure.ai.agents", "namespace": "ai.agent", - "displayName": "Foundry agents (Beta)", - "description": "Ship prompt, hosted, and voice agents with Microsoft Foundry from your terminal. (Beta)", + "displayName": "Foundry agents", + "description": "Ship prompt, hosted, and voice agents with Microsoft Foundry from your terminal.", "versions": [ { "version": "0.0.6", @@ -7439,6 +7439,105 @@ "version": "~1.0.0-beta.6" } ] + }, + { + "version": "1.0.0", + "requiredAzdVersion": ">=1.37.0", + "capabilities": [ + "custom-commands", + "lifecycle-events", + "mcp-server", + "service-target-provider", + "metadata" + ], + "providers": [ + { + "name": "azure.ai.agent", + "type": "service-target", + "description": "Deploys agents to the Foundry Agent Service" + } + ], + "usage": "azd ai agent [options]", + "examples": [ + { + "name": "init", + "description": "Initialize a new prompt, hosted, or voice agent project.", + "usage": "azd ai agent init" + }, + { + "name": "init-prompt-voice", + "description": "Initialize a new prompt voice agent.", + "usage": "azd ai agent init --kind prompt-voice --agent-name my-voice-agent" + } + ], + "artifacts": { + "darwin/amd64": { + "checksum": { + "algorithm": "sha256", + "value": "239969386ef22e043897c1528b0313960c3b8486b48ab63a6d48eb68f0d0e32b" + }, + "entryPoint": "azure-ai-agents-darwin-amd64", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_1.0.0/azure-ai-agents-darwin-amd64.zip" + }, + "darwin/arm64": { + "checksum": { + "algorithm": "sha256", + "value": "aac527efc5aac242546ebbcdcb6adfabd7070c573f624a9512a4db2a19a9226b" + }, + "entryPoint": "azure-ai-agents-darwin-arm64", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_1.0.0/azure-ai-agents-darwin-arm64.zip" + }, + "linux/amd64": { + "checksum": { + "algorithm": "sha256", + "value": "84e8d5de1fee2042497e467c0ac322ec82903567be3a86e57de834171eb65579" + }, + "entryPoint": "azure-ai-agents-linux-amd64", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_1.0.0/azure-ai-agents-linux-amd64.tar.gz" + }, + "linux/arm64": { + "checksum": { + "algorithm": "sha256", + "value": "29c8bb9827358a387720b97202060c446ef5d5e434c54ef5f00f5c7c2019b4a2" + }, + "entryPoint": "azure-ai-agents-linux-arm64", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_1.0.0/azure-ai-agents-linux-arm64.tar.gz" + }, + "windows/amd64": { + "checksum": { + "algorithm": "sha256", + "value": "f05f9eda6ce4c21f9a6fe33d2a40d13cee34a0f319908c646c3268c315a0db9a" + }, + "entryPoint": "azure-ai-agents-windows-amd64.exe", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_1.0.0/azure-ai-agents-windows-amd64.zip" + }, + "windows/arm64": { + "checksum": { + "algorithm": "sha256", + "value": "dcc759f3a12af855eb04870a28df8a0940de615486628e0408f7cb77577ac42b" + }, + "entryPoint": "azure-ai-agents-windows-arm64.exe", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_1.0.0/azure-ai-agents-windows-arm64.zip" + } + }, + "dependencies": [ + { + "id": "azure.ai.inspector", + "version": "~1.0.0" + }, + { + "id": "azure.ai.projects", + "version": "~1.0.0" + }, + { + "id": "azure.ai.connections", + "version": "~1.0.0" + }, + { + "id": "azure.ai.toolboxes", + "version": "~1.0.0" + } + ] } ] },