openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 583 B
JavaScript
const e=/* @__PURE__ */ new Set([`ASDF_DIR`,`BUN_INSTALL`,`CARGO_HOME`,`CDPATH`,`GOPATH`,`GOROOT`,`GOENV_ROOT`,`HOMEBREW_CELLAR`,`HOMEBREW_PREFIX`,`HOMEBREW_REPOSITORY`,`INFOPATH`,`MANPATH`,`NVM_DIR`,`PATH`,`PNPM_HOME`,`PYENV_ROOT`,`RBENV_ROOT`,`RUSTUP_HOME`,`VOLTA_HOME`]),t=/(secret|token|password|passwd|credential|cookie|session|auth|key)/i;function captureShellSnapshotEnvironment(n){let r={};for(let[i,a]of Object.entries(n))e.has(i)&&!t.test(i)&&typeof a==`string`&&(r[i]=a);return r}process.stdout.write(JSON.stringify(captureShellSnapshotEnvironment(process.env)));export{};