refactor(test-ui): remove dead utility code · openclaw/openclaw@60d6a8a
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -228,11 +228,6 @@ export async function waitForHttpBodyDeltas(
|
228 | 228 | throw new Error(`expected ${count} http body deltas`); |
229 | 229 | } |
230 | 230 | |
231 | | -/** Quotes a value for POSIX shell snippets embedded in sandbox test commands. */ |
232 | | -export function shellQuote(value: string): string { |
233 | | -return `'${value.replaceAll("'", `'"'"'`)}'`; |
234 | | -} |
235 | | - |
236 | 231 | /** Sends one JSON-RPC request and resolves/rejects from the matching response id. */ |
237 | 232 | export function rpc(socket: WebSocket, method: string, params: unknown): Promise<unknown> { |
238 | 233 | const id = Math.floor(Math.random() * 1_000_000); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -33,8 +33,6 @@ export type ChannelUiMetaEntry = {
|
33 | 33 | systemImage?: string; |
34 | 34 | }; |
35 | 35 | |
36 | | -export const CRON_CHANNEL_LAST = "last"; |
37 | | - |
38 | 36 | export type ChannelAccountSnapshot = { |
39 | 37 | accountId: string; |
40 | 38 | name?: string | null; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。