-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathParticipantContracts.cs
More file actions
40 lines (25 loc) · 1.04 KB
/
ParticipantContracts.cs
File metadata and controls
40 lines (25 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
namespace DotPilot.Core.Features.ControlPlaneDomain;
public sealed record WorkspaceDescriptor
{
public WorkspaceId Id { get; init; }
public string Name { get; init; } = string.Empty;
public string RootPath { get; init; } = string.Empty;
public string BranchName { get; init; } = string.Empty;
}
public sealed record AgentProfileDescriptor
{
public AgentProfileId Id { get; init; }
public string Name { get; init; } = string.Empty;
public AgentRoleKind Role { get; init; }
public ProviderId? ProviderId { get; init; }
public ModelRuntimeId? ModelRuntimeId { get; init; }
public IReadOnlyList<ToolCapabilityId> ToolCapabilityIds { get; init; } = [];
public IReadOnlyList<string> Tags { get; init; } = [];
}
public sealed record FleetDescriptor
{
public FleetId Id { get; init; }
public string Name { get; init; } = string.Empty;
public FleetExecutionMode ExecutionMode { get; init; } = FleetExecutionMode.SingleAgent;
public IReadOnlyList<AgentProfileId> AgentProfileIds { get; init; } = [];
}