mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
fix: restore main CI checks
This commit is contained in:
@@ -1 +1 @@
|
||||
f324558380d6346b8230df477332491adb863a1dcc4025cf119488ac2bd5f1e7
|
||||
c348eb72281b7f56717845db649f8bf02a29127be04d567be814e431bb60dc2e
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 ??
|
||||
|
||||
Reference in New Issue
Block a user