devlanes 0.4.1 → 0.4.3

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/package.json +7 -7
  2. package/user-schema.json +16 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devlanes",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Development environments in Git worktree lanes",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://devlanes.run",
@@ -30,11 +30,11 @@
30
30
  "node": ">=18"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@devlanes/darwin-arm64": "0.4.1",
34
- "@devlanes/darwin-x64": "0.4.1",
35
- "@devlanes/linux-arm64": "0.4.1",
36
- "@devlanes/linux-x64": "0.4.1",
37
- "@devlanes/win32-arm64": "0.4.1",
38
- "@devlanes/win32-x64": "0.4.1"
33
+ "@devlanes/darwin-arm64": "0.4.3",
34
+ "@devlanes/darwin-x64": "0.4.3",
35
+ "@devlanes/linux-arm64": "0.4.3",
36
+ "@devlanes/linux-x64": "0.4.3",
37
+ "@devlanes/win32-arm64": "0.4.3",
38
+ "@devlanes/win32-x64": "0.4.3"
39
39
  }
40
40
  }
package/user-schema.json CHANGED
@@ -401,7 +401,8 @@
401
401
  {
402
402
  "http_port": 80,
403
403
  "https_port": 443,
404
- "lan": false
404
+ "lan": false,
405
+ "via": true
405
406
  }
406
407
  ],
407
408
  "markdownDescription": "Ports and network exposure of the daemon's proxy, which routes each lane hostname to its service.",
@@ -441,6 +442,16 @@
441
442
  ],
442
443
  "markdownDescription": "Accept connections from other devices on the network; defaults to false, which refuses every peer that is not this machine. Those devices must still resolve the hostnames to this machine and trust the CA.",
443
444
  "type": "boolean"
445
+ },
446
+ "via": {
447
+ "default": true,
448
+ "description": "Add `Via: 1.1 devlanes.run` to every response the proxy forwards from a service (`1.1 devlanes.run (remote)` for lanes on a remote box), so a client can tell that devlanes sat in between. Defaults to true; set false if a client or test compares response headers exactly.",
449
+ "examples": [
450
+ true,
451
+ false
452
+ ],
453
+ "markdownDescription": "Add `Via: 1.1 devlanes.run` to every response the proxy forwards from a service (`1.1 devlanes.run (remote)` for lanes on a remote box), so a client can tell that devlanes sat in between. Defaults to true; set false if a client or test compares response headers exactly.",
454
+ "type": "boolean"
444
455
  }
445
456
  },
446
457
  "type": "object"
@@ -1208,14 +1219,16 @@
1208
1219
  "default": {
1209
1220
  "http_port": 80,
1210
1221
  "https_port": 443,
1211
- "lan": false
1222
+ "lan": false,
1223
+ "via": true
1212
1224
  },
1213
1225
  "description": "Ports of the daemon's HTTP/HTTPS proxy, which serves every `hosts` entry, and whether other devices on the network may connect to it.",
1214
1226
  "examples": [
1215
1227
  {
1216
1228
  "http_port": 80,
1217
1229
  "https_port": 443,
1218
- "lan": false
1230
+ "lan": false,
1231
+ "via": true
1219
1232
  }
1220
1233
  ],
1221
1234
  "markdownDescription": "Ports of the daemon's HTTP/HTTPS proxy, which serves every `hosts` entry, and whether other devices on the network may connect to it."