mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-08 12:48:48 +02:00
refactor: rename sidecar host to Aryx
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
+3
-3
@@ -13,10 +13,10 @@
|
|||||||
"lsp:typescript": "typescript-language-server --stdio",
|
"lsp:typescript": "typescript-language-server --stdio",
|
||||||
"typecheck": "tsc --noEmit -p tsconfig.json",
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
||||||
"test": "bun run typecheck && bun test",
|
"test": "bun run typecheck && bun test",
|
||||||
"sidecar:restore": "dotnet restore sidecar/Eryx.AgentHost.slnx",
|
"sidecar:restore": "dotnet restore sidecar/Aryx.AgentHost.slnx",
|
||||||
"sidecar:build": "dotnet build sidecar/Eryx.AgentHost.slnx",
|
"sidecar:build": "dotnet build sidecar/Aryx.AgentHost.slnx",
|
||||||
"sidecar:publish": "bun run scripts/publish-sidecar.ts",
|
"sidecar:publish": "bun run scripts/publish-sidecar.ts",
|
||||||
"sidecar:test": "dotnet test sidecar/Eryx.AgentHost.slnx"
|
"sidecar:test": "dotnet test sidecar/Aryx.AgentHost.slnx"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ const sidecarProjectPath = join(
|
|||||||
repositoryRoot,
|
repositoryRoot,
|
||||||
'sidecar',
|
'sidecar',
|
||||||
'src',
|
'src',
|
||||||
'Eryx.AgentHost',
|
'Aryx.AgentHost',
|
||||||
'Eryx.AgentHost.csproj',
|
'Aryx.AgentHost.csproj',
|
||||||
);
|
);
|
||||||
const outputDirectory = join(repositoryRoot, 'dist-sidecar', releaseTarget.dotnetRuntime);
|
const outputDirectory = join(repositoryRoot, 'dist-sidecar', releaseTarget.dotnetRuntime);
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export function resolveReleaseTarget(
|
|||||||
dotnetRuntime: `win-${supportedArch}`,
|
dotnetRuntime: `win-${supportedArch}`,
|
||||||
outputDirectoryName: archiveBaseName,
|
outputDirectoryName: archiveBaseName,
|
||||||
archiveBaseName,
|
archiveBaseName,
|
||||||
sidecarExecutableName: 'Eryx.AgentHost.exe',
|
sidecarExecutableName: 'Aryx.AgentHost.exe',
|
||||||
packagedExecutableName: `${productName}.exe`,
|
packagedExecutableName: `${productName}.exe`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -58,7 +58,7 @@ export function resolveReleaseTarget(
|
|||||||
dotnetRuntime: `osx-${supportedArch}`,
|
dotnetRuntime: `osx-${supportedArch}`,
|
||||||
outputDirectoryName: archiveBaseName,
|
outputDirectoryName: archiveBaseName,
|
||||||
archiveBaseName,
|
archiveBaseName,
|
||||||
sidecarExecutableName: 'Eryx.AgentHost',
|
sidecarExecutableName: 'Aryx.AgentHost',
|
||||||
appBundleName: `${productName}.app`,
|
appBundleName: `${productName}.app`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -73,7 +73,7 @@ export function resolveReleaseTarget(
|
|||||||
dotnetRuntime: `linux-${supportedArch}`,
|
dotnetRuntime: `linux-${supportedArch}`,
|
||||||
outputDirectoryName: archiveBaseName,
|
outputDirectoryName: archiveBaseName,
|
||||||
archiveBaseName,
|
archiveBaseName,
|
||||||
sidecarExecutableName: 'Eryx.AgentHost',
|
sidecarExecutableName: 'Aryx.AgentHost',
|
||||||
packagedExecutableName: productName,
|
packagedExecutableName: productName,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<Solution>
|
||||||
|
<Folder Name="/src/">
|
||||||
|
<Project Path="src/Aryx.AgentHost/Aryx.AgentHost.csproj" />
|
||||||
|
</Folder>
|
||||||
|
<Folder Name="/tests/">
|
||||||
|
<Project Path="tests/Aryx.AgentHost.Tests/Aryx.AgentHost.Tests.csproj" />
|
||||||
|
</Folder>
|
||||||
|
</Solution>
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<Solution>
|
|
||||||
<Folder Name="/src/">
|
|
||||||
<Project Path="src/Eryx.AgentHost/Eryx.AgentHost.csproj" />
|
|
||||||
</Folder>
|
|
||||||
<Folder Name="/tests/">
|
|
||||||
<Project Path="tests/Eryx.AgentHost.Tests/Eryx.AgentHost.Tests.csproj" />
|
|
||||||
</Folder>
|
|
||||||
</Solution>
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
|
[assembly: InternalsVisibleTo("Aryx.AgentHost.Tests")]
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Contracts;
|
namespace Aryx.AgentHost.Contracts;
|
||||||
|
|
||||||
public sealed class PatternAgentDefinitionDto
|
public sealed class PatternAgentDefinitionDto
|
||||||
{
|
{
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
if (!args.Contains("--stdio", StringComparer.Ordinal))
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
using System.Text;
|
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);
|
internal readonly record struct AgentIdentity(string AgentId, string AgentName);
|
||||||
|
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal static class AgentInstructionComposer
|
internal static class AgentInstructionComposer
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Microsoft.Agents.AI;
|
using Microsoft.Agents.AI;
|
||||||
using Microsoft.Agents.AI.GitHub.Copilot;
|
using Microsoft.Agents.AI.GitHub.Copilot;
|
||||||
using Microsoft.Agents.AI.Workflows;
|
using Microsoft.Agents.AI.Workflows;
|
||||||
using Microsoft.Agents.AI.Workflows.Specialized;
|
using Microsoft.Agents.AI.Workflows.Specialized;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal sealed class CopilotAgentBundle : IAsyncDisposable
|
internal sealed class CopilotAgentBundle : IAsyncDisposable
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal sealed class CopilotApprovalCoordinator
|
internal sealed class CopilotApprovalCoordinator
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal static class CopilotCliPathResolver
|
internal static class CopilotCliPathResolver
|
||||||
{
|
{
|
||||||
+2
-2
@@ -2,9 +2,9 @@ using System.Diagnostics;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using GitHub.Copilot.SDK;
|
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
|
internal static partial class CopilotConnectionMetadataResolver
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal sealed class CopilotTurnExecutionState
|
internal sealed class CopilotTurnExecutionState
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Microsoft.Agents.AI.Workflows;
|
using Microsoft.Agents.AI.Workflows;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
public sealed class CopilotWorkflowRunner : ITurnWorkflowRunner
|
public sealed class CopilotWorkflowRunner : ITurnWorkflowRunner
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal static class HandoffWorkflowGuidance
|
internal static class HandoffWorkflowGuidance
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
public interface ITurnWorkflowRunner
|
public interface ITurnWorkflowRunner
|
||||||
{
|
{
|
||||||
+2
-2
@@ -5,10 +5,10 @@ using System.Text;
|
|||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using System.Text.Json.Serialization.Metadata;
|
using System.Text.Json.Serialization.Metadata;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal sealed class LspToolSession : IAsyncDisposable
|
internal sealed class LspToolSession : IAsyncDisposable
|
||||||
{
|
{
|
||||||
+2
-2
@@ -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);
|
internal sealed record PatternHandoffRoute(string SourceAgentId, string TargetAgentId);
|
||||||
|
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
public sealed class PatternValidator
|
public sealed class PatternValidator
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal sealed class SessionToolingBundle : IAsyncDisposable
|
internal sealed class SessionToolingBundle : IAsyncDisposable
|
||||||
{
|
{
|
||||||
+2
-2
@@ -3,9 +3,9 @@ using System.Text.Json;
|
|||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
using GitHub.Copilot.SDK.Rpc;
|
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
|
public sealed class SidecarProtocolHost
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal static partial class StreamingTextMerger
|
internal static partial class StreamingTextMerger
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Microsoft.Agents.AI.Workflows;
|
using Microsoft.Agents.AI.Workflows;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal static class WorkflowRequestInfoInterpreter
|
internal static class WorkflowRequestInfoInterpreter
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Services;
|
namespace Aryx.AgentHost.Services;
|
||||||
|
|
||||||
internal readonly record struct TranscriptSegment(string MessageId, string AuthorName, string Content)
|
internal readonly record struct TranscriptSegment(string MessageId, string AuthorName, string Content)
|
||||||
{
|
{
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
[assembly: InternalsVisibleTo("Eryx.AgentHost.Tests")]
|
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class AgentIdentityResolverTests
|
public sealed class AgentIdentityResolverTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class AgentInstructionComposerTests
|
public sealed class AgentInstructionComposerTests
|
||||||
{
|
{
|
||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\src\Eryx.AgentHost\Eryx.AgentHost.csproj" />
|
<ProjectReference Include="..\..\src\Aryx.AgentHost\Aryx.AgentHost.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class CopilotAgentBundleTests
|
public sealed class CopilotAgentBundleTests
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class CopilotCliPathResolverTests
|
public sealed class CopilotCliPathResolverTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class CopilotConnectionMetadataResolverTests
|
public sealed class CopilotConnectionMetadataResolverTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class CopilotWorkflowRunnerTests
|
public sealed class CopilotWorkflowRunnerTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class HandoffWorkflowGuidanceTests
|
public sealed class HandoffWorkflowGuidanceTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class LspToolSessionTests
|
public sealed class LspToolSessionTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class PatternGraphResolverTests
|
public sealed class PatternGraphResolverTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class SessionToolingBundleTests
|
public sealed class SessionToolingBundleTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class SidecarProtocolHostTests
|
public sealed class SidecarProtocolHostTests
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class StreamingTextMergerTests
|
public sealed class StreamingTextMergerTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class PatternValidatorTests
|
public sealed class PatternValidatorTests
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,12 +1,12 @@
|
|||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using Eryx.AgentHost.Contracts;
|
using Aryx.AgentHost.Contracts;
|
||||||
using Eryx.AgentHost.Services;
|
using Aryx.AgentHost.Services;
|
||||||
using Microsoft.Agents.AI;
|
using Microsoft.Agents.AI;
|
||||||
using Microsoft.Agents.AI.Workflows;
|
using Microsoft.Agents.AI.Workflows;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
|
|
||||||
namespace Eryx.AgentHost.Tests;
|
namespace Aryx.AgentHost.Tests;
|
||||||
|
|
||||||
public sealed class WorkflowRequestInfoInterpreterTests
|
public sealed class WorkflowRequestInfoInterpreterTests
|
||||||
{
|
{
|
||||||
@@ -18,7 +18,7 @@ function getPathModule(platform: NodeJS.Platform) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getBundledSidecarExecutableName(platform: NodeJS.Platform): string {
|
function getBundledSidecarExecutableName(platform: NodeJS.Platform): string {
|
||||||
return platform === 'win32' ? 'Eryx.AgentHost.exe' : 'Eryx.AgentHost';
|
return platform === 'win32' ? 'Aryx.AgentHost.exe' : 'Aryx.AgentHost';
|
||||||
}
|
}
|
||||||
|
|
||||||
export function resolveSidecarProcess(context: SidecarRuntimeContext): ResolvedSidecarProcess {
|
export function resolveSidecarProcess(context: SidecarRuntimeContext): ResolvedSidecarProcess {
|
||||||
@@ -39,7 +39,7 @@ export function resolveSidecarProcess(context: SidecarRuntimeContext): ResolvedS
|
|||||||
args: [
|
args: [
|
||||||
'run',
|
'run',
|
||||||
'--project',
|
'--project',
|
||||||
pathModule.join(context.appPath, 'sidecar', 'src', 'Eryx.AgentHost', 'Eryx.AgentHost.csproj'),
|
pathModule.join(context.appPath, 'sidecar', 'src', 'Aryx.AgentHost', 'Aryx.AgentHost.csproj'),
|
||||||
'--',
|
'--',
|
||||||
'--stdio',
|
'--stdio',
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ describe('resolveSidecarProcess', () => {
|
|||||||
args: [
|
args: [
|
||||||
'run',
|
'run',
|
||||||
'--project',
|
'--project',
|
||||||
'C:\\workspace\\personal\\repositories\\eryx\\sidecar\\src\\Eryx.AgentHost\\Eryx.AgentHost.csproj',
|
'C:\\workspace\\personal\\repositories\\eryx\\sidecar\\src\\Aryx.AgentHost\\Aryx.AgentHost.csproj',
|
||||||
'--',
|
'--',
|
||||||
'--stdio',
|
'--stdio',
|
||||||
],
|
],
|
||||||
@@ -33,7 +33,7 @@ describe('resolveSidecarProcess', () => {
|
|||||||
platform: 'win32',
|
platform: 'win32',
|
||||||
}),
|
}),
|
||||||
).toEqual({
|
).toEqual({
|
||||||
command: 'C:\\workspace\\personal\\repositories\\eryx\\release\\win-unpacked\\resources\\sidecar\\Eryx.AgentHost.exe',
|
command: 'C:\\workspace\\personal\\repositories\\eryx\\release\\win-unpacked\\resources\\sidecar\\Aryx.AgentHost.exe',
|
||||||
args: ['--stdio'],
|
args: ['--stdio'],
|
||||||
cwd: 'C:\\workspace\\personal\\repositories\\eryx\\release\\win-unpacked\\resources\\sidecar',
|
cwd: 'C:\\workspace\\personal\\repositories\\eryx\\release\\win-unpacked\\resources\\sidecar',
|
||||||
});
|
});
|
||||||
@@ -48,7 +48,7 @@ describe('resolveSidecarProcess', () => {
|
|||||||
platform: 'darwin',
|
platform: 'darwin',
|
||||||
}),
|
}),
|
||||||
).toEqual({
|
).toEqual({
|
||||||
command: '/Applications/Aryx.app/Contents/Resources/sidecar/Eryx.AgentHost',
|
command: '/Applications/Aryx.app/Contents/Resources/sidecar/Aryx.AgentHost',
|
||||||
args: ['--stdio'],
|
args: ['--stdio'],
|
||||||
cwd: '/Applications/Aryx.app/Contents/Resources/sidecar',
|
cwd: '/Applications/Aryx.app/Contents/Resources/sidecar',
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ describe('resolveReleaseTarget', () => {
|
|||||||
dotnetRuntime: 'win-x64',
|
dotnetRuntime: 'win-x64',
|
||||||
outputDirectoryName: 'Aryx-windows-x64',
|
outputDirectoryName: 'Aryx-windows-x64',
|
||||||
archiveBaseName: 'Aryx-windows-x64',
|
archiveBaseName: 'Aryx-windows-x64',
|
||||||
sidecarExecutableName: 'Eryx.AgentHost.exe',
|
sidecarExecutableName: 'Aryx.AgentHost.exe',
|
||||||
packagedExecutableName: 'Aryx.exe',
|
packagedExecutableName: 'Aryx.exe',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -28,7 +28,7 @@ describe('resolveReleaseTarget', () => {
|
|||||||
dotnetRuntime: 'osx-arm64',
|
dotnetRuntime: 'osx-arm64',
|
||||||
outputDirectoryName: 'Aryx-macos-arm64',
|
outputDirectoryName: 'Aryx-macos-arm64',
|
||||||
archiveBaseName: 'Aryx-macos-arm64',
|
archiveBaseName: 'Aryx-macos-arm64',
|
||||||
sidecarExecutableName: 'Eryx.AgentHost',
|
sidecarExecutableName: 'Aryx.AgentHost',
|
||||||
appBundleName: 'Aryx.app',
|
appBundleName: 'Aryx.app',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -41,7 +41,7 @@ describe('resolveReleaseTarget', () => {
|
|||||||
dotnetRuntime: 'linux-x64',
|
dotnetRuntime: 'linux-x64',
|
||||||
outputDirectoryName: 'Aryx-linux-x64',
|
outputDirectoryName: 'Aryx-linux-x64',
|
||||||
archiveBaseName: 'Aryx-linux-x64',
|
archiveBaseName: 'Aryx-linux-x64',
|
||||||
sidecarExecutableName: 'Eryx.AgentHost',
|
sidecarExecutableName: 'Aryx.AgentHost',
|
||||||
packagedExecutableName: 'Aryx',
|
packagedExecutableName: 'Aryx',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user