mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 17:51:22 +00:00
fix(boundaries): absorb latest main contract drift
This commit is contained in:
@@ -120,7 +120,15 @@ export type ConfigAuditProcessInfo = {
|
||||
|
||||
export type ConfigWriteAuditRecordBase = Omit<
|
||||
ConfigWriteAuditRecord,
|
||||
"result" | "errorCode" | "errorMessage"
|
||||
| "result"
|
||||
| "errorCode"
|
||||
| "errorMessage"
|
||||
| "nextDev"
|
||||
| "nextIno"
|
||||
| "nextMode"
|
||||
| "nextNlink"
|
||||
| "nextUid"
|
||||
| "nextGid"
|
||||
> & {
|
||||
nextHash: string;
|
||||
nextBytes: number;
|
||||
@@ -143,19 +151,6 @@ type ConfigAuditFs = {
|
||||
): unknown;
|
||||
};
|
||||
|
||||
type ConfigAuditAppendParams =
|
||||
| {
|
||||
fs: ConfigAuditFs;
|
||||
env: NodeJS.ProcessEnv;
|
||||
homedir: () => string;
|
||||
record: ConfigAuditRecord;
|
||||
}
|
||||
| ({
|
||||
fs: ConfigAuditFs;
|
||||
env: NodeJS.ProcessEnv;
|
||||
homedir: () => string;
|
||||
} & ConfigAuditRecord);
|
||||
|
||||
function normalizeAuditLabel(value: string | undefined): string | null {
|
||||
if (typeof value !== "string") {
|
||||
return null;
|
||||
|
||||
@@ -96,6 +96,7 @@ describe("opt-in extension package boundaries", () => {
|
||||
"../../src/plugin-sdk/provider-onboard.ts",
|
||||
"../../src/plugin-sdk/provider-stream-shared.ts",
|
||||
"../../src/plugin-sdk/provider-tools.ts",
|
||||
"../../src/plugin-sdk/provider-web-search-contract.ts",
|
||||
"../../src/plugin-sdk/provider-web-search.ts",
|
||||
"../../src/plugin-sdk/runtime-doctor.ts",
|
||||
"../../src/plugin-sdk/runtime-env.ts",
|
||||
|
||||
Reference in New Issue
Block a user