pocketshell 1.0.5 → 1.0.6

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 +11 -4
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -94,19 +94,26 @@ pocketshell --version
94
94
 
95
95
  ## Pair and run
96
96
 
97
+ Pairing is QR-based — run `pocketshell pair` on the host, scan the QR from the mobile app.
98
+
97
99
  ```bash
98
- # 1. open the PocketShell app, tap "Pair host" you get a 9-character code
99
- pocketshell pair 7H2-9K4-PXM
100
+ # 1. on the host, generate a pairing QR (prints to the terminal)
101
+ pocketshell pair
102
+
103
+ # 2. in the PocketShell app: Hosts → Add host → "Scan Host QR"
104
+ # point the camera at the QR shown in step 1
100
105
 
101
- # 2. start the daemon (runs as your user, not root)
106
+ # 3. start the daemon (runs as your user, not root)
102
107
  pocketshell daemon start
103
108
 
104
- # 3. status & logs
109
+ # 4. status & logs
105
110
  pocketshell daemon status
106
111
  journalctl --user -fu pocketshell-host-agent # linux
107
112
  log stream --predicate 'process == "pocketshell"' # macOS
108
113
  ```
109
114
 
115
+ The QR carries a short-lived claim plus the host's public key, so the mobile app pins the host identity at pair time rather than trusting a backend-relayed field. To re-pair an existing host onto a different account, run `pocketshell pair --reset` — this wipes the local identity before generating a fresh QR.
116
+
110
117
  The daemon connects out to the signaling backend over WSS and waits for a peer offer. When your phone wants a session, the backend signals; the data channel is end-to-end encrypted between phone and host.
111
118
 
112
119
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pocketshell",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Secure mobile-to-host terminal access — installs the pocketshell host-agent CLI.",
5
5
  "homepage": "https://pocketshell.app",
6
6
  "repository": {
@@ -18,9 +18,9 @@
18
18
  "node": ">=14"
19
19
  },
20
20
  "optionalDependencies": {
21
- "@pocketshell/darwin-arm64": "1.0.5",
22
- "@pocketshell/linux-x64-gnu": "1.0.5",
23
- "@pocketshell/linux-arm64-gnu": "1.0.5",
24
- "@pocketshell/linux-x64-musl": "1.0.5"
21
+ "@pocketshell/darwin-arm64": "1.0.6",
22
+ "@pocketshell/linux-x64-gnu": "1.0.6",
23
+ "@pocketshell/linux-arm64-gnu": "1.0.6",
24
+ "@pocketshell/linux-x64-musl": "1.0.6"
25
25
  }
26
26
  }