sextant-cli 0.0.1-rc7 → 0.0.1-rc9
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 +84 -0
- package/package.json +6 -6
package/README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Sextant (`sxt`)
|
|
2
|
+
|
|
3
|
+
Drive **Claude Code on your computer** from your phone.
|
|
4
|
+
|
|
5
|
+
Run one command on your computer, scan a QR code with the phone app, and you can
|
|
6
|
+
start tasks, watch them run, approve risky tool calls and read the results from
|
|
7
|
+
anywhere — the work still happens on your own machine, with your own accounts.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm i -g sextant-cli
|
|
13
|
+
sxt up
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
`sxt up` installs it as a background service (starts on boot) and prints a
|
|
17
|
+
pairing QR code plus an 8-digit pairing code.
|
|
18
|
+
|
|
19
|
+
> On systems where npm's global dir needs root, prefix with `sudo`.
|
|
20
|
+
> A `sudo`-free installer is also available: `curl -fsSL relay.sextant.top/install | sudo sh`
|
|
21
|
+
|
|
22
|
+
## Pair your phone
|
|
23
|
+
|
|
24
|
+
1. Install the phone app.
|
|
25
|
+
2. **Settings → Connections → Add device**
|
|
26
|
+
3. Scan the QR code shown by `sxt up` — or choose *Enter pairing code* and type
|
|
27
|
+
the 8-digit code.
|
|
28
|
+
|
|
29
|
+
Pair once and it works anywhere: on the same Wi-Fi it connects directly; away
|
|
30
|
+
from home it goes through an encrypted relay automatically. No public IP, no
|
|
31
|
+
port forwarding, no router setup.
|
|
32
|
+
|
|
33
|
+
## Commands
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
sxt help show all commands and options
|
|
37
|
+
sxt up install as a service + start on boot
|
|
38
|
+
sxt start start in the background
|
|
39
|
+
sxt stop stop
|
|
40
|
+
sxt restart restart
|
|
41
|
+
sxt status is it running, how many phones are connected
|
|
42
|
+
sxt logs tail the logs
|
|
43
|
+
sxt qr show the pairing QR code again
|
|
44
|
+
sxt code mint an 8-digit pairing code
|
|
45
|
+
sxt update upgrade to the latest version and restart
|
|
46
|
+
sxt version print the version
|
|
47
|
+
sxt down stop and remove start-on-boot
|
|
48
|
+
sxt uninstall uninstall
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Common options
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
-addr 0.0.0.0:7280 listen address and port (change the port here)
|
|
55
|
+
-instance <name> run several daemons, each with its own state dir
|
|
56
|
+
-mode direct|relay|both direct / relay / both (default: both)
|
|
57
|
+
-relay-url <url> use your own relay server
|
|
58
|
+
-apns-key <path> APNs auth key (.p8), required for phone push
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Options are only needed when starting; later commands (`status`, `stop`,
|
|
62
|
+
`restart`, `qr`) reuse them automatically.
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
sxt up -addr 0.0.0.0:9000 # start on a different port
|
|
66
|
+
sxt start -instance work # a second, independent instance
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Requirements
|
|
70
|
+
|
|
71
|
+
- macOS or Linux (x64 / arm64), Node.js ≥ 16
|
|
72
|
+
- [Claude Code](https://claude.com/claude-code) installed and logged in on the
|
|
73
|
+
same computer
|
|
74
|
+
|
|
75
|
+
## Security
|
|
76
|
+
|
|
77
|
+
Traffic is end-to-end encrypted (X25519 key agreement + AES-256-GCM) using a key
|
|
78
|
+
that never leaves your two devices; the relay only forwards opaque frames and
|
|
79
|
+
cannot read them. Risky tool calls can require approval on the phone before they
|
|
80
|
+
run.
|
|
81
|
+
|
|
82
|
+
## Links
|
|
83
|
+
|
|
84
|
+
- Source & issues: https://github.com/ddos798/claude_control
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sextant-cli",
|
|
3
|
-
"version": "0.0.1-
|
|
4
|
-
"description": "Sextant (sxt) —
|
|
3
|
+
"version": "0.0.1-rc9",
|
|
4
|
+
"description": "Sextant (sxt) — drive Claude Code on your computer from your phone. After install run: sxt up",
|
|
5
5
|
"bin": { "sxt": "bin/sxt.js" },
|
|
6
6
|
"engines": { "node": ">=16" },
|
|
7
7
|
"keywords": ["claude", "claude-code", "remote", "mobile", "ai"],
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"sextant-cli-darwin-amd64": "0.0.1-
|
|
10
|
-
"sextant-cli-darwin-arm64": "0.0.1-
|
|
11
|
-
"sextant-cli-linux-amd64": "0.0.1-
|
|
12
|
-
"sextant-cli-linux-arm64": "0.0.1-
|
|
9
|
+
"sextant-cli-darwin-amd64": "0.0.1-rc9",
|
|
10
|
+
"sextant-cli-darwin-arm64": "0.0.1-rc9",
|
|
11
|
+
"sextant-cli-linux-amd64": "0.0.1-rc9",
|
|
12
|
+
"sextant-cli-linux-arm64": "0.0.1-rc9"
|
|
13
13
|
},
|
|
14
14
|
"license": "SEE LICENSE IN https://github.com/ddos798/claude_control"
|
|
15
15
|
}
|