meta-json-schema 1.18.4-beta4 → 1.18.4-beta5
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/CHANGELOG.md +44 -40
- package/LICENSE +21 -21
- package/README.md +204 -204
- package/package.json +50 -41
- package/schemas/clash-verge-merge-json-schema.json +1 -1
- package/schemas/meta-json-schema.json +1 -1
- package/.gitattributes +0 -2
- package/.github/workflows/release_on_tag.yml +0 -44
- package/.github/workflows/workflow_runs_cleaner.yml +0 -18
- package/.vscode/extensions.json +0 -3
- package/.vscode/settings.json +0 -30
- package/scripts/release.mjs +0 -29
- package/scripts/util/bundle.mjs +0 -91
- package/scripts/util/env.mjs +0 -9
- package/scripts/util/file.mjs +0 -13
- package/scripts/watch.mjs +0 -28
- package/src/clash-verge-merge-json-schema.json +0 -58
- package/src/definitions/compatible.json +0 -6
- package/src/definitions/enums.json +0 -58
- package/src/definitions/patterns.json +0 -87
- package/src/definitions/types.json +0 -70
- package/src/meta-json-schema.json +0 -168
- package/src/modules/adapter/outbound/base.json +0 -91
- package/src/modules/adapter/outbound/direct.json +0 -39
- package/src/modules/adapter/outbound/dns.json +0 -39
- package/src/modules/adapter/outbound/http.json +0 -101
- package/src/modules/adapter/outbound/hysteria.json +0 -182
- package/src/modules/adapter/outbound/hysteria2.json +0 -146
- package/src/modules/adapter/outbound/reality.json +0 -25
- package/src/modules/adapter/outbound/shadowsocks.json +0 -308
- package/src/modules/adapter/outbound/shadowsocksr.json +0 -151
- package/src/modules/adapter/outbound/singmux.json +0 -95
- package/src/modules/adapter/outbound/snell.json +0 -65
- package/src/modules/adapter/outbound/socks5.json +0 -88
- package/src/modules/adapter/outbound/ssh.json +0 -87
- package/src/modules/adapter/outbound/trojan.json +0 -93
- package/src/modules/adapter/outbound/tuic.json +0 -213
- package/src/modules/adapter/outbound/vless.json +0 -146
- package/src/modules/adapter/outbound/vmess.json +0 -251
- package/src/modules/adapter/outbound/wireguard.json +0 -150
- package/src/modules/adapter/outboundgroup/fallback.json +0 -18
- package/src/modules/adapter/outboundgroup/groupbase.json +0 -98
- package/src/modules/adapter/outboundgroup/loadbalance.json +0 -29
- package/src/modules/adapter/outboundgroup/relay.json +0 -18
- package/src/modules/adapter/outboundgroup/urltest.json +0 -25
- package/src/modules/adapter/provider/health-check.json +0 -74
- package/src/modules/adapter/provider/provider.json +0 -159
- package/src/modules/config/authentication.json +0 -9
- package/src/modules/config/controller.json +0 -53
- package/src/modules/config/dns.json +0 -163
- package/src/modules/config/ebpf.json +0 -22
- package/src/modules/config/experimental.json +0 -29
- package/src/modules/config/general.json +0 -140
- package/src/modules/config/geox-url.json +0 -38
- package/src/modules/config/hosts.json +0 -9
- package/src/modules/config/inbound.json +0 -107
- package/src/modules/config/iptables.json +0 -38
- package/src/modules/config/listeners.json +0 -90
- package/src/modules/config/ntp.json +0 -50
- package/src/modules/config/profile.json +0 -24
- package/src/modules/config/proxies.json +0 -118
- package/src/modules/config/proxy-groups.json +0 -21
- package/src/modules/config/proxy-providers.json +0 -11
- package/src/modules/config/rules.json +0 -11
- package/src/modules/config/sniffer.json +0 -111
- package/src/modules/config/sub-rules.json +0 -14
- package/src/modules/config/tls.json +0 -28
- package/src/modules/config/tunnels.json +0 -49
- package/src/modules/listener/config/tuic.json +0 -102
- package/src/modules/listener/config/tun.json +0 -205
- package/src/modules/listener/inbound/base.json +0 -43
- package/src/modules/listener/inbound/http.json +0 -18
- package/src/modules/listener/inbound/hysteria2.json +0 -102
- package/src/modules/listener/inbound/mixed.json +0 -26
- package/src/modules/listener/inbound/mux.json +0 -42
- package/src/modules/listener/inbound/redir.json +0 -18
- package/src/modules/listener/inbound/shadowsocks.json +0 -41
- package/src/modules/listener/inbound/socks.json +0 -26
- package/src/modules/listener/inbound/tproxy.json +0 -26
- package/src/modules/listener/inbound/tuic.json +0 -84
- package/src/modules/listener/inbound/tun.json +0 -207
- package/src/modules/listener/inbound/tunnel.json +0 -33
- package/src/modules/listener/inbound/vmess.json +0 -72
- package/src/modules/listener/sing/sing.json +0 -42
- package/src/modules/rules/provider/provider.json +0 -71
- package/src/modules/rules/rule.json +0 -165
- package/test/clash-meta/example1.yaml +0 -3170
- package/test/clash-verge/merge.yaml +0 -212
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"description": "sing-mux多路复用配置",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"compatible": { "$ref": "../../../definitions/compatible.json" },
|
|
6
|
-
"types": { "$ref": "../../../definitions/types.json" },
|
|
7
|
-
"patterns": { "$ref": "../../../definitions/patterns.json" },
|
|
8
|
-
"enums": { "$ref": "../../../definitions/enums.json" }
|
|
9
|
-
},
|
|
10
|
-
"properties": {
|
|
11
|
-
"enabled": {
|
|
12
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
13
|
-
"title": "启用多路复用",
|
|
14
|
-
"description": "启用多路复用",
|
|
15
|
-
"markdownDescription": "启用多路复用",
|
|
16
|
-
"default": false
|
|
17
|
-
},
|
|
18
|
-
"protocol": {
|
|
19
|
-
"enum": ["smux", "yamux", "h2mux"],
|
|
20
|
-
"markdownEnumDescriptions": [
|
|
21
|
-
"[smux](https://github.com/xtaci/smux)",
|
|
22
|
-
"[yamux](https://github.com/hashicorp/yamux)",
|
|
23
|
-
"[h2mux](https://pkg.go.dev/golang.org/x/net/http2)"
|
|
24
|
-
],
|
|
25
|
-
"title": "多路复用协议",
|
|
26
|
-
"description": "多路复用协议",
|
|
27
|
-
"markdownDescription": "多路复用协议",
|
|
28
|
-
"default": "h2mux"
|
|
29
|
-
},
|
|
30
|
-
"max-connections": {
|
|
31
|
-
"$ref": "#/definitions/compatible/integer",
|
|
32
|
-
"title": "最大连接数量",
|
|
33
|
-
"description": "与max-streams冲突",
|
|
34
|
-
"markdownDescription": "与`max-streams`冲突"
|
|
35
|
-
},
|
|
36
|
-
"min-streams": {
|
|
37
|
-
"$ref": "#/definitions/compatible/integer",
|
|
38
|
-
"title": "在打开新连接之前,连接中的最小多路复用流数量",
|
|
39
|
-
"description": "与max-streams冲突",
|
|
40
|
-
"markdownDescription": "与`max-streams`冲突"
|
|
41
|
-
},
|
|
42
|
-
"max-streams": {
|
|
43
|
-
"$ref": "#/definitions/compatible/integer",
|
|
44
|
-
"title": "在打开新连接之前,连接中的最大多路复用流数量",
|
|
45
|
-
"description": "与max-connections, max-streams冲突"
|
|
46
|
-
},
|
|
47
|
-
"padding": {
|
|
48
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
49
|
-
"title": "启用填充",
|
|
50
|
-
"description": "启用填充",
|
|
51
|
-
"markdownDescription": "启用填充",
|
|
52
|
-
"default": false
|
|
53
|
-
},
|
|
54
|
-
"brutal-opts": {
|
|
55
|
-
"type": "object",
|
|
56
|
-
"title": "Brutal拥塞控制",
|
|
57
|
-
"description": "Brutal拥塞控制",
|
|
58
|
-
"markdownDescription": "[Brutal](https://github.com/apernet/tcp-brutal)拥塞控制",
|
|
59
|
-
"properties": {
|
|
60
|
-
"enabled": {
|
|
61
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
62
|
-
"title": "启用Brutal拥塞控制算法",
|
|
63
|
-
"description": "启用Brutal拥塞控制算法",
|
|
64
|
-
"markdownDescription": "启用Brutal拥塞控制算法",
|
|
65
|
-
"default": false
|
|
66
|
-
},
|
|
67
|
-
"up": {
|
|
68
|
-
"$ref": "#/definitions/compatible/integer",
|
|
69
|
-
"title": "上行带宽",
|
|
70
|
-
"description": "以Mbps为单位",
|
|
71
|
-
"markdownDescription": "以`Mbps`为单位"
|
|
72
|
-
},
|
|
73
|
-
"down": {
|
|
74
|
-
"$ref": "#/definitions/compatible/integer",
|
|
75
|
-
"title": "下行带宽",
|
|
76
|
-
"description": "以Mbps为单位",
|
|
77
|
-
"markdownDescription": "以`Mbps`为单位"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"statistic": {
|
|
82
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
83
|
-
"title": "将底层连接显示在面板中",
|
|
84
|
-
"description": "方便打断底层连接",
|
|
85
|
-
"markdownDescription": "方便打断底层连接",
|
|
86
|
-
"default": false
|
|
87
|
-
},
|
|
88
|
-
"only-tcp": {
|
|
89
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
90
|
-
"title": "是否仅允许tcp",
|
|
91
|
-
"description": "smux配置将不会对udp生效(udp连接会直接走节点默认udp协议传输)",
|
|
92
|
-
"markdownDescription": "smux配置将不会对`udp`生效(udp连接会直接走节点默认`udp`协议传输)"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"title": "outbound-snell",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"compatible": { "$ref": "../../../definitions/compatible.json" },
|
|
6
|
-
"types": { "$ref": "../../../definitions/types.json" },
|
|
7
|
-
"patterns": { "$ref": "../../../definitions/patterns.json" },
|
|
8
|
-
"enums": { "$ref": "../../../definitions/enums.json" },
|
|
9
|
-
"basic-option": { "$ref": "./base.json#/definitions/basic-option" },
|
|
10
|
-
"smux": { "$ref": "./singmux.json" }
|
|
11
|
-
},
|
|
12
|
-
"allOf": [
|
|
13
|
-
{ "title": "basic配置", "$ref": "#/definitions/basic-option" },
|
|
14
|
-
{
|
|
15
|
-
"type": "object",
|
|
16
|
-
"title": "snell配置",
|
|
17
|
-
"required": ["name", "server", "port"],
|
|
18
|
-
"properties": {
|
|
19
|
-
"type": {
|
|
20
|
-
"$ref": "#/definitions/compatible/string",
|
|
21
|
-
"title": "代理节点类型",
|
|
22
|
-
"description": "代理节点类型",
|
|
23
|
-
"markdownDescription": "代理节点类型"
|
|
24
|
-
},
|
|
25
|
-
"name": {
|
|
26
|
-
"$ref": "#/definitions/compatible/string",
|
|
27
|
-
"title": "代理节点名称",
|
|
28
|
-
"description": "代理节点名称",
|
|
29
|
-
"markdownDescription": "代理节点名称"
|
|
30
|
-
},
|
|
31
|
-
"server": {
|
|
32
|
-
"$ref": "#/definitions/patterns/server",
|
|
33
|
-
"title": "代理节点服务器",
|
|
34
|
-
"description": "域名或IP",
|
|
35
|
-
"markdownDescription": "域名或IP"
|
|
36
|
-
},
|
|
37
|
-
"port": {
|
|
38
|
-
"$ref": "#/definitions/patterns/port",
|
|
39
|
-
"title": "代理节点端口号",
|
|
40
|
-
"description": "代理节点端口号",
|
|
41
|
-
"markdownDescription": "代理节点端口号"
|
|
42
|
-
},
|
|
43
|
-
"psk": {
|
|
44
|
-
"$ref": "#/definitions/compatible/string",
|
|
45
|
-
"title": "公钥",
|
|
46
|
-
"description": "公钥",
|
|
47
|
-
"markdownDescription": "公钥"
|
|
48
|
-
},
|
|
49
|
-
"version": {
|
|
50
|
-
"$ref": "#/definitions/compatible/integer",
|
|
51
|
-
"title": "版本",
|
|
52
|
-
"description": "版本",
|
|
53
|
-
"markdownDescription": "版本",
|
|
54
|
-
"default": 1
|
|
55
|
-
},
|
|
56
|
-
"obfs-opts": { "$ref": "./shadowsocks.json#/definitions/simple-obfs-option" }
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "object",
|
|
61
|
-
"title": "smux配置",
|
|
62
|
-
"properties": { "smux": { "title": "smux配置", "$ref": "#/definitions/smux" } }
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"title": "outbound-dns",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"compatible": { "$ref": "../../../definitions/compatible.json" },
|
|
6
|
-
"types": { "$ref": "../../../definitions/types.json" },
|
|
7
|
-
"patterns": { "$ref": "../../../definitions/patterns.json" },
|
|
8
|
-
"enums": { "$ref": "../../../definitions/enums.json" },
|
|
9
|
-
"basic-option": { "$ref": "./base.json#/definitions/basic-option" },
|
|
10
|
-
"smux": { "$ref": "./singmux.json" }
|
|
11
|
-
},
|
|
12
|
-
"allOf": [
|
|
13
|
-
{ "title": "basic配置", "$ref": "#/definitions/basic-option" },
|
|
14
|
-
{
|
|
15
|
-
"type": "object",
|
|
16
|
-
"title": "dns配置",
|
|
17
|
-
"required": ["name", "server", "port"],
|
|
18
|
-
"properties": {
|
|
19
|
-
"type": {
|
|
20
|
-
"$ref": "#/definitions/compatible/string",
|
|
21
|
-
"title": "代理节点类型",
|
|
22
|
-
"description": "代理节点类型",
|
|
23
|
-
"markdownDescription": "代理节点类型"
|
|
24
|
-
},
|
|
25
|
-
"name": {
|
|
26
|
-
"$ref": "#/definitions/compatible/string",
|
|
27
|
-
"title": "代理节点名称",
|
|
28
|
-
"description": "代理节点名称",
|
|
29
|
-
"markdownDescription": "代理节点名称"
|
|
30
|
-
},
|
|
31
|
-
"server": {
|
|
32
|
-
"$ref": "#/definitions/patterns/server",
|
|
33
|
-
"title": "代理节点服务器",
|
|
34
|
-
"description": "域名或IP",
|
|
35
|
-
"markdownDescription": "域名或IP"
|
|
36
|
-
},
|
|
37
|
-
"port": {
|
|
38
|
-
"$ref": "#/definitions/patterns/port",
|
|
39
|
-
"title": "代理节点端口号",
|
|
40
|
-
"description": "代理节点端口号",
|
|
41
|
-
"markdownDescription": "代理节点端口号"
|
|
42
|
-
},
|
|
43
|
-
"username": {
|
|
44
|
-
"$ref": "#/definitions/compatible/string",
|
|
45
|
-
"title": "用户名",
|
|
46
|
-
"description": "认证用户名",
|
|
47
|
-
"markdownDescription": "认证用户名"
|
|
48
|
-
},
|
|
49
|
-
"password": {
|
|
50
|
-
"$ref": "#/definitions/compatible/string",
|
|
51
|
-
"title": "密码",
|
|
52
|
-
"description": "认证密码",
|
|
53
|
-
"markdownDescription": "认证密码"
|
|
54
|
-
},
|
|
55
|
-
"tls": {
|
|
56
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
57
|
-
"title": "启用TLS",
|
|
58
|
-
"description": "启用TLS",
|
|
59
|
-
"markdownDescription": "启用`TLS`"
|
|
60
|
-
},
|
|
61
|
-
"udp": {
|
|
62
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
63
|
-
"title": "启用UDP",
|
|
64
|
-
"description": "启用UDP",
|
|
65
|
-
"markdownDescription": "启用`UDP`",
|
|
66
|
-
"default": true
|
|
67
|
-
},
|
|
68
|
-
"skip-cert-verify": {
|
|
69
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
70
|
-
"title": "跳过证书验证",
|
|
71
|
-
"description": "跳过证书验证",
|
|
72
|
-
"markdownDescription": "跳过证书验证"
|
|
73
|
-
},
|
|
74
|
-
"fingerprint": {
|
|
75
|
-
"$ref": "#/definitions/enums/fingerprint",
|
|
76
|
-
"title": "指纹",
|
|
77
|
-
"description": "指纹",
|
|
78
|
-
"markdownDescription": "指纹"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"type": "object",
|
|
84
|
-
"title": "smux配置",
|
|
85
|
-
"properties": { "smux": { "title": "smux配置", "$ref": "#/definitions/smux" } }
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"title": "outbound-ssh",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"compatible": { "$ref": "../../../definitions/compatible.json" },
|
|
6
|
-
"types": { "$ref": "../../../definitions/types.json" },
|
|
7
|
-
"patterns": { "$ref": "../../../definitions/patterns.json" },
|
|
8
|
-
"enums": { "$ref": "../../../definitions/enums.json" },
|
|
9
|
-
"basic-option": { "$ref": "./base.json#/definitions/basic-option" },
|
|
10
|
-
"smux": { "$ref": "./singmux.json" }
|
|
11
|
-
},
|
|
12
|
-
"allOf": [
|
|
13
|
-
{ "title": "basic配置", "$ref": "#/definitions/basic-option" },
|
|
14
|
-
{
|
|
15
|
-
"type": "object",
|
|
16
|
-
"title": "ssh配置",
|
|
17
|
-
"required": ["name", "server", "port", "username"],
|
|
18
|
-
"properties": {
|
|
19
|
-
"type": {
|
|
20
|
-
"$ref": "#/definitions/compatible/string",
|
|
21
|
-
"title": "代理节点类型",
|
|
22
|
-
"description": "代理节点类型",
|
|
23
|
-
"markdownDescription": "代理节点类型"
|
|
24
|
-
},
|
|
25
|
-
"name": {
|
|
26
|
-
"$ref": "#/definitions/compatible/string",
|
|
27
|
-
"title": "代理节点名称",
|
|
28
|
-
"description": "代理节点名称",
|
|
29
|
-
"markdownDescription": "代理节点名称"
|
|
30
|
-
},
|
|
31
|
-
"server": {
|
|
32
|
-
"$ref": "#/definitions/patterns/server",
|
|
33
|
-
"title": "代理节点服务器",
|
|
34
|
-
"description": "域名或IP",
|
|
35
|
-
"markdownDescription": "域名或IP"
|
|
36
|
-
},
|
|
37
|
-
"port": {
|
|
38
|
-
"$ref": "#/definitions/patterns/port",
|
|
39
|
-
"title": "代理节点端口号",
|
|
40
|
-
"description": "代理节点端口号",
|
|
41
|
-
"markdownDescription": "代理节点端口号"
|
|
42
|
-
},
|
|
43
|
-
"username": {
|
|
44
|
-
"$ref": "#/definitions/compatible/string",
|
|
45
|
-
"title": "用户名",
|
|
46
|
-
"description": "认证用户名",
|
|
47
|
-
"markdownDescription": "认证用户名"
|
|
48
|
-
},
|
|
49
|
-
"password": {
|
|
50
|
-
"$ref": "#/definitions/compatible/string",
|
|
51
|
-
"title": "密码",
|
|
52
|
-
"description": "认证密码",
|
|
53
|
-
"markdownDescription": "认证密码"
|
|
54
|
-
},
|
|
55
|
-
"private-key": {
|
|
56
|
-
"$ref": "#/definitions/compatible/string",
|
|
57
|
-
"title": "私钥",
|
|
58
|
-
"description": "私钥内容或私钥文件路径",
|
|
59
|
-
"markdownDescription": "私钥内容或私钥文件路径"
|
|
60
|
-
},
|
|
61
|
-
"private-key-passphrase": {
|
|
62
|
-
"$ref": "#/definitions/compatible/string",
|
|
63
|
-
"title": "私钥",
|
|
64
|
-
"description": "私钥密码",
|
|
65
|
-
"markdownDescription": "私钥密码"
|
|
66
|
-
},
|
|
67
|
-
"host-key": {
|
|
68
|
-
"$ref": "#/definitions/types/stringArray",
|
|
69
|
-
"title": "主机私钥",
|
|
70
|
-
"description": "主机私钥",
|
|
71
|
-
"markdownDescription": "主机私钥"
|
|
72
|
-
},
|
|
73
|
-
"host-key-algorithms": {
|
|
74
|
-
"$ref": "#/definitions/types/stringArray",
|
|
75
|
-
"title": "主机私钥算法",
|
|
76
|
-
"description": "主机私钥算法",
|
|
77
|
-
"markdownDescription": "主机私钥算法"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"type": "object",
|
|
83
|
-
"title": "smux配置",
|
|
84
|
-
"properties": { "smux": { "title": "smux配置", "$ref": "#/definitions/smux" } }
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"title": "outbound-trojan",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"compatible": { "$ref": "../../../definitions/compatible.json" },
|
|
6
|
-
"types": { "$ref": "../../../definitions/types.json" },
|
|
7
|
-
"patterns": { "$ref": "../../../definitions/patterns.json" },
|
|
8
|
-
"enums": { "$ref": "../../../definitions/enums.json" },
|
|
9
|
-
"basic-option": { "$ref": "./base.json#/definitions/basic-option" },
|
|
10
|
-
"smux": { "$ref": "./singmux.json" },
|
|
11
|
-
"reality-option": { "$ref": "./reality.json" },
|
|
12
|
-
"grpc-option": { "$ref": "./vmess.json#/definitions/grpc-option" },
|
|
13
|
-
"ws-option": { "$ref": "./vmess.json#/definitions/ws-option" }
|
|
14
|
-
},
|
|
15
|
-
"allOf": [
|
|
16
|
-
{ "title": "basic配置", "$ref": "#/definitions/basic-option" },
|
|
17
|
-
{
|
|
18
|
-
"type": "object",
|
|
19
|
-
"title": "trojan配置",
|
|
20
|
-
"required": ["name", "server", "port", "password"],
|
|
21
|
-
"properties": {
|
|
22
|
-
"type": {
|
|
23
|
-
"$ref": "#/definitions/compatible/string",
|
|
24
|
-
"title": "代理节点类型",
|
|
25
|
-
"description": "代理节点类型",
|
|
26
|
-
"markdownDescription": "代理节点类型"
|
|
27
|
-
},
|
|
28
|
-
"name": {
|
|
29
|
-
"$ref": "#/definitions/compatible/string",
|
|
30
|
-
"title": "代理节点名称",
|
|
31
|
-
"description": "代理节点名称",
|
|
32
|
-
"markdownDescription": "代理节点名称"
|
|
33
|
-
},
|
|
34
|
-
"server": {
|
|
35
|
-
"$ref": "#/definitions/patterns/server",
|
|
36
|
-
"title": "代理节点服务器",
|
|
37
|
-
"description": "域名或IP",
|
|
38
|
-
"markdownDescription": "域名或IP"
|
|
39
|
-
},
|
|
40
|
-
"port": {
|
|
41
|
-
"$ref": "#/definitions/patterns/port",
|
|
42
|
-
"title": "代理节点端口号",
|
|
43
|
-
"description": "代理节点端口号",
|
|
44
|
-
"markdownDescription": "代理节点端口号"
|
|
45
|
-
},
|
|
46
|
-
"password": {
|
|
47
|
-
"$ref": "#/definitions/compatible/string",
|
|
48
|
-
"title": "密码",
|
|
49
|
-
"description": "认证密码",
|
|
50
|
-
"markdownDescription": "认证密码"
|
|
51
|
-
},
|
|
52
|
-
"alpn": {
|
|
53
|
-
"$ref": "#/definitions/types/stringArray",
|
|
54
|
-
"title": "ALPN",
|
|
55
|
-
"description": "Application-Layer Protocol Negotiation(应用层协议协商)",
|
|
56
|
-
"markdownDescription": "Application-Layer Protocol Negotiation(应用层协议协商)"
|
|
57
|
-
},
|
|
58
|
-
"sni": {
|
|
59
|
-
"$ref": "#/definitions/compatible/string",
|
|
60
|
-
"title": "SNI",
|
|
61
|
-
"description": "SNI(Server Name Indication)",
|
|
62
|
-
"markdownDescription": "SNI(Server Name Indication)"
|
|
63
|
-
},
|
|
64
|
-
"fingerprint": {
|
|
65
|
-
"$ref": "#/definitions/enums/fingerprint",
|
|
66
|
-
"title": "指纹",
|
|
67
|
-
"description": "指纹",
|
|
68
|
-
"markdownDescription": "指纹"
|
|
69
|
-
},
|
|
70
|
-
"network": {
|
|
71
|
-
"enum": ["tcp", "ws", "http", "h2", "grpc"],
|
|
72
|
-
"title": "传输协议",
|
|
73
|
-
"description": "传输协议",
|
|
74
|
-
"markdownDescription": "传输协议"
|
|
75
|
-
},
|
|
76
|
-
"reality-opts": { "$ref": "#/definitions/reality-option" },
|
|
77
|
-
"grpc-opts": { "$ref": "#/definitions/grpc-option" },
|
|
78
|
-
"ws-opts": { "$ref": "#/definitions/ws-option" },
|
|
79
|
-
"client-fingerprint": {
|
|
80
|
-
"$ref": "#/definitions/enums/fingerprint",
|
|
81
|
-
"title": "客户端指纹",
|
|
82
|
-
"description": "客户端指纹",
|
|
83
|
-
"markdownDescription": "客户端指纹"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"type": "object",
|
|
89
|
-
"title": "smux配置",
|
|
90
|
-
"properties": { "smux": { "title": "smux配置", "$ref": "#/definitions/smux" } }
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
}
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"title": "outbound-tuic",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"compatible": { "$ref": "../../../definitions/compatible.json" },
|
|
6
|
-
"types": { "$ref": "../../../definitions/types.json" },
|
|
7
|
-
"patterns": { "$ref": "../../../definitions/patterns.json" },
|
|
8
|
-
"enums": { "$ref": "../../../definitions/enums.json" },
|
|
9
|
-
"basic-option": { "$ref": "./base.json#/definitions/basic-option" },
|
|
10
|
-
"smux": { "$ref": "./singmux.json" }
|
|
11
|
-
},
|
|
12
|
-
"allOf": [
|
|
13
|
-
{ "title": "basic配置", "$ref": "#/definitions/basic-option" },
|
|
14
|
-
{
|
|
15
|
-
"type": "object",
|
|
16
|
-
"title": "tuic配置",
|
|
17
|
-
"required": ["name", "server", "port"],
|
|
18
|
-
"properties": {
|
|
19
|
-
"type": {
|
|
20
|
-
"$ref": "#/definitions/compatible/string",
|
|
21
|
-
"title": "代理节点类型",
|
|
22
|
-
"description": "代理节点类型",
|
|
23
|
-
"markdownDescription": "代理节点类型"
|
|
24
|
-
},
|
|
25
|
-
"name": {
|
|
26
|
-
"$ref": "#/definitions/compatible/string",
|
|
27
|
-
"title": "代理节点名称",
|
|
28
|
-
"description": "代理节点名称",
|
|
29
|
-
"markdownDescription": "代理节点名称"
|
|
30
|
-
},
|
|
31
|
-
"server": {
|
|
32
|
-
"$ref": "#/definitions/patterns/server",
|
|
33
|
-
"title": "代理节点服务器",
|
|
34
|
-
"description": "域名或IP",
|
|
35
|
-
"markdownDescription": "域名或IP"
|
|
36
|
-
},
|
|
37
|
-
"port": {
|
|
38
|
-
"$ref": "#/definitions/patterns/port",
|
|
39
|
-
"title": "代理节点端口号",
|
|
40
|
-
"description": "代理节点端口号",
|
|
41
|
-
"markdownDescription": "代理节点端口号"
|
|
42
|
-
},
|
|
43
|
-
"token": {
|
|
44
|
-
"$ref": "#/definitions/compatible/string",
|
|
45
|
-
"title": "TUIC V4的用户标识",
|
|
46
|
-
"description": "TUIC V4的用户标识",
|
|
47
|
-
"markdownDescription": "TUIC `V4`的用户标识"
|
|
48
|
-
},
|
|
49
|
-
"uuid": {
|
|
50
|
-
"$ref": "#/definitions/patterns/uuid",
|
|
51
|
-
"title": "TUIC V5的用户标识",
|
|
52
|
-
"description": "TUIC V5的用户标识",
|
|
53
|
-
"markdownDescription": "TUIC `V5`的用户标识"
|
|
54
|
-
},
|
|
55
|
-
"password": {
|
|
56
|
-
"$ref": "#/definitions/compatible/string",
|
|
57
|
-
"title": "TUIC V5的用户密码",
|
|
58
|
-
"description": "TUIC V5的用户密码",
|
|
59
|
-
"markdownDescription": "TUIC `V5`的用户密码"
|
|
60
|
-
},
|
|
61
|
-
"ip": {
|
|
62
|
-
"$ref": "#/definitions/patterns/ip",
|
|
63
|
-
"title": "覆盖server选项中设置的服务器地址的DNS查找结果",
|
|
64
|
-
"description": "覆盖server选项中设置的服务器地址的DNS查找结果",
|
|
65
|
-
"markdownDescription": "覆盖`server`选项中设置的服务器地址的DNS查找结果"
|
|
66
|
-
},
|
|
67
|
-
"heartbeat-interval": {
|
|
68
|
-
"$ref": "#/definitions/compatible/integer",
|
|
69
|
-
"title": "发送保持连接活动的心跳包的间隔时间",
|
|
70
|
-
"description": "单位:ms",
|
|
71
|
-
"markdownDescription": "单位:ms",
|
|
72
|
-
"default": 10000
|
|
73
|
-
},
|
|
74
|
-
"alpn": {
|
|
75
|
-
"$ref": "#/definitions/types/stringArray",
|
|
76
|
-
"title": "ALPN",
|
|
77
|
-
"description": "Application-Layer Protocol Negotiation(应用层协议协商)",
|
|
78
|
-
"markdownDescription": "Application-Layer Protocol Negotiation(应用层协议协商)"
|
|
79
|
-
},
|
|
80
|
-
"reduce-rtt": {
|
|
81
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
82
|
-
"title": "启用QUIC的0-RTT握手",
|
|
83
|
-
"description": "可以减少连接建立时间,但可能增加重放攻击的风险",
|
|
84
|
-
"markdownDescription": "可以减少连接建立时间,但可能增加重放攻击的风险"
|
|
85
|
-
},
|
|
86
|
-
"request-timeout": {
|
|
87
|
-
"$ref": "#/definitions/compatible/integer",
|
|
88
|
-
"title": "连接TUIC代理服务器的超时时间",
|
|
89
|
-
"description": "单位:ms",
|
|
90
|
-
"markdownDescription": "单位:ms",
|
|
91
|
-
"default": 8000
|
|
92
|
-
},
|
|
93
|
-
"udp-relay-mode": {
|
|
94
|
-
"enum": ["native", "quic"],
|
|
95
|
-
"title": "UDP数据包中继模式",
|
|
96
|
-
"description": "UDP数据包中继模式",
|
|
97
|
-
"markdownDescription": "UDP数据包中继模式",
|
|
98
|
-
"default": "native"
|
|
99
|
-
},
|
|
100
|
-
"congestion-controller": {
|
|
101
|
-
"enum": ["cubic", "new_reno", "bbr"],
|
|
102
|
-
"title": "拥塞控制算法",
|
|
103
|
-
"description": "拥塞控制算法",
|
|
104
|
-
"markdownDescription": "拥塞控制算法"
|
|
105
|
-
},
|
|
106
|
-
"disable-sni": {
|
|
107
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
108
|
-
"title": "禁用SNI",
|
|
109
|
-
"description": "SNI(Server Name Indication)",
|
|
110
|
-
"markdownDescription": "`SNI`(Server Name Indication)"
|
|
111
|
-
},
|
|
112
|
-
"max-udp-relay-packet-size": {
|
|
113
|
-
"$ref": "#/definitions/compatible/integer",
|
|
114
|
-
"title": "最大的UDP数据包中继大小",
|
|
115
|
-
"description": "单位:bytes",
|
|
116
|
-
"markdownDescription": "单位:bytes",
|
|
117
|
-
"default": 1252
|
|
118
|
-
},
|
|
119
|
-
"fast-open": {
|
|
120
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
121
|
-
"title": "启用TFO(TCP Fast Open)",
|
|
122
|
-
"description": "仅对TCP协议生效(优先级高于tfo)",
|
|
123
|
-
"markdownDescription": "仅对TCP协议生效(优先级高于`tfo`)"
|
|
124
|
-
},
|
|
125
|
-
"max-open-streams": {
|
|
126
|
-
"$ref": "#/definitions/compatible/integer",
|
|
127
|
-
"title": "最大打开流的数量",
|
|
128
|
-
"description": "过多的打开流可能会影响性能",
|
|
129
|
-
"markdownDescription": "过多的打开流可能会影响性能",
|
|
130
|
-
"default": 100
|
|
131
|
-
},
|
|
132
|
-
"cwnd": {
|
|
133
|
-
"$ref": "#/definitions/compatible/integer",
|
|
134
|
-
"title": "拥塞窗口大小",
|
|
135
|
-
"description": "拥塞窗口大小(Congestion Window)",
|
|
136
|
-
"markdownDescription": "拥塞窗口大小(Congestion Window)",
|
|
137
|
-
"default": 32
|
|
138
|
-
},
|
|
139
|
-
"skip-cert-verify": {
|
|
140
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
141
|
-
"title": "跳过证书验证",
|
|
142
|
-
"description": "跳过证书验证",
|
|
143
|
-
"markdownDescription": "跳过证书验证"
|
|
144
|
-
},
|
|
145
|
-
"fingerprint": {
|
|
146
|
-
"$ref": "#/definitions/enums/fingerprint",
|
|
147
|
-
"title": "指纹",
|
|
148
|
-
"description": "指纹",
|
|
149
|
-
"markdownDescription": "指纹"
|
|
150
|
-
},
|
|
151
|
-
"ca": {
|
|
152
|
-
"$ref": "#/definitions/compatible/string",
|
|
153
|
-
"title": "CA证书文件路径",
|
|
154
|
-
"description": "CA证书文件路径",
|
|
155
|
-
"markdownDescription": "CA证书文件路径"
|
|
156
|
-
},
|
|
157
|
-
"ca-str": {
|
|
158
|
-
"$ref": "#/definitions/compatible/string",
|
|
159
|
-
"title": "CA证书内容",
|
|
160
|
-
"description": "CA证书内容(优先级低于ca)",
|
|
161
|
-
"markdownDescription": "CA证书内容CA证书内容(优先级低于`ca`)"
|
|
162
|
-
},
|
|
163
|
-
"recv-window-conn": {
|
|
164
|
-
"$ref": "#/definitions/compatible/integer",
|
|
165
|
-
"title": "最大流接收窗口大小",
|
|
166
|
-
"description": "最大流接收窗口大小(默认限制最大15 MB/s)",
|
|
167
|
-
"markdownDescription": "最大流接收窗口大小(默认限制最大15 MB/s)"
|
|
168
|
-
},
|
|
169
|
-
"recv-window": {
|
|
170
|
-
"$ref": "#/definitions/compatible/integer",
|
|
171
|
-
"title": "最大连接收窗口大小",
|
|
172
|
-
"description": "最大连接收窗口大小(默认限制最大64 MB/s)",
|
|
173
|
-
"markdownDescription": "最大连接收窗口大小(默认限制最大64 MB/s)"
|
|
174
|
-
},
|
|
175
|
-
"disable-mtu-discovery": {
|
|
176
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
177
|
-
"title": "禁用MTU发现",
|
|
178
|
-
"description": "禁用MTU(Maximum Transmission Unit)发现",
|
|
179
|
-
"markdownDescription": "禁用`MTU`(Maximum Transmission Unit)发现"
|
|
180
|
-
},
|
|
181
|
-
"max-datagram-frame-size": {
|
|
182
|
-
"$ref": "#/definitions/compatible/integer",
|
|
183
|
-
"title": "最大数据帧大小",
|
|
184
|
-
"description": "最大数据帧大小",
|
|
185
|
-
"markdownDescription": "最大数据帧大小"
|
|
186
|
-
},
|
|
187
|
-
"sni": {
|
|
188
|
-
"$ref": "#/definitions/compatible/string",
|
|
189
|
-
"title": "SNI",
|
|
190
|
-
"description": "SNI(Server Name Indication)",
|
|
191
|
-
"markdownDescription": "`SNI`(Server Name Indication)"
|
|
192
|
-
},
|
|
193
|
-
"udp-over-stream": {
|
|
194
|
-
"$ref": "#/definitions/compatible/boolean",
|
|
195
|
-
"title": "启用UDP over Stream",
|
|
196
|
-
"description": "meta和sing-box私有扩展,将ss-uot用于udp中继(开启此选项后udp-relay-mode将失效警告,与原版tuic不兼容)",
|
|
197
|
-
"markdownDescription": "`meta`和`sing-box`私有扩展,将ss-uot用于udp中继(开启此选项后`udp-relay-mode`将失效警告,与原版`tuic`不兼容)"
|
|
198
|
-
},
|
|
199
|
-
"udp-over-stream-version": {
|
|
200
|
-
"$ref": "#/definitions/compatible/integer",
|
|
201
|
-
"title": "UDP over Stream版本",
|
|
202
|
-
"description": "UDP over Stream版本",
|
|
203
|
-
"markdownDescription": "UDP over Stream版本"
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"type": "object",
|
|
209
|
-
"title": "smux配置",
|
|
210
|
-
"properties": { "smux": { "title": "smux配置", "$ref": "#/definitions/smux" } }
|
|
211
|
-
}
|
|
212
|
-
]
|
|
213
|
-
}
|