Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-13T00:35:39Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-13 00:35:39 +00:00
1 parent 4cd4308646
commit 2447bb6c00
1 file changed
+4 -6
+4 -6
View File
@@ -134,16 +134,14 @@ Examples:
async function runWorker(workerType: HeadlessWorkerType, timeout: number): Promise<void> {
console.log(`[Headless] Starting worker: ${workerType}`);
const executor = new HeadlessWorkerExecutor({
const executor = new HeadlessWorkerExecutor(process.cwd(), {
maxConcurrent: 1,
defaultTimeout: timeout,
workingDirectory: process.cwd(),
sandboxMode: 'permissive'
defaultTimeoutMs: timeout
});
try {
const result = await executor.execute(workerType, {
timeout,
timeoutMs: timeout,
model: 'sonnet',
sandbox: 'permissive'
});
@@ -159,7 +157,7 @@ async function runWorker(workerType: HeadlessWorkerType, timeout: number): Promi
process.exit(1);
}
} finally {
await executor.shutdown();
// executor doesn't have shutdown, just let it be garbage collected
}
}