refactor: rename sidecar host to Aryx

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Kaya
2026-03-26 00:14:12 +01:00
co-authored by Copilot
parent 4e3c74497f
commit 1edd3aed55
48 changed files with 104 additions and 104 deletions
@@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Aryx.AgentHost.Tests")]
@@ -1,6 +1,6 @@
using System.Text.Json.Serialization;
namespace Eryx.AgentHost.Contracts;
namespace Aryx.AgentHost.Contracts;
public sealed class PatternAgentDefinitionDto
{
@@ -1,8 +1,8 @@
using Eryx.AgentHost.Services;
using Aryx.AgentHost.Services;
if (!args.Contains("--stdio", StringComparer.Ordinal))
{
Console.Error.WriteLine("Eryx.AgentHost expects the --stdio flag.");
Console.Error.WriteLine("Aryx.AgentHost expects the --stdio flag.");
return;
}
@@ -1,7 +1,7 @@
using System.Text;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal readonly record struct AgentIdentity(string AgentId, string AgentName);
@@ -1,6 +1,6 @@
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal static class AgentInstructionComposer
{
@@ -1,12 +1,12 @@
using GitHub.Copilot.SDK;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
using Microsoft.Agents.AI;
using Microsoft.Agents.AI.GitHub.Copilot;
using Microsoft.Agents.AI.Workflows;
using Microsoft.Agents.AI.Workflows.Specialized;
using Microsoft.Extensions.AI;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal sealed class CopilotAgentBundle : IAsyncDisposable
{
@@ -1,8 +1,8 @@
using System.Collections.Concurrent;
using GitHub.Copilot.SDK;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal sealed class CopilotApprovalCoordinator
{
@@ -1,7 +1,7 @@
using System.Collections;
using GitHub.Copilot.SDK;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal static class CopilotCliPathResolver
{
@@ -2,9 +2,9 @@ using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using GitHub.Copilot.SDK;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal static partial class CopilotConnectionMetadataResolver
{
@@ -1,9 +1,9 @@
using System.Collections.Concurrent;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
using GitHub.Copilot.SDK;
using Microsoft.Extensions.AI;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal sealed class CopilotTurnExecutionState
{
@@ -1,8 +1,8 @@
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
using Microsoft.Agents.AI.Workflows;
using Microsoft.Extensions.AI;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
public sealed class CopilotWorkflowRunner : ITurnWorkflowRunner
{
@@ -1,6 +1,6 @@
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal static class HandoffWorkflowGuidance
{
@@ -1,6 +1,6 @@
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
public interface ITurnWorkflowRunner
{
@@ -5,10 +5,10 @@ using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization.Metadata;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
using Microsoft.Extensions.AI;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal sealed class LspToolSession : IAsyncDisposable
{
@@ -1,6 +1,6 @@
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal sealed record PatternHandoffRoute(string SourceAgentId, string TargetAgentId);
@@ -1,6 +1,6 @@
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
public sealed class PatternValidator
{
@@ -1,8 +1,8 @@
using GitHub.Copilot.SDK;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
using Microsoft.Extensions.AI;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal sealed class SessionToolingBundle : IAsyncDisposable
{
@@ -3,9 +3,9 @@ using System.Text.Json;
using System.Text.Json.Serialization;
using GitHub.Copilot.SDK;
using GitHub.Copilot.SDK.Rpc;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
public sealed class SidecarProtocolHost
{
@@ -1,6 +1,6 @@
using System.Text.RegularExpressions;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal static partial class StreamingTextMerger
{
@@ -1,10 +1,10 @@
using System.Collections.Concurrent;
using System.Text.Json;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
using Microsoft.Agents.AI.Workflows;
using Microsoft.Extensions.AI;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal static class WorkflowRequestInfoInterpreter
{
@@ -1,8 +1,8 @@
using System.Text;
using Eryx.AgentHost.Contracts;
using Aryx.AgentHost.Contracts;
using Microsoft.Extensions.AI;
namespace Eryx.AgentHost.Services;
namespace Aryx.AgentHost.Services;
internal readonly record struct TranscriptSegment(string MessageId, string AuthorName, string Content)
{
@@ -1,3 +0,0 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Eryx.AgentHost.Tests")]