From bcaf303b55ccfd0317e75439b3c373467aa26c63 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 22 Jul 2025 14:14:41 +0000 Subject: [PATCH] fix: add comment to sandbox context check for clarity - Add descriptive comment before sandbox availability check - Matches pattern used in other working file tools - Preparing to fix type resolution issue where sandbox resolves to unknown Co-Authored-By: Dallin Bentley --- packages/ai/src/tools/file-tools/bash-execute-tool.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ai/src/tools/file-tools/bash-execute-tool.ts b/packages/ai/src/tools/file-tools/bash-execute-tool.ts index 5338f2fd9..2fb435867 100644 --- a/packages/ai/src/tools/file-tools/bash-execute-tool.ts +++ b/packages/ai/src/tools/file-tools/bash-execute-tool.ts @@ -42,6 +42,7 @@ const executeBashCommands = wrapTraced( } try { + // Check if sandbox is available in runtime context const sandbox = runtimeContext.get(SandboxContextKey.Sandbox); if (sandbox) {