Hi, I deployed Anti-API v2.9.0 via Docker on a Linux server (Synology DSM).
When I try to add a Zed account, I get:
Zed.app is not installed in /Applications.
After reading the source code (src/services/zed/oauth.ts), I understand the Zed import reads credentials from the macOS Keychain via the security CLI, which obviously won't work in a Docker/Linux environment.
I have two questions:
-
Is the Zed provider still working reliably? I've seen reports (and experienced with zed2api) that the Zed accessToken expires after a while. Since Anti-API doesn't have a refresh mechanism for the Zed login credential (only the LLM token auto-refreshes), how long does the accessToken typically last before it expires?
-
Is local macOS deployment the only way to use Zed? For users running Anti-API on a remote Linux server/Docker, is the recommended workflow:
- Run Anti-API locally on Mac → import Zed account
- Copy the auth JSON file from
~/.anti-api/auth/ to the server
- When the token expires, repeat the process on Mac?
Or is there a better approach I'm missing?
Thanks for the great project!
Hi, I deployed Anti-API v2.9.0 via Docker on a Linux server (Synology DSM).
When I try to add a Zed account, I get:
After reading the source code (
src/services/zed/oauth.ts), I understand the Zed import reads credentials from the macOS Keychain via thesecurityCLI, which obviously won't work in a Docker/Linux environment.I have two questions:
Is the Zed provider still working reliably? I've seen reports (and experienced with zed2api) that the Zed
accessTokenexpires after a while. Since Anti-API doesn't have a refresh mechanism for the Zed login credential (only the LLM token auto-refreshes), how long does theaccessTokentypically last before it expires?Is local macOS deployment the only way to use Zed? For users running Anti-API on a remote Linux server/Docker, is the recommended workflow:
~/.anti-api/auth/to the serverOr is there a better approach I'm missing?
Thanks for the great project!