refactor: deduplicate extension normalization primitives (#115650)

* refactor(plugins): reuse SDK normalization primitives

* fix(ci): repair code-mode matrix checks

* fix(ci): satisfy code-mode matrix gates

* fix(ci): use matrix evidence export

* fix(ci): validate matrix evidence artifact
This commit is contained in:
Peter Steinberger
2026-07-29 04:10:06 -04:00
committed by GitHub
parent e1a00726a3
commit 302f262e6b
51 changed files with 153 additions and 339 deletions
+1 -4
View File
@@ -1,3 +1,4 @@
import { isRecord } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
import { readProviderTextResponse } from "openclaw/plugin-sdk/provider-http";
import {
admitGuardAdapter,
@@ -200,7 +201,3 @@ function hasDuplicateKeys(text: string): boolean {
}
return false;
}
function isRecord(value: unknown): value is Record<string, unknown> {
return value !== null && typeof value === "object" && !Array.isArray(value);
}