openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
21 lines (20 loc) • 619 B
JavaScript
//#region src/commands/doctor/auth-migration-findings.ts
/** Preserve migration receipts while reporting the producer's current or historical outcome. */
function createAuthMigrationWarningRecorder(e, t, n) {
return (r, i, a, o, s = "fix-now", c = "https://docs.openclaw.ai/cli/doctor/running#auth-migration-recovery") => {
e.push(r);
const l = {
checkId: `core/doctor/auth-migration/${i}`,
severity: "warning",
category: s,
message: r,
fixHint: a,
...o ? { target: o } : {},
docsUrl: c
};
t.push(l);
n?.([l], [r]);
};
}
//#endregion
export { createAuthMigrationWarningRecorder as t };