From 6d6afe73fa80d9e53b611d4ff5ac0709738820f6 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Thu, 19 Feb 2026 00:14:24 -0800 Subject: [PATCH] better claude --- src/vm.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm.ts b/src/vm.ts index 49b8d4c..e1ee86a 100644 --- a/src/vm.ts +++ b/src/vm.ts @@ -73,7 +73,7 @@ export async function ensure(log?: (msg: string) => void): Promise { const settingsJson = JSON.stringify(apiKey ? { apiKeyHelper: "~/.claude/api-key-helper.sh", skipDangerousModePermissionPrompt: true } : { skipDangerousModePermissionPrompt: true }) - const claudeJson = JSON.stringify({ hasCompletedOnboarding: true }) + const claudeJson = JSON.stringify({ hasCompletedOnboarding: true, effortCalloutDismissed: true }) // Write the helper script to a temp file and copy it in so the key // never appears in a process argument visible in `ps`. @@ -116,7 +116,7 @@ export async function claude(workdir: string, prompt?: string): Promise { "The host's ~/.sandlot is mounted at /sandlot.", ].join("\n") - const args = ["container", "exec", "-it", "--user", USER, "--workdir", cwd, CONTAINER_NAME, CLAUDE_BIN, "--dangerously-skip-permissions", "--append-system-prompt", systemPrompt] + const args = ["container", "exec", "-it", "--user", USER, "--workdir", cwd, CONTAINER_NAME, CLAUDE_BIN, "--dangerously-skip-permissions", "--model", "claude-opus-4-6", "--append-system-prompt", systemPrompt] if (prompt) args.push(prompt) const proc = Bun.spawn(args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }) await proc.exited