claude-remote-agent 0.1.0 → 0.1.1

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 +46 -0
  2. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # claude-remote-agent
2
+
3
+ Agent for [Claude Remote](https://github.com/AlehPishchykau/claude-remote) — connects your machine to the relay server so you can access Claude Code from any browser.
4
+
5
+ ## Quick start
6
+
7
+ ```bash
8
+ npx claude-remote-agent --key <YOUR_KEY> --name MyMachine
9
+ ```
10
+
11
+ Or install globally:
12
+
13
+ ```bash
14
+ npm install -g claude-remote-agent
15
+ claude-remote-agent --key <YOUR_KEY>
16
+ ```
17
+
18
+ ## Options
19
+
20
+ | Flag | Env variable | Description |
21
+ |---|---|---|
22
+ | `--key` | `AGENT_KEY` | Access key for authentication (required) |
23
+ | `--name` | `AGENT_NAME` | Agent display name (default: hostname) |
24
+ | `--server` | `SERVER_URL` | Relay server URL (default: `wss://claude.pishchykau.eu`) |
25
+
26
+ ## Requirements
27
+
28
+ - Node.js 18+
29
+ - Python 3 (for PTY terminal sessions)
30
+ - [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) installed
31
+
32
+ ## How it works
33
+
34
+ ```
35
+ Browser ←WebSocket→ Relay Server ←WebSocket→ Agent (this) → Claude Code
36
+ ```
37
+
38
+ The agent runs on your machine, connects to the relay server via WebSocket, and spawns Claude Code processes on demand. You access it through the web UI at your relay server's URL using the access key.
39
+
40
+ ## Running with PM2
41
+
42
+ ```bash
43
+ npm install -g claude-remote-agent pm2
44
+ pm2 start claude-remote-agent -- --key <YOUR_KEY> --name MyServer
45
+ pm2 save
46
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-remote-agent",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Agent for Claude Remote — connects your machine to the relay server",
5
5
  "bin": {
6
6
  "claude-remote-agent": "./cli.js"
@@ -8,7 +8,8 @@
8
8
  "files": [
9
9
  "cli.js",
10
10
  "agent.js",
11
- "pty-bridge.py"
11
+ "pty-bridge.py",
12
+ "README.md"
12
13
  ],
13
14
  "keywords": [
14
15
  "claude",