@atolis-hq/wake 0.3.61 → 0.3.62

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.
@@ -108,4 +108,4 @@ export function resolveWakeVersion(options = {}) {
108
108
  return `g${headHash.slice(0, 7)}`;
109
109
  return '0.1.0-dev';
110
110
  }
111
- export const wakeVersion = "g7e5af79";
111
+ export const wakeVersion = "g8095980";
@@ -1,4 +1,8 @@
1
1
  import { execa } from 'execa';
2
+ // Agent CLIs can emit arbitrarily large machine-readable transcripts. Wake
3
+ // retains their complete result only after the process exits, so cap capture
4
+ // below the resident's heap limit and surface the existing output-limit failure.
5
+ const maximumCapturedProcessOutputBytes = 1024 * 1024;
2
6
  export function runProcess(command, args, cwd, signal, timeoutMs) {
3
7
  const child = execa(command, args, {
4
8
  ...(cwd === undefined ? {} : { cwd }),
@@ -6,6 +10,7 @@ export function runProcess(command, args, cwd, signal, timeoutMs) {
6
10
  stdin: 'ignore',
7
11
  stdout: 'pipe',
8
12
  stderr: 'pipe',
13
+ maxBuffer: maximumCapturedProcessOutputBytes,
9
14
  cancelSignal: signal,
10
15
  ...(timeoutMs === undefined ? {} : { timeout: timeoutMs }),
11
16
  reject: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atolis-hq/wake",
3
- "version": "0.3.61",
3
+ "version": "0.3.62",
4
4
  "description": "Local autonomous agent control plane for software development",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {