From 760cb2a9045e0c1cde276a6378841217e655fde3 Mon Sep 17 00:00:00 2001 From: t Date: Sat, 5 Dec 2026 11:13:09 -0700 Subject: Broaden platform support to Unix beyond macOS Replace macOS-only underpinnings with portable Unix equivalents so the provider runs on macOS, Linux, and FreeBSD: - Replace /usr/bin/nc -U with an embedded panto lua + luv stdio-to-socket relay everywhere. - Conditionalize /usr/bin/codesign to macOS; validate binary ownership and permissions on other Unix platforms. - Forward D-Bus/XDG keyring session variables on non-macOS while keeping API keys stripped. - Use uv.os_tmpdir() (with /tmp fallback for Unix socket sun_path limits) instead of hardcoded /tmp and /private/tmp. - Drop --sandbox from agy invocations to match Panto's permissions model and avoid container/Linuxulator sandbox breakage. - Update check.lua for non-macOS runners (unshare / direct) and broaden supported_platforms to unix. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 80b4399..0c0a5eb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # panto-antigravity -Use Gemini from Panto through Google's signed Antigravity CLI on macOS. The CLI handles sign-in; you don't need an API key or a separate Panto rig. +Use Gemini from Panto through Google's Antigravity CLI on macOS, Linux, and other Unix systems. The CLI handles sign-in; you don't need an API key or a separate Panto rig. ## Setup @@ -46,7 +46,7 @@ One shared row across aliases alongside Claude, Codex, Copilot and OpenCode Go. ## Login and diagnostics -`/antigravity-status` shows local connection state; `/antigravity-models` lists advertised families; for split ACP settings, levels are shown only for the selected model. Neither contacts Google. The isolated profile is `~/.local/share/panto-antigravity/google`. For native login once that directory exists: `agy acp --gemini-dir "$HOME/.local/share/panto-antigravity/google" --login`. Keep `HOME` unchanged so the CLI can find the macOS login Keychain. When upgrading from the prototype, update your extension path, protocol and model selection, then start a new thread. No credentials or old checkpoints are migrated automatically. +`/antigravity-status` shows local connection state; `/antigravity-models` lists advertised families; for split ACP settings, levels are shown only for the selected model. Neither contacts Google. The isolated profile is `~/.local/share/panto-antigravity/google`. For native login once that directory exists: `agy acp --gemini-dir "$HOME/.local/share/panto-antigravity/google" --login`. Keep `HOME` unchanged so the CLI can reach the OS keyring (macOS login Keychain, or Linux Secret Service over D-Bus via `DBUS_SESSION_BUS_ADDRESS` / `XDG_RUNTIME_DIR`). On macOS, `agy` is also verified with `/usr/bin/codesign` against Google's Apple Team ID; on other Unix platforms, the binary must be owned by you or root and not group/world writable. When upgrading from the prototype, update your extension path, protocol and model selection, then start a new thread. No credentials or old checkpoints are migrated automatically. ## Tool permissions @@ -69,7 +69,7 @@ Restart Panto after each config change and use a fresh thread in a disposable wo ### Approvals -Every ACP chat launch uses `--dangerously-skip-permissions` and `--sandbox`, even with `tools = []`. This skips agy's approvals for native tools as well as MCP tools. Use a trusted rig. The Panto tool allowlist still applies, and the separate read-only `/usage` query is unchanged. +Every ACP chat launch uses `--dangerously-skip-permissions` (without `--sandbox`), even with `tools = []`. This skips agy's approvals for native tools as well as MCP tools; Panto tools run with Panto's own permissions. Use a trusted rig. The Panto tool allowlist still applies, and the separate read-only `/usage` query is unchanged. ## Steering and thinking -- cgit v1.3