@spark233/plugin-traffic 0.0.0-stage → 0.2.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.
- package/LICENSE.spark233 +21 -0
- package/README.md +34 -2
- package/assets/LICENSE.lucide +43 -0
- package/assets/icon.ico +0 -0
- package/assets/icon.png +0 -0
- package/assets/icon.svg +1 -0
- package/assets/theme-icons/blue-dark/icon.ico +0 -0
- package/assets/theme-icons/blue-dark/icon.png +0 -0
- package/assets/theme-icons/blue-light/icon.ico +0 -0
- package/assets/theme-icons/blue-light/icon.png +0 -0
- package/assets/theme-icons/green-dark/icon.ico +0 -0
- package/assets/theme-icons/green-dark/icon.png +0 -0
- package/assets/theme-icons/green-light/icon.ico +0 -0
- package/assets/theme-icons/green-light/icon.png +0 -0
- package/assets/theme-icons/orange-dark/icon.ico +0 -0
- package/assets/theme-icons/orange-dark/icon.png +0 -0
- package/assets/theme-icons/orange-light/icon.ico +0 -0
- package/assets/theme-icons/orange-light/icon.png +0 -0
- package/assets/theme-icons/purple-dark/icon.ico +0 -0
- package/assets/theme-icons/purple-dark/icon.png +0 -0
- package/assets/theme-icons/purple-light/icon.ico +0 -0
- package/assets/theme-icons/purple-light/icon.png +0 -0
- package/assets/theme-icons/rose-dark/icon.ico +0 -0
- package/assets/theme-icons/rose-dark/icon.png +0 -0
- package/assets/theme-icons/rose-light/icon.ico +0 -0
- package/assets/theme-icons/rose-light/icon.png +0 -0
- package/backend.mjs +8144 -0
- package/collector.ps1 +46 -0
- package/legal/HarmonyOS_Fonts.txt +34 -0
- package/legal/SourceHanSerif.txt +96 -0
- package/legal/spark233-renderer-THIRD_PARTY_NOTICES.md +670 -0
- package/native/Dia2Lib.dll +0 -0
- package/native/KernelTraceControl.dll +0 -0
- package/native/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
- package/native/Microsoft.Data.Sqlite.dll +0 -0
- package/native/Microsoft.Diagnostics.FastSerialization.dll +0 -0
- package/native/Microsoft.Diagnostics.NETCore.Client.dll +0 -0
- package/native/Microsoft.Diagnostics.Tracing.TraceEvent.dll +0 -0
- package/native/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/native/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/native/Microsoft.Win32.Registry.dll +0 -0
- package/native/SQLitePCLRaw.batteries_v2.dll +0 -0
- package/native/SQLitePCLRaw.core.dll +0 -0
- package/native/SQLitePCLRaw.provider.dynamic_cdecl.dll +0 -0
- package/native/System.Buffers.dll +0 -0
- package/native/System.Collections.Immutable.dll +0 -0
- package/native/System.IO.Pipelines.dll +0 -0
- package/native/System.Memory.dll +0 -0
- package/native/System.Numerics.Vectors.dll +0 -0
- package/native/System.Reflection.Metadata.dll +0 -0
- package/native/System.Reflection.TypeExtensions.dll +0 -0
- package/native/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- package/native/System.Security.AccessControl.dll +0 -0
- package/native/System.Security.Principal.Windows.dll +0 -0
- package/native/System.Text.Encodings.Web.dll +0 -0
- package/native/System.Text.Json.dll +0 -0
- package/native/System.Threading.Tasks.Extensions.dll +0 -0
- package/native/TraceReloggerLib.dll +0 -0
- package/native/e_sqlite3.dll +0 -0
- package/native/licenses/Microsoft.Bcl.AsyncInterfaces.nuspec +27 -0
- package/native/licenses/Microsoft.Data.Sqlite.Core.nuspec +37 -0
- package/native/licenses/Microsoft.Data.Sqlite.nuspec +36 -0
- package/native/licenses/Microsoft.Diagnostics.NETCore.Client.nuspec +30 -0
- package/native/licenses/Microsoft.Diagnostics.Tracing.TraceEvent.nuspec +41 -0
- package/native/licenses/Microsoft.Extensions.DependencyInjection.Abstractions-LICENSE.TXT +23 -0
- package/native/licenses/Microsoft.Extensions.DependencyInjection.Abstractions.nuspec +35 -0
- package/native/licenses/Microsoft.Extensions.Logging.Abstractions-LICENSE.TXT +23 -0
- package/native/licenses/Microsoft.Extensions.Logging.Abstractions.nuspec +48 -0
- package/native/licenses/Microsoft.Win32.Registry-LICENSE.TXT +23 -0
- package/native/licenses/Microsoft.Win32.Registry.nuspec +94 -0
- package/native/licenses/SQLitePCLRaw.bundle_e_sqlite3.nuspec +43 -0
- package/native/licenses/SQLitePCLRaw.core.nuspec +19 -0
- package/native/licenses/SQLitePCLRaw.lib.e_sqlite3.nuspec +17 -0
- package/native/licenses/SQLitePCLRaw.provider.dynamic_cdecl.nuspec +19 -0
- package/native/licenses/System.Buffers.nuspec +24 -0
- package/native/licenses/System.Collections.Immutable.nuspec +33 -0
- package/native/licenses/System.IO.Pipelines.nuspec +38 -0
- package/native/licenses/System.Memory.nuspec +32 -0
- package/native/licenses/System.Numerics.Vectors.nuspec +27 -0
- package/native/licenses/System.Reflection.Metadata-LICENSE.TXT +23 -0
- package/native/licenses/System.Reflection.Metadata.nuspec +34 -0
- package/native/licenses/System.Reflection.TypeExtensions-LICENSE.TXT +23 -0
- package/native/licenses/System.Reflection.TypeExtensions.nuspec +64 -0
- package/native/licenses/System.Runtime.CompilerServices.Unsafe.nuspec +27 -0
- package/native/licenses/System.Security.AccessControl-LICENSE.TXT +23 -0
- package/native/licenses/System.Security.AccessControl.nuspec +55 -0
- package/native/licenses/System.Security.Principal.Windows-LICENSE.TXT +23 -0
- package/native/licenses/System.Security.Principal.Windows.nuspec +68 -0
- package/native/licenses/System.Text.Encodings.Web.nuspec +38 -0
- package/native/licenses/System.Text.Json.nuspec +50 -0
- package/native/licenses/System.Threading.Tasks.Extensions.nuspec +28 -0
- package/native/licenses/System.ValueTuple.nuspec +25 -0
- package/native/licenses/dependencies.json +158 -0
- package/native/msdia140.dll +0 -0
- package/native/resources.json +226 -0
- package/native/spark233.Traffic.Core.dll +0 -0
- package/native/spark233.Traffic.Core.dll.config +59 -0
- package/native/spark233.TrafficClient.exe +0 -0
- package/native/spark233.TrafficClient.exe.config +62 -0
- package/native/spark233.TrafficService.exe +0 -0
- package/native/spark233.TrafficService.exe.config +62 -0
- package/native/spark233.TrafficSetup.exe +0 -0
- package/native/spark233.TrafficSetup.exe.config +62 -0
- package/package.json +356 -3
- package/renderer/assets/HarmonyOS_Sans_SC-BKicpBgU.ttf +0 -0
- package/renderer/assets/SourceHanSerifSC-Regular-KhFegrri.woff2 +0 -0
- package/renderer/assets/index-D40wqc6o.css +2 -0
- package/renderer/assets/index-DqTMamUW.js +2 -0
- package/renderer/assets/rolldown-runtime-WkwZ5CU-.js +1 -0
- package/renderer/assets/vendor-react-DCTAcUCH.js +9 -0
- package/renderer/index.html +15 -0
- package/renderer/spark233-renderer.json +1 -0
- package/renderer/spark233-shared-ui.json +18 -0
- package/renderer/spark233-ui.json +11 -0
- package/widgets/hud.json +59 -0
- package/widgets/traffic-hover.json +36 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<startup>
|
|
4
|
+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
|
5
|
+
</startup>
|
|
6
|
+
<runtime>
|
|
7
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
8
|
+
<dependentAssembly>
|
|
9
|
+
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
10
|
+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.3" newVersion="10.0.0.3" />
|
|
11
|
+
</dependentAssembly>
|
|
12
|
+
</assemblyBinding>
|
|
13
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
14
|
+
<dependentAssembly>
|
|
15
|
+
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
|
16
|
+
<bindingRedirect oldVersion="0.0.0.0-8.0.0.3" newVersion="8.0.0.3" />
|
|
17
|
+
</dependentAssembly>
|
|
18
|
+
</assemblyBinding>
|
|
19
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
20
|
+
<dependentAssembly>
|
|
21
|
+
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
22
|
+
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
|
23
|
+
</dependentAssembly>
|
|
24
|
+
</assemblyBinding>
|
|
25
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
26
|
+
<dependentAssembly>
|
|
27
|
+
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
28
|
+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.7" newVersion="10.0.0.7" />
|
|
29
|
+
</dependentAssembly>
|
|
30
|
+
</assemblyBinding>
|
|
31
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
32
|
+
<dependentAssembly>
|
|
33
|
+
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
34
|
+
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
|
35
|
+
</dependentAssembly>
|
|
36
|
+
</assemblyBinding>
|
|
37
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
38
|
+
<dependentAssembly>
|
|
39
|
+
<assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
40
|
+
<bindingRedirect oldVersion="0.0.0.0-9.0.0.8" newVersion="9.0.0.8" />
|
|
41
|
+
</dependentAssembly>
|
|
42
|
+
</assemblyBinding>
|
|
43
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
44
|
+
<dependentAssembly>
|
|
45
|
+
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
46
|
+
<bindingRedirect oldVersion="0.0.0.0-6.0.3.0" newVersion="6.0.3.0" />
|
|
47
|
+
</dependentAssembly>
|
|
48
|
+
</assemblyBinding>
|
|
49
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
50
|
+
<dependentAssembly>
|
|
51
|
+
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
52
|
+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.3" newVersion="10.0.0.3" />
|
|
53
|
+
</dependentAssembly>
|
|
54
|
+
</assemblyBinding>
|
|
55
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
56
|
+
<dependentAssembly>
|
|
57
|
+
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
58
|
+
<bindingRedirect oldVersion="0.0.0.0-4.2.4.0" newVersion="4.2.4.0" />
|
|
59
|
+
</dependentAssembly>
|
|
60
|
+
</assemblyBinding>
|
|
61
|
+
</runtime>
|
|
62
|
+
</configuration>
|
package/package.json
CHANGED
|
@@ -1,6 +1,359 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark233/plugin-traffic",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.5",
|
|
4
|
+
"description": "Desktop traffic monitor with process ETW collection and history",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"files": [
|
|
7
|
+
"backend.mjs",
|
|
8
|
+
"collector.ps1",
|
|
9
|
+
"native/**",
|
|
10
|
+
"licenses/**",
|
|
11
|
+
"renderer/**",
|
|
12
|
+
"widgets/**",
|
|
13
|
+
"assets/**",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"type": "module",
|
|
17
|
+
"spark233": {
|
|
18
|
+
"schemaVersion": 1,
|
|
19
|
+
"id": "spark233.traffic",
|
|
20
|
+
"displayName": "流量监控",
|
|
21
|
+
"translations": {
|
|
22
|
+
"en-US": {
|
|
23
|
+
"displayName": "Traffic monitor"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"api": ">=1.7.0 <2.0.0",
|
|
27
|
+
"host": ">=0.0.1 <1",
|
|
28
|
+
"platforms": [
|
|
29
|
+
"win32"
|
|
30
|
+
],
|
|
31
|
+
"architectures": [
|
|
32
|
+
"x64"
|
|
33
|
+
],
|
|
34
|
+
"activation": "on-startup",
|
|
35
|
+
"entry": "renderer/index.html",
|
|
36
|
+
"backend": {
|
|
37
|
+
"entry": "backend.mjs"
|
|
38
|
+
},
|
|
39
|
+
"native": {
|
|
40
|
+
"traffic": {
|
|
41
|
+
"path": "native/spark233.TrafficClient.exe",
|
|
42
|
+
"args": [
|
|
43
|
+
"--bridge"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"capabilities": [
|
|
48
|
+
"node.backend",
|
|
49
|
+
"native.process"
|
|
50
|
+
],
|
|
51
|
+
"commands": [
|
|
52
|
+
{
|
|
53
|
+
"id": "open",
|
|
54
|
+
"title": "流量监控",
|
|
55
|
+
"keywords": [
|
|
56
|
+
"流量",
|
|
57
|
+
"网速",
|
|
58
|
+
"traffic",
|
|
59
|
+
"network"
|
|
60
|
+
],
|
|
61
|
+
"window": "main",
|
|
62
|
+
"translations": {
|
|
63
|
+
"en-US": {
|
|
64
|
+
"title": "Traffic monitor"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "snapshot",
|
|
70
|
+
"title": "读取网卡流量",
|
|
71
|
+
"launcher": {
|
|
72
|
+
"role": "hidden"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "process.action",
|
|
77
|
+
"title": "操作选中的进程",
|
|
78
|
+
"launcher": {
|
|
79
|
+
"role": "hidden"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "subscribe",
|
|
84
|
+
"title": "订阅流量卡片",
|
|
85
|
+
"launcher": {
|
|
86
|
+
"role": "hidden"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "pause",
|
|
91
|
+
"title": "设置流量采集暂停",
|
|
92
|
+
"launcher": {
|
|
93
|
+
"role": "hidden"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "process.enable",
|
|
98
|
+
"title": "启用进程采集",
|
|
99
|
+
"launcher": {
|
|
100
|
+
"role": "hidden"
|
|
101
|
+
},
|
|
102
|
+
"timeoutMs": 120000
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "process.scope",
|
|
106
|
+
"title": "切换流量范围",
|
|
107
|
+
"launcher": {
|
|
108
|
+
"role": "hidden"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "history",
|
|
113
|
+
"title": "查询流量历史",
|
|
114
|
+
"launcher": {
|
|
115
|
+
"role": "hidden"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "history.clear",
|
|
120
|
+
"title": "清空流量历史",
|
|
121
|
+
"launcher": {
|
|
122
|
+
"role": "hidden"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "connections",
|
|
127
|
+
"title": "查询程序连接",
|
|
128
|
+
"launcher": {
|
|
129
|
+
"role": "hidden"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "retry",
|
|
134
|
+
"title": "重新连接流量采集",
|
|
135
|
+
"launcher": {
|
|
136
|
+
"role": "hidden"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"ui": {
|
|
141
|
+
"theme": "^1.0.0",
|
|
142
|
+
"icon": {
|
|
143
|
+
"png": "assets/icon.png",
|
|
144
|
+
"ico": "assets/icon.ico",
|
|
145
|
+
"monochrome": true,
|
|
146
|
+
"themes": {
|
|
147
|
+
"green": {
|
|
148
|
+
"light": {
|
|
149
|
+
"png": "assets/theme-icons/green-light/icon.png",
|
|
150
|
+
"ico": "assets/theme-icons/green-light/icon.ico"
|
|
151
|
+
},
|
|
152
|
+
"dark": {
|
|
153
|
+
"png": "assets/theme-icons/green-dark/icon.png",
|
|
154
|
+
"ico": "assets/theme-icons/green-dark/icon.ico"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"blue": {
|
|
158
|
+
"light": {
|
|
159
|
+
"png": "assets/theme-icons/blue-light/icon.png",
|
|
160
|
+
"ico": "assets/theme-icons/blue-light/icon.ico"
|
|
161
|
+
},
|
|
162
|
+
"dark": {
|
|
163
|
+
"png": "assets/theme-icons/blue-dark/icon.png",
|
|
164
|
+
"ico": "assets/theme-icons/blue-dark/icon.ico"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"purple": {
|
|
168
|
+
"light": {
|
|
169
|
+
"png": "assets/theme-icons/purple-light/icon.png",
|
|
170
|
+
"ico": "assets/theme-icons/purple-light/icon.ico"
|
|
171
|
+
},
|
|
172
|
+
"dark": {
|
|
173
|
+
"png": "assets/theme-icons/purple-dark/icon.png",
|
|
174
|
+
"ico": "assets/theme-icons/purple-dark/icon.ico"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"orange": {
|
|
178
|
+
"light": {
|
|
179
|
+
"png": "assets/theme-icons/orange-light/icon.png",
|
|
180
|
+
"ico": "assets/theme-icons/orange-light/icon.ico"
|
|
181
|
+
},
|
|
182
|
+
"dark": {
|
|
183
|
+
"png": "assets/theme-icons/orange-dark/icon.png",
|
|
184
|
+
"ico": "assets/theme-icons/orange-dark/icon.ico"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"rose": {
|
|
188
|
+
"light": {
|
|
189
|
+
"png": "assets/theme-icons/rose-light/icon.png",
|
|
190
|
+
"ico": "assets/theme-icons/rose-light/icon.ico"
|
|
191
|
+
},
|
|
192
|
+
"dark": {
|
|
193
|
+
"png": "assets/theme-icons/rose-dark/icon.png",
|
|
194
|
+
"ico": "assets/theme-icons/rose-dark/icon.ico"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"windows": {
|
|
200
|
+
"main": {
|
|
201
|
+
"entry": "renderer/index.html",
|
|
202
|
+
"title": "流量监控",
|
|
203
|
+
"size": {
|
|
204
|
+
"width": 1000,
|
|
205
|
+
"height": 680
|
|
206
|
+
},
|
|
207
|
+
"minSize": {
|
|
208
|
+
"width": 800,
|
|
209
|
+
"height": 540
|
|
210
|
+
},
|
|
211
|
+
"resizable": true,
|
|
212
|
+
"maximizable": true,
|
|
213
|
+
"taskbar": true,
|
|
214
|
+
"reuse": "singleton",
|
|
215
|
+
"presentation": "standard"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"widgets": {
|
|
219
|
+
"hud": {
|
|
220
|
+
"kind": "declarative",
|
|
221
|
+
"template": "widgets/hud.json",
|
|
222
|
+
"contentHeight": true,
|
|
223
|
+
"title": "桌面流量窗",
|
|
224
|
+
"translations": {
|
|
225
|
+
"en-US": {
|
|
226
|
+
"title": "Desktop traffic monitor"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"size": {
|
|
230
|
+
"width": 110,
|
|
231
|
+
"height": 52
|
|
232
|
+
},
|
|
233
|
+
"minSize": {
|
|
234
|
+
"width": 110,
|
|
235
|
+
"height": 32
|
|
236
|
+
},
|
|
237
|
+
"maxSize": {
|
|
238
|
+
"width": 110,
|
|
239
|
+
"height": 52
|
|
240
|
+
},
|
|
241
|
+
"resizable": false,
|
|
242
|
+
"group": "top",
|
|
243
|
+
"clickThrough": false,
|
|
244
|
+
"interactive": true,
|
|
245
|
+
"desktopInteractions": {
|
|
246
|
+
"primaryAction": "open",
|
|
247
|
+
"hover": {
|
|
248
|
+
"template": "widgets/traffic-hover.json",
|
|
249
|
+
"size": {
|
|
250
|
+
"width": 260,
|
|
251
|
+
"height": 300
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"menu": {
|
|
255
|
+
"openLabel": "查看流量详情",
|
|
256
|
+
"hideLabel": "关闭流量提示"
|
|
257
|
+
},
|
|
258
|
+
"edgeAutoHide": false,
|
|
259
|
+
"fullscreenAutoHide": true
|
|
260
|
+
},
|
|
261
|
+
"refreshMs": 1000,
|
|
262
|
+
"commands": [
|
|
263
|
+
"subscribe",
|
|
264
|
+
"open"
|
|
265
|
+
],
|
|
266
|
+
"actions": {
|
|
267
|
+
"open": {
|
|
268
|
+
"mode": "open-main",
|
|
269
|
+
"commandId": "open"
|
|
270
|
+
},
|
|
271
|
+
"subscribe": {
|
|
272
|
+
"mode": "query",
|
|
273
|
+
"commandId": "subscribe"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"data": {
|
|
277
|
+
"upload-top": {
|
|
278
|
+
"source": "backend",
|
|
279
|
+
"format": "rows",
|
|
280
|
+
"event": "traffic.snapshot",
|
|
281
|
+
"subscriptionAction": "subscribe"
|
|
282
|
+
},
|
|
283
|
+
"download-top": {
|
|
284
|
+
"source": "backend",
|
|
285
|
+
"format": "rows",
|
|
286
|
+
"event": "traffic.snapshot",
|
|
287
|
+
"subscriptionAction": "subscribe"
|
|
288
|
+
},
|
|
289
|
+
"process-status": {
|
|
290
|
+
"source": "backend",
|
|
291
|
+
"format": "text",
|
|
292
|
+
"event": "traffic.snapshot",
|
|
293
|
+
"subscriptionAction": "subscribe"
|
|
294
|
+
},
|
|
295
|
+
"rx": {
|
|
296
|
+
"source": "backend",
|
|
297
|
+
"format": "number",
|
|
298
|
+
"event": "traffic.snapshot",
|
|
299
|
+
"subscriptionAction": "subscribe"
|
|
300
|
+
},
|
|
301
|
+
"tx": {
|
|
302
|
+
"source": "backend",
|
|
303
|
+
"format": "number",
|
|
304
|
+
"event": "traffic.snapshot",
|
|
305
|
+
"subscriptionAction": "subscribe"
|
|
306
|
+
},
|
|
307
|
+
"rx-text": {
|
|
308
|
+
"source": "backend",
|
|
309
|
+
"format": "text",
|
|
310
|
+
"event": "traffic.snapshot",
|
|
311
|
+
"subscriptionAction": "subscribe"
|
|
312
|
+
},
|
|
313
|
+
"tx-text": {
|
|
314
|
+
"source": "backend",
|
|
315
|
+
"format": "text",
|
|
316
|
+
"event": "traffic.snapshot",
|
|
317
|
+
"subscriptionAction": "subscribe"
|
|
318
|
+
},
|
|
319
|
+
"rx-series": {
|
|
320
|
+
"source": "backend",
|
|
321
|
+
"format": "series",
|
|
322
|
+
"event": "traffic.snapshot",
|
|
323
|
+
"subscriptionAction": "subscribe"
|
|
324
|
+
},
|
|
325
|
+
"tx-series": {
|
|
326
|
+
"source": "backend",
|
|
327
|
+
"format": "series",
|
|
328
|
+
"event": "traffic.snapshot",
|
|
329
|
+
"subscriptionAction": "subscribe"
|
|
330
|
+
},
|
|
331
|
+
"status": {
|
|
332
|
+
"source": "backend",
|
|
333
|
+
"format": "text",
|
|
334
|
+
"event": "traffic.snapshot",
|
|
335
|
+
"subscriptionAction": "subscribe"
|
|
336
|
+
},
|
|
337
|
+
"scope": {
|
|
338
|
+
"source": "backend",
|
|
339
|
+
"format": "text",
|
|
340
|
+
"event": "traffic.snapshot",
|
|
341
|
+
"subscriptionAction": "subscribe"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"repository": {
|
|
349
|
+
"type": "git",
|
|
350
|
+
"url": "git+https://github.com/bhwa233/galaxy-tools.git",
|
|
351
|
+
"directory": "packages/official/traffic"
|
|
352
|
+
},
|
|
353
|
+
"publishConfig": {
|
|
354
|
+
"access": "public"
|
|
355
|
+
},
|
|
356
|
+
"spark233Build": {
|
|
357
|
+
"fingerprint": "sha256-3ccd6f9dd4f1bed602086cf408adc6b4404409647fee56b2faf4d12f98fb8311"
|
|
358
|
+
}
|
|
6
359
|
}
|
|
Binary file
|
|
Binary file
|