@hanskristoffer/agentpool 0.40.1 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -67,13 +67,15 @@ If agentgate is already installed there, `agentgate join agr1.…` (relay) or `a
67
67
 
68
68
  The server now has every account, MCP instance and repo mapping, and takes over token refreshes.
69
69
 
70
- To sign every machine in to GitHub, Infisical, OpenCode and Antigravity as you, run `agentgate logins share` on the machine where you are signed in, or use **Share** under **Shared logins** on the Machines screen. It shares the `gh` login for github.com, the Infisical CLI login, OpenCode's API keys and the Antigravity CLI (`agy`) login, skipping any this machine doesn't use. Every paired machine, including servers that join later, then runs `gh auth login` and `gh auth setup-git` with that token (so `gh` must be installed there) and gets the same Infisical session. The machine that shared re-reads its logins every ten minutes, so if you log in again there, the others follow. Infisical must keep its login in a file: if it uses the system keychain, run `infisical vault set file` and `infisical login` first. `agentgate logins` and the Machines screen show whether this machine is signed in with each login, and `agentgate logins forget github|infisical` stops sharing; machines already signed in stay signed in.
70
+ To sign every machine in to GitHub, Infisical, OpenCode and Antigravity as you, run `agentgate logins share` on the machine where you are signed in, or use **Share** under **Shared logins** on the Machines screen. It shares the `gh` login for github.com, the Infisical CLI login, OpenCode's API keys and the Antigravity CLI (`agy`) login, skipping any this machine doesn't use. Every paired machine, including servers that join later, then runs `gh auth login` and `gh auth setup-git` with that token (so `gh` must be installed there) and gets the same Infisical sessions. The machine that shared re-reads its logins every ten minutes, so if you log in again there, the others follow. Infisical must keep its login in a file: if it uses the system keychain, run `infisical vault set file` and `infisical login` first. `agentgate logins` and the Machines screen show whether this machine is signed in with each login, and `agentgate logins forget github|infisical` stops sharing; machines already signed in stay signed in.
71
+
72
+ The Infisical CLI keeps one profile per account, self-hosted instance or organization, and agentgate shares every profile that is signed in, so projects in any of them work on every machine. Pick one per command with `--profile` or `--org`, or bind a repository to one: run `infisical profile bind <profile>` in its checkout on the machine that shares, and every machine binds its own checkouts and worktrees of that repository to the same profile, so `infisical run` there needs no flag. Bindings you make on another machine stay on that machine and win over the shared ones; `infisical profile current` shows which profile a directory uses. To add one, choose **Add sign-in** under Infisical in **Shared logins**, name the profile and pick the account and organization in your browser, or run `agentgate logins signin infisical <profile> --new`. Each profile is listed there with its own **Sign in**.
71
73
 
72
74
  A machine that gets the Antigravity login and has no `agy` installs it with Google's installer (into `~/.local/bin`, without touching your shell profile) and signs it in: in the Keychain on a Mac, in `~/.gemini/antigravity-cli` on a Linux server. A Linux desktop that keeps `agy`'s login in its system keyring is not covered.
73
75
 
74
76
  OpenCode shares only API keys (such as OpenRouter or your own endpoints), which every machine with OpenCode imports with `opencode auth import`; logins that refresh, such as GitHub Copilot, stay on their machine. Providers you defined yourself also need their entry in `~/.config/opencode/opencode.jsonc` on the other machine, which agentgate leaves alone.
75
77
 
76
- An Infisical login expires after a few days and can't be renewed, so you have to log in again. Every machine checks whether its shared logins still work, and the overview and `agentgate logins` name the machines where one doesn't, such as an expired Infisical session or a GitHub token that was revoked. Click **Sign in** on the overview to log in to Infisical again in your browser; agentgate then shares the new session with every machine. The browser login has to finish on the machine that runs it, so use the app on your laptop, or run `agentgate logins signin infisical` in a terminal on any machine, where the Infisical CLI also accepts the token its sign-in page shows when it can't reach a server. For tools that run on their own, such as servers, set an Infisical machine identity once instead: create one with Universal Auth in Infisical and give it access to your projects, then choose **Set** next to **Infisical machine identity** under **Shared logins**, or run `agentgate logins identity --client-id <id>` (it asks for the secret; `--site` defaults to the Infisical instance your CLI uses). agentgate checks it with Infisical and writes it to `~/.infisical/universal-auth.json` on every machine, including servers that join later. hanzio uses that file when a process has no `INFISICAL_CLIENT_ID` and `INFISICAL_CLIENT_SECRET`. `agentgate logins forget infisical-identity` removes it from every machine.
78
+ An Infisical login expires after a few days and can't be renewed, so you have to log in again. Every machine checks whether its shared logins still work, and the overview and `agentgate logins` name the machines where one doesn't, such as an expired Infisical session or a GitHub token that was revoked. Click **Sign in** on the overview, or next to the profile under **Shared logins**, to log in to Infisical again in your browser; agentgate then shares the new session with every machine. The browser login has to finish on the machine that runs it, so use the app on your laptop, or run `agentgate logins signin infisical [profile]` in a terminal on any machine (without a profile it signs in the next one that expired; each profile has its own session), where the Infisical CLI also accepts the token its sign-in page shows when it can't reach a server. For tools that run on their own, such as servers, set an Infisical machine identity once instead: create one with Universal Auth in Infisical and give it access to your projects, then choose **Set** next to **Infisical machine identity** under **Shared logins**, or run `agentgate logins identity --client-id <id>` (it asks for the secret; `--site` defaults to the Infisical instance your CLI uses). agentgate checks it with Infisical and writes it to `~/.infisical/universal-auth.json` on every machine, including servers that join later. hanzio uses that file when a process has no `INFISICAL_CLIENT_ID` and `INFISICAL_CLIENT_SECRET`. `agentgate logins forget infisical-identity` removes it from every machine.
77
79
 
78
80
  **The relay invite never expires and is a master key.** Anyone who has it can read every account and MCP login, so share it privately. If it leaks, run `agentgate relay rotate` and have every relay machine join again with the new command. Removing a relay machine (`agentgate unpair <node>` or **Remove** in the app) rotates the same way. A rotation can't revoke Tailscale links, so also unpair the removed machine on every machine you keep. By default it uses the hosted relay at `https://agentgate-relay.hanskristoffer.dk`. To use your own instead, deploy `apps/relay` to your Cloudflare account (see [the relay](docs/operations/relay.md#deploying-and-self-hosting)) and pass `--relay-url`, or set `AGENTGATE_RELAY_URL`. `agentgate relay status` shows sync state and errors.
79
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanskristoffer/agentpool",
3
- "version": "0.40.1",
3
+ "version": "0.42.0",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,9 +22,9 @@
22
22
  "agentgate": "bin/agentpool.js"
23
23
  },
24
24
  "optionalDependencies": {
25
- "agentpool-darwin-arm64": "0.40.1",
26
- "agentpool-darwin-x64": "0.40.1",
27
- "agentpool-linux-x64": "0.40.1",
28
- "agentpool-linux-arm64": "0.40.1"
25
+ "agentpool-darwin-arm64": "0.42.0",
26
+ "agentpool-darwin-x64": "0.42.0",
27
+ "agentpool-linux-x64": "0.42.0",
28
+ "agentpool-linux-arm64": "0.42.0"
29
29
  }
30
30
  }