Download src/cli/gateway-cli/output-mode.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/cli/gateway-cli/output-mode.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/cli/gateway-cli/output-mode.ts
-
curl -L -o output-mode.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/cli/gateway-cli/output-mode.ts
318 Bytes
| import { resolveGatewayCommandPath } from "../gateway-run-argv.js"; | |
| export function isGatewayMachineOutput(argv: readonly string[]): boolean { | |
| const [, command, action] = resolveGatewayCommandPath([...argv], 3) ?? []; | |
| return command === "restart-handoff" && (action === "capabilities" || action === "consume"); | |
| } | |