csharpdeeb25a2 | 1 | using CascadeIDE.Contracts; |
| 2 | |
| 3 | namespace CascadeIDE.Features.Chat.Application; |
| 4 | |
| 5 | /// <summary>Политика prepare @ send: composer full vs MCP fast-path (ADR 0134, 0135).</summary> |
| 6 | [ComputingUnit] |
| 7 | public readonly record struct IntercomOutboundPrepareProfile( |
| 8 | bool AllowDegradedMemberResolve, |
| 9 | bool SkipMemberRoslynAtSend, |
| 10 | bool CaptureSenderWorkspaceContext, |
| 11 | bool AddMcpFastPathWarning) |
| 12 | { |
| 13 | public static IntercomOutboundPrepareProfile ComposerStrictBuild { get; } = |
| 14 | new(AllowDegradedMemberResolve: false, SkipMemberRoslynAtSend: false, CaptureSenderWorkspaceContext: true, AddMcpFastPathWarning: false); |
| 15 | |
| 16 | public static IntercomOutboundPrepareProfile ComposerPrepare { get; } = |
| 17 | new(AllowDegradedMemberResolve: true, SkipMemberRoslynAtSend: false, CaptureSenderWorkspaceContext: true, AddMcpFastPathWarning: false); |
| 18 | |
| 19 | public static IntercomOutboundPrepareProfile McpFastPrepare { get; } = |
| 20 | new(AllowDegradedMemberResolve: true, SkipMemberRoslynAtSend: true, CaptureSenderWorkspaceContext: false, AddMcpFastPathWarning: true); |
| 21 | } |
| 22 | |
View only · write via MCP/CIDE