openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 890 B
JavaScript
import"./git-operation.worker-errors-BicYkIHf.mjs";import{c as e}from"./git-operation.worker-home-dir-DUQkhCrS.mjs";import{l as t}from"./git-operation.worker-git-TpQcAIgG.mjs";import{hn as n}from"./git-operation.worker.js";import"./git-operation.worker-exec-runner-D4RJRnE_.mjs";import"./git-operation.worker-runtime-process-bootstrap.generated-NdDxMbTB.mjs";import"./git-operation.worker-worker-task-pool-BBrceUCf.mjs";import"./git-operation.worker-preparation-timing-B0hOiKBf.mjs";import"node:os";import"node:crypto";import"node:v8";e(Symbol.for(`openclaw.workspaceStagedManifestReads`));const r=6e5;async function readWorkspaceResultGit(e,i,a,o=`git ${i[0]} failed`){let s=await n(`workspace.result`,()=>t(e,i,{timeoutMs:r,...a}),`default`);if(s.termination!==`exit`||s.code!==0)throw Error(s.stderr.toString(`utf8`).trim()||o);return s.stdout}export{readWorkspaceResultGit as n,r as t};