anona.configure
Signature
E2B_* variables of this process so the stock SDK, and the extras, talk to Anona. Missing values fall back to ANONA_* variables, then to E2B_DOMAIN=compute.anonalabs.com.
configure.py
anona.Sandbox
A subclass of e2b.Sandbox. Every E2B method works unchanged; create, connect and list default to the Anona domain. Two properties are added:
sandbox.live
ViewerToken has token, expires_at (datetime), embed_url, and claims() (decodes the payload without verifying it). Its repr never shows the token.
live_tokens.py
e2b.InvalidArgumentException before any request. Gateway errors map to the E2B exceptions: 400 InvalidArgumentException, 401/403 AuthenticationException, 404 NotFoundException, 429 RateLimitException.
sandbox.ssh
SshCertificate has cert, user, host, proxy_command, expires_at, and write(path) (writes with mode 0600). See SSH for a full example.
anona.desktop.Sandbox
A subclass of e2b_desktop.Sandbox (install anona[desktop]) with the same live and ssh, plus:
See Desktop.
Constants
anona.DEFAULT_DOMAIN ("compute.anonalabs.com"), anona.DEFAULT_API_URL, anona.ENV_MAP, anona.__version__.