diff options
| author | t <t@tjp.lol> | 2026-12-05 11:13:09 -0700 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-12-05 11:13:44 -0700 |
| commit | 760cb2a9045e0c1cde276a6378841217e655fde3 (patch) | |
| tree | 7afc2e9874ad47122ed09850cb0ce108dc79faae /quota.lua | |
| parent | 0b5892bc31fb576099421ecddfbdc7a7b243d02d (diff) | |
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.
Diffstat (limited to 'quota.lua')
| -rw-r--r-- | quota.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ function M.activate(ext, footer, acp) -- Detached (no controlling tty) + closed input. The CLI's -- print-mode auth path returns without interactive login in this case. req.child, req.pid = uv.spawn(bin, { - args = {'--gemini_dir', profile, '--sandbox', '-p', '/usage'}, + args = {'--gemini_dir', profile, '-p', '/usage'}, cwd = profile, env = env, detached = true, stdio = {nil, req.stdout, nil}, }, function(code, sig) close(req.child); req.child, req.pid = nil, nil |
