@agent-device/proxy 0.21.28 → 0.21.29-nightly.20261017.73
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/process.mjs +3 -3
- package/package.json +3 -3
package/dist/process.mjs
CHANGED
|
@@ -159,7 +159,7 @@ function runSpawnedCommand(cmd, args, options = {}) {
|
|
|
159
159
|
});
|
|
160
160
|
options.onSpawn?.(child);
|
|
161
161
|
let stdout = "";
|
|
162
|
-
const stdoutChunks = options.binaryStdout ? [] : void 0;
|
|
162
|
+
const stdoutChunks = options.binaryStdout && options.captureOutput !== false ? [] : void 0;
|
|
163
163
|
let stderr = "";
|
|
164
164
|
let didTimeout = false;
|
|
165
165
|
const timeoutMs = normalizeTimeoutMs(options.timeoutMs);
|
|
@@ -219,12 +219,12 @@ function runSpawnedCommand(cmd, args, options = {}) {
|
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
221
|
const text = String(chunk);
|
|
222
|
-
stdout += text;
|
|
222
|
+
if (options.captureOutput !== false) stdout += text;
|
|
223
223
|
options.onStdoutChunk?.(text);
|
|
224
224
|
});
|
|
225
225
|
child.stderr.on("data", (chunk) => {
|
|
226
226
|
const text = String(chunk);
|
|
227
|
-
stderr += text;
|
|
227
|
+
if (options.captureOutput !== false) stderr += text;
|
|
228
228
|
options.onStderrChunk?.(text);
|
|
229
229
|
});
|
|
230
230
|
child.on("error", (err) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-device/proxy",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.29-nightly.20261017.73",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Transport-neutral authenticating proxy in front of an agent-device daemon.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@agent-device/
|
|
28
|
+
"@agent-device/host-kit": "0.0.0",
|
|
29
29
|
"@agent-device/kernel": "0.0.0",
|
|
30
|
-
"@agent-device/
|
|
30
|
+
"@agent-device/contracts": "0.0.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsdown --config tsdown.config.ts"
|