@atolis-hq/wake 0.4.70 → 0.4.71

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.
@@ -124,6 +124,6 @@ export function resolveWakeVersion(options = {}) {
124
124
  return `g${headHash.slice(0, 7)}`;
125
125
  return '0.1.0-dev';
126
126
  }
127
- export const wakeVersion = "v0.4.70";
127
+ export const wakeVersion = "v0.4.71";
128
128
  /** The registry-installable version used by packaged sandbox images. */
129
129
  export const wakePackageVersion = packageVersion(defaultRepoRoot) ?? wakeVersion;
@@ -52,9 +52,8 @@ export function codexCommandArgs(request, passthroughArgs = [], defaults = {}) {
52
52
  'exec',
53
53
  '--json',
54
54
  '--skip-git-repo-check',
55
- ...(request.workspaceMode === undefined
56
- ? []
57
- : ['--sandbox', codexSandboxMode(request.workspaceMode)]),
55
+ '--sandbox',
56
+ CODEX_SANDBOX_MODE,
58
57
  ...(request.workspacePath === undefined ? [] : ['--cd', request.workspacePath]),
59
58
  ...(model === undefined ? [] : ['--model', model]),
60
59
  ...((request.effort ?? defaults.effort) === undefined
@@ -78,11 +77,11 @@ function codexMcpConfigArgs(request) {
78
77
  }
79
78
  // Work around Codex's missing background-command lifecycle contract (https://github.com/openai/codex/issues/32505, https://github.com/openai/codex/issues/34866).
80
79
  const waitBackgroundInstruction = `When a command you started is still running or lacks a terminal result, do not report a normal Wake outcome. Make your entire final response exactly WAIT_BACKGROUND. Wake will reject that stop attempt and ask you to continue. After that hook prompt, poll the still-running command and report a normal terminal status only after it has settled. Do not use WAIT_BACKGROUND for a human-input or implementation blocker.`;
81
- function codexSandboxMode(_workspaceMode) {
82
- // Wake executes runners inside its Docker sandbox. Avoid asking Codex to
83
- // create a second Linux namespace sandbox, which container runtimes may deny.
84
- return 'danger-full-access';
85
- }
80
+ // Wake executes runners inside its Docker sandbox. Avoid asking Codex to
81
+ // create a second Linux namespace sandbox, which container runtimes may deny.
82
+ // Applies to stages without a workspace too: Codex's default sandbox cannot
83
+ // start here and denies MCP tool approvals under non-interactive exec.
84
+ const CODEX_SANDBOX_MODE = 'danger-full-access';
86
85
  export function parseCodexOutput(stdout, request) {
87
86
  let state = {};
88
87
  for (const line of stdout.split(/\r?\n/)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atolis-hq/wake",
3
- "version": "0.4.70",
3
+ "version": "0.4.71",
4
4
  "description": "Local autonomous agent control plane for software development",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {