meta-json-schema 1.18.3-beta → 1.18.4-beta3

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.
@@ -35,10 +35,17 @@
35
35
  "default": 100
36
36
  },
37
37
  "use-hosts": {
38
+ "type": "boolean",
39
+ "title": "启用配置中的hosts配置",
40
+ "description": "启用配置中的hosts配置",
41
+ "markdownDescription": "启用配置中的`hosts`配置",
42
+ "default": true
43
+ },
44
+ "use-system-hosts": {
38
45
  "type": "boolean",
39
46
  "title": "查询系统hosts文件",
40
- "description": "查询系统hosts文件",
41
- "markdownDescription": "查询系统`hosts`文件",
47
+ "description": "优先级低于配置中的hosts配置",
48
+ "markdownDescription": "优先级低于配置中的`hosts`配置",
42
49
  "default": true
43
50
  },
44
51
  "nameserver": {
@@ -90,7 +97,7 @@
90
97
  "$ref": "#/definitions/types/stringArray",
91
98
  "title": "DNS污染GeoSite列表",
92
99
  "description": "这些GeoSite的结果会被视为污染,将采用fallback的解析结果",
93
- "markdownDescription": "这些[GeoSite](https://github.com/v2ray/domain-list-community/tree/master/data)的结果会被视为污染,将采用`fallback`的解析结果",
100
+ "markdownDescription": "这些[GeoSite](https://github.com/MetaCubeX/meta-rules-dat/tree/meta/geo/geosite)的结果会被视为污染,将采用`fallback`的解析结果",
94
101
  "deprecationMessage": "使用nameserver-policy代替geosite(geosite将在未来移除)"
95
102
  }
96
103
  }
@@ -113,30 +120,30 @@
113
120
  "fake-ip-range": {
114
121
  "$ref": "#/definitions/patterns/ipCIDR",
115
122
  "title": "fake-ip的预留映射地址段",
116
- "description": "tun模式的网卡默认IP也使用此值作为参考",
117
- "markdownDescription": "tun模式的网卡默认IP也使用此值作为参考",
123
+ "description": "TUN模式的网卡默认IP也使用此值作为参考",
124
+ "markdownDescription": "TUN模式的网卡默认IP也使用此值作为参考",
118
125
  "default": "198.18.0.1/16"
119
126
  },
120
127
  "fake-ip-filter": {
121
128
  "$ref": "#/definitions/types/stringArray",
122
129
  "title": "fake-ip过滤",
123
- "description": "不使用fake-ip的地址范围",
124
- "markdownDescription": "不使用`fake-ip`的地址范围",
130
+ "description": "哪些域名不使用fake-ip",
131
+ "markdownDescription": "哪些域名不使用`fake-ip`",
125
132
  "default": ["dns.msftnsci.com", "www.msftnsci.com", "www.msftconnecttest.com"]
126
133
  },
127
134
  "default-nameserver": {
128
- "$ref": "#/definitions/types/serverArray",
135
+ "$ref": "#/definitions/types/stringArray",
129
136
  "title": "元域名解析服务器",
130
- "description": "解析nameserver,fallback以及其他DNS服务器配置的DNS服务器(只能使用纯IP地址,支持加密DNS)",
131
- "markdownDescription": "解析`nameserver`,`fallback`以及其他DNS服务器配置的DNS服务器(只能使用纯IP地址,支持加密DNS)",
137
+ "description": "解析nameserver,fallback以及其他DNS服务器配置的DNS服务器(只能使用纯IP地址,支持UDP,TCP,DoT,DoH,DoQ)",
138
+ "markdownDescription": "解析`nameserver`,`fallback`以及其他DNS服务器配置的DNS服务器(只能使用纯IP地址,支持`UDP`,`TCP`,`DoT`,`DoH`,`DoQ`)",
132
139
  "default": ["114.114.114.114", "223.5.5.5", "8.8.8.8", "1.0.0.1"]
133
140
  },
134
141
  "cache-algorithm": {
135
142
  "enum": ["lru", "arc"],
136
143
  "markdownEnumDescriptions": ["最近最少使用", "自适应替换缓存"],
137
144
  "title": "缓存算法",
138
- "description": "lru: Least Recently Used, arc: Adaptive Replacement Cache",
139
- "markdownDescription": "`lru`: Least Recently Used, `arc`: Adaptive Replacement Cache",
145
+ "description": "缓存算法",
146
+ "markdownDescription": "缓存算法",
140
147
  "default": "lru"
141
148
  },
142
149
  "nameserver-policy": {
@@ -10,22 +10,20 @@
10
10
  "type": "boolean",
11
11
  "title": "quic-go禁用GSO",
12
12
  "description": "quic禁用GSO(Generic Segmentation Offload)通用分段卸载,可能会导致Linux平台上的性能下降(等价于环境变量QUIC_GO_DISABLE_GSO=1)",
13
- "markdownDescription": "quic禁用`GSO`(Generic Segmentation Offload)通用分段卸载,可能会导致Linux平台上的性能下降(等价于环境变量`QUIC_GO_DISABLE_GSO=1`)",
14
- "default": false
13
+ "markdownDescription": "quic禁用`GSO`(Generic Segmentation Offload)通用分段卸载,可能会导致Linux平台上的性能下降(等价于环境变量`QUIC_GO_DISABLE_GSO=1`)"
15
14
  },
