diff --git a/.azure/pipelines/templates/build.yaml b/.azure/pipelines/templates/build.yaml index 044cbf335e54..8332506d7410 100644 --- a/.azure/pipelines/templates/build.yaml +++ b/.azure/pipelines/templates/build.yaml @@ -111,7 +111,7 @@ jobs: displayName: Build inputs: command: build - arguments: '$(build_flags) /bl:${{parameters.build_configuration}}-Build.binlog /p:Configuration=${{parameters.build_configuration}} $(solution)' + arguments: '$(build_flags) /bl:${{parameters.build_configuration}}-Build.binlog /p:Configuration=${{parameters.build_configuration}} /p:ContinuousIntegrationBuild=true $(solution)' workingDirectory: $(Build.SourcesDirectory)/dotnet env: PATH: "C:\\Users\\cloudtest\\.local\\bin;$(PATH)" @@ -201,7 +201,7 @@ jobs: - task: CmdLine@2 displayName: Pack inputs: - script: 'dotnet pack --no-build --no-restore $(build_flags) /bl:${{parameters.build_configuration}}-Pack.binlog /p:Configuration=${{parameters.build_configuration}} $(solution)' + script: 'dotnet pack --no-build --no-restore $(build_flags) /bl:${{parameters.build_configuration}}-Pack.binlog /p:Configuration=${{parameters.build_configuration}} /p:ContinuousIntegrationBuild=true $(solution)' workingDirectory: $(Build.SourcesDirectory)/dotnet env: ${{ if and(eq(parameters.include_suffix, true), eq(parameters.publish_nuget, false)) }}: diff --git a/dotnet/Directory.Build.props b/dotnet/Directory.Build.props index e1bb2fcd3bb4..d5610362a775 100644 --- a/dotnet/Directory.Build.props +++ b/dotnet/Directory.Build.props @@ -8,6 +8,7 @@ net8.0 preview enable + true True $(MSBuildThisFileDirectory)eng/opensource.snk 0024000004800000940000000602000000240000525341310004000001000100f1d038d0b85ae392ad72011df91e9343b0b5df1bb8080aa21b9424362d696919e0e9ac3a8bca24e283e10f7a569c6f443e1d4e3ebc84377c87ca5caa562e80f9932bf5ea91b7862b538e13b8ba91c7565cf0e8dfeccfea9c805ae3bda044170ecc7fc6f147aeeac422dd96aeb9eb1f5a5882aa650efe2958f2f8107d2038f2ab diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.props index d0131825aab4..aca7a136ddf8 100644 --- a/dotnet/Directory.Packages.props +++ b/dotnet/Directory.Packages.props @@ -7,16 +7,17 @@ 9.0.0 9.0.0 9.0.0 + 9.0.0 9.0.1 1.9.0 - 1.0.0-beta.24229.4 + 1.0.0-beta.24568.1 direct + - @@ -25,6 +26,7 @@ + @@ -32,6 +34,8 @@ + + runtime; build; native; contentfiles; analyzers; buildtransitive all @@ -41,13 +45,20 @@ + + + + + + + @@ -64,9 +75,12 @@ + + + runtime; build; native; contentfiles; analyzers; buildtransitive @@ -85,15 +99,19 @@ + + + + @@ -102,31 +120,16 @@ + - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/dotnet/eng/MetaInfo.props b/dotnet/eng/MetaInfo.props index db46778a06c2..7dd72c35c27a 100644 --- a/dotnet/eng/MetaInfo.props +++ b/dotnet/eng/MetaInfo.props @@ -3,7 +3,7 @@ 0.4.0 0.2.2 - AutoGen + Microsoft https://microsoft.github.io/autogen-for-net/ https://github.com/microsoft/autogen git diff --git a/dotnet/nuget/nuget-package.props b/dotnet/nuget/nuget-package.props index 4a53c1226714..939e210831d9 100644 --- a/dotnet/nuget/nuget-package.props +++ b/dotnet/nuget/nuget-package.props @@ -3,8 +3,7 @@ true - AutoGen - Microsoft + Microsoft AutoGen A programming framework for agentic AI AI, Artificial Intelligence, Agents, Multiagent, SDK @@ -13,7 +12,7 @@ MIT © Microsoft Corporation. All rights reserved. - https://microsoft.github.io/autogen-for-net + https://aka.ms/autogen https://github.com/microsoft/autogen true @@ -28,7 +27,7 @@ true - + true diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Agents/AzureGenie.cs b/dotnet/samples/dev-team/DevTeam.Backend/Agents/AzureGenie.cs index 59ac34ba45a3..fbc40bf565b3 100644 --- a/dotnet/samples/dev-team/DevTeam.Backend/Agents/AzureGenie.cs +++ b/dotnet/samples/dev-team/DevTeam.Backend/Agents/AzureGenie.cs @@ -2,7 +2,9 @@ // AzureGenie.cs using DevTeam.Backend.Services; +using Microsoft.AutoGen.Contracts; using Microsoft.AutoGen.Core; + namespace DevTeam.Backend.Agents; [TopicSubscription(Consts.TopicName)] diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Agents/Developer/Developer.cs b/dotnet/samples/dev-team/DevTeam.Backend/Agents/Developer/Developer.cs index b0f52f5bd5eb..f86b6c825782 100644 --- a/dotnet/samples/dev-team/DevTeam.Backend/Agents/Developer/Developer.cs +++ b/dotnet/samples/dev-team/DevTeam.Backend/Agents/Developer/Developer.cs @@ -2,6 +2,7 @@ // Developer.cs using DevTeam.Agents; +using Microsoft.AutoGen.Contracts; using Microsoft.AutoGen.Core; namespace DevTeam.Backend.Agents.Developer; diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Agents/DeveloperLead/DeveloperLead.cs b/dotnet/samples/dev-team/DevTeam.Backend/Agents/DeveloperLead/DeveloperLead.cs index b935d31b8f71..b758e1eb3c53 100644 --- a/dotnet/samples/dev-team/DevTeam.Backend/Agents/DeveloperLead/DeveloperLead.cs +++ b/dotnet/samples/dev-team/DevTeam.Backend/Agents/DeveloperLead/DeveloperLead.cs @@ -2,6 +2,7 @@ // DeveloperLead.cs using DevTeam.Agents; +using Microsoft.AutoGen.Contracts; using Microsoft.AutoGen.Core; namespace DevTeam.Backend.Agents.DeveloperLead; diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Agents/Hubber.cs b/dotnet/samples/dev-team/DevTeam.Backend/Agents/Hubber.cs index 8ba4ddf923ce..ea06e6077a60 100644 --- a/dotnet/samples/dev-team/DevTeam.Backend/Agents/Hubber.cs +++ b/dotnet/samples/dev-team/DevTeam.Backend/Agents/Hubber.cs @@ -3,6 +3,7 @@ using System.Text.Json; using DevTeam.Backend.Services; +using Microsoft.AutoGen.Contracts; using Microsoft.AutoGen.Core; namespace DevTeam.Backend.Agents; diff --git a/dotnet/samples/dev-team/DevTeam.Backend/Agents/ProductManager/ProductManager.cs b/dotnet/samples/dev-team/DevTeam.Backend/Agents/ProductManager/ProductManager.cs index 93da47e53cdd..f2852bd2f67a 100644 --- a/dotnet/samples/dev-team/DevTeam.Backend/Agents/ProductManager/ProductManager.cs +++ b/dotnet/samples/dev-team/DevTeam.Backend/Agents/ProductManager/ProductManager.cs @@ -2,6 +2,7 @@ // ProductManager.cs using DevTeam.Agents; +using Microsoft.AutoGen.Contracts; using Microsoft.AutoGen.Core; namespace DevTeam.Backend.Agents.ProductManager; diff --git a/dotnet/src/AutoGen.DotnetInteractive/InProccessDotnetInteractiveKernelBuilder.cs b/dotnet/src/AutoGen.DotnetInteractive/InProccessDotnetInteractiveKernelBuilder.cs index 98242f43f150..4151b902dbcc 100644 --- a/dotnet/src/AutoGen.DotnetInteractive/InProccessDotnetInteractiveKernelBuilder.cs +++ b/dotnet/src/AutoGen.DotnetInteractive/InProccessDotnetInteractiveKernelBuilder.cs @@ -25,8 +25,8 @@ internal InProccessDotnetInteractiveKernelBuilder() this.compositeKernel = new CompositeKernel(); // add jupyter connector - this.compositeKernel.AddKernelConnector( - new ConnectJupyterKernelCommand() + this.compositeKernel.AddConnectDirective( + new ConnectJupyterKernelDirective() .AddConnectionOptions(new JupyterHttpKernelConnectionOptions()) .AddConnectionOptions(new JupyterLocalKernelConnectionOptions())); } @@ -45,7 +45,7 @@ public InProccessDotnetInteractiveKernelBuilder AddCSharpKernel(IEnumerable /// Defines a handler interface for processing items of type . /// -/// The type of item to be handled, which must implement . +/// The type of item to be handled. public interface IHandle { /// diff --git a/dotnet/src/Microsoft.AutoGen/Contracts/KVStringParseHelper.cs b/dotnet/src/Microsoft.AutoGen/Contracts/KVStringParseHelper.cs index 993470d887d7..a164a6abe55a 100644 --- a/dotnet/src/Microsoft.AutoGen/Contracts/KVStringParseHelper.cs +++ b/dotnet/src/Microsoft.AutoGen/Contracts/KVStringParseHelper.cs @@ -8,7 +8,7 @@ namespace Microsoft.AutoGen.Contracts; /// /// Provides helper methods for parsing key-value string representations. /// -public static class KVStringParseHelper +internal static class KVStringParseHelper { /// /// The regular expression pattern used to match key-value pairs in the format "key/value". diff --git a/dotnet/src/Microsoft.AutoGen/Core/HandlerInvoker.cs b/dotnet/src/Microsoft.AutoGen/Core/HandlerInvoker.cs index 740b2575c109..4a7a9ea56f85 100644 --- a/dotnet/src/Microsoft.AutoGen/Core/HandlerInvoker.cs +++ b/dotnet/src/Microsoft.AutoGen/Core/HandlerInvoker.cs @@ -3,6 +3,7 @@ using System.Diagnostics; using System.Reflection; + using Microsoft.AutoGen.Contracts; namespace Microsoft.AutoGen.Core; diff --git a/dotnet/src/Microsoft.AutoGen/Core/IHandleExtensions.cs b/dotnet/src/Microsoft.AutoGen/Core/IHandleExtensions.cs index 367f722a4fb8..31e81951db26 100644 --- a/dotnet/src/Microsoft.AutoGen/Core/IHandleExtensions.cs +++ b/dotnet/src/Microsoft.AutoGen/Core/IHandleExtensions.cs @@ -3,6 +3,8 @@ using System.Reflection; +using Microsoft.AutoGen.Contracts; + namespace Microsoft.AutoGen.Core; /// diff --git a/dotnet/src/Microsoft.AutoGen/Core/Microsoft.AutoGen.Core.csproj b/dotnet/src/Microsoft.AutoGen/Core/Microsoft.AutoGen.Core.csproj index 0dc3cba17475..7a42259dd6ca 100644 --- a/dotnet/src/Microsoft.AutoGen/Core/Microsoft.AutoGen.Core.csproj +++ b/dotnet/src/Microsoft.AutoGen/Core/Microsoft.AutoGen.Core.csproj @@ -8,13 +8,13 @@ - - + + diff --git a/dotnet/src/Microsoft.AutoGen/Extensions/SemanticKernel/Microsoft.AutoGen.Extensions.SemanticKernel.csproj b/dotnet/src/Microsoft.AutoGen/Extensions/SemanticKernel/Microsoft.AutoGen.Extensions.SemanticKernel.csproj index dc57a068ce52..86703649802f 100644 --- a/dotnet/src/Microsoft.AutoGen/Extensions/SemanticKernel/Microsoft.AutoGen.Extensions.SemanticKernel.csproj +++ b/dotnet/src/Microsoft.AutoGen/Extensions/SemanticKernel/Microsoft.AutoGen.Extensions.SemanticKernel.csproj @@ -9,6 +9,7 @@ + diff --git a/dotnet/test/Microsoft.AutoGen.Runtime.Grpc.Tests/TestAgent.cs b/dotnet/test/Microsoft.AutoGen.Runtime.Grpc.Tests/TestAgent.cs index 1984501871a9..e479a2cd7d33 100644 --- a/dotnet/test/Microsoft.AutoGen.Runtime.Grpc.Tests/TestAgent.cs +++ b/dotnet/test/Microsoft.AutoGen.Runtime.Grpc.Tests/TestAgent.cs @@ -2,6 +2,7 @@ // TestAgent.cs using System.Collections.Concurrent; +using Microsoft.AutoGen.Contracts; using Microsoft.AutoGen.Core; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging;