whistle 2.9.47 → 2.9.49

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.
@@ -18,5 +18,6 @@
18
18
  <SessionFlag N="x-hostip" V="${hostip}" />
19
19
  <SessionFlag N="x-clientport" V="${clientport}" />
20
20
  <SessionFlag N="x-serverport" V="${serverport}" />
21
+ <SessionFlag N="ui-comments" V="${ui-comments}" />
21
22
  </SessionFlags>
22
23
  </Session>
package/assets/menu.html CHANGED
@@ -163,6 +163,7 @@
163
163
  whistleBridge.compose = options.compose;
164
164
  whistleBridge.decodeBase64 = options.decodeBase64;
165
165
  whistleBridge.importSessions = options.importSessions;
166
+ whistleBridge.exportSessions = options.exportSessions;
166
167
  whistleBridge.request = options.request;
167
168
  whistleBridge.createRequest = options.createRequest;
168
169
  whistleBridge.showModal = options.showModal;
package/assets/tab.html CHANGED
@@ -288,6 +288,7 @@
288
288
  whistleBridge.compose = options.compose;
289
289
  whistleBridge.decodeBase64 = options.decodeBase64;
290
290
  whistleBridge.importSessions = options.importSessions;
291
+ whistleBridge.exportSessions = options.exportSessions;
291
292
  whistleBridge.request = options.request;
292
293
  whistleBridge.createRequest = options.createRequest;
293
294
  whistleBridge.showModal = options.showModal;
package/bin/whistle.js CHANGED
@@ -134,8 +134,8 @@ program
134
134
  .option('-F, --frameCacheSize [frameCacheSize]', 'set the cache size of webSocket and socket\'s frames (512 by default)', String, undefined)
135
135
  .option('-A, --addon [pluginPaths]', 'add custom plugin paths', String, undefined)
136
136
  .option('--init [bypass]', 'auto set global proxy (and bypass) and install root CA')
137
- .option('--config [workers]', 'start the cluster server and set worker number (os.cpus().length by default)', String, undefined)
138
- .option('--cluster [config]', 'load the startup config from a local file', String, undefined)
137
+ .option('--cluster [workers]', 'start the cluster server and set worker number (os.cpus().length by default)', String, undefined)
138
+ .option('--config [config]', 'load the startup config from a local file', String, undefined)
139
139
  .option('--dnsServer [dnsServer]', 'set custom dns servers', String, undefined)
140
140
  .option('--socksPort [socksPort]', 'set the socksv5 server port', String, undefined)
141
141
  .option('--httpPort [httpPort]', 'set the http server port', String, undefined)
@@ -8,6 +8,6 @@
8
8
  </head>
9
9
  <body style="overscroll-behavior-x: none;">
10
10
  <div id="container" class="main"></div>
11
- <script src="js/index.js?v=2.9.47"></script>
11
+ <script src="js/index.js?v=2.9"></script>
12
12
  </body>
13
13
  </html>