16
15
  "quic-go-disable-ecn": {
17
16
  "type": "boolean",
18
17
  "title": "quic-go禁用ECN",
19
18
  "description": "quic禁用ECN(Explicit Congestion Notification)显式拥塞通知(等价于环境变量QUIC_GO_DISABLE_ECN=1)",
20
19
  "markdownDescription": "quic禁用`ECN`(Explicit Congestion Notification)显式拥塞通知(等价于环境变量QUIC_GO_DISABLE_ECN=1)",
21
- "default": false
20
+ "default": true
22
21
  },
23
22
  "dialer-ip4p-convert": {
24
23
  "type": "boolean",
25
24
  "title": "启用IP4P地址转换",
26
25
  "description": "NATMap可以打通运营商完全锥型NAT网关的端口,使得通过运营商网关的公网IP:端口能够访问到用户内网的服务。",
27
- "markdownDescription": "`NATMap`可以打通运营商完全锥型NAT网关的端口,使得通过运营商网关的公网IP:端口能够访问到用户内网的服务。",
28
- "default": false
26
+ "markdownDescription": "`NATMap`可以打通运营商完全锥型NAT网关的端口,使得通过运营商网关的公网IP:端口能够访问到用户内网的服务。"
29
27
  }
30
28
  }
31
29
  }
@@ -132,7 +132,7 @@
132
132
  "title": "全局UA",
133
133
  "description": "下载外部资源(proxy-provider、rule-provider、Geo等)时使用",
134
134
  "markdownDescription": "下载外部资源(proxy-provider、rule-provider、Geo等)时使用",
135
- "default": "clash.meta/version"
135
+ "default": "clash.meta"
136
136
  }
137
137
  }
138
138
  }
@@ -76,11 +76,20 @@
76
76
  "markdownDescription": "需要启用`allow-lan`(优先级高于`lan-allowed-ips`)"
77
77
  },
78
78
  "bind-address": {
79
- "$ref": "#/definitions/patterns/ipPort",
80
- "title": "绑定地址",
81
- "description": "仅允许其他设备通过这个地址访问(*绑定所有IP地址)",
82
- "markdownDescription": "仅允许其他设备通过这个地址访问(*绑定所有IP地址)",
83
- "default": "*"
79
+ "anyOf": [
80
+ {
81
+ "const": "*",
82
+ "title": "绑定所有 IP 地址",
83
+ "description": "允许其他设备通过所有地址访问",
84
+ "markdownDescription": "允许其他设备通过所有地址访问"
85
+ },
86
+ {
87
+ "$ref": "#/definitions/patterns/ipPort",
88
+ "title": "绑定单个 IP 地址",
89
+ "description": "仅允许其他设备通过这个地址访问",
90
+ "markdownDescription": "仅允许其他设备通过这个地址访问"
91
+ }
92
+ ]
84
93
  },
85
94
  "inbound-tfo": {
86
95
  "type": "boolean",
@@ -57,8 +57,8 @@
57
57
  },
58
58
  {
59
59
  "type": "object",
60
- "title": "tun配置",
61
- "properties": { "type": { "title": "tun配置", "const": "tun" } },
60
+ "title": "TUN配置",
61
+ "properties": { "type": { "title": "TUN配置", "const": "tun" } },
62
62
  "$ref": "#/definitions/tun"
63
63
  },
64
64
  {
@@ -83,7 +83,7 @@
83
83
  "type": "object",
84
84
  "properties": {
85
85
  "ports": {
86
- "$ref": "#/definitions/types/portArray",
86
+ "$ref": "#/definitions/types/portRangeArray",
87
87
  "description": "嗅探端口列表"
88
88
  },
89
89
  "override-destination": {
@@ -43,8 +43,8 @@
43
43
  "auto-route": {
44
44
  "type": "boolean",
45
45
  "title": "自动设置全局路由",
46
- "description": "可以自动将全局流量路由进入tun网卡",
47
- "markdownDescription": "可以自动将全局流量路由进入`tun`网卡",
46
+ "description": "可以自动将全局流量路由进入TUN网卡",
47
+ "markdownDescription": "可以自动将全局流量路由进入`TUN`网卡",
48
48
  "default": true
49
49
  },
50
50
  "auto-detect-interface": {
@@ -15,9 +15,9 @@
15
15
  "properties": {
16
16
  "device": {
17
17
  "type": "string",
18
- "title": "指定tun网卡名称",
19
- "description": "指定tun网卡名称(macOS强制为utun)",
20
- "markdownDescription": "指定tun网卡名称(macOS强制为`utun`)"
18
+ "title": "指定TUN网卡名称",
19
+ "description": "指定TUN网卡名称(macOS强制为utun)",
20
+ "markdownDescription": "指定TUN网卡名称(macOS强制为`utun`)"
21
21
  },
22
22
  "stack": {
23
23
  "type": "string",
@@ -43,7 +43,7 @@
43
43
  "type": "boolean",
44
44
  "title": "自动设置全局路由",
45
45
  "description": "可以自动将全局流量路由进入tun网卡",
46
- "markdownDescription": "可以自动将全局流量路由进入`tun`网卡",
46
+ "markdownDescription": "可以自动将全局流量路由进入`TUN`网卡",
47
47
  "default": true
48
48
  },
49
49
  "auto-detect-interface": {
@@ -2449,7 +2449,7 @@ proxy-groups:
2449
2449
  type: load-balance
2450
2450
  strategy: round-robin
2451
2451
  lazy: true
2452
- interval: 60
2452
+ interval: 60s
2453
2453
  timeout: 2000
2454
2454
  url: https://www.google.com/gen_204
2455
2455
  max-failed-times: 3