@odla-ai/harness 0.11.9 → 0.11.10

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.
@@ -1164,6 +1164,9 @@ function parseMemory(value) {
1164
1164
  return Number(match[1]) * scale;
1165
1165
  }
1166
1166
  function execute(engine, args, name, recipe2, signal) {
1167
+ return runContainerCommand(engine, args, name, { timeoutMs: recipe2.timeoutMs, maxOutputBytes: recipe2.maxOutputBytes }, signal);
1168
+ }
1169
+ function runContainerCommand(engine, args, name, recipe2, signal) {
1167
1170
  return new Promise((accept, reject) => {
1168
1171
  const started = Date.now();
1169
1172
  const child = (0, import_node_child_process4.spawn)(engine, args, { shell: false, stdio: ["ignore", "pipe", "pipe"] });