void 0.26.1 → 0.27.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.
Files changed (78) hide show
  1. package/dist/{account-cmd-CfUXh_nU.mjs → account-cmd-l-FM7Ioq.mjs} +4 -4
  2. package/dist/{auth-B5_tZLxT.mjs → auth-Dn2vw-SG.mjs} +3 -3
  3. package/dist/{auth-BgX2qYSY.mjs → auth-LMJcNESe.mjs} +1 -1
  4. package/dist/{auth-link-D5RmKnzh.mjs → auth-link-vz9Z2kmG.mjs} +4 -4
  5. package/dist/{auth-router-Bap-pvbn.mjs → auth-router-DvsCUVw4.mjs} +3 -3
  6. package/dist/{build-cmd-B58c8iS8.mjs → build-cmd-D6we0VjO.mjs} +3 -3
  7. package/dist/{cache-Bo52trKF.mjs → cache-CZRdzKx1.mjs} +3 -3
  8. package/dist/{cancel-deploy-BZNz3Q26.mjs → cancel-deploy-CQ3NnMvf.mjs} +3 -3
  9. package/dist/{cf-access-ngGqZpHZ.mjs → cf-access-BcIBSKqG.mjs} +1 -1
  10. package/dist/cf-user-agent-lKblH3zU.mjs +17 -0
  11. package/dist/cli/cli.mjs +20 -20
  12. package/dist/cli/cloudflare-operation-process.mjs +7 -1
  13. package/dist/{client-C2Prx_Bi.mjs → client-DlDJuY0s.mjs} +5 -5
  14. package/dist/client-tso2OfcG.mjs +2 -0
  15. package/dist/{connect-X0MUA1gk.mjs → connect-BfPBHHm-.mjs} +6 -6
  16. package/dist/{create-project-DxiyW6iX.mjs → create-project-BdXEFKal.mjs} +3 -3
  17. package/dist/{create-project-iwkbqiBU.mjs → create-project-qFDC45zg.mjs} +1 -1
  18. package/dist/{db-XnVMHzoV.mjs → db-Xs80hcaA.mjs} +5 -5
  19. package/dist/{delete-esYlMiSJ.mjs → delete-d2vuou3j.mjs} +3 -3
  20. package/dist/{deploy-BsEvnlJl.mjs → deploy-Bqe1PYBw.mjs} +10 -7
  21. package/dist/{deploy-C1d-YTfp.mjs → deploy-VsWsVQkw.mjs} +1 -1
  22. package/dist/{domain-CbbBWhWE.mjs → domain-BsDUBAvt.mjs} +3 -3
  23. package/dist/{email-CpuT42g7.mjs → email-_lGAHOhp.mjs} +4 -4
  24. package/dist/{env-w9jOyGZn.mjs → env-C74QepDE.mjs} +3 -3
  25. package/dist/{github-cmd-D_FsOFxq.mjs → github-cmd-DaDdBbSS.mjs} +3 -3
  26. package/dist/{help-CVFBTmBx.mjs → help-0bTe_lID.mjs} +1 -1
  27. package/dist/help-DfQYVfGY.mjs +2 -0
  28. package/dist/index.mjs +7 -7
  29. package/dist/{init-Bw-fRKGp.mjs → init-DaBGmaXC.mjs} +8 -8
  30. package/dist/{link-DlPG8iX3.mjs → link-C6fjafep.mjs} +4 -4
  31. package/dist/{list-2GN7_ueV.mjs → list-BTFBlqKl.mjs} +3 -3
  32. package/dist/{login-D-Q4xw3Q.mjs → login-GKcNUmtI.mjs} +3 -3
  33. package/dist/login-mx_ydhmp.mjs +2 -0
  34. package/dist/{logs-rd8J-OFh.mjs → logs-BiMSULmc.mjs} +3 -3
  35. package/dist/{operator-args-BNsW5gfp.mjs → operator-args-DOBhIaIg.mjs} +1 -1
  36. package/dist/{operator-auth-AzVLbrr3.mjs → operator-auth-BEZ_u0Cz.mjs} +2 -2
  37. package/dist/{operator-client-BQtzyG-g.mjs → operator-client-DbDv4vtE.mjs} +2 -2
  38. package/dist/{operator-cmd-B6f6Cg9Z.mjs → operator-cmd-BT4hgavL.mjs} +6 -6
  39. package/dist/operator-cmd-CwBB-1yb.mjs +2 -0
  40. package/dist/platform-args-D4E1PjVw.mjs +2 -0
  41. package/dist/{platform-args-BoZkWQnJ.mjs → platform-args-DUeXY9Om.mjs} +1 -1
  42. package/dist/{platform-auth-config-n603OANg.mjs → platform-auth-config-CkSx3usH.mjs} +7 -7
  43. package/dist/{platform-auth-protection-zxDr0hWW.mjs → platform-auth-protection-BJimB_p9.mjs} +6 -6
  44. package/dist/{platform-auth-recovery-tw9lgtgE.mjs → platform-auth-recovery-BU6izFAU.mjs} +5 -5
  45. package/dist/{platform-cmd-B8-bCb7t.mjs → platform-cmd-BbY1dWiM.mjs} +10 -9
  46. package/dist/{platform-cmd-C00YM14r.mjs → platform-cmd-BbmJiq5O.mjs} +1 -1
  47. package/dist/{platform-discovery-BC0HCKYt.mjs → platform-discovery-DIYz8V63.mjs} +1 -1
  48. package/dist/{platform-domain-p0kobLV8.mjs → platform-domain-CHVS6cV0.mjs} +3 -3
  49. package/dist/{platform-lifecycle-vFqtNPPa.mjs → platform-lifecycle-ByAlpkhV.mjs} +1 -1
  50. package/dist/{platform-lifecycle-D_QEY32D.mjs → platform-lifecycle-DzCwqhFq.mjs} +10 -10
  51. package/dist/{platform-management-oi-SvI3f.mjs → platform-management-CBOT4BSM.mjs} +1 -1
  52. package/dist/{platform-management-BdYblvvE.mjs → platform-management-CuuVDhyt.mjs} +2 -2
  53. package/dist/{platform-plans-config-CjiFv5J4.mjs → platform-plans-config-CN-heS4q.mjs} +2 -2
  54. package/dist/{platform-recovery-PvNS9Nl2.mjs → platform-recovery-CskSJgLh.mjs} +3 -3
  55. package/dist/{platform-registry-P387v42A.mjs → platform-registry-Cjv2Qf0r.mjs} +5 -1
  56. package/dist/{platform-setup-DVe42Ws7.mjs → platform-setup-BBxRxmFC.mjs} +1 -1
  57. package/dist/{project-DQstYTxO.mjs → project-BAm2aB6Q.mjs} +1 -1
  58. package/dist/{project-BiaPQ7ur.mjs → project-DedqCp59.mjs} +1 -1
  59. package/dist/{project-cmd-ti8_yTcA.mjs → project-cmd-DaoRrn-8.mjs} +17 -17
  60. package/dist/{project-team-CDPE1Tsg.mjs → project-team-Q_lCA7Io.mjs} +3 -3
  61. package/dist/{project-token-CkZ1cN0Z.mjs → project-token-BArgK9o1.mjs} +3 -3
  62. package/dist/{project-zero-trust-DdjLR61k.mjs → project-zero-trust-KO9Hu2Pq.mjs} +3 -3
  63. package/dist/{requests-DFAqyYy8.mjs → requests-C7Oeoh5u.mjs} +3 -3
  64. package/dist/{rollback-BKYXBduI.mjs → rollback-DVAtrLAl.mjs} +3 -3
  65. package/dist/{secret-BAt2KMmO.mjs → secret-BvtB7IjY.mjs} +3 -3
  66. package/docs/guide/deployment.md +2 -2
  67. package/docs/guide/platform/administration/access.md +1 -1
  68. package/docs/guide/platform/installation/first-deployment.md +1 -1
  69. package/docs/guide/project-collaboration.md +1 -1
  70. package/docs/reference/cli/auth.md +1 -1
  71. package/docs/reference/cli/deploy.md +1 -1
  72. package/package.json +8 -8
  73. package/skills/void/SKILL.md +3 -2
  74. package/dist/client-By4JjMw_.mjs +0 -2
  75. package/dist/help-DzKUrQvk.mjs +0 -2
  76. package/dist/login-Dc-wuTDq.mjs +0 -2
  77. package/dist/operator-cmd-Cwn50lOV.mjs +0 -2
  78. package/dist/platform-args-DYgITk0D.mjs +0 -2
