Skip to content

Commit ed3d4f4

Browse files
authored
Merge pull request #35 from neuroglia-io/spec-v0.2.2-update
Upgraded solution to the A2A Protocol Specification `v0.2.2`
2 parents c0ef315 + 18347db commit ed3d4f4

File tree

182 files changed

+3001
-999
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+3001
-999
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ csharp_style_deconstructed_variable_declaration = true:suggestion
9999
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
100100
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
101101

102-
file_header_template = Copyright 2025-Present the a2a-net Authors\n\nLicensed under the Apache License, Version 2.0 (the "License"),\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.
102+
file_header_template = Copyright © 2025-Present the a2a-net Authors\n\nLicensed under the Apache License, Version 2.0 (the "License"),\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.
103103
csharp_style_prefer_primary_constructors = true:suggestion

samples/semantic-kernel/a2a-net.Samples.SemanticKernel.Client/Configuration/ApplicationOptions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025-Present the a2a-net Authors
1+
// Copyright © 2025-Present the a2a-net Authors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License"),
44
// you may not use this file except in compliance with the License.
@@ -19,13 +19,13 @@ namespace A2A.Samples.SemanticKernel.Client.Configuration
1919
public class ApplicationOptions
2020
{
2121
/// <summary>
22-
/// Gets/sets the URI of the A2A server to interact with
22+
/// Gets or sets the URI of the A2A server to interact with
2323
/// </summary>
2424
[Required]
2525
public Uri? Server { get; set; } = null;
2626

2727
/// <summary>
28-
/// Gets/sets the URI, if any, of the endpoint to send push notifications to
28+
/// Gets or sets the URI, if any, of the endpoint to send push notifications to
2929
/// </summary>
3030
public Uri? PushNotificationClient { get; set; }
3131

samples/semantic-kernel/a2a-net.Samples.SemanticKernel.Client/MessageExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025-Present the a2a-net Authors
1+
// Copyright © 2025-Present the a2a-net Authors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License"),
44
// you may not use this file except in compliance with the License.

samples/semantic-kernel/a2a-net.Samples.SemanticKernel.Client/PartExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025-Present the a2a-net Authors
1+
// Copyright © 2025-Present the a2a-net Authors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License"),
44
// you may not use this file except in compliance with the License.
@@ -50,7 +50,7 @@ public static string ToText(this Part part)
5050
jsonContentBuilder.AppendLine("```");
5151
return jsonContentBuilder.ToString();
5252
default:
53-
throw new NotSupportedException($"The specified part type '{part.Type ?? "None"}' is not supported");
53+
throw new NotSupportedException($"The specified part type '{part.Kind ?? "None"}' is not supported");
5454
}
5555
}
5656

0 commit comments

Comments
 (0)