@hanskristoffer/agentpool 0.10.0 → 0.11.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.
- package/README.md +5 -7
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ npm install -g @hanskristoffer/agentpool # installs the `agentgate` command (a
|
|
|
28
28
|
Without npm:
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
|
-
curl -fsSL https://raw.githubusercontent.com/HansKristoffer/agentgate/main/install.sh |
|
|
31
|
+
curl -fsSL https://raw.githubusercontent.com/HansKristoffer/agentgate/main/install.sh | sh
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Or from source: `bun install && bun run build` (binaries land in `dist/`), or run `bun run cli -- …` directly.
|
|
@@ -54,16 +54,14 @@ There are two ways to connect machines, and a machine can use both:
|
|
|
54
54
|
- **Same network (Tailscale):** both machines are on your tailnet. Pairing uses a code that expires after 10 minutes.
|
|
55
55
|
- **Relay:** works across any network, without Tailscale. Every record is encrypted before it leaves the machine; the relay stores only ciphertext and can't read your credentials.
|
|
56
56
|
|
|
57
|
-
On the first machine, run `agentgate pair
|
|
57
|
+
On the first machine, run `agentgate pair` or use **Pair a machine** in the app. In a terminal it asks which method to use; `--tailnet` and `--relay` skip the question. It prints one command to run on the server, which installs agentgate, joins, runs `agentgate setup` and installs the service (on Linux this also runs `loginctl enable-linger` so it survives logout/reboot):
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
agentgate
|
|
61
|
-
agentgate join http://mac.<tailnet>.ts.net:7878 <code> # Tailscale
|
|
62
|
-
agentgate join agr1.… # relay
|
|
63
|
-
agentgate setup
|
|
64
|
-
agentgate service install # also runs `loginctl enable-linger` so it survives logout/reboot
|
|
60
|
+
curl -fsSL https://raw.githubusercontent.com/HansKristoffer/agentgate/main/install.sh | sh -s -- join agr1.…
|
|
65
61
|
```
|
|
66
62
|
|
|
63
|
+
If agentgate is already installed there, `agentgate join agr1.…` (relay) or `agentgate join http://mac.<tailnet>.ts.net:7878 <code>` (Tailscale) joins without reinstalling. Mark an always-on server with `agentgate init --always-on` or the **Always on** switch.
|
|
64
|
+
|
|
67
65
|
The server now has every account, MCP instance and repo mapping, and takes over token refreshes.
|
|
68
66
|
|
|
69
67
|
**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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanskristoffer/agentpool",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.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.
|
|
26
|
-
"agentpool-darwin-x64": "0.
|
|
27
|
-
"agentpool-linux-x64": "0.
|
|
28
|
-
"agentpool-linux-arm64": "0.
|
|
25
|
+
"agentpool-darwin-arm64": "0.11.0",
|
|
26
|
+
"agentpool-darwin-x64": "0.11.0",
|
|
27
|
+
"agentpool-linux-x64": "0.11.0",
|
|
28
|
+
"agentpool-linux-arm64": "0.11.0"
|
|
29
29
|
}
|
|
30
30
|
}
|