@agent-link/agent 0.1.60 → 0.1.62

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 +27 -8
  2. package/package.json +19 -1
package/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # AgentLink Client
2
2
 
3
- Local agent CLI for [AgentLink](https://github.com/anthropics/agentlink) — use Claude Code from any browser.
3
+ [![npm](https://img.shields.io/npm/v/@agent-link/agent)](https://www.npmjs.com/package/@agent-link/agent)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+
6
+ Local agent CLI for [AgentLink](https://github.com/yilee/agentlink) — use Claude Code from any browser.
4
7
 
5
8
  AgentLink lets you run Claude Code on your local machine and access it through a web interface. The client runs on your dev machine, connects to a relay server, and gives you a URL to open in any browser.
6
9
 
@@ -16,7 +19,7 @@ npm install -g @agent-link/agent
16
19
  agentlink-client start
17
20
  ```
18
21
 
19
- That's it. You'll get a URL like `http://your-server:3456/s/abc123` — open it in any browser to start using Claude Code.
22
+ You'll get a URL like `https://msclaude.ai/s/abc123` and a QR code — open the URL in any browser to start using Claude Code.
20
23
 
21
24
  ## Usage
22
25
 
@@ -27,8 +30,14 @@ agentlink-client start
27
30
  # Start agent (background)
28
31
  agentlink-client start --daemon
29
32
 
30
- # Custom server
31
- agentlink-client start --server ws://your-server:3456
33
+ # Custom server / working directory / name
34
+ agentlink-client start --server ws://your-server:3456 --dir /path/to/project --name MyAgent
35
+
36
+ # Password-protected session
37
+ agentlink-client start --daemon --password mysecret
38
+
39
+ # Disable auto-update in daemon mode
40
+ agentlink-client start --daemon --no-auto-update
32
41
 
33
42
  # Stop agent
34
43
  agentlink-client stop
@@ -36,6 +45,9 @@ agentlink-client stop
36
45
  # Check status
37
46
  agentlink-client status
38
47
 
48
+ # Upgrade to latest version
49
+ agentlink-client upgrade
50
+
39
51
  # Auto-start on boot
40
52
  agentlink-client service install
41
53
  agentlink-client service uninstall
@@ -44,17 +56,23 @@ agentlink-client service uninstall
44
56
  ## Configuration
45
57
 
46
58
  ```bash
47
- # Set default server (so you don't need --server every time)
59
+ # Set default server
48
60
  agentlink-client config set server ws://your-server:3456
49
61
 
50
62
  # Set working directory
51
63
  agentlink-client config set dir /path/to/project
52
64
 
53
- # View config
65
+ # Set password
66
+ agentlink-client config set password mysecret
67
+
68
+ # View all config
54
69
  agentlink-client config list
70
+
71
+ # Get a single value
72
+ agentlink-client config get server
55
73
  ```
56
74
 
57
- Config is stored in `~/.agentlink/config.json`.
75
+ Valid keys: `server`, `dir`, `name`, `autoUpdate`, `password`. Config is stored in `~/.agentlink/config.json`.
58
76
 
59
77
  ## How it works
60
78
 
@@ -63,7 +81,7 @@ Browser ↔ AgentLink Server ↔ AgentLink Client ↔ Claude Code
63
81
  (web) (relay) (your machine) (CLI)
64
82
  ```
65
83
 
66
- The client spawns Claude Code as a subprocess, streams its output through the relay server to your browser, and sends your messages back. All tool execution happens locally on your machine.
84
+ The client spawns Claude Code as a subprocess, streams its output through the relay server to your browser, and sends your messages back. All tool execution happens locally on your machine. Messages are encrypted end-to-end with XSalsa20-Poly1305.
67
85
 
68
86
  ## Requirements
69
87
 
@@ -73,3 +91,4 @@ The client spawns Claude Code as a subprocess, streams its output through the re
73
91
  ## Related
74
92
 
75
93
  - **[@agent-link/server](https://www.npmjs.com/package/@agent-link/server)** — Relay server (only needed if self-hosting)
94
+ - [GitHub](https://github.com/yilee/agentlink)
package/package.json CHANGED
@@ -1,7 +1,25 @@
1
1
  {
2
2
  "name": "@agent-link/agent",
3
- "version": "0.1.60",
3
+ "version": "0.1.62",
4
4
  "description": "AgentLink local agent CLI",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/yilee/agentlink.git",
9
+ "directory": "agent"
10
+ },
11
+ "homepage": "https://github.com/yilee/agentlink",
12
+ "bugs": {
13
+ "url": "https://github.com/yilee/agentlink/issues"
14
+ },
15
+ "keywords": [
16
+ "agentlink",
17
+ "claude",
18
+ "claude-code",
19
+ "cli",
20
+ "ai-agent",
21
+ "remote-development"
22
+ ],
5
23
  "type": "module",
6
24
  "main": "dist/index.js",
7
25
  "types": "dist/index.d.ts",