@lakphy/local-router 0.5.2 → 0.5.5

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.
@@ -211,6 +211,28 @@
211
211
  "lanAccess": {
212
212
  "$ref": "#/$defs/lanAccessConfig",
213
213
  "description": "局域网访问控制。默认关闭。"
214
+ },
215
+ "autostart": {
216
+ "type": "boolean",
217
+ "default": false,
218
+ "description": "是否开机自启动(用户登录时自动启动 daemon)。默认为 false。"
219
+ },
220
+ "host": {
221
+ "type": "string",
222
+ "default": "0.0.0.0",
223
+ "description": "服务监听地址。默认 0.0.0.0(所有网卡)。"
224
+ },
225
+ "port": {
226
+ "type": "integer",
227
+ "default": 4099,
228
+ "minimum": 1,
229
+ "maximum": 65535,
230
+ "description": "服务监听端口。默认 4099。"
231
+ },
232
+ "idleTimeout": {
233
+ "type": "integer",
234
+ "minimum": 0,
235
+ "description": "Bun 连接空闲超时秒数。0 或不设则不限制。"
214
236
  }
215
237
  }
216
238
  },