cfpilot 0.18.0 → 0.20.0

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/cli.js CHANGED
@@ -87,7 +87,7 @@ var VERSION, NAME;
87
87
  var init_version = __esm({
88
88
  "src/shared/version.ts"() {
89
89
  "use strict";
90
- VERSION = "0.18.0";
90
+ VERSION = "0.20.0";
91
91
  NAME = "cfpilot";
92
92
  }
93
93
  });
@@ -7382,7 +7382,7 @@ async function resolveScanCandidates(body) {
7382
7382
  return { candidates: plan.candidates, source: "generated", family: plan.family, note: plan.note };
7383
7383
  }
7384
7384
  function describePlan(plan) {
7385
- if (plan.source === "manual") return `\u4F7F\u7528\u9762\u677F\u624B\u52A8\u6307\u5B9A\u7684 ${plan.candidates.length} \u4E2A\u5019\u9009 IP`;
7385
+ if (plan.source === "manual") return `\u4F7F\u7528\u624B\u52A8\u6307\u5B9A\u7684 ${plan.candidates.length} \u4E2A\u5019\u9009 IP`;
7386
7386
  if (plan.source === "request") return `\u4F7F\u7528\u8BF7\u6C42\u643A\u5E26\u7684 ${plan.candidates.length} \u4E2A\u5019\u9009 IP`;
7387
7387
  const note = plan.note ? `\uFF08${plan.note}\uFF09` : "";
7388
7388
  return `\u5DF2\u81EA\u52A8\u751F\u6210 ${plan.candidates.length} \u4E2A\u5019\u9009 IP${note}`;
@@ -7612,7 +7612,7 @@ async function handleRequest(req, res) {
7612
7612
  // 阶段二会硬连默认探针路径 → 全军覆没
7613
7613
  // verifyPayload —— 目标没有探针端点时,内容校验必然失败,
7614
7614
  // 应自动退回纯 101 校验
7615
- // speedMode / speedUrl —— 面板可以指定用探针端点还是公开测速地址
7615
+ // speedMode / speedUrl —— 调用方可以指定用探针端点还是公开测速地址
7616
7616
  probeTransport: body.probeTransport,
7617
7617
  xhttpPath: body.xhttpPath,
7618
7618
  wsPath: body.wsPath,
@@ -7717,7 +7717,7 @@ CFPilot \u672C\u5730\u771F\u8FDE\u63A5\u4F18\u9009\u5668 \u2014\u2014 \u7528\u4F
7717
7717
  ${NAME} scan [\u9009\u9879] \u6267\u884C\u4E09\u9636\u4F18\u9009\u626B\u63CF
7718
7718
  ${NAME} scan compare \u53CC\u6808\u5BF9\u7167\u62A5\u544A\uFF08IPv4 vs IPv6\uFF0C\u540C\u53C2\u6570\u8DD1\u4E24\u8F6E\uFF09
7719
7719
  ${NAME} scan relay \u53CD\u4EE3\u5165\u53E3\u5019\u9009\u7684\u51FA\u7AD9\u4F53\u68C0\uFF08\u4ECE Worker \u5185\u90E8\u53D1\u8D77\uFF09
7720
- ${NAME} scan serve [\u9009\u9879] \u542F\u52A8\u672C\u5730\u6865\u63A5\u670D\u52A1\uFF08\u4F9B\u9762\u677F\u4E00\u952E\u5524\u9192\uFF09
7720
+ ${NAME} scan serve [\u9009\u9879] \u542F\u52A8\u672C\u5730\u6865\u63A5\u670D\u52A1\uFF08HTTP \u63A5\u53E3\uFF0C\u4F9B\u811A\u672C\u9A71\u52A8\u626B\u63CF\uFF09
7721
7721
  ${NAME} scan ips [\u9009\u9879] \u6253\u5370 Cloudflare \u5B98\u65B9\u7F51\u6BB5
7722
7722
  ${NAME} --help \u663E\u793A\u5E2E\u52A9
7723
7723
  ${NAME} --version \u663E\u793A\u7248\u672C
@@ -9460,7 +9460,7 @@ async function runScanCommand(args) {
9460
9460
  ` ${NAME} \u672C\u5730\u6865\u63A5\u670D\u52A1\u5DF2\u542F\u52A8`,
9461
9461
  ` \u76D1\u542C\u5730\u5740\uFF1Ahttp://${host2}:${handle.port}`,
9462
9462
  ` \u7248\u672C\uFF1Av${BRIDGE_VERSION2}`,
9463
- " \u73B0\u5728\u53EF\u4EE5\u5728 CFPilot \u9762\u677F\u70B9\u51FB\u300C\u4E00\u952E\u672C\u5730\u771F\u8FDE\u63A5\u4F18\u9009\u300D\u3002",
9463
+ " \u53EF\u7528 HTTP \u63A5\u53E3\uFF1AGET /status\u3001POST /start-scan\u3001GET /events\u3001GET /results",
9464
9464
  " \u6309 Ctrl+C \u9000\u51FA\u3002",
9465
9465
  ""
9466
9466
  ].join("\n")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfpilot",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "CFPilot —— Cloudflare Pages 代理部署与优选工具(交互菜单 + 子命令)",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",