@agentrific/server 0.6.0 → 0.7.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 +12 -0
- package/CLAUDE-BRIDGE-LICENSE.txt +21 -0
- package/README.md +10 -0
- package/claude-bridge.js +2682 -0
- package/cli.js +275 -96
- package/cli.js.map +4 -4
- package/index.js +250 -79
- package/index.js.map +4 -4
- package/opentunnel-sdk.js +211 -211
- package/opentunnel-sdk.js.map +1 -1
- package/package.json +10 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @agentrific/server
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 41ae1e7: Automatically discover an installed Claude Code login and offer Claude models through the official Agent SDK bridge. Prefer Claude for new sessions when no server default has been saved, preserve existing selections, and isolate each session's working directory and bridge state. Include the login adaptation in the published npm package.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 235fc79: Show update preparation and restart progress while macOS stages the signed installer. Prevent repeated update requests, permit updater-initiated window closure after draining the local server, and restore normal tray behavior if installation fails.
|
|
12
|
+
|
|
13
|
+
Organize desktop settings into clear sections and show OpenTunnel certificate provisioning, relay connection, and automatic reconnection status. Preserve tunnel identities and allow cancellation throughout setup.
|
|
14
|
+
|
|
3
15
|
## 0.6.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Eli Dickinson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -28,6 +28,16 @@ agentrific start
|
|
|
28
28
|
|
|
29
29
|
The server defaults to port 4318 and stores its configuration and state in `~/.agentrific`. Its initial projects folder is `~/projects`; you can choose a different folder in the app's server settings.
|
|
30
30
|
|
|
31
|
+
## Claude Code
|
|
32
|
+
|
|
33
|
+
If Claude Code is installed and logged in under the server's OS account, Agentrific automatically adds a **Claude Code** model connection. Run `claude auth login` if login is required, then refresh the model list. The server checks `PATH`, `~/.local/bin/claude` and `~/.claude/local/claude`; it also respects `CLAUDE_CONFIG_DIR`.
|
|
34
|
+
|
|
35
|
+
Like Pipeline, this connection uses `pi-claude-agent-sdk` and the official Claude Agent SDK child with your existing CLI login. Pi still owns tools, task history and agent execution. The SDK supplies its compatible Claude executable and handles credential refresh; Agentrific does not copy credentials into Pi or send them to clients. Inherited Claude/Anthropic environment configuration still applies.
|
|
36
|
+
|
|
37
|
+
When no default has been saved, a ready Claude Code connection becomes the default for new sessions using the first Sonnet model in its catalogue. Saved defaults and existing session selections are preserved. Installed but unauthenticated models appear unavailable with login guidance. Set `AGENTRIFIC_CLAUDE_CODE=off` before starting the server to disable discovery.
|
|
38
|
+
|
|
39
|
+
Development runs compile the bridge before starting. Its CLI-login and session-isolation adaptations are compiled into the published package, so npm installations do not depend on a workspace-only Yarn patch.
|
|
40
|
+
|
|
31
41
|
## Connect your phone
|
|
32
42
|
|
|
33
43
|
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.
|