@napuketto/cli 0.6.45 → 0.7.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/dist/index.mjs +11 -0
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -432,6 +432,11 @@ messagePostFormat = "array"
|
|
|
432
432
|
# true = 群文件消息改报 group_upload notice 事件(替代 message 事件)
|
|
433
433
|
groupUploadAsNotice = false
|
|
434
434
|
|
|
435
|
+
# 远程媒体默认仅公网。仅受信任的调用方需要访问 LAN/本机媒体时改为 compat。
|
|
436
|
+
# [accounts.onebot11.media]
|
|
437
|
+
# outboundPolicy = "public-only"
|
|
438
|
+
# localMediaRoots = [] # 默认拒绝本地文件,可填写专用导出目录
|
|
439
|
+
|
|
435
440
|
# ---- HTTP 反向服务器(接收第三方 POST 指令),可配置多个 ----
|
|
436
441
|
[[accounts.onebot11.httpServers]]
|
|
437
442
|
enabled = true
|
|
@@ -469,6 +474,9 @@ port = 3001
|
|
|
469
474
|
# qq = "${RESERVED_PLACEHOLDER_QINS[1]}"
|
|
470
475
|
# [accounts.satori]
|
|
471
476
|
# # token = "" # 可选:Satori 鉴权 token
|
|
477
|
+
# [accounts.satori.media]
|
|
478
|
+
# outboundPolicy = "public-only" # 受信任 LAN 部署可显式设为 "compat"
|
|
479
|
+
# localMediaRoots = [] # 默认拒绝本地文件,可填写专用导出目录
|
|
472
480
|
# [[accounts.satori.httpServers]] # HTTP RPC(POST /v1/{resource}.{method})
|
|
473
481
|
# enabled = true
|
|
474
482
|
# host = "127.0.0.1"
|
|
@@ -508,6 +516,9 @@ port = 3001
|
|
|
508
516
|
# # eventModes = ["sse", "ws"] # /event 允许的连接形态
|
|
509
517
|
# # webhooks = [] # 可选:额外事件推送地址(WebHook POST)
|
|
510
518
|
# # cacheDir = "cache" # 可选:发送远程媒体 URI 的下载缓存目录
|
|
519
|
+
# [accounts.milky.media]
|
|
520
|
+
# outboundPolicy = "public-only" # 受信任 LAN 部署可显式设为 "compat"
|
|
521
|
+
# localMediaRoots = [] # 默认拒绝本地文件,可填写专用导出目录
|
|
511
522
|
`;
|
|
512
523
|
}
|
|
513
524
|
// 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.
|
|
4
|
+
"version": "0.7.1",
|
|
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.
|
|
56
|
+
"@napuketto/adapter": "^0.21.0",
|
|
57
57
|
"@napuketto/kernel": "^0.16.4",
|
|
58
|
-
"@napuketto/loader": "^0.
|
|
58
|
+
"@napuketto/loader": "^0.13.0",
|
|
59
59
|
"@napuketto/network": "^0.5.0",
|
|
60
60
|
"commander": "^15.1.0",
|
|
61
61
|
"uqr": "^0.1.3"
|