@atolis-hq/wake 0.4.33 → 0.4.34
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.
|
|
127
|
+
export const wakeVersion = "v0.4.34";
|
|
128
128
|
/** The registry-installable version used by packaged sandbox images. */
|
|
129
129
|
export const wakePackageVersion = packageVersion(defaultRepoRoot) ?? wakeVersion;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ProviderQuotaExceededFailureKind } from '../../contracts/runner.js';
|
|
2
|
-
import { WorkspaceMode } from '../../contracts/vocabulary.js';
|
|
3
2
|
import { cliRunner } from './claude.js';
|
|
4
3
|
// Deliberately narrow: only genuine provider usage/rate-limit phrasing.
|
|
5
4
|
// Auth/login failures (unauthorized, authentication, api key, not logged
|
|
@@ -67,8 +66,10 @@ export function codexCommandArgs(request, passthroughArgs = [], defaults = {}) {
|
|
|
67
66
|
}
|
|
68
67
|
// Work around Codex's missing background-command lifecycle contract (https://github.com/openai/codex/issues/32505, https://github.com/openai/codex/issues/34866).
|
|
69
68
|
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.`;
|
|
70
|
-
function codexSandboxMode(
|
|
71
|
-
|
|
69
|
+
function codexSandboxMode(_workspaceMode) {
|
|
70
|
+
// Wake executes runners inside its Docker sandbox. Avoid asking Codex to
|
|
71
|
+
// create a second Linux namespace sandbox, which container runtimes may deny.
|
|
72
|
+
return 'danger-full-access';
|
|
72
73
|
}
|
|
73
74
|
export function parseCodexOutput(stdout, request) {
|
|
74
75
|
let state = {};
|