@agentrific/server 0.5.1 → 0.6.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/CHANGELOG.md +14 -0
- package/README.md +3 -2
- package/cli.js +859 -525
- package/cli.js.map +4 -4
- package/index.js +719 -173
- package/index.js.map +4 -4
- package/opentunnel-sdk.js +34715 -0
- package/opentunnel-sdk.js.map +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @agentrific/server
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 840569f: Use the OpenTunnel SDK as the default CLI phone connection, with persistent addresses and retained Tailscale, cloudflared, existing HTTPS and local-only alternatives. Add desktop phone-connection settings with an optional OpenTunnel switch and QR/PIN pairing in the same setup flow. Preserve local-only preferences for existing desktop installations. Resolve the user's login-shell PATH so Finder-launched bundled servers can use globally installed tools such as gh.
|
|
8
|
+
|
|
9
|
+
## 0.5.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fe18d59: Add automatic updates for signed macOS desktop releases and an optional bundled local server that continues in the tray. Defer update installation and server shutdown while local agents are active. Host the web app and architecture-specific update feeds at app.agentrific.com.
|
|
14
|
+
|
|
15
|
+
Keep local control sockets usable with long data directory paths and allow the hosted web app to connect to paired servers.
|
|
16
|
+
|
|
3
17
|
## 0.5.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Learn more at [agentrific.com](https://agentrific.com).
|
|
|
18
18
|
|
|
19
19
|
You'll need Node.js 22.19 or newer, Git, and [Pi](https://pi.dev/) on the machine that will run your agents. Install Pi and connect your model accounts using the same OS account that will run the server. See the [model setup guide](https://agentrific.com/docs/pi-model-setup).
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
OpenTunnel is bundled and is the default HTTPS connection, with no separate tunnel binary or account. Alternatively, install Tailscale on the server and phone, or `cloudflared` on the server. You can also use an existing HTTPS tunnel or reverse proxy. Agentrific does not install these tools for you. See the [connection setup guide](https://agentrific.com/docs/secure-server-setup#choose-an-https-connection).
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
24
|
npm install -g @agentrific/server
|
|
@@ -30,7 +30,7 @@ The server defaults to port 4318 and stores its configuration and state in `~/.a
|
|
|
30
30
|
|
|
31
31
|
## Connect your phone
|
|
32
32
|
|
|
33
|
-
Open the Agentrific app on iOS or Android. In the server terminal, choose Tailscale Serve, Cloudflare Tunnel, or an existing HTTPS endpoint, then press **p** to display a pairing QR code. Scan it in the app and enter the separately printed six-digit PIN.
|
|
33
|
+
Open the Agentrific app on iOS or Android. In the server terminal, accept the default OpenTunnel connection or choose Tailscale Serve, Cloudflare Tunnel, or an existing HTTPS endpoint, then press **p** to display a pairing QR code. Scan it in the app and enter the separately printed six-digit PIN.
|
|
34
34
|
|
|
35
35
|
Already paired in the web app? Open **Settings → Pair device** to generate a QR code and separate PIN for another device. Invitations expire after five minutes and can be used once. The server must have a public HTTPS URL configured (`AGENTRIFIC_PUBLIC_URL`); restart after changing it. Only share invitations with trusted devices: pairing grants access to run agents as the server’s host user.
|
|
36
36
|
|
|
@@ -42,6 +42,7 @@ See the [server setup and pairing guide](https://agentrific.com/docs/secure-serv
|
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
agentrific --help # Show commands and options
|
|
45
|
+
agentrific start --connection local # Start without a public phone connection
|
|
45
46
|
agentrific status # Show server status
|
|
46
47
|
agentrific pair # Print a fresh pairing QR code and PIN
|
|
47
48
|
agentrific devices # List paired devices
|