feat(adapters): add overriddenBuiltin flag to API and Adapter Manager UI

When an external plugin overrides a built-in adapter type, the
GET /api/adapters response now includes overriddenBuiltin: true. The
Adapter Manager shows an 'Overrides built-in' badge on such adapters.
This commit is contained in:
HenkDz 2026-04-03 22:25:27 +01:00
parent 2a2fa31a03
commit fb3aabb743
3 changed files with 10 additions and 0 deletions

View file

@ -17,6 +17,8 @@ export interface AdapterInfo {
packageName?: string;
/** Whether the adapter was installed from a local path (vs npm). */
isLocalPath?: boolean;
/** True when an external plugin has replaced a built-in adapter of the same type. */
overriddenBuiltin?: boolean;
}
export interface AdapterInstallResult {