WIP: sending method as an explicit choice, kept in payload-kv (superseded: the choice moves to a stored field)

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 22:30:03 +01:00
co-authored by Claude Fable 5.2
parent 68a2555277
commit c6841a1674
34 changed files with 740 additions and 96 deletions
+2
View File
@@ -73,6 +73,7 @@ export async function collectDoctorStatus(payload: BasePayload): Promise<DoctorS
graphEnv: graphAvailable(),
...(state.nonPublic ? { nonPublic: true, ...(state.nonPublicBy ? { nonPublicBy: state.nonPublicBy } : {}), ...(state.nonPublicPattern ? { nonPublicPattern: state.nonPublicPattern } : {}) } : {}),
...(state.otherHostEntries ? { otherHostEntries: true } : {}),
methodChosen: state.methodChosen,
relay: state.relay
? {
connected: state.relay.connected,
@@ -84,6 +85,7 @@ export async function collectDoctorStatus(payload: BasePayload): Promise<DoctorS
: null,
replyAddress: Boolean(state.replyAddress),
status: integrations.emailStatus?.state ? { code: integrations.emailStatus.code ?? null, since: integrations.emailStatus.since ?? null, state: integrations.emailStatus.state } : null,
...(state.methodProblem ? { methodProblem: state.methodProblem } : {}),
transport: state.transport,
}
} catch {