@atolis-hq/wake 0.4.108 → 0.4.109
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.109";
|
|
128
128
|
/** The registry-installable version used by packaged sandbox images. */
|
|
129
129
|
export const wakePackageVersion = packageVersion(defaultRepoRoot) ?? wakeVersion;
|
|
@@ -20,6 +20,9 @@ export function createClaudeRunner(options = {}) {
|
|
|
20
20
|
supportsEphemeralMcp: true,
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
+
// `claude -p` stays alive until a pending wakeup fires, even past its background-wait cap.
|
|
24
|
+
// A finished run would hang until Wake's idle timeout kills it and discards the result.
|
|
25
|
+
const claudeDisallowedTools = ['ScheduleWakeup'];
|
|
23
26
|
export function claudeCommandArgs(request, passthroughArgs = [], defaults = {}) {
|
|
24
27
|
const model = request.model ?? defaults.model;
|
|
25
28
|
const effort = request.effort ?? defaults.effort;
|
|
@@ -36,6 +39,8 @@ export function claudeCommandArgs(request, passthroughArgs = [], defaults = {})
|
|
|
36
39
|
...(request.allowedTools.length === 0
|
|
37
40
|
? []
|
|
38
41
|
: ['--allowedTools', claudeAllowedTools(request).join(' ')]),
|
|
42
|
+
'--disallowedTools',
|
|
43
|
+
claudeDisallowedTools.join(' '),
|
|
39
44
|
...(request.mcpServers === undefined || request.mcpServers.length === 0
|
|
40
45
|
? []
|
|
41
46
|
: ['--mcp-config', JSON.stringify(claudeMcpConfig(request)), '--strict-mcp-config']),
|