fix(openclaw): batch 18 (3 files)

This commit is contained in:
YeonGyu-Kim
2026-05-30 19:12:04 +09:00
parent 5b032b4b14
commit 6fcce3c279
3 changed files with 3 additions and 7 deletions
+1 -3
View File
@@ -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
+1 -3
View File
@@ -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 = {}
+1 -1
View File
@@ -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 {