mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
fix: restore ci after rebase drift
This commit is contained in:
@@ -214,10 +214,10 @@ describe("backup commands", () => {
|
||||
);
|
||||
expect(capturedManifest).not.toBeNull();
|
||||
expect(capturedOnWriteEntry).not.toBeNull();
|
||||
const manifest = capturedManifest as {
|
||||
const manifest = capturedManifest as unknown as {
|
||||
assets: Array<{ kind: string; archivePath: string }>;
|
||||
};
|
||||
const onWriteEntry = capturedOnWriteEntry as (entry: { path: string }) => void;
|
||||
const onWriteEntry = capturedOnWriteEntry as unknown as (entry: { path: string }) => void;
|
||||
expect(manifest.assets).toEqual(
|
||||
expect.arrayContaining([
|
||||
expect.objectContaining({ kind: "state" }),
|
||||
|
||||
@@ -19,38 +19,7 @@ import { resolvePluginConfigContractsById } from "./config-contracts.js";
|
||||
function createRegistry(plugins: PluginManifestRegistry["plugins"]): PluginManifestRegistry {
|
||||
return {
|
||||
plugins,
|
||||
channels: [],
|
||||
modelProviderConfigs: [],
|
||||
modelProviderEntries: [],
|
||||
providerAuthResolvers: [],
|
||||
providerCatalogProviders: [],
|
||||
modelCatalogProviders: [],
|
||||
modelAliasProviders: [],
|
||||
modelCompatibilityProviders: [],
|
||||
dynamicModelResolvers: [],
|
||||
endpointFactories: [],
|
||||
providerLoaders: [],
|
||||
providerSetups: [],
|
||||
onboardingProviders: [],
|
||||
authChoiceProviders: [],
|
||||
providerAuthChoiceProviders: [],
|
||||
providerPromptCachePolicies: [],
|
||||
providerMetadataProviders: [],
|
||||
providerPricingResolvers: [],
|
||||
providerHealthChecks: [],
|
||||
providerRewriters: [],
|
||||
providerToolCatalogProviders: [],
|
||||
builtinToolProviders: [],
|
||||
skillProviders: [],
|
||||
slashCommandProviders: [],
|
||||
installProviders: [],
|
||||
cliRegistrars: [],
|
||||
toolProviders: [],
|
||||
webSearchProviders: [],
|
||||
webFetchProviders: [],
|
||||
providerTtsProviders: [],
|
||||
memoryEmbeddingProviders: [],
|
||||
custom: [],
|
||||
diagnostics: [],
|
||||
};
|
||||
}
|
||||
|
||||
@@ -71,17 +40,33 @@ describe("resolvePluginConfigContractsById", () => {
|
||||
manifestPath: "/tmp/brave/openclaw.plugin.json",
|
||||
channelConfigs: undefined,
|
||||
providerAuthEnvVars: undefined,
|
||||
uiHints: undefined,
|
||||
configUiHints: undefined,
|
||||
configSchema: undefined,
|
||||
configContracts: undefined,
|
||||
contracts: undefined,
|
||||
name: undefined,
|
||||
description: undefined,
|
||||
version: undefined,
|
||||
enabledByDefault: undefined,
|
||||
autoEnableWhenConfiguredProviders: undefined,
|
||||
legacyPluginIds: undefined,
|
||||
format: undefined,
|
||||
bundleFormat: undefined,
|
||||
bundleCapabilities: undefined,
|
||||
kind: undefined,
|
||||
appSync: undefined,
|
||||
packageName: undefined,
|
||||
packageVersion: undefined,
|
||||
publicSurfaceArtifacts: undefined,
|
||||
runtimeSidecarArtifacts: undefined,
|
||||
packageManifest: undefined,
|
||||
channels: [],
|
||||
providers: [],
|
||||
modelSupport: undefined,
|
||||
cliBackends: [],
|
||||
channelEnvVars: undefined,
|
||||
providerAuthChoices: undefined,
|
||||
skills: [],
|
||||
settingsFiles: undefined,
|
||||
hooks: [],
|
||||
source: "/tmp/brave/openclaw.plugin.json",
|
||||
setupSource: undefined,
|
||||
startupDeferConfiguredChannelFullLoadUntilAfterListen: undefined,
|
||||
channelCatalogMeta: undefined,
|
||||
},
|
||||
]),
|
||||
);
|
||||
|
||||
@@ -60,7 +60,7 @@ export function createProcessSupervisor(): ProcessSupervisor {
|
||||
const runId = normalizeOptionalString(input.runId) ?? crypto.randomUUID();
|
||||
const scopeKey = normalizeOptionalString(input.scopeKey);
|
||||
if (input.replaceExistingScope && scopeKey) {
|
||||
cancelScope(input.scopeKey, "manual-cancel");
|
||||
cancelScope(scopeKey, "manual-cancel");
|
||||
}
|
||||
const startedAtMs = Date.now();
|
||||
const record: RunRecord = {
|
||||
|
||||
Reference in New Issue
Block a user