open-agents-ai 0.186.30 → 0.186.31
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69181,7 +69181,7 @@ ${historyLines}
|
|
|
69181
69181
|
OA_RUN_USER: req._authUser || "anonymous",
|
|
69182
69182
|
OA_RUN_SCOPE: req._authScope || "admin"
|
|
69183
69183
|
};
|
|
69184
|
-
const child = spawn21(
|
|
69184
|
+
const child = spawn21(process.execPath, [oaBin, ...args], {
|
|
69185
69185
|
cwd: cwdPath,
|
|
69186
69186
|
env: runEnv,
|
|
69187
69187
|
stdio: ["ignore", "pipe", "pipe"]
|
|
@@ -74953,7 +74953,7 @@ async function runBackground(task, config, opts) {
|
|
|
74953
74953
|
const args = [task, "--json"];
|
|
74954
74954
|
if (config.model)
|
|
74955
74955
|
args.push("--model", config.model);
|
|
74956
|
-
const child = spawn22(
|
|
74956
|
+
const child = spawn22(process.execPath, [oaBin, ...args], {
|
|
74957
74957
|
cwd: repoRoot,
|
|
74958
74958
|
env: { ...process.env, OA_JOB_ID: id },
|
|
74959
74959
|
stdio: ["ignore", "pipe", "pipe"],
|
package/package.json
CHANGED