mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 05:12:15 +00:00
feat(cli): support targeting running containerized openclaw instances (#52651)
Signed-off-by: sallyom <somalley@redhat.com>
This commit is contained in:
@@ -32,6 +32,11 @@ vi.mock("../infra/device-pairing.js", () => ({
|
||||
vi.mock("../runtime.js", async (importOriginal) => ({
|
||||
...(await importOriginal<typeof import("../runtime.js")>()),
|
||||
defaultRuntime: runtime,
|
||||
writeRuntimeJson: (
|
||||
targetRuntime: { log: (...args: unknown[]) => void },
|
||||
value: unknown,
|
||||
space = 2,
|
||||
) => targetRuntime.log(JSON.stringify(value, null, space > 0 ? space : undefined)),
|
||||
}));
|
||||
|
||||
let registerDevicesCli: typeof import("./devices-cli.js").registerDevicesCli;
|
||||
|
||||
Reference in New Issue
Block a user