@@ -1,14 +1,14 @@
1
- import { c as getToken, f as removeToken } from "./auth-B5_tZLxT.mjs";
1
+ import { c as getToken, f as removeToken } from "./auth-Dn2vw-SG.mjs";
2
2
  import { L as log } from "./dist-D3m88sjf.mjs";
3
3
  import { d as printSuccess } from "./output-C50ag2r3.mjs";
4
- import { r as PlatformClient } from "./client-C2Prx_Bi.mjs";
5
- import { n as runLoginCommand } from "./login-D-Q4xw3Q.mjs";
4
+ import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
5
+ import { n as runLoginCommand } from "./login-GKcNUmtI.mjs";
6
6
  import { execSync } from "node:child_process";
7
7
  //#region src/cli/account-cmd.ts
8
8
  async function runAccountCommand(root, args) {
9
9
  switch (args.subcommand) {
10
10
  case "login": return runLoginCommand(root);
11
- case "link": return import("./auth-link-D5RmKnzh.mjs").then(({ runAuthLink }) => runAuthLink(root, args.connectionId));
11
+ case "link": return import("./auth-link-vz9Z2kmG.mjs").then(({ runAuthLink }) => runAuthLink(root, args.connectionId));
12
12
  case "logout":
13
13
  if (removeToken(root)) printSuccess("Logged out.");
14
14
  else log.info("Not logged in.");
@@ -1,8 +1,8 @@
1
1
  import { a as join } from "./dist-BVqXeR_h.mjs";
2
- import { C as deleteKeyringPassword, T as writeKeyringPassword, c as normalizePlatformApiUrl, i as getActivePlatformConnection, s as listPlatformConnections, u as platformCredentialAccount, w as readKeyringPassword } from "./platform-registry-P387v42A.mjs";
3
- import { i as readProjectPlatformUrl, r as readProjectConfig } from "./project-DQstYTxO.mjs";
2
+ import { C as deleteKeyringPassword, T as writeKeyringPassword, c as normalizePlatformApiUrl, i as getActivePlatformConnection, s as listPlatformConnections, u as platformCredentialAccount, w as readKeyringPassword } from "./platform-registry-Cjv2Qf0r.mjs";
3
+ import { i as readProjectPlatformUrl, r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
4
4
  import { t as cfAccessHeaders } from "./cf-access-TWNzXltp.mjs";
5
- import { t as ensureCloudflaredToken } from "./cf-access-ngGqZpHZ.mjs";
5
+ import { t as ensureCloudflaredToken } from "./cf-access-BcIBSKqG.mjs";
6
6
  import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
7
7
  import { createHash, randomBytes } from "node:crypto";
8
8
  import { homedir } from "node:os";
@@ -1,2 +1,2 @@
1
- import { a as getApiUrl, m as runPlatformLogin, s as getSiteDomain } from "./auth-B5_tZLxT.mjs";
1
+ import { a as getApiUrl, m as runPlatformLogin, s as getSiteDomain } from "./auth-Dn2vw-SG.mjs";
2
2
  export { getApiUrl, getSiteDomain, runPlatformLogin };
@@ -1,8 +1,8 @@
1
- import { a as getApiUrl, c as getToken, h as savePlatformToken, m as runPlatformLogin, u as openBrowser } from "./auth-B5_tZLxT.mjs";
1
+ import { a as getApiUrl, c as getToken, h as savePlatformToken, m as runPlatformLogin, u as openBrowser } from "./auth-Dn2vw-SG.mjs";
2
2
  import { L as log } from "./dist-D3m88sjf.mjs";
3
- import { r as PlatformClient } from "./client-C2Prx_Bi.mjs";
4
- import { r as selectPlatformLoginMethod } from "./login-D-Q4xw3Q.mjs";
5
- import { t as discoverPlatform } from "./platform-cmd-B8-bCb7t.mjs";
3
+ import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
4
+ import { r as selectPlatformLoginMethod } from "./login-GKcNUmtI.mjs";
5
+ import { t as discoverPlatform } from "./platform-cmd-BbY1dWiM.mjs";
6
6
  import { execFile } from "node:child_process";
7
7
  //#region src/cli/auth-link.ts
8
8
  async function runAuthLink(root, connectionId) {
@@ -1,5 +1,5 @@
1
- import { s as listPlatformConnections } from "./platform-registry-P387v42A.mjs";
2
- import { n as readDeploymentPlatform } from "./project-DQstYTxO.mjs";
1
+ import { s as listPlatformConnections } from "./platform-registry-Cjv2Qf0r.mjs";
2
+ import { n as readDeploymentPlatform } from "./project-BAm2aB6Q.mjs";
3
3
  import { K as select, tt as isCancel } from "./dist-D3m88sjf.mjs";
4
4
  //#region src/cli/auth-router.ts
5
5
  async function chooseDestination(root, args, interactive) {
@@ -42,7 +42,7 @@ async function runAuthRouter(root, args, interactive = Boolean(process.stdin.isT
42
42
  await runCloudflareCommand(root, { subcommand: args.subcommand });
43
43
  return;
44
44
  }
45
- const { runAccountCommand } = await import("./account-cmd-CfUXh_nU.mjs");
45
+ const { runAccountCommand } = await import("./account-cmd-l-FM7Ioq.mjs");
46
46
  const subcommand = args.subcommand === "status" ? "whoami" : args.subcommand;
47
47
  if (!destination.apiUrl) {
48
48
  await runAccountCommand(root, { subcommand });
@@ -1,8 +1,8 @@
1
- import { r as readProjectConfig } from "./project-DQstYTxO.mjs";
2
- import { c as getToken } from "./auth-B5_tZLxT.mjs";
1
+ import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
2
+ import { c as getToken } from "./auth-Dn2vw-SG.mjs";
3
3
  import { H as outro, L as log } from "./dist-D3m88sjf.mjs";
4
4
  import { d as printSuccess, i as dim, l as import_picocolors } from "./output-C50ag2r3.mjs";
5
- import { n as PlatformApiError, r as PlatformClient } from "./client-C2Prx_Bi.mjs";
5
+ import { n as PlatformApiError, r as PlatformClient } from "./client-DlDJuY0s.mjs";
6
6
  import { i as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-CP8rZs_p.mjs";
7
7
  import { appendFileSync, writeFileSync } from "node:fs";
8
8
  //#region src/cli/build-cmd.ts
@@ -1,8 +1,8 @@
1
- import { r as readProjectConfig } from "./project-DQstYTxO.mjs";
2
- import { c as getToken } from "./auth-B5_tZLxT.mjs";
1
+ import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
2
+ import { c as getToken } from "./auth-Dn2vw-SG.mjs";
3
3
  import { L as log } from "./dist-D3m88sjf.mjs";
4
4
  import { d as printSuccess, r as createSpinner, s as formatCount } from "./output-C50ag2r3.mjs";
5
- import { r as PlatformClient } from "./client-C2Prx_Bi.mjs";
5
+ import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
6
6
  import { i as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-CP8rZs_p.mjs";
7
7
  //#region src/cli/cache.ts
8
8
  async function runPurgeCacheCommand(root, projectSlug) {
@@ -1,8 +1,8 @@
1
- import { r as readProjectConfig } from "./project-DQstYTxO.mjs";
2
- import { c as getToken } from "./auth-B5_tZLxT.mjs";
1
+ import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
2
+ import { c as getToken } from "./auth-Dn2vw-SG.mjs";
3
3
  import { A as confirm, H as outro, L as log, tt as isCancel } from "./dist-D3m88sjf.mjs";
4
4
  import { d as printSuccess } from "./output-C50ag2r3.mjs";
5
- import { r as PlatformClient } from "./client-C2Prx_Bi.mjs";
5
+ import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
6
6
  //#region src/cli/cancel-deploy.ts
7
7
  const ACTIVE_STATUSES = /* @__PURE__ */ new Set([
8
8
  "pending",
@@ -1,4 +1,4 @@
1
- import { T as writeKeyringPassword, c as normalizePlatformApiUrl, u as platformCredentialAccount, w as readKeyringPassword } from "./platform-registry-P387v42A.mjs";
1
+ import { T as writeKeyringPassword, c as normalizePlatformApiUrl, u as platformCredentialAccount, w as readKeyringPassword } from "./platform-registry-Cjv2Qf0r.mjs";
2
2
  import { t as cfAccessHeaders } from "./cf-access-TWNzXltp.mjs";
3
3
  import { spawnSync } from "node:child_process";
4
4
  //#region src/cli/cf-access.ts
@@ -0,0 +1,17 @@
1
+ import { a as join } from "./dist-BVqXeR_h.mjs";
2
+ import { n as getPackageDir } from "./agents-B_pX_HmQ.mjs";
3
+ import { readFileSync } from "node:fs";
4
+ //#region src/cli/cf-user-agent.ts
5
+ let voidUserAgent;
6
+ let cfCliVersion;
7
+ function getVoidUserAgent() {
8
+ if (voidUserAgent === void 0) voidUserAgent = `void/${JSON.parse(readFileSync(join(getPackageDir(), "package.json"), "utf8")).version}`;
9
+ return voidUserAgent;
10
+ }
11
+ /** cf prepends `cf-cli/` to CLI_VERSION for both API requests and uploads. */
12
+ function getCfCliVersion() {
13
+ if (cfCliVersion === void 0) cfCliVersion = `${JSON.parse(readFileSync(new URL(import.meta.resolve("cf/package.json")), "utf8")).version} ${getVoidUserAgent()}`;
14
+ return cfCliVersion;
15
+ }
16
+ //#endregion
17
+ export { getVoidUserAgent as n, getCfCliVersion as t };
package/dist/cli/cli.mjs CHANGED
@@ -4,9 +4,9 @@ import { L as log } from "../dist-D3m88sjf.mjs";
4
4
  import { l as import_picocolors } from "../output-C50ag2r3.mjs";
5
5
  import { n as getPackageDir } from "../agents-B_pX_HmQ.mjs";
6
6
  import { t as formatCloudflareUserMessage } from "../cloudflare-user-output-Q-k0QoNQ.mjs";
7
- import { i as printVoidHeader, n as printGlobalHelp, r as printHelpPage, t as getHelpPath } from "../help-CVFBTmBx.mjs";
8
- import { r as OperatorClientError } from "../operator-client-BQtzyG-g.mjs";
9
- import { n as platformSubcommands, t as parsePlatformArgs } from "../platform-args-BoZkWQnJ.mjs";
7
+ import { i as printVoidHeader, n as printGlobalHelp, r as printHelpPage, t as getHelpPath } from "../help-0bTe_lID.mjs";
8
+ import { r as OperatorClientError } from "../operator-client-DbDv4vtE.mjs";
9
+ import { n as platformSubcommands, t as parsePlatformArgs } from "../platform-args-DUeXY9Om.mjs";
10
10
  import { readFileSync } from "node:fs";
11
11
  import { parseArgs } from "node:util";
12
12
  //#region src/cli/account-args.ts
@@ -1613,19 +1613,19 @@ const args = process.argv.slice(2);
1613
1613
  const command = args[0];
1614
1614
  const helpPath = getHelpPath(args);
1615
1615
  const subcommandGroups = {
1616
- auth: () => runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (root, parsed) => import("../auth-router-Bap-pvbn.mjs").then(({ runAuthRouter }) => runAuthRouter(root, parsed))),
1617
- account: () => runSubcommandGroup("account", accountSubcommands, parseAccountArgs, (root, parsed) => import("../account-cmd-CfUXh_nU.mjs").then(({ runAccountCommand }) => runAccountCommand(root, parsed))),
1618
- platform: () => runSubcommandGroup("platform", platformSubcommands, parsePlatformArgs, (root, parsed) => import("../platform-cmd-C00YM14r.mjs").then(({ runPlatformCommand }) => runPlatformCommand(root, parsed))),
1616
+ auth: () => runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (root, parsed) => import("../auth-router-DvsCUVw4.mjs").then(({ runAuthRouter }) => runAuthRouter(root, parsed))),
1617
+ account: () => runSubcommandGroup("account", accountSubcommands, parseAccountArgs, (root, parsed) => import("../account-cmd-l-FM7Ioq.mjs").then(({ runAccountCommand }) => runAccountCommand(root, parsed))),
1618
+ platform: () => runSubcommandGroup("platform", platformSubcommands, parsePlatformArgs, (root, parsed) => import("../platform-cmd-BbmJiq5O.mjs").then(({ runPlatformCommand }) => runPlatformCommand(root, parsed))),
1619
1619
  cloudflare: () => runSubcommandGroup("cloudflare", cloudflareSubcommands, parseCloudflareArgs, (root, parsed) => import("../cloudflare-cmd-lHqNlJGW.mjs").then(({ runCloudflareCommand }) => runCloudflareCommand(root, parsed))),
1620
- project: () => runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("../project-cmd-ti8_yTcA.mjs").then(({ runProjectCommand }) => runProjectCommand(root, parsed))),
1621
- secret: () => runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("../secret-BAt2KMmO.mjs").then(({ runSecretCommand }) => runSecretCommand(root, parsed))),
1622
- domain: () => runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("../domain-CbbBWhWE.mjs").then(({ runDomainCommand }) => runDomainCommand(root, parsed))),
1623
- email: () => runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (root, parsed) => import("../email-CpuT42g7.mjs").then(({ runEmailCommand }) => runEmailCommand(root, parsed))),
1624
- db: () => runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("../db-XnVMHzoV.mjs").then(({ runDbCommand }) => runDbCommand(root, parsed))),
1625
- env: () => runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("../env-w9jOyGZn.mjs").then(({ runEnvCommand }) => runEnvCommand(root, parsed))),
1620
+ project: () => runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("../project-cmd-DaoRrn-8.mjs").then(({ runProjectCommand }) => runProjectCommand(root, parsed))),
1621
+ secret: () => runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("../secret-BvtB7IjY.mjs").then(({ runSecretCommand }) => runSecretCommand(root, parsed))),
1622
+ domain: () => runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("../domain-BsDUBAvt.mjs").then(({ runDomainCommand }) => runDomainCommand(root, parsed))),
1623
+ email: () => runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (root, parsed) => import("../email-_lGAHOhp.mjs").then(({ runEmailCommand }) => runEmailCommand(root, parsed))),
1624
+ db: () => runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("../db-Xs80hcaA.mjs").then(({ runDbCommand }) => runDbCommand(root, parsed))),
1625
+ env: () => runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("../env-C74QepDE.mjs").then(({ runEnvCommand }) => runEnvCommand(root, parsed))),
1626
1626
  gen: () => runSubcommandGroup("gen", genSubcommands, parseGenArgs, (root, parsed) => import("../gen-dA9hW7AV.mjs").then(({ runGenCommand }) => runGenCommand(root, parsed))),
