test(codex): drop unused live harness helper · openclaw/openclaw@6668eb8
steipete
·
2026-06-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -106,10 +106,6 @@ function isCodexAccountTokenError(error: unknown): boolean {
|
106 | 106 | return error instanceof Error && error.message.includes("Failed to extract accountId from token"); |
107 | 107 | } |
108 | 108 | |
109 | | -function asRecord(value: unknown): Record<string, unknown> | undefined { |
110 | | -return value && typeof value === "object" ? (value as Record<string, unknown>) : undefined; |
111 | | -} |
112 | | - |
113 | 109 | async function subscribeCodexLiveDebugEvents(sessionKey: string): Promise<() => void> { |
114 | 110 | if (!CODEX_HARNESS_DEBUG) { |
115 | 111 | return () => undefined; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。