fix: restore main CI checks

This commit is contained in:
Peter Steinberger
2026-04-12 11:27:59 -07:00
parent aa023e4283
commit 67af6f0baf
4 changed files with 9 additions and 6 deletions

View File

@@ -1 +1 @@
f324558380d6346b8230df477332491adb863a1dcc4025cf119488ac2bd5f1e7
c348eb72281b7f56717845db649f8bf02a29127be04d567be814e431bb60dc2e

View File

@@ -12,8 +12,8 @@ import { ensureGlobalUndiciEnvProxyDispatcher } from "../infra/net/undici-global
import { ensureOpenClawCliOnPath } from "../infra/path-env.js";
import { assertSupportedRuntime } from "../infra/runtime-guard.js";
import { enableConsoleCapture } from "../logging.js";
import type { PluginManifestCommandAliasRegistry } from "../plugins/manifest-command-aliases.js";
import { resolveManifestCommandAliasOwner } from "../plugins/manifest-command-aliases.runtime.js";
import type { PluginManifestRegistry } from "../plugins/manifest-registry.js";
import { hasMemoryRuntime } from "../plugins/memory-state.js";
import { maybeWarnAboutDebugProxyCoverage } from "../proxy-capture/coverage.js";
import {
@@ -74,7 +74,7 @@ export function shouldUseRootHelpFastPath(argv: string[]): boolean {
export function resolveMissingPluginCommandMessage(
pluginId: string,
config?: OpenClawConfig,
options?: { registry?: PluginManifestRegistry },
options?: { registry?: PluginManifestCommandAliasRegistry },
): string | null {
const normalizedPluginId = normalizeLowercaseStringOrEmpty(pluginId);
if (!normalizedPluginId) {

View File

@@ -31,7 +31,9 @@ const { createGatewayCloseHandler } = await import("./server-close.js");
type GatewayCloseHandlerParams = Parameters<typeof createGatewayCloseHandler>[0];
type GatewayCloseClient = GatewayCloseHandlerParams["clients"] extends Set<infer T> ? T : never;
function createGatewayCloseTestDeps(overrides: Partial<GatewayCloseHandlerParams> = {}) {
function createGatewayCloseTestDeps(
overrides: Partial<GatewayCloseHandlerParams> = {},
): GatewayCloseHandlerParams {
return {
bonjourStop: null,
tailscaleCleanup: null,

View File

@@ -1,16 +1,17 @@
import type { OpenClawConfig } from "../config/types.openclaw.js";
import {
resolveManifestCommandAliasOwnerInRegistry,
type PluginManifestCommandAliasRegistry,
type PluginManifestCommandAliasRecord,
} from "./manifest-command-aliases.js";
import { loadPluginManifestRegistry, type PluginManifestRegistry } from "./manifest-registry.js";
import { loadPluginManifestRegistry } from "./manifest-registry.js";
export function resolveManifestCommandAliasOwner(params: {
command: string | undefined;
config?: OpenClawConfig;
workspaceDir?: string;
env?: NodeJS.ProcessEnv;
registry?: PluginManifestRegistry;
registry?: PluginManifestCommandAliasRegistry;
}): PluginManifestCommandAliasRecord | undefined {
const registry =
params.registry ??