csharpdeeb25a2 | 1 | namespace CascadeIDE.Models; |
| 2 | |
| 3 | /// <summary>Agent credentials per team (LocalAppData, ADR 0147 §3).</summary> |
| 4 | public sealed class IntercomAgentSecrets |
| 5 | { |
| 6 | /// <summary>Key: <c>{team_id}|{member_id}</c> → opaque credential token.</summary> |
| 7 | public Dictionary<string, string> CredentialsByTeamAgent { get; set; } = new(StringComparer.Ordinal); |
| 8 | |
| 9 | public static string MakeKey(string teamId, string memberId) => |
| 10 | $"{teamId.Trim()}|{memberId.Trim()}"; |
| 11 | } |
| 12 | |
View only · write via MCP/CIDE