agent-office 0.4.8 → 0.4.9
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.
|
@@ -2064,7 +2064,7 @@ export async function appCoworkerChatWeb(options) {
|
|
|
2064
2064
|
const timeoutSec = Math.min(120, Number(args.timeout) || 30);
|
|
2065
2065
|
const timeout = timeoutSec * 1000;
|
|
2066
2066
|
result = await new Promise((resolve) => {
|
|
2067
|
-
exec(command, { timeout, maxBuffer: 1024 * 1024, cwd: process.cwd() }, (err, stdout, stderr) => {
|
|
2067
|
+
exec(command, { timeout, maxBuffer: 1024 * 1024, cwd: process.cwd(), env: process.env }, (err, stdout, stderr) => {
|
|
2068
2068
|
const out = (stdout || "").trim();
|
|
2069
2069
|
const errOut = (stderr || "").trim();
|
|
2070
2070
|
if (err && err.killed) {
|