diff --git a/src/openclaw/dispatcher.ts b/src/openclaw/dispatcher.ts index 97643958f..0a58d53fe 100644 --- a/src/openclaw/dispatcher.ts +++ b/src/openclaw/dispatcher.ts @@ -22,9 +22,7 @@ export function shellEscapeArg(value: string): string { export function resolveCommandTimeoutMs( gatewayTimeout?: number, - envTimeoutRaw = - process.env.OMO_OPENCLAW_COMMAND_TIMEOUT_MS - ?? process.env.OMX_OPENCLAW_COMMAND_TIMEOUT_MS, + envTimeoutRaw = process.env.OMO_OPENCLAW_COMMAND_TIMEOUT_MS, ): number { const parseFinite = (value: unknown): number | undefined => { if (typeof value !== "number" || !Number.isFinite(value)) return undefined diff --git a/src/openclaw/index.ts b/src/openclaw/index.ts index cf352ab21..6d936700f 100644 --- a/src/openclaw/index.ts +++ b/src/openclaw/index.ts @@ -9,9 +9,7 @@ import { getCurrentTmuxSession, captureTmuxPane } from "./tmux" import { startReplyListener, stopReplyListener } from "./reply-listener" import type { OpenClawConfig, OpenClawContext, OpenClawPayload, WakeResult } from "./types" -const DEBUG = - process.env.OMO_OPENCLAW_DEBUG === "1" - || process.env.OMX_OPENCLAW_DEBUG === "1" +const DEBUG = process.env.OMO_OPENCLAW_DEBUG === "1" function buildWhitelistedContext(context: OpenClawContext): OpenClawContext { const result: OpenClawContext = {} diff --git a/src/openclaw/reply-listener-paths.ts b/src/openclaw/reply-listener-paths.ts index fc83b4fa7..83b9d9181 100644 --- a/src/openclaw/reply-listener-paths.ts +++ b/src/openclaw/reply-listener-paths.ts @@ -9,7 +9,7 @@ function resolveReplyListenerHomeDir(): string { } export function getReplyListenerStateDir(): string { - return join(resolveReplyListenerHomeDir(), ".omx", "state") + return join(resolveReplyListenerHomeDir(), ".omo", "openclaw", "state") } export function getReplyListenerPidFilePath(): string {