@odla-ai/harness 0.11.9 → 0.11.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -922,6 +922,9 @@ function parseMemory(value) {
922
922
  return Number(match[1]) * scale;
923
923
  }
924
924
  function execute(engine, args, name, recipe2, signal) {
925
+ return runContainerCommand(engine, args, name, { timeoutMs: recipe2.timeoutMs, maxOutputBytes: recipe2.maxOutputBytes }, signal);
926
+ }
927
+ function runContainerCommand(engine, args, name, recipe2, signal) {
925
928
  return new Promise((accept, reject) => {
926
929
  const started = Date.now();
927
930
  const child = spawn2(engine, args, { shell: false, stdio: ["ignore", "pipe", "pipe"] });
@@ -4062,6 +4065,7 @@ export {
4062
4065
  buildRecipeContainerArgs,
4063
4066
  createContainerRecipeExecutor,
4064
4067
  assertCodeBuildRecipe,
4068
+ runContainerCommand,
4065
4069
  verifyCodeCandidate,
4066
4070
  prepareRuntimeCheckpoint,
4067
4071
  describeGateFailure,
@@ -4099,4 +4103,4 @@ export {
4099
4103
  withProofRecipes,
4100
4104
  TheseusRuntimeEngine
4101
4105
  };
4102
- //# sourceMappingURL=chunk-X5KT7NHM.js.map
4106
+ //# sourceMappingURL=chunk-4IGSN53G.js.map