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