Environment Details
- CLI Package Version:
gws-cli (latest via Nix)
- OS Platform & Version: macOS
- Installation Method: Nix Flake
- Runtime Environment: Google Antigravity SDK (
agy runtime)
The Issue
Hey everyone,
I’m running into a weird execution blocker and was hoping to get some advice—or if this is the wrong place to ask, maybe someone could point me in the right direction.
I’m trying to automate some Workspace admin tasks by running the gws-cli within a Google Antigravity SDK sandbox environment (the agy runtime). However, whenever I try to run a standard gws command (like gws auth login or gws --help), the environment’s [multicall] wrapper intercepts and completely blocks it because it isn't in its strict allowlist.
I know this is technically an environment/sandbox restriction and probably not a direct bug in the CLI itself, but it’s completely breaking my automated workflows.
Interestingly, I did find a workaround. If I force the invocation to use the absolute binary path like this:
...it bypasses the wrapper entirely and works perfectly.
What I'm looking for
Has anyone else tried using gws-cli in tightly sandboxed environments or AI agent runtimes? I’m mostly looking for advice on whether there are better ways to invoke or configure the CLI so it plays nicely with these wrappers, rather than having to hardcode the absolute path everywhere.
If this is completely out of scope here, no worries! But if anyone knows a better place to ask about Antigravity SDK environment quirks, I'd really appreciate a pointer.
Thanks in advance!
Environment Details
gws-cli(latest via Nix)agyruntime)The Issue
Hey everyone,
I’m running into a weird execution blocker and was hoping to get some advice—or if this is the wrong place to ask, maybe someone could point me in the right direction.
I’m trying to automate some Workspace admin tasks by running the
gws-cliwithin a Google Antigravity SDK sandbox environment (theagyruntime). However, whenever I try to run a standardgwscommand (likegws auth loginorgws --help), the environment’s[multicall]wrapper intercepts and completely blocks it because it isn't in its strict allowlist.I know this is technically an environment/sandbox restriction and probably not a direct bug in the CLI itself, but it’s completely breaking my automated workflows.
Interestingly, I did find a workaround. If I force the invocation to use the absolute binary path like this:
$(command -v gws) --help...it bypasses the wrapper entirely and works perfectly.
What I'm looking for
Has anyone else tried using
gws-cliin tightly sandboxed environments or AI agent runtimes? I’m mostly looking for advice on whether there are better ways to invoke or configure the CLI so it plays nicely with these wrappers, rather than having to hardcode the absolute path everywhere.If this is completely out of scope here, no worries! But if anyone knows a better place to ask about Antigravity SDK environment quirks, I'd really appreciate a pointer.
Thanks in advance!