gemini-computer-use 0.1.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core/policies.py CHANGED
@@ -5,9 +5,12 @@ from google.antigravity import types
5
5
  from google.antigravity.hooks import policy
6
6
  from google.antigravity.hooks.policy import Policy, Decision
7
7
 
8
+ # Workspace roots are read from the environment ONLY -- never hardcode a personal
9
+ # home directory. Point MESH_COORDINATOR_WORKSPACE / MESH_WORKSPACE at the real
10
+ # deployment paths in the service environment.
8
11
  ALLOWED_WORKSPACES = [
9
- "/root/agy-gdrive-runner",
10
- "/home/lev/MyProjects/antigravity-mesh",
12
+ os.environ.get("MESH_COORDINATOR_WORKSPACE", "/root/agy-gdrive-runner"),
13
+ os.environ.get("MESH_WORKSPACE", "/root/antigravity-mesh"),
11
14
  ]
12
15
 
13
16
  SAFE_COMMAND_PREFIXES = [