From 0fac031e5b323325df5af12c6bf5477f3eb2b560 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 28 Jul 2026 15:37:40 +0000 Subject: [PATCH] Show total Actor memory in shell System info Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_017u724CoxaEEq4YV3BcL43r --- sandbox/src/templates/shell.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sandbox/src/templates/shell.ts b/sandbox/src/templates/shell.ts index 2814481..bf3a8cb 100644 --- a/sandbox/src/templates/shell.ts +++ b/sandbox/src/templates/shell.ts @@ -57,6 +57,13 @@ echo -e " - Claude Code: \$CLAUDE_CODE_VER" echo -e " - Codex CLI: \$CODEX_VER" echo -e " - OpenCode: \$OPENCODE_VER" echo -e " - LLM API: https://apify.com/apify/openrouter" +if [ -n "\$ACTOR_MEMORY_MBYTES" ]; then + if [ \$((ACTOR_MEMORY_MBYTES % 1024)) -eq 0 ]; then + echo -e " - Memory: \$((ACTOR_MEMORY_MBYTES / 1024)) GB" + else + echo -e " - Memory: \$ACTOR_MEMORY_MBYTES MB" + fi +fi echo -e " - Working dir: \$(pwd)" echo ""