@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.
- package/dist/{chunk-X5KT7NHM.js → chunk-4IGSN53G.js} +5 -1
- package/dist/chunk-4IGSN53G.js.map +1 -0
- package/dist/code-runtime-cli.cjs +3 -0
- package/dist/code-runtime-cli.cjs.map +1 -1
- package/dist/code-runtime-cli.js +1 -1
- package/dist/node.cjs +108 -4
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +31 -1
- package/dist/node.d.ts +31 -1
- package/dist/node.js +97 -1
- package/dist/node.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-X5KT7NHM.js.map +0 -1
|
@@ -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-
|
|
4106
|
+
//# sourceMappingURL=chunk-4IGSN53G.js.map
|