sextant-cli 0.0.1-rc43 → 0.0.1-rc45

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 (3) hide show
  1. package/bin/sxt.js +0 -0
  2. package/package.json +6 -6
  3. package/README.md +0 -92
package/bin/sxt.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "sextant-cli",
3
- "version": "0.0.1-rc43",
4
- "description": "Sextant (sxt) — drive Claude Code on your computer from your phone. After install run: sxt up",
3
+ "version": "0.0.1-rc45",
4
+ "description": "Sextant (sxt) — 用手机远程驾驶你电脑上的 Claude Code。安装后运行: 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-rc43",
10
- "sextant-cli-darwin-arm64": "0.0.1-rc43",
11
- "sextant-cli-linux-amd64": "0.0.1-rc43",
12
- "sextant-cli-linux-arm64": "0.0.1-rc43"
9
+ "sextant-cli-darwin-amd64": "0.0.1-rc45",
10
+ "sextant-cli-darwin-arm64": "0.0.1-rc45",
11
+ "sextant-cli-linux-amd64": "0.0.1-rc45",
12
+ "sextant-cli-linux-arm64": "0.0.1-rc45"
13
13
  },
14
14
  "license": "SEE LICENSE IN https://github.com/ddos798/claude_control"
15
15
  }
package/README.md DELETED
@@ -1,92 +0,0 @@
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 # headless Linux server: sudo 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
- > - If npm's global dir needs root, prefix the install with `sudo`.
20
- > - **Linux servers (ssh / no desktop):** use `sudo sxt up` — it installs a
21
- > system-level service (still running as your login user). Plain `sxt up`
22
- > registers a systemd *user* service, which needs a login session and fails
23
- > with `Failed to connect to bus` in session-less shells. On macOS, don't
24
- > `sudo sxt up`.
25
- > - A Node-free installer is also available: `curl -fsSL relay.sextant.top/install | sudo sh`
26
-
27
- ## Pair your phone
28
-
29
- 1. Install the phone app.
30
- 2. **Settings → Connections → Add device**
31
- 3. Scan the QR code shown by `sxt up` — or choose *Enter pairing code* and type
32
- the 8-digit code.
33
-
34
- Pair once and it works anywhere: on the same Wi-Fi it connects directly; away
35
- from home it goes through an encrypted relay automatically. No public IP, no
36
- port forwarding, no router setup.
37
-
38
- ## Commands
39
-
40
- ```
41
- sxt help show all commands and options
42
- sxt up install as a service + start on boot
43
- sxt start start in the background
44
- sxt stop stop
45
- sxt restart restart
46
- sxt status is it running, how many phones are connected
47
- sxt logs tail the logs
48
- sxt qr show the pairing QR code again
49
- sxt code mint an 8-digit pairing code
50
- sxt update upgrade to the latest version and restart
51
- sxt version print the version
52
- sxt down stop and remove start-on-boot
53
- sxt uninstall uninstall
54
- ```
55
-
56
- ### Common options
57
-
58
- ```
59
- -addr 0.0.0.0:7280 listen address and port (change the port here)
60
- -instance <name> run several daemons, each with its own state dir
61
- -mode direct|relay|both direct / relay / both (default: both)
62
- -relay-url <url> relay: the official one by default; put your own here,
63
- or "off" for LAN-only
64
- -apns-key <path> APNs auth key (.p8), required for phone push
65
- ```
66
-
67
- Options are only needed when starting; later commands (`status`, `stop`,
68
- `restart`, `qr`) reuse them automatically. If you change `-relay-url` later,
69
- re-pair the phone (`sxt qr` / `sxt code`) — the existing pairing still points
70
- at the old relay.
71
-
72
- ```sh
73
- sxt up -addr 0.0.0.0:9000 # start on a different port
74
- sxt start -instance work # a second, independent instance
75
- ```
76
-
77
- ## Requirements
78
-
79
- - macOS or Linux (x64 / arm64), Node.js ≥ 16
80
- - [Claude Code](https://claude.com/claude-code) installed and logged in on the
81
- same computer
82
-
83
- ## Security
84
-
85
- Traffic is end-to-end encrypted (X25519 key agreement + AES-256-GCM) using a key
86
- that never leaves your two devices; the relay only forwards opaque frames and
87
- cannot read them. Risky tool calls can require approval on the phone before they
88
- run.
89
-
90
- ## Links
91
-
92
- - Source & issues: https://github.com/ddos798/claude_control