1627
- github: () => runSubcommandGroup("github", githubSubcommands, parseGithubArgs, (root, parsed) => import("../github-cmd-D_FsOFxq.mjs").then(({ runGithubCommand }) => runGithubCommand(root, parsed))),
1628
- build: () => runSubcommandGroup("build", buildSubcommands, parseBuildArgs, (root, parsed) => import("../build-cmd-B58c8iS8.mjs").then(({ runBuildCommand }) => runBuildCommand(root, parsed)))
1627
+ github: () => runSubcommandGroup("github", githubSubcommands, parseGithubArgs, (root, parsed) => import("../github-cmd-DaDdBbSS.mjs").then(({ runGithubCommand }) => runGithubCommand(root, parsed))),
1628
+ build: () => runSubcommandGroup("build", buildSubcommands, parseBuildArgs, (root, parsed) => import("../build-cmd-D6we0VjO.mjs").then(({ runBuildCommand }) => runBuildCommand(root, parsed)))
1629
1629
  };
1630
1630
  if (helpPath) {
1631
1631
  if (helpPath.length === 0) printGlobalHelp();
@@ -1644,7 +1644,7 @@ if (helpPath) {
1644
1644
  log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
1645
1645
  process.exit(1);
1646
1646
  }
1647
- import("../deploy-C1d-YTfp.mjs").then(({ runDeploy }) => {
1647
+ import("../deploy-VsWsVQkw.mjs").then(({ runDeploy }) => {
1648
1648
  runDeploy(root, {
1649
1649
  projectSlug: deployArgs.projectSlug,
1650
1650
  dir: deployArgs.dir,
@@ -1662,7 +1662,7 @@ if (helpPath) {
1662
1662
  });
1663
1663
  } else if (command === "connect") (async () => {
1664
1664
  const parsed = parseConnectArgs(args.slice(1));
1665
- const { runConnectCommand } = await import("../connect-X0MUA1gk.mjs");
1665
+ const { runConnectCommand } = await import("../connect-BfPBHHm-.mjs");
1666
1666
  await runConnectCommand(process.cwd(), parsed);
1667
1667
  })().catch((err) => {
1668
1668
  log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
@@ -1699,7 +1699,7 @@ else if (command === "prepare") {
1699
1699
  });
1700
1700
  } else if (command === "init") {
1701
1701
  const root = process.cwd();
1702
- import("../init-Bw-fRKGp.mjs").then(({ runInitCommand, parseInitArgs }) => {
1702
+ import("../init-DaBGmaXC.mjs").then(({ runInitCommand, parseInitArgs }) => {
1703
1703
  let initArgs;
1704
1704
  try {
1705
1705
  initArgs = parseInitArgs(args.slice(1));
@@ -1837,12 +1837,12 @@ else if (command === "prepare") {
1837
1837
  if (Object.hasOwn(subcommandGroups, cmd)) return subcommandGroups[cmd]();
1838
1838
  switch (cmd) {
1839
1839
  case "connect": {
1840
- const { runConnectCommand } = await import("../connect-X0MUA1gk.mjs");
1840
+ const { runConnectCommand } = await import("../connect-BfPBHHm-.mjs");
1841
1841
  await runConnectCommand(root, parseConnectArgs([]));
1842
1842
  return;
1843
1843
  }
1844
1844
  case "init": {
1845
- const { runInitCommand, parseInitArgs } = await import("../init-Bw-fRKGp.mjs");
1845
+ const { runInitCommand, parseInitArgs } = await import("../init-DaBGmaXC.mjs");
1846
1846
  await runInitCommand(root, parseInitArgs([]));
1847
1847
  return;
1848
1848
  }
@@ -1852,7 +1852,7 @@ else if (command === "prepare") {
1852
1852
  return;
1853
1853
  }
1854
1854
  case "deploy": {
1855
- const { runDeploy } = await import("../deploy-C1d-YTfp.mjs");
1855
+ const { runDeploy } = await import("../deploy-VsWsVQkw.mjs");
1856
1856
  await runDeploy(root);
1857
1857
  return;
1858
1858
  }
@@ -2,6 +2,7 @@
2
2
  import { n as __toESM } from "../rolldown-runtime-DXIUcv95.mjs";
3
3
  import { a as join, n as dirname, u as resolve } from "../dist-BVqXeR_h.mjs";
4
4
  import { t as require_picocolors } from "../picocolors-BTps1_gs.mjs";
5
+ import { n as getVoidUserAgent, t as getCfCliVersion } from "../cf-user-agent-lKblH3zU.mjs";
5
6
  import { t as sanitizeTerminalLogText } from "../terminal-log-text-D9ACPOuG.mjs";
6
7
  import { copyFileSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
7
8
  import { fileURLToPath } from "node:url";
@@ -94,6 +95,7 @@ function cfEnvironment() {
94
95
  const env = {
95
96
  ...process.env,
96
97
  CF_DELEGATION: "1",
98
+ CLI_VERSION: getCfCliVersion(),
97
99
  CF_SEND_TELEMETRY: "false",
98
100
  CF_NO_OSC_PROGRESS: "1",
99
101
  CLOUDFLARE_AUTH_USE_KEYRING: process.env.CLOUDFLARE_AUTH_USE_KEYRING
@@ -401,12 +403,16 @@ async function apiHeaders() {
401
403
  const key = process.env.CLOUDFLARE_API_KEY ?? process.env.CF_API_KEY;
402
404
  const email = process.env.CLOUDFLARE_EMAIL ?? process.env.CF_EMAIL;
403
405
  if (key && email) return {
406
+ "User-Agent": getVoidUserAgent(),
404
407
  "X-Auth-Key": key,
405
408
  "X-Auth-Email": email
406
409
  };
407
410
  const credential = await sessionCredential();
408
411
  if (!credential) throw new Error("Cloudflare session bearer is unavailable.");
409
- return { Authorization: `Bearer ${credential.token}` };
412
+ return {
413
+ "User-Agent": getVoidUserAgent(),
414
+ Authorization: `Bearer ${credential.token}`
415
+ };
410
416
  }
411
417
  async function withSecretFile(content, action) {
412
418
  const directory = mkdtempSync(join(tmpdir(), "void-cf-secret-"));
@@ -1,10 +1,10 @@
1
1
  import { a as join } from "./dist-BVqXeR_h.mjs";
2
- import { c as normalizePlatformApiUrl } from "./platform-registry-P387v42A.mjs";
2
+ import { c as normalizePlatformApiUrl } from "./platform-registry-Cjv2Qf0r.mjs";
3
3
  import { t as cfAccessHeaders } from "./cf-access-TWNzXltp.mjs";
4
- import { i as isCloudflareAccessChallenge, n as ensurePlatformAccessToken, t as ensureCloudflaredToken } from "./cf-access-ngGqZpHZ.mjs";
5
- import { a as getApiUrl } from "./auth-B5_tZLxT.mjs";
4
+ import { i as isCloudflareAccessChallenge, n as ensurePlatformAccessToken, t as ensureCloudflaredToken } from "./cf-access-BcIBSKqG.mjs";
5
+ import { a as getApiUrl } from "./auth-Dn2vw-SG.mjs";
6
6
  import { n as getPackageDir } from "./agents-B_pX_HmQ.mjs";
7
- import { n as readPlatformDiscoveryResponse } from "./platform-discovery-BC0HCKYt.mjs";
7
+ import { n as readPlatformDiscoveryResponse } from "./platform-discovery-DIYz8V63.mjs";
8
8
  import { readFileSync } from "node:fs";
9
9
  import { stripVTControlCharacters } from "node:util";
10
10
  //#region src/cli/platform-errors.ts
@@ -108,7 +108,7 @@ function readCliVersion() {
108
108
  }
109
109
  const VOID_CLI_VERSION = readCliVersion();
110
110
  /** The oldest Void platform release this CLI supports. */
111
- const MIN_PLATFORM_VERSION = "0.26.1";
111
+ const MIN_PLATFORM_VERSION = "0.27.0";
112
112
  const RELEASE_VERSION = /^(\d+)\.(\d+)\.(\d+)(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$/;
113
113
  /**
114
114
  * Version checks keyed by platform base URL. Every outcome (pass, inconclusive,
@@ -0,0 +1,2 @@
1
+ import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
2
+ export { PlatformClient };
@@ -1,11 +1,11 @@
1
- import { c as normalizePlatformApiUrl, s as listPlatformConnections } from "./platform-registry-P387v42A.mjs";
2
- import { c as writePlatformSelection, n as readDeploymentPlatform, s as writeDeploymentPlatform } from "./project-DQstYTxO.mjs";
3
- import { d as readPlatformToken } from "./auth-B5_tZLxT.mjs";
1
+ import { c as normalizePlatformApiUrl, s as listPlatformConnections } from "./platform-registry-Cjv2Qf0r.mjs";
2
+ import { c as writePlatformSelection, n as readDeploymentPlatform, s as writeDeploymentPlatform } from "./project-BAm2aB6Q.mjs";
3
+ import { d as readPlatformToken } from "./auth-Dn2vw-SG.mjs";
4
4
  import { K as select, L as log, tt as isCancel } from "./dist-D3m88sjf.mjs";
5
5
  import { d as printSuccess } from "./output-C50ag2r3.mjs";
6
- import { a as isExpiredTokenError, r as PlatformClient } from "./client-C2Prx_Bi.mjs";
7
- import { t as promptForLoginToken } from "./login-D-Q4xw3Q.mjs";
8
- import { i as saveDiscoveredPlatform, n as promptPlatformUrl, t as discoverPlatform } from "./platform-cmd-B8-bCb7t.mjs";
6
+ import { a as isExpiredTokenError, r as PlatformClient } from "./client-DlDJuY0s.mjs";
7
+ import { t as promptForLoginToken } from "./login-GKcNUmtI.mjs";
8
+ import { i as saveDiscoveredPlatform, n as promptPlatformUrl, t as discoverPlatform } from "./platform-cmd-BbY1dWiM.mjs";
9
9
  import { t as connectCloudflare } from "./cloudflare-connect-2G3rL2rP.mjs";
10
10
  //#region src/cli/connect.ts
11
11
  async function selectVoidPlatform(interactive) {
@@ -1,8 +1,8 @@
1
- import { l as writeProjectConfig, t as attachSelectedPlatform } from "./project-DQstYTxO.mjs";
2
- import { s as getSiteDomain } from "./auth-B5_tZLxT.mjs";
1
+ import { l as writeProjectConfig, t as attachSelectedPlatform } from "./project-BAm2aB6Q.mjs";
2
+ import { s as getSiteDomain } from "./auth-Dn2vw-SG.mjs";
3
3
  import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-D3m88sjf.mjs";
4
4
  import { f as sanitizeTerminalText, l as import_picocolors } from "./output-C50ag2r3.mjs";
5
- import { n as PlatformApiError } from "./client-C2Prx_Bi.mjs";
5
+ import { n as PlatformApiError } from "./client-DlDJuY0s.mjs";
6
6
  import { t as validateProjectSlug } from "./project-slug-23TpquG4.mjs";
7
7
  import { n as inferDefaultSlug } from "./resolve-project-CP8rZs_p.mjs";
8
8
  //#region src/cli/prompt.ts
@@ -1,2 +1,2 @@
1
- import { t as createProjectWithSlugRetry } from "./create-project-DxiyW6iX.mjs";
1
+ import { t as createProjectWithSlugRetry } from "./create-project-BdXEFKal.mjs";
2
2
  export { createProjectWithSlugRetry };
@@ -3,15 +3,15 @@ import { r as detectFramework } from "./plugin-inference-BlQbOL0P.mjs";
3
3
  import { n as readProjectPaths } from "./project-paths-GgcMozYz.mjs";
4
4
  import { h as resolveBindingNames, m as readConfig, u as getDatabaseDialect } from "./config-DiowPT80.mjs";
5
5
  import { i as writeJournal, n as readJournal, r as stripSqlExt, t as collectMigrations } from "./collect-DiTn9yr6.mjs";
6
- import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-DQstYTxO.mjs";
6
+ import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
7
7
  import { t as resolveLocalD1Target } from "./local-d1-ga5O_idV.mjs";
8
8
  import { t as cfAccessHeaders } from "./cf-access-TWNzXltp.mjs";
9
- import { i as isCloudflareAccessChallenge, n as ensurePlatformAccessToken, r as ensurePlatformProxyAccess } from "./cf-access-ngGqZpHZ.mjs";
10
- import { c as getToken, o as getProxyUrl } from "./auth-B5_tZLxT.mjs";
9
+ import { i as isCloudflareAccessChallenge, n as ensurePlatformAccessToken, r as ensurePlatformProxyAccess } from "./cf-access-BcIBSKqG.mjs";
10
+ import { c as getToken, o as getProxyUrl } from "./auth-Dn2vw-SG.mjs";
11
11
  import { A as confirm, H as outro, L as log, tt as isCancel } from "./dist-D3m88sjf.mjs";
12
12
  import { d as printSuccess, i as dim, l as import_picocolors, s as formatCount } from "./output-C50ag2r3.mjs";
13
13
  import { o as loadLocalEnv } from "./env-BxocywBB.mjs";
14
- import { n as PlatformApiError, r as PlatformClient } from "./client-C2Prx_Bi.mjs";
14
+ import { n as PlatformApiError, r as PlatformClient } from "./client-DlDJuY0s.mjs";
15
15
  import { i as validateMigrations, r as listDrizzleArtifacts, t as assertJournalCoherence } from "./validate-C9qJArv7.mjs";
16
16
  import { n as formatTimestamp } from "./gen-DtkQhvQg.mjs";
17
17
  import { createRequire } from "node:module";
@@ -862,7 +862,7 @@ async function runMigrate(root, dialect, remote) {
862
862
  log.error(getErrorMessage(error));
863
863
  process.exit(1);
864
864
  }
865
- const { checkWranglerMigrationApplySet, parseRootWranglerConfig } = await import("./deploy-C1d-YTfp.mjs");
865
+ const { checkWranglerMigrationApplySet, parseRootWranglerConfig } = await import("./deploy-VsWsVQkw.mjs");
866
866
  const applySet = await checkWranglerMigrationApplySet(context.operation.configPath, parseRootWranglerConfig(context.operation.configPath), binding, context.migrationsDir, rawMigrations);
867
867
  if (!applySet.ok) {
868
868
  log.error(applySet.reason);
@@ -1,8 +1,8 @@
1
- import { a as removeProjectConfig, r as readProjectConfig } from "./project-DQstYTxO.mjs";
2
- import { c as getToken } from "./auth-B5_tZLxT.mjs";
1
+ import { a as removeProjectConfig, r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
2
+ import { c as getToken } from "./auth-Dn2vw-SG.mjs";
3
3
  import { L as log, O as cancel, X as text, tt as isCancel } from "./dist-D3m88sjf.mjs";
4
4
  import { d as printSuccess, r as createSpinner, u as note } from "./output-C50ag2r3.mjs";
5
- import { r as PlatformClient } from "./client-C2Prx_Bi.mjs";
5
+ import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
6
6
  import { i as resolveProjectBySlug } from "./resolve-project-CP8rZs_p.mjs";
7
7
  //#region src/cli/delete.ts
8
8
  async function runDeleteCommand(root, slug, options) {
@@ -12,14 +12,14 @@ import { r as hasEmailHandlers } from "./email-d_Aux1vM.mjs";
12
12
  import { a as hasSandboxSqliteMigration, c as resolveSandboxConfig, i as assertSandboxNamespaceConfig, l as sandboxContainerConfig, r as SANDBOX_MIGRATION_TAG, s as requiresSandboxPlatformImage } from "./config-B_ggY-IO.mjs";
13
13
  import { i as voidWarn, r as voidLog } from "./log-vqY3pqwI.mjs";
14
14
  import { n as lintDuplicateSources, r as mergeRoutingRules, t as lintDestinationSplats } from "./headers-DlfR78Nu.mjs";
15
- import { s as listPlatformConnections } from "./platform-registry-P387v42A.mjs";
16
- import { l as writeProjectConfig, n as readDeploymentPlatform, o as shouldLinkDeployProject, r as readProjectConfig, s as writeDeploymentPlatform, t as attachSelectedPlatform } from "./project-DQstYTxO.mjs";
15
+ import { s as listPlatformConnections } from "./platform-registry-Cjv2Qf0r.mjs";
16
+ import { l as writeProjectConfig, n as readDeploymentPlatform, o as shouldLinkDeployProject, r as readProjectConfig, s as writeDeploymentPlatform, t as attachSelectedPlatform } from "./project-BAm2aB6Q.mjs";
17
17
  import { i as persistCloudflareConfig, r as materializeCloudflareConfig, s as stashCloudflareDeployPointer } from "./cloudflare-config-BmhBv3HV.mjs";
18
18
  import { C as readWranglerManagedQueueCleanupCandidates, D as syncWranglerBindings, E as resolveLiveBindingConfig, M as writeWranglerPublishedTrafficSnapshot, O as syncWranglerDurableObjects, a as LIVE_MIGRATION_TAG, c as bindingEntriesForField, g as normalizeWranglerCompatibilityFlags, h as nextDurableObjectMigrationTag, j as writeProvisionedWranglerConfig, k as syncWranglerWebSockets, l as bindingNamesForField, m as hasDurableObjectSqliteMigration, o as acknowledgeWranglerManagedQueueRemovals, p as findBindingNameOwner, r as FRIENDLY_BINDING_NAMES, u as ensureWranglerCompat, v as readExistingLiveBindingConfig, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-D9KTuqnv.mjs";
19
19
  import { n as buildMigrationPlanBundle } from "./plan-BhLO2p4w.mjs";
20
20
  import { n as scopedAccessCredentials, r as trustedCloudflareWorkerAccessHeaders, t as cfAccessHeaders } from "./cf-access-TWNzXltp.mjs";
21
- import { r as ensurePlatformProxyAccess, t as ensureCloudflaredToken } from "./cf-access-ngGqZpHZ.mjs";
22
- import { a as getApiUrl, c as getToken, l as getTokenSource, o as getProxyUrl } from "./auth-B5_tZLxT.mjs";
21
+ import { r as ensurePlatformProxyAccess, t as ensureCloudflaredToken } from "./cf-access-BcIBSKqG.mjs";
22
+ import { a as getApiUrl, c as getToken, l as getTokenSource, o as getProxyUrl } from "./auth-Dn2vw-SG.mjs";
23
23
  import { A as confirm, K as select, L as log$1, N as intro, tt as isCancel } from "./dist-D3m88sjf.mjs";
24
24
  import { d as printSuccess, f as sanitizeTerminalText, l as import_picocolors$1, r as createSpinner, s as formatCount, u as note } from "./output-C50ag2r3.mjs";
25
25
  import { t as discoverSchema } from "./discover-CkCYv9T_.mjs";
@@ -29,17 +29,18 @@ import { c as resolveRemoteMode, l as stripInternalEnvKeys, t as CLOUDFLARE_DEPL
29
29
  import { t as findEnvFile } from "./env-types-CwXgeMgL.mjs";
30
30
  import { d as formatEnvReport, f as listSelfHostSecretNames, g as validateProdEnv, h as selfHostSchemaFailureMessage, i as SelfHostSecretListError, l as dischargeSelfHostEnvContext, n as SelfHostFirstDeployError, p as readEmittedWorkerVars, r as SelfHostSchemaError, s as deriveSelfHostEnvContextFromVars, t as SelfHostEnvValidationError, u as fetchRemoteSecretNames, v as readGeneratedWranglerConfigFile } from "./env-validation-Dxdx_5wo.mjs";
31
31
  import { n as getPackageDir } from "./agents-B_pX_HmQ.mjs";
32
- import { a as isExpiredTokenError, c as parsePlatformErrorBody, i as isCliOutdatedError, l as platformErrorMessage, n as PlatformApiError, o as isHeadersTimeoutError, r as PlatformClient } from "./client-C2Prx_Bi.mjs";
32
+ import { a as isExpiredTokenError, c as parsePlatformErrorBody, i as isCliOutdatedError, l as platformErrorMessage, n as PlatformApiError, o as isHeadersTimeoutError, r as PlatformClient } from "./client-DlDJuY0s.mjs";
33
33
  import { r as discoverFrameworkWranglerFiles, t as migrateLegacyVoidConfig } from "./migrate-NLsjBbuM.mjs";
34
34
  import { a as FRAMEWORK_PRESETS, c as hasBackendFiles, l as resolveCloudflareOperationArgv, o as detectPreset, s as formatProjectCommand, t as createCloudflareProcessRunner, u as resolveProjectCommand } from "./cloudflare-process-2-TfIEzB.mjs";
35
35
  import { i as validateMigrations, r as listDrizzleArtifacts, t as assertJournalCoherence } from "./validate-C9qJArv7.mjs";
36
36
  import { t as formatCloudflareUserMessage } from "./cloudflare-user-output-Q-k0QoNQ.mjs";
37
- import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-DxiyW6iX.mjs";
37
+ import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-BdXEFKal.mjs";
38
38
  import { t as getRequestedProjectSlug } from "./resolve-project-CP8rZs_p.mjs";
39
39
  import { n as completeApplicationAnalysis, t as analyzeApplication } from "./application-routing-DQyUh_5S.mjs";
40
40
  import { n as openMigrationValidationDatabase, t as SqliteMigrationError } from "./sqlite-validation-BzKMWnO4.mjs";
41
41
  import { a as record, i as migrateBuiltWranglerConfig, n as prepareCfFrameworkBuildOutput, r as prepareCfStaticBuildOutput, t as prepareCfBuildOutput } from "./cf-build-output-DjvB_872.mjs";
42
42
  import { a as parseCloudflareAuthSession, i as ensureCloudflareAuthentication, n as cloudflareCredentialOverrides, t as CloudflareAuthenticationError } from "./cloudflare-auth-CuxfF6OA.mjs";
43
+ import { n as getVoidUserAgent, t as getCfCliVersion } from "./cf-user-agent-lKblH3zU.mjs";
43
44
  import { a as createCloudflareEmptyDomainPublisher, i as createCloudflareEmptyCronPublisher } from "./cloudflare-operations-CwI1bChl.mjs";
44
45
  import { n as writeDrizzleConfig } from "./config-CLYAosnQ.mjs";
45
46
  import { i as runMySqlMigrations } from "./runner-mysql-CEzKtmFb.mjs";
@@ -47,7 +48,7 @@ import { i as runPgMigrations } from "./runner-pg-DV8p_zjA.mjs";
47
48
  import { n as writeVoidProjectConfig } from "./config-write-AHGesphx.mjs";
48
49
  import { t as renderPrerenderPaths } from "./prerender-render-Ct20jftc.mjs";
49
50
  import { t as collectGitDeployMetadata } from "./git-metadata-D-gurjzG.mjs";
50
- import { t as promptForLoginToken } from "./login-D-Q4xw3Q.mjs";
51
+ import { t as promptForLoginToken } from "./login-GKcNUmtI.mjs";
51
52
  import { createRequire } from "node:module";
52
53
  import { copyFileSync, cpSync, createWriteStream, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
53
54
  import { fileURLToPath } from "node:url";
@@ -3797,6 +3798,7 @@ async function apiResult(url, token, method, body, verifyUploader, timeout = 12e
3797
3798
  const response = await fetch(url, {
3798
3799
  method,
3799
3800
  headers: {
3801
+ "User-Agent": getVoidUserAgent(),
3800
3802
  Authorization: `Bearer ${token}`,
3801
3803
  ...body && !form ? { "Content-Type": "application/json" } : {}
3802
3804
  },
@@ -4346,6 +4348,7 @@ function createCfCommand(options) {
4346
4348
  const env = {
4347
4349
  ...options.env(options.accountId, options.apiBaseUrl),
4348
4350
  CF_DELEGATION: "1",
4351
+ CLI_VERSION: getCfCliVersion(),
4349
4352
  CF_QUIET: "1",
4350
4353
  CF_NO_OSC_PROGRESS: "1",
4351
4354
  CF_SEND_TELEMETRY: "false"
@@ -1,2 +1,2 @@
1
- import { r as runDeploy, t as parseRootWranglerConfig, v as checkWranglerMigrationApplySet } from "./deploy-BsEvnlJl.mjs";
1
+ import { r as runDeploy, t as parseRootWranglerConfig, v as checkWranglerMigrationApplySet } from "./deploy-Bqe1PYBw.mjs";
2
2
  export { checkWranglerMigrationApplySet, parseRootWranglerConfig, runDeploy };
@@ -1,8 +1,8 @@
1
- import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-DQstYTxO.mjs";
2
- import { c as getToken } from "./auth-B5_tZLxT.mjs";
1
+ import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
2
+ import { c as getToken } from "./auth-Dn2vw-SG.mjs";
3
3
  import { L as log } from "./dist-D3m88sjf.mjs";
4
4
  import { d as printSuccess, l as import_picocolors, u as note } from "./output-C50ag2r3.mjs";
5
- import { r as PlatformClient } from "./client-C2Prx_Bi.mjs";
5
+ import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
6
6
  //#region src/cli/domain.ts
7
7
  async function runDomainCommand(root, args) {
8
8
  const platform = readDeploymentPlatform(root);
@@ -2,13 +2,13 @@ import { a as join } from "./dist-BVqXeR_h.mjs";
2
2
  import { n as readProjectPaths } from "./project-paths-GgcMozYz.mjs";
3
3
  import { m as readConfig } from "./config-DiowPT80.mjs";
4
4
  import { a as scanEmailHandlersSync } from "./email-d_Aux1vM.mjs";
5
- import { A as createDeployWranglerRunner, H as loadProvisionModule, L as resolveDeployTransport, M as isWranglerNonInteractiveOrCI, N as runWranglerAuthToken, O as discoverRootWranglerConfig, V as deriveWorkerName, d as applyEmailSetup, f as createNodeEmailDns, g as renderEmailChecklist, h as renderAddressMap, m as preflightEmail, p as findEmailConfigConflicts } from "./deploy-BsEvnlJl.mjs";
6
- import { r as readProjectConfig } from "./project-DQstYTxO.mjs";
5
+ import { A as createDeployWranglerRunner, H as loadProvisionModule, L as resolveDeployTransport, M as isWranglerNonInteractiveOrCI, N as runWranglerAuthToken, O as discoverRootWranglerConfig, V as deriveWorkerName, d as applyEmailSetup, f as createNodeEmailDns, g as renderEmailChecklist, h as renderAddressMap, m as preflightEmail, p as findEmailConfigConflicts } from "./deploy-Bqe1PYBw.mjs";
6
+ import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
7
7
  import { j as writeProvisionedWranglerConfig } from "./wrangler-D9KTuqnv.mjs";
8
- import { c as getToken, u as openBrowser } from "./auth-B5_tZLxT.mjs";
8
+ import { c as getToken, u as openBrowser } from "./auth-Dn2vw-SG.mjs";
9
9
  import { A as confirm, L as log, U as password, tt as isCancel } from "./dist-D3m88sjf.mjs";
10
10
  import { d as printSuccess, l as import_picocolors, r as createSpinner, u as note } from "./output-C50ag2r3.mjs";
11
- import { n as PlatformApiError, r as PlatformClient } from "./client-C2Prx_Bi.mjs";
11
+ import { n as PlatformApiError, r as PlatformClient } from "./client-DlDJuY0s.mjs";
12
12
  import { existsSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
13
13
  import { tmpdir } from "node:os";
14
14
  import { execSync } from "node:child_process";
@@ -1,11 +1,11 @@
1
1
  import { a as join } from "./dist-BVqXeR_h.mjs";
2
- import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-DQstYTxO.mjs";
3
- import { c as getToken } from "./auth-B5_tZLxT.mjs";
2
+ import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
3
+ import { c as getToken } from "./auth-Dn2vw-SG.mjs";
4
4
  import { H as outro, L as log } from "./dist-D3m88sjf.mjs";
5
5
  import { d as printSuccess, u as note } from "./output-C50ag2r3.mjs";
6
6
  import { r as generateEnvTypes, t as findEnvFile } from "./env-types-CwXgeMgL.mjs";
7
7
  import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-Dxdx_5wo.mjs";
8
- import { r as PlatformClient } from "./client-C2Prx_Bi.mjs";
8
+ import { r as PlatformClient } from "./client-DlDJuY0s.mjs";
9
9
  import { mkdirSync, writeFileSync } from "node:fs";
10
10
  //#region src/cli/env.ts
11
11
  async function runEnvCommand(root, args) {
@@ -1,8 +1,8 @@
1
- import { r as readProjectConfig } from "./project-DQstYTxO.mjs";
2
- import { c as getToken, n as createCodeChallenge, r as createCodeVerifier, t as awaitBrowserCallback, u as openBrowser } from "./auth-B5_tZLxT.mjs";
1
+ import { r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
2
+ import { c as getToken, n as createCodeChallenge, r as createCodeVerifier, t as awaitBrowserCallback, u as openBrowser } from "./auth-Dn2vw-SG.mjs";
3
3
  import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-D3m88sjf.mjs";
4
4
  import { d as printSuccess, l as import_picocolors } from "./output-C50ag2r3.mjs";
5
- import { c as parsePlatformErrorBody, l as platformErrorMessage, n as PlatformApiError, r as PlatformClient } from "./client-C2Prx_Bi.mjs";
5
+ import { c as parsePlatformErrorBody, l as platformErrorMessage, n as PlatformApiError, r as PlatformClient } from "./client-DlDJuY0s.mjs";
6
6
  import { i as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-CP8rZs_p.mjs";
7
7
  import { t as collectGitDeployMetadata } from "./git-metadata-D-gurjzG.mjs";
8
8
  import { randomBytes } from "node:crypto";
@@ -2,7 +2,7 @@ import { a as join } from "./dist-BVqXeR_h.mjs";
2
2
  import { H as outro } from "./dist-D3m88sjf.mjs";
3
3
  import { c as helpLine, l as import_picocolors, p as sectionTitle, t as categoryTitle, u as note } from "./output-C50ag2r3.mjs";
4
4
  import { n as getPackageDir } from "./agents-B_pX_HmQ.mjs";
5
- import { n as operatorGroups, t as operatorCommands } from "./operator-args-BNsW5gfp.mjs";
5
+ import { n as operatorGroups, t as operatorCommands } from "./operator-args-DOBhIaIg.mjs";
6
6
  import { readFileSync } from "node:fs";
7
7
  //#region src/cli/ascii.ts
8
8
  const asciiArts = [
@@ -0,0 +1,2 @@
1
+ import { r as printHelpPage } from "./help-0bTe_lID.mjs";
2
+ export { printHelpPage };
package/dist/index.mjs CHANGED
@@ -12,16 +12,16 @@ import { a as validateSsrEntries, n as SSR_SERVER_ENTRY_RELATIVE_PATHS, o as val
12
12
  import { r as hasEmailHandlers } from "./email-d_Aux1vM.mjs";
13
13
  import { i as resolveLayoutIds } from "./scan-C3uDzz6J.mjs";
14
14
  import { a as hasSandboxSqliteMigration, c as resolveSandboxConfig, i as assertSandboxNamespaceConfig, l as sandboxContainerConfig, n as DEFAULT_SANDBOX_CLASS_NAME, r as SANDBOX_MIGRATION_TAG } from "./config-B_ggY-IO.mjs";
15
- import { G as hasRevalidate, R as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV, U as collectPages, W as collectRevalidate, _t as hasApiRoutes, et as resolveDistDir, gt as generateQueueResolverSource, it as resolveWorkerDirName, o as prerenderPages, s as prerenderPagesNode, u as SEND_EMAIL_BINDING, vt as hasDocumentRoutes, yt as resolveAssetRoutingPolicy, z as selectNativeVersionMetadataBinding } from "./deploy-BsEvnlJl.mjs";
15
+ import { G as hasRevalidate, R as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV, U as collectPages, W as collectRevalidate, _t as hasApiRoutes, et as resolveDistDir, gt as generateQueueResolverSource, it as resolveWorkerDirName, o as prerenderPages, s as prerenderPagesNode, u as SEND_EMAIL_BINDING, vt as hasDocumentRoutes, yt as resolveAssetRoutingPolicy, z as selectNativeVersionMetadataBinding } from "./deploy-Bqe1PYBw.mjs";
16
16
  import { i as voidWarn, n as voidError, r as voidLog, t as setShowTimestamp } from "./log-vqY3pqwI.mjs";
17
17
  import { n as lintDuplicateSources, r as mergeRoutingRules, t as lintDestinationSplats } from "./headers-DlfR78Nu.mjs";
18
- import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-DQstYTxO.mjs";
18
+ import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-BAm2aB6Q.mjs";
19
19
  import { a as restoreCloudflarePreviewPointer, r as materializeCloudflareConfig, s as stashCloudflareDeployPointer } from "./cloudflare-config-BmhBv3HV.mjs";
20
20
  import { D as syncWranglerBindings, E as resolveLiveBindingConfig, O as syncWranglerDurableObjects, T as readWranglerWebSocketTombstones, a as LIVE_MIGRATION_TAG, d as ensureWranglerCompatibilityDate, f as ensureWranglerNodejsAlsFlag, g as normalizeWranglerCompatibilityFlags, h as nextDurableObjectMigrationTag, k as syncWranglerWebSockets, m as hasDurableObjectSqliteMigration, p as findBindingNameOwner, u as ensureWranglerCompat, v as readExistingLiveBindingConfig, x as readWranglerCompat } from "./wrangler-D9KTuqnv.mjs";
21
21
  import { n as writeLocalD1PersistState, t as resolveLocalD1Target } from "./local-d1-ga5O_idV.mjs";
22
22
  import { n as scopedAccessCredentials } from "./cf-access-TWNzXltp.mjs";
23
- import { r as ensurePlatformProxyAccess } from "./cf-access-ngGqZpHZ.mjs";
24
- import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-B5_tZLxT.mjs";
23
+ import { r as ensurePlatformProxyAccess } from "./cf-access-BcIBSKqG.mjs";
24
+ import { a as getApiUrl, c as getToken, o as getProxyUrl } from "./auth-Dn2vw-SG.mjs";
25
25
  import { d as printSuccess } from "./output-C50ag2r3.mjs";
26
26
  import { n as ensureProjectTsconfig, r as writeFileIfChanged } from "./project-tsconfig-CVJhNMxs.mjs";
27
27
  import { i as generateDbDts, n as generateQueueTypes, r as DRIZZLE_OPERATORS, t as generateRouteTypes } from "./route-types-CbtsIeFn.mjs";
@@ -492,8 +492,8 @@ function readVoidDevCredentials(root) {
492
492
  */
493
493
  async function runAiSetupPrompt(root, token, apiUrl, server) {
494
494
  const { select, text, isCancel, log } = await import("./dist-Bx1z6Eva.mjs");
495
- const { PlatformClient } = await import("./client-By4JjMw_.mjs");
496
- const { attachSelectedPlatform, writeProjectConfig } = await import("./project-BiaPQ7ur.mjs");
495
+ const { PlatformClient } = await import("./client-tso2OfcG.mjs");
496
+ const { attachSelectedPlatform, writeProjectConfig } = await import("./project-DedqCp59.mjs");
497
497
  const { inferDefaultSlug } = await import("./resolve-project-BIeYs9Cw.mjs");
498
498
  const client = new PlatformClient(token, apiUrl);
499
499
  let projects;
@@ -521,7 +521,7 @@ async function runAiSetupPrompt(root, token, apiUrl, server) {
521
521
  let slug;
522
522
  if (result === "__create__") {
523
523
  const { validateProjectSlug } = await import("./project-slug-DofjTFd-.mjs");
524
- const { createProjectWithSlugRetry } = await import("./create-project-iwkbqiBU.mjs");
524
+ const { createProjectWithSlugRetry } = await import("./create-project-qFDC45zg.mjs");
525
525
  let created;
526
526
  try {
527
527
  created = await createProjectWithSlugRetry(client, inferDefaultSlug(root), async (defaultSlug) => {