derpssh 0.16.3 → 0.17.0

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 CHANGED
@@ -162,8 +162,20 @@ npx -y derpssh@latest share
162
162
  npx -y derpssh@latest connect <invite>
163
163
  ```
164
164
 
165
- The host approves the guest as read-only or read/write. The session uses the
166
- `derptun` transport path, so neither side needs an inbound port.
165
+ The host normally approves each guest as read-only or read/write. To use one
166
+ policy for every join attempt while the host is running:
167
+
168
+ ```bash
169
+ npx -y derpssh@latest share --auto-accept read
170
+ npx -y derpssh@latest share --auto-accept write
171
+ ```
172
+
173
+ Anyone with the valid invite is accepted. `read` lets the guest watch and chat.
174
+ `write` also gives the guest control of the shared shell. The host can still
175
+ change the role or kick the guest.
176
+
177
+ The session uses the `derptun` transport path, so neither side needs an inbound
178
+ port.
167
179
 
168
180
  Optional local lookup keeps the invite behind a service name on the connecting
169
181
  machine:
@@ -173,8 +185,8 @@ npx -y derpssh@latest service set ops-shell <invite>
173
185
  npx -y derpssh@latest connect --service ops-shell
174
186
  ```
175
187
 
176
- The host still approves the guest. The service name only finds the invite; it
177
- does not bypass approval.
188
+ The service name only finds the invite. It does not change the host's approval
189
+ policy.
178
190
 
179
191
  ### TCP Tunnels
180
192
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "derpssh",
3
- "version": "0.16.3",
3
+ "version": "0.17.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "bin": {
6
6
  "derpssh": "bin/derpssh.js"