derpssh 0.16.3 → 0.17.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.
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
 
@@ -421,8 +433,19 @@ owning. Oops.
421
433
  ```bash
422
434
  mise install
423
435
  mise run install-githooks
436
+ go test ./pkg/token -run TestEncode
437
+ mise run check:fast
438
+ ```
439
+
440
+ Run focused tests and the build-only `mise run check:fast` during iteration. It
441
+ compiles every product without running formatting or commit hooks. When making
442
+ a checkpoint commit, let the installed commit hook format changed Go files and
443
+ run deterministic hygiene; retry the commit if formatting changed tracked
444
+ content. Do not run the exhaustive gate as part of the normal coding loop.
445
+ Immediately before a push or landing, run it once:
446
+
447
+ ```bash
424
448
  mise run check
425
- mise run build
426
449
  ```
427
450
 
428
451
  `mise run build` writes `dist/derphole`, `dist/derptun`, and `dist/derpssh`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "derpssh",
3
- "version": "0.16.3",
3
+ "version": "0.17.1",
4
4
  "license": "BSD-3-Clause",
5
5
  "bin": {
6
6
  "derpssh": "bin/derpssh.js"