Commit Graph

13 Commits

Author SHA1 Message Date
Olcan 211e8f005f in sandboxed run scripts, allow .env to be an in any ancestor directory, same as in findEnvFile; also prep for sanboxing with global command (#147) 2025-04-24 08:58:47 -07:00
Seth Troisi f6f8265424 Pass GEMINI_API_KEY env variable to sandbox 2025-04-23 18:22:58 -07:00
Seth Troisi b31bce078c Add generic container run command for npm start 2025-04-23 18:07:29 -07:00
Seth Troisi ccc28d175b Default TMPDIR to /tmp/ for sandbox (#133) 2025-04-23 14:36:15 -07:00
Olcan 530ab91807 Refactor_sandbox_command (#121) 2025-04-22 13:51:50 -07:00
Benjamin Bastian cccaf1d1f2 Update sandbox script to not require term variables (#105)
If `nounset` is active, it'll require that TERM and COLORTERM is set in the
environment. It's not necessary that these variables are set and it should be
passed to the sandbox. This change just causes the TERM and COLORTERM to be set
to an empty string if they are unset.
2025-04-21 22:59:49 -07:00
Olcan 8c1f2bea46 improved (full color) sandbox, mount /tmp to display build warnings, display sandbox name in footer (#96) 2025-04-21 14:43:43 -07:00
Olcan 8d3f28591a sandbox.sh utility to easily log into or execute commands in a sandbox, set hostname and SANDBOX env var to container name (#92) 2025-04-21 13:52:51 -07:00
Olcan 035a42f94c enable debugging through sandbox (#88) 2025-04-21 12:39:58 -07:00
Olcan 882e83f19a fix flags via sandbox (again) (#87) 2025-04-21 12:13:16 -07:00
Tyler f0346781a1 More license headers, add a CONTRIBUTING.md file (also fix README.md formatting) (#81) 2025-04-21 10:04:03 -07:00
Olcan 2b1ed088f2 make sandbox attachable, document in README (#80) 2025-04-21 09:17:17 -07:00
Olcan 3e39148cc8 seamless sandboxing (just set GEMINI_CODE_SANDBOX=true in .env) (#76) 2025-04-21 07:50:18 -07:00