openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
10 lines (9 loc) • 379 B
JavaScript
import { r as promptYesNo } from "./prompt-BvBir9Yc.js";
import { stdin, stdout } from "node:process";
//#region src/cli/clawhub-install-confirmation.ts
function resolveClawHubInstallConfirmation() {
if (!stdin.isTTY || !stdout.isTTY) return;
return async () => await promptYesNo("Proceed with installation?");
}
//#endregion
export { resolveClawHubInstallConfirmation as t };