@napuketto/cli 0.6.45 → 0.7.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.
Files changed (2) hide show
  1. package/dist/index.mjs +8 -0
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -432,6 +432,10 @@ messagePostFormat = "array"
432
432
  # true = 群文件消息改报 group_upload notice 事件(替代 message 事件)
433
433
  groupUploadAsNotice = false
434
434
 
435
+ # 远程媒体默认仅公网。仅受信任的调用方需要访问 LAN/本机媒体时改为 compat。
436
+ # [accounts.onebot11.media]
437
+ # outboundPolicy = "compat"
438
+
435
439
  # ---- HTTP 反向服务器(接收第三方 POST 指令),可配置多个 ----
436
440
  [[accounts.onebot11.httpServers]]
437
441
  enabled = true
@@ -469,6 +473,8 @@ port = 3001
469
473
  # qq = "${RESERVED_PLACEHOLDER_QINS[1]}"
470
474
  # [accounts.satori]
471
475
  # # token = "" # 可选:Satori 鉴权 token
476
+ # [accounts.satori.media]
477
+ # outboundPolicy = "public-only" # 受信任 LAN 部署可显式设为 "compat"
472
478
  # [[accounts.satori.httpServers]] # HTTP RPC(POST /v1/{resource}.{method})
473
479
  # enabled = true
474
480
  # host = "127.0.0.1"
@@ -508,6 +514,8 @@ port = 3001
508
514
  # # eventModes = ["sse", "ws"] # /event 允许的连接形态
509
515
  # # webhooks = [] # 可选:额外事件推送地址(WebHook POST)
510
516
  # # cacheDir = "cache" # 可选:发送远程媒体 URI 的下载缓存目录
517
+ # [accounts.milky.media]
518
+ # outboundPolicy = "public-only" # 受信任 LAN 部署可显式设为 "compat"
511
519
  `;
512
520
  }
513
521
  // src/config/store.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@napuketto/cli",
4
- "version": "0.6.45",
4
+ "version": "0.7.0",
5
5
  "type": "module",
6
6
  "description": "Command line interface for NapukettoQQ",
7
7
  "keywords": [
@@ -53,9 +53,9 @@
53
53
  "start": "node ./dist/index.mjs"
54
54
  },
55
55
  "dependencies": {
56
- "@napuketto/adapter": "^0.19.0",
56
+ "@napuketto/adapter": "^0.20.0",
57
57
  "@napuketto/kernel": "^0.16.4",
58
- "@napuketto/loader": "^0.11.0",
58
+ "@napuketto/loader": "^0.12.0",
59
59
  "@napuketto/network": "^0.5.0",
60
60
  "commander": "^15.1.0",
61
61
  "uqr": "^0.1.3"