void 1.8.0 → 1.9.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 (222) hide show
  1. package/dist/{account-cmd-CZKntRH2.mjs → account-cmd-BEMOdwtl.mjs} +3 -3
  2. package/dist/{application-analysis-CyTagJQM.mjs → application-analysis-3VVsflWZ.mjs} +5 -5
  3. package/dist/{application-routing-BLrMVpqi.mjs → application-routing-CJRlXCc2.mjs} +1 -1
  4. package/dist/{auth-Bk9VGtQW.d.mts → auth-CV9kXHKe.d.mts} +3 -1
  5. package/dist/{auth-DyWp-fSo.mjs → auth-aMuFOZeI.mjs} +8 -2
  6. package/dist/{auth-link-BOaQWMKw.mjs → auth-link-B1IynRW5.mjs} +3 -3
  7. package/dist/{auth-router-D0-VcmDs.mjs → auth-router-DVaWJdRB.mjs} +2 -2
  8. package/dist/{better-auth-shared-CdVyCUou.mjs → better-auth-shared-C7LHvF4L.mjs} +1 -1
  9. package/dist/{better-auth-shared-CQFdtguU.d.mts → better-auth-shared-ajs3LNrY.d.mts} +1 -1
  10. package/dist/{build-cmd-JTsXXf2F.mjs → build-cmd-Dq8tdqQG.mjs} +1 -1
  11. package/dist/{cache-D0m3Z_Xf.mjs → cache-DGMnskX7.mjs} +1 -1
  12. package/dist/{cancel-deploy-Ce6Os4fa.mjs → cancel-deploy-96S5hD1E.mjs} +1 -1
  13. package/dist/cli/cli.mjs +1 -1
  14. package/dist/cli/env-schema-probe.mjs +3 -3
  15. package/dist/{cli-main-rkrJy2Ge.mjs → cli-main-CQRLxZAu.mjs} +28 -28
  16. package/dist/client-66c0RLDM.mjs +1 -0
  17. package/dist/{client-SZPyj4X_.mjs → client-D6w5x7hM.mjs} +7 -7
  18. package/dist/{cloudflare-auth-7jTqy9Bx.mjs → cloudflare-auth-pNvmT6kL.mjs} +1 -1
  19. package/dist/{cloudflare-cmd-ChPLQcTP.mjs → cloudflare-cmd-BuuHUM4z.mjs} +3 -3
  20. package/dist/{cloudflare-config-DtOGAbeB.mjs → cloudflare-config-PxbinLLE.mjs} +2 -2
  21. package/dist/{cloudflare-connect-Co93VYTo.mjs → cloudflare-connect-D1QOosLd.mjs} +2 -2
  22. package/dist/{cloudflare-operations-CXaDKYj2.mjs → cloudflare-operations-G5AObYzF.mjs} +5 -5
  23. package/dist/{cloudflare-operations-DATekLwI.mjs → cloudflare-operations-I4t3mt4R.mjs} +1 -1
  24. package/dist/{cloudflare-process-DmTxZR-N.mjs → cloudflare-process-wcnaQ5JG.mjs} +2 -2
  25. package/dist/{config-wo2EaH0X.mjs → config-C1DPf8EK.mjs} +1 -1
  26. package/dist/{config-CTlUaXWZ.d.mts → config-CCWVY7DY.d.mts} +1 -1
  27. package/dist/{config-5oSQhZNj.mjs → config-CzFdJYNA.mjs} +1 -1
  28. package/dist/{config-DcqUBGCb.mjs → config-DlWQ_hIJ.mjs} +3 -3
  29. package/dist/{config-eeDzKBS9.mjs → config-Do7gJI3T.mjs} +2 -2
  30. package/dist/config-entry.d.mts +1 -1
  31. package/dist/{connect-DlvXt1JR.mjs → connect-4uImOwut.mjs} +4 -4
  32. package/dist/{create-project-CC_7hmYJ.mjs → create-project-BaUzZnLZ.mjs} +1 -1
  33. package/dist/{create-project-DzY05xqC.mjs → create-project-CQMyzTvK.mjs} +1 -1
  34. package/dist/{db-FhyYGcJJ.mjs → db-DEpDeDsi.mjs} +19 -19
  35. package/dist/{db-types-sVwEpyPR.mjs → db-types-BpPYAx0B.mjs} +1 -1
  36. package/dist/{delete-CModjyOC.mjs → delete-BVD2kI82.mjs} +1 -1
  37. package/dist/deploy-Dr_Qamzw.mjs +2 -0
  38. package/dist/{deploy-Cz9TEzZy.mjs → deploy-Dyeo5soA.mjs} +24 -75
  39. package/dist/{deploy-managed-static-DlxxXkAM.mjs → deploy-managed-static-Kn73R83A.mjs} +20 -20
  40. package/dist/{deploy-transport-DUvm6-CR.mjs → deploy-transport-BpKBs_KR.mjs} +2 -2
  41. package/dist/deploy.mjs +6 -6
  42. package/dist/discover-Diq0l6TZ.mjs +1 -0
  43. package/dist/{discover-CVFCWU7W.mjs → discover-Vd18lHsj.mjs} +1 -1
  44. package/dist/{dispatch-CCiaAnSK.mjs → dispatch-BBfb519j.mjs} +5 -5
  45. package/dist/{domain-DvdZPA50.mjs → domain-BTIdyUVk.mjs} +2 -2
  46. package/dist/{email-ASpNrfLd.mjs → email-DvrS-I0U.mjs} +7 -7
  47. package/dist/{email-cloudflare-kqoN9jst.mjs → email-cloudflare-DAGpgzY1.mjs} +3 -3
  48. package/dist/{entry-BweGTCgj.mjs → entry-DMgR7XOf.mjs} +1 -1
  49. package/dist/{env-Bpkg3G5i.mjs → env-D7vORwpn.mjs} +4 -4
  50. package/dist/{env-types-Dz9qkiOn.mjs → env-types-WEZw5D-r.mjs} +1 -1
  51. package/dist/{env-validation-CN386Utu.mjs → env-validation-DKDcpxbt.mjs} +1 -1
  52. package/dist/{env-validation-BpCCQE_6.mjs → env-validation-DeYNRp1d.mjs} +3 -3
  53. package/dist/{gen-upKJChvd.mjs → gen-DimkGNve.mjs} +4 -4
  54. package/dist/gen-DmEeVEs4.mjs +1 -0
  55. package/dist/{github-cmd-BvMOlb8Z.mjs → github-cmd-D-zs6VQr.mjs} +1 -1
  56. package/dist/{handler-BO7Od-z9.d.mts → handler-6fzr_ikp.d.mts} +3 -3
  57. package/dist/{head-MeF_5M_3.d.mts → head-CVO92KEx.d.mts} +14 -3
  58. package/dist/{head-5XPcnG-j.mjs → head-CWJhfUwV.mjs} +62 -3
  59. package/dist/{headers-COGEDoMN.mjs → headers-Q0kZDpk8.mjs} +1 -1
  60. package/dist/{help-TPCjTu6e.mjs → help-Cgdcd-SG.mjs} +4 -4
  61. package/dist/help-Cp3K5m1w.mjs +1 -0
  62. package/dist/index.d.mts +4 -4
  63. package/dist/index.mjs +23 -23
  64. package/dist/{info-EsDyihwf.mjs → info-BbxQ34kk.mjs} +4 -4
  65. package/dist/{init-a4lVagrb.mjs → init-zyRj3QRw.mjs} +14 -14
  66. package/dist/{link-CE55DDzS.mjs → link-DAFXuIER.mjs} +2 -2
  67. package/dist/{list-CxRthQks.mjs → list-BTIcC3W9.mjs} +2 -2
  68. package/dist/{live-Kc55iuOQ.d.mts → live-DBybyDt0.d.mts} +2 -2
  69. package/dist/{live-CYJ4KGoR.mjs → live-Dw7NF1t2.mjs} +1 -1
  70. package/dist/load-user-env-ztmIyiLx.mjs +34 -0
  71. package/dist/{local-d1-CFcH9Bx3.mjs → local-d1-BnVb7Fem.mjs} +1 -1
  72. package/dist/login-DBs8JuSl.mjs +1 -0
  73. package/dist/{login-AfcSGSmE.mjs → login-DOE-MkeK.mjs} +2 -2
  74. package/dist/{logs-BgRJuvb1.mjs → logs-CUsjihc3.mjs} +2 -2
  75. package/dist/migrate-BYhoIK9R.mjs +1 -0
  76. package/dist/{migrate-BNAh6m_C.mjs → migrate-DtoKdGas.mjs} +4 -4
  77. package/dist/nitro.mjs +3 -3
  78. package/dist/{node-CXFUw0Uz.mjs → node-D9dPyUr0.mjs} +2 -2
  79. package/dist/operator-ai-logging-DFTEp81Z.mjs +121 -0
  80. package/dist/{operator-args-DGTuCdSE.mjs → operator-args-BCCohcz3.mjs} +3 -2
  81. package/dist/{operator-cmd-C-viB7Si.mjs → operator-cmd-CQOQrUiO.mjs} +26 -6
  82. package/dist/operator-cmd-xCACDtT1.mjs +1 -0
  83. package/dist/pages/client.d.mts +1 -1
  84. package/dist/pages/client.mjs +15 -13
  85. package/dist/pages/head.d.mts +2 -2
  86. package/dist/pages/head.mjs +1 -1
  87. package/dist/pages/index.d.mts +2 -2
  88. package/dist/pages/index.mjs +5 -5
  89. package/dist/pages/islands-plugin.d.mts +5 -1
  90. package/dist/pages/islands-plugin.mjs +6 -2
  91. package/dist/pages/protocol.d.mts +2 -2
  92. package/dist/pages/protocol.mjs +1 -1
  93. package/dist/platform-args-DSi4_M8n.mjs +1 -0
  94. package/dist/{platform-args-CiYeZmc5.mjs → platform-args-DtpHS_75.mjs} +1 -1
  95. package/dist/{platform-auth-config-Dt2qEc2w.mjs → platform-auth-config-fLwIS5VG.mjs} +3 -3
  96. package/dist/{platform-auth-protection-B7TaF-PZ.mjs → platform-auth-protection-BTRI_YwD.mjs} +2 -2
  97. package/dist/{platform-auth-recovery-suXSteJ6.mjs → platform-auth-recovery-DPK2Mvmo.mjs} +2 -2
  98. package/dist/{platform-cmd-DuAsIxbU.mjs → platform-cmd-BLy5uCa-.mjs} +1 -1
  99. package/dist/{platform-cmd-9rvYBBtr.mjs → platform-cmd-HS_FSthn.mjs} +5 -5
  100. package/dist/{platform-domain-DhH_vDr6.mjs → platform-domain-CHpcq_qg.mjs} +2 -2
  101. package/dist/{platform-lifecycle-3uI-E2bF.mjs → platform-lifecycle-B6LUBwjS.mjs} +1 -1
  102. package/dist/{platform-lifecycle-CXmXe2xt.mjs → platform-lifecycle-D2RS7DE0.mjs} +236 -26
  103. package/dist/{platform-management-PdrgDQTe.mjs → platform-management-C-T0ch4y.mjs} +1 -1
  104. package/dist/{platform-management-BBCHfwji.mjs → platform-management-d3ETv3Dw.mjs} +14 -14
  105. package/dist/{platform-plans-config-BGwkXYDM.mjs → platform-plans-config-B7yJQKf7.mjs} +114 -30
  106. package/dist/{platform-recovery-C8NxXGRR.mjs → platform-recovery-DS5CAsly.mjs} +2 -2
  107. package/dist/{plugin-inference-CErfTgEx.mjs → plugin-inference-DZHmVe1f.mjs} +3 -3
  108. package/dist/{prepare-BDKWZgfL.mjs → prepare-AVM4Hj3T.mjs} +8 -8
  109. package/dist/prepare-BSXKz6m8.mjs +1 -0
  110. package/dist/{prepare-BLrzXjIl.mjs → prepare-DMk8NAO-.mjs} +1 -1
  111. package/dist/{project-cmd-DzGvxXKH.mjs → project-cmd-TQKAOTMV.mjs} +15 -15
  112. package/dist/{project-paths-G0yut6Zz.mjs → project-paths-CUhCPMpK.mjs} +33 -2
  113. package/dist/{project-team-C5XtHbZk.mjs → project-team-B1OKeb-T.mjs} +1 -1
  114. package/dist/{project-token-B4D5yhHQ.mjs → project-token-RW_wpmN-.mjs} +1 -1
  115. package/dist/{project-tsconfig-nhnTWO_Y.mjs → project-tsconfig-MyRJgufB.mjs} +1 -1
  116. package/dist/{project-zero-trust--0LvktDg.mjs → project-zero-trust-TNc66p0_.mjs} +1 -1
  117. package/dist/{protocol-B1Tvc9-x.mjs → protocol-IPSWHolJ.mjs} +54 -19
  118. package/dist/{protocol-Cg2I81NA.d.mts → protocol-YS3tbxWE.d.mts} +2 -2
  119. package/dist/{provision-CAcrauvr.mjs → provision-BLdkpFT4.mjs} +1 -1
  120. package/dist/{provision-C3yiHdld.mjs → provision-bgQTi5QZ.mjs} +2 -2
  121. package/dist/redirect-Dqb4fEc5.mjs +80 -0
  122. package/dist/{requests-CrRiTgQA.mjs → requests-Cj15-yrI.mjs} +1 -1
  123. package/dist/{rollback-BsmQyj-Q.mjs → rollback-CYnkng7B.mjs} +2 -2
  124. package/dist/{route-types-CgtlFCDz.mjs → route-types-C6eAOmOj.mjs} +1 -1
  125. package/dist/runtime/auth.d.mts +1 -1
  126. package/dist/runtime/auth.mjs +1 -1
  127. package/dist/runtime/better-auth-mysql.d.mts +1 -1
  128. package/dist/runtime/better-auth-mysql.mjs +1 -1
  129. package/dist/runtime/better-auth-pg.d.mts +1 -1
  130. package/dist/runtime/better-auth-pg.mjs +1 -1
  131. package/dist/runtime/better-auth.d.mts +1 -1
  132. package/dist/runtime/better-auth.mjs +1 -1
  133. package/dist/runtime/client-react.d.mts +1 -1
  134. package/dist/runtime/client-solid.d.mts +1 -1
  135. package/dist/runtime/client-svelte.d.mts +1 -1
  136. package/dist/runtime/client-vue.d.mts +1 -1
  137. package/dist/runtime/client.d.mts +1 -1
  138. package/dist/runtime/handler.d.mts +1 -1
  139. package/dist/runtime/live-client.d.mts +1 -1
  140. package/dist/runtime/live-server.mjs +1 -1
  141. package/dist/runtime/live.d.mts +1 -1
  142. package/dist/runtime/live.mjs +1 -1
  143. package/dist/runtime/routing.d.mts +2 -2
  144. package/dist/runtime/routing.mjs +6 -5
  145. package/dist/runtime/validator.d.mts +1 -1
  146. package/dist/runtime/ws-server.d.mts +3 -3
  147. package/dist/runtime/ws-server.mjs +1 -1
  148. package/dist/runtime/ws.d.mts +1 -1
  149. package/dist/{scan-BJ3bj6aP.mjs → scan-4YOxDaw2.mjs} +2 -2
  150. package/dist/{secret-D0g5oBsP.mjs → secret-BSf7dgg_.mjs} +3 -3
  151. package/dist/{action-key-ByZ6DDld.mjs → url-DaehRGKR.mjs} +43 -1
  152. package/dist/{version-metadata-eUd6Ar_U.mjs → version-metadata-CeftH0fQ.mjs} +1 -1
  153. package/dist/{wrangler-k40T7XTQ.mjs → wrangler-B1gkT_wC.mjs} +3 -3
  154. package/dist/wrangler-fNGvPTlO.mjs +1 -0
  155. package/dist/{wrapper-CVMZarxf.mjs → wrapper-xJ4LP5A7.mjs} +3 -3
  156. package/dist/{ws--U7QicYy.d.mts → ws-C2zy0QBf.d.mts} +2 -2
  157. package/docs/guide/ai.md +1 -1
  158. package/docs/guide/app-types.md +1 -1
  159. package/docs/guide/auth.md +22 -27
  160. package/docs/guide/database/d1.md +4 -2
  161. package/docs/guide/database.md +29 -27
  162. package/docs/guide/deployment.md +2 -2
  163. package/docs/guide/edge/headers.md +3 -3
  164. package/docs/guide/edge/prerendering.md +5 -5
  165. package/docs/guide/edge/redirects.md +1 -1
  166. package/docs/guide/edge/revalidation.md +4 -2
  167. package/docs/guide/edge/rewrites.md +1 -1
  168. package/docs/guide/edge/static-assets.md +4 -0
  169. package/docs/guide/email/sending.md +4 -2
  170. package/docs/guide/live.md +1 -1
  171. package/docs/guide/pages-routing/actions-and-forms.md +25 -7
  172. package/docs/guide/pages-routing/errors.md +17 -9
  173. package/docs/guide/pages-routing/head.md +44 -1
  174. package/docs/guide/pages-routing/islands.md +3 -1
  175. package/docs/guide/pages-routing/layouts.md +2 -2
  176. package/docs/guide/pages-routing/loaders.md +3 -1
  177. package/docs/guide/pages-routing/markdown.md +5 -3
  178. package/docs/guide/pages-routing/overview.md +14 -21
  179. package/docs/guide/platform/administration/connected-apps.md +10 -3
  180. package/docs/guide/platform/administration/email.md +1 -1
  181. package/docs/guide/platform/administration/plans.md +34 -1
  182. package/docs/guide/platform/administration/projects.md +6 -2
  183. package/docs/guide/platform/installation/credentials.md +12 -10
  184. package/docs/guide/platform/installation/maintenance.md +7 -1
  185. package/docs/guide/platform/installation/setup.md +8 -7
  186. package/docs/guide/queues.md +1 -1
  187. package/docs/guide/server-routing.md +2 -2
  188. package/docs/guide/sse.md +1 -1
  189. package/docs/guide/ssg.md +17 -6
  190. package/docs/guide/storage.md +1 -1
  191. package/docs/guide/testing.md +9 -7
  192. package/docs/guide/type-safety.md +23 -21
  193. package/docs/integrations/cloudflare.md +6 -2
  194. package/docs/integrations/frameworks/nuxt.md +1 -1
  195. package/docs/integrations/hono.md +21 -0
  196. package/docs/integrations/nodejs-bun-deno.md +4 -4
  197. package/docs/reference/api/auth.md +22 -4
  198. package/docs/reference/api/database.md +2 -2
  199. package/docs/reference/api/pages.md +17 -13
  200. package/docs/reference/api/resources.md +1 -1
  201. package/docs/reference/api/rewrites.md +8 -4
  202. package/docs/reference/api.md +1 -1
  203. package/docs/reference/cli/deploy.md +4 -2
  204. package/docs/reference/cli/platform-config.md +3 -3
  205. package/docs/reference/cli/platform-users.md +58 -11
  206. package/docs/reference/cli.md +1 -1
  207. package/docs/reference/config.md +7 -3
  208. package/package.json +7 -7
  209. package/skills/void/SKILL.md +1 -1
  210. package/dist/client-D1Vz1Zep.mjs +0 -1
  211. package/dist/deploy-DMieisRu.mjs +0 -2
  212. package/dist/discover-1DJD4YXD.mjs +0 -1
  213. package/dist/gen-M5fNQKfH.mjs +0 -1
  214. package/dist/help-CItQVDL4.mjs +0 -1
  215. package/dist/load-user-env-CSwdofj0.mjs +0 -48
  216. package/dist/login-ZHsAm-I6.mjs +0 -1
  217. package/dist/migrate-BflbbZQK.mjs +0 -1
  218. package/dist/operator-cmd-D6qNuJ_z.mjs +0 -1
  219. package/dist/platform-args-DJvF1-kl.mjs +0 -1
  220. package/dist/prepare-a1_5usAn.mjs +0 -1
  221. package/dist/url-CuoEn0o3.mjs +0 -43
  222. package/dist/wrangler-R3kMdJfw.mjs +0 -1
@@ -0,0 +1,121 @@
1
+ import { t as cfAccessHeaders } from "./cf-access-pejlJmuy.mjs";
2
+ import { t as ensurePlatformAccessToken } from "./cf-access-Dnyw8KFY.mjs";
3
+ import { r as OperatorClientError } from "./operator-client-XvXTkea6.mjs";
4
+ import { h as sanitizeTerminalText } from "./output-DNVILSz2.mjs";
5
+ import { n as readPlatformDiscoveryResponse } from "./platform-discovery-B0eZjZ3B.mjs";
6
+ import { AI_LOGGING_SETTLE_MS } from "@void/platform/ai-logging";
7
+ function text(value) {
8
+ return typeof value === "string" ? sanitizeTerminalText(value) : "";
9
+ }
10
+ function record(value) {
11
+ return value && typeof value === "object" && !Array.isArray(value) ? value : null;
12
+ }
13
+ /** `14:03:20 UTC`, or null when the value is not a time. */
14
+ function utcTime(value, offsetMs = 0) {
15
+ const time = typeof value === "string" ? Date.parse(value) : NaN;
16
+ if (Number.isNaN(time)) return null;
17
+ return `${new Date(time + offsetMs).toISOString().slice(11, 19)} UTC`;
18
+ }
19
+ /** `plan "pro"`, naming the default plan an unknown plan ID follows. */
20
+ function planLabel(fields) {
21
+ const plan = `plan "${text(fields.planId)}"`;
22
+ if (fields.planKnown === false) return `${plan} (not in catalog; uses default plan "${text(fields.defaultPlanId)}")`;
23
+ return plan;
24
+ }
25
+ /** Where the effective mode comes from, or null for a platform that does not say. */
26
+ function sourceText(fields) {
27
+ if (typeof fields.planId !== "string") return null;
28
+ const planDefault = `${planLabel(fields)} default: ${text(fields.planMode) || "inherit"}`;
29
+ switch (fields.source) {
30
+ case "project": return `set on project; ${planDefault}`;
31
+ case "plan": return `from ${planLabel(fields)}`;
32
+ case "gateway": return `AI Gateway setting; ${planDefault}`;
33
+ default: return null;
34
+ }
35
+ }
36
+ function effective(fields) {
37
+ return text(fields.effective) || text(fields.mode);
38
+ }
39
+ function withSource(mode, fields) {
40
+ const source = sourceText(fields);
41
+ return source ? `${mode} (${source})` : mode;
42
+ }
43
+ /** The `project ai-logging` result: the setting and when new requests follow it. */
44
+ function aiLoggingChangeLines(projectId, result) {
45
+ const lines = [`AI logging for ${sanitizeTerminalText(projectId)}: ${withSource(effective(result), result)}`];
46
+ const expectedBy = utcTime(result.expectedBy);
47
+ if (expectedBy) lines.push(`New AI requests are expected to follow it by ${expectedBy} (normally within 2 minutes).`);
48
+ return lines;
49
+ }
50
+ /** The `project ai-logging --plan` preview: current and new effective modes. */
51
+ function aiLoggingPreviewLines(projectId, preview) {
52
+ const previous = text(preview.previous);
53
+ const next = effective(preview);
54
+ const change = previous ? `${previous} → ${next}` : next;
55
+ return [`AI logging for ${sanitizeTerminalText(projectId)}: ${withSource(change, preview)}`, "No change was made. Run the command again without --plan to apply it."];
56
+ }
57
+ const STATES = {
58
+ applied: () => "applied",
59
+ pending: (fields) => {
60
+ const by = utcTime(fields.publishedAt, AI_LOGGING_SETTLE_MS);
61
+ return by ? `pending (expected by ${by})` : "pending (normally within 2 minutes)";
62
+ },
63
+ pending_plan_publish: () => "pending (the plan default is still being published)",
64
+ drift: (fields) => `drift (published: ${text(fields.published) || "unknown value"})`,
65
+ unknown: () => "state unknown (the published setting could not be read)"
66
+ };
67
+ /**
68
+ * `project show` line, such as `metadata (from plan "pro") — applied`, or null
69
+ * when the response has no AI logging data.
70
+ */
71
+ function aiLoggingStatusLine(value) {
72
+ const fields = record(value);
73
+ if (!fields || typeof fields.mode !== "string") return null;
74
+ const state = typeof fields.state === "string" && Object.hasOwn(STATES, fields.state) ? STATES[fields.state] : void 0;
75
+ const summary = withSource(effective(fields), fields);
76
+ return `AI Gateway logging: ${state ? `${summary} — ${state(fields)}` : summary}`;
77
+ }
78
+ async function probePlatformVersion(origin) {
79
+ ensurePlatformAccessToken(origin);
80
+ let response;
81
+ try {
82
+ response = await fetch(`${origin}/.well-known/void-platform`, {
83
+ headers: {
84
+ Accept: "application/json",
85
+ ...cfAccessHeaders(process.env, origin)
86
+ },
87
+ redirect: "manual",
88
+ signal: AbortSignal.timeout(15e3)
89
+ });
90
+ } catch {
91
+ return { kind: "unknown" };
92
+ }
93
+ if (response.status === 404) {
94
+ await response.body?.cancel();
95
+ return { kind: "missing" };
96
+ }
97
+ try {
98
+ return {
99
+ kind: "version",
100
+ version: (await readPlatformDiscoveryResponse(origin, response)).platformVersion
101
+ };
102
+ } catch {
103
+ return { kind: "unknown" };
104
+ }
105
+ }
106
+ /**
107
+ * Refuses `project ai-logging` on a platform before AI logging settings existed.
108
+ * It reads the platform version instead of guessing from a 404, because "Project
109
+ * not found" is also a 404. When the version cannot be read, the request runs and
110
+ * reports its own error.
111
+ */
112
+ async function assertAiLoggingPlatform(origin) {
113
+ const probe = await probePlatformVersion(origin);
114
+ if (probe.kind === "unknown") return;
115
+ if (probe.kind === "version") {
116
+ const { isOlderPlatformVersion } = await import("./client-66c0RLDM.mjs");
117
+ if (isOlderPlatformVersion(probe.version, "1.8.0") !== true) return;
118
+ }
119
+ throw new OperatorClientError("This platform does not support AI logging policies. Run `void platform upgrade`.", "unsupported");
120
+ }
121
+ export { utcTime as a, assertAiLoggingPlatform as i, aiLoggingPreviewLines as n, aiLoggingStatusLine as r, aiLoggingChangeLines as t };
@@ -89,7 +89,7 @@ const operatorCommands = [
89
89
  {
90
90
  group: "project",
91
91
  action: "show",
92
- description: "Inspect a project and its resources",
92
+ description: "Inspect a project, its resources, and its effective AI Gateway logging",
93
93
  path: "/projects/:id",
94
94
  positional: ["id"]
95
95
  },
@@ -112,9 +112,10 @@ const operatorCommands = [
112
112
  {
113
113
  group: "project",
114
114
  action: "ai-logging",
115
- description: "Set AI Gateway logging: inherit, off, metadata, or full",
115
+ description: "Set AI Gateway logging (inherit, off, metadata, or full); new AI requests normally follow it within 2 minutes",
116
116
  path: "/projects/:id/ai-logging",
117
117
  positional: ["id", "mode"],
118
+ usage: ["void platform project ai-logging <project-id> <inherit|off|metadata|full> [options]"],
118
119
  method: "POST"
119
120
  },
120
121
  {
@@ -1,3 +1,4 @@
1
+ import { i as assertAiLoggingPlatform, n as aiLoggingPreviewLines, r as aiLoggingStatusLine, t as aiLoggingChangeLines } from "./operator-ai-logging-DFTEp81Z.mjs";
1
2
  import { a as resolveOperatorOrigin, i as removeOperatorToken, n as readOperatorApiTokenStdin, o as saveOperatorToken, r as readOperatorToken, t as exchangeOperatorSession } from "./operator-auth-CD3pap65.mjs";
2
3
  import { n as OperatorClient, r as OperatorClientError } from "./operator-client-XvXTkea6.mjs";
3
4
  import { h as sanitizeTerminalText, i as dim, m as printSuccess } from "./output-DNVILSz2.mjs";
@@ -180,8 +181,8 @@ async function runAuth(origin, args) {
180
181
  if (args.action === "login" || args.action === "token" && args.tokenStdin) {
181
182
  if (!args.tokenStdin && !process.stdin.isTTY) throw new OperatorClientError("Browser login requires an interactive terminal. Use --token-stdin to exchange an API session.", "interactive_login_required");
182
183
  const apiToken = args.tokenStdin ? await readOperatorApiTokenStdin() : await (async () => {
183
- const { discoverPlatform } = await import("./platform-cmd-DuAsIxbU.mjs");
184
- const { selectPlatformLoginMethod } = await import("./login-ZHsAm-I6.mjs");
184
+ const { discoverPlatform } = await import("./platform-cmd-BLy5uCa-.mjs");
185
+ const { selectPlatformLoginMethod } = await import("./login-DBs8JuSl.mjs");
185
186
  const { runPlatformLogin } = await import("./auth-BN0NU9dz.mjs");
186
187
  return runPlatformLogin(origin, (await selectPlatformLoginMethod(await discoverPlatform(origin), args.provider)).id, (url) => process.stderr.write(`Sign in at ${url}\n`));
187
188
  })();
@@ -360,9 +361,13 @@ async function migrateDeploymentAssets(client, origin, args) {
360
361
  };
361
362
  }
362
363
  }
364
+ /** The project ID from the request path `/projects/:id/ai-logging`. */
365
+ function aiLoggingProjectId(args) {
366
+ return decodeURIComponent(args.path.slice(10, -11));
367
+ }
363
368
  async function runOperatorCommand(args) {
364
369
  if (!args.action) {
365
- const { printHelpPage } = await import("./help-CItQVDL4.mjs");
370
+ const { printHelpPage } = await import("./help-Cp3K5m1w.mjs");
366
371
  printHelpPage(["platform", args.group]);
367
372
  return;
368
373
  }
@@ -372,6 +377,8 @@ async function runOperatorCommand(args) {
372
377
  if (args.method === "POST") {
373
378
  if (!args.plan && !args.yes && (!process.stdin.isTTY || !process.stderr.isTTY)) throw new OperatorClientError("Mutations in non-interactive mode require --yes or --plan.", "confirmation_required");
374
379
  if (args.group === "deployment" && args.action === "migrate-assets") return migrateDeploymentAssets(client, origin, args);
380
+ const aiLogging = args.group === "project" && args.action === "ai-logging";
381
+ if (aiLogging) await assertAiLoggingPlatform(origin);
375
382
  if (args.tokenStdin && (args.group === "email" && (args.action === "domain-add" || args.action === "domain-remove") || args.group === "zero-trust" && args.action === "configure")) args = {
376
383
  ...args,
377
384
  body: {
@@ -395,6 +402,10 @@ async function runOperatorCommand(args) {
395
402
  recoveryFence = { recoveryFence: target.recoveryFence };
396
403
  }
397
404
  if (args.group === "email" && args.action === "domain-add" && args.body.outboundOnly === true && preview.target?.inboundMode !== "none") throw new OperatorClientError("This platform does not support outbound-only email domains. Upgrade it first. No change was requested.", "unsupported");
405
+ if (aiLogging && args.plan && !args.json) {
406
+ console.log(aiLoggingPreviewLines(aiLoggingProjectId(args), preview).join("\n"));
407
+ return;
408
+ }
398
409
  if (!await confirmOperatorMutation(origin, preview, args)) return;
399
410
  const body = {
400
411
  ...args.body,
@@ -402,11 +413,16 @@ async function runOperatorCommand(args) {
402
413
  ...args.group === "project" && args.action === "normalize" ? { expected: preview.changes } : {},
403
414
  ...recoveryFence
404
415
  };
405
- outputMutation(await client.request(args.path, {
416
+ const result = await client.request(args.path, {
406
417
  method: "POST",
407
418
  body,
408
419
  timeoutMs: args.timeoutMs
409
- }), args);
420
+ });
421
+ if (aiLogging && !args.json) {
422
+ console.log(aiLoggingChangeLines(aiLoggingProjectId(args), result).join("\n"));
423
+ return;
424
+ }
425
+ outputMutation(result, args);
410
426
  } else if (args.follow) await followOperatorLogs(client, args);
411
427
  else {
412
428
  const result = await client.request(args.path, { query: args.query });
@@ -416,7 +432,11 @@ async function runOperatorCommand(args) {
416
432
  "Deployments:",
417
433
  ...eventLines(result.deployments, " ")
418
434
  ].join("\n"));
419
- else output(result, args.json);
435
+ else if (args.group === "project" && args.action === "show" && !args.json) {
436
+ const { aiLogging, ...project } = result;
437
+ const line = aiLoggingStatusLine(aiLogging);
438
+ console.log((line ? [...humanLines(project), line] : humanLines(result)).join("\n"));
439
+ } else output(result, args.json);
420
440
  if (result.allOk === false) process.exitCode = 1;
421
441
  }
422
442
  }
@@ -0,0 +1 @@
1
+ export { a as runOperatorCommand } from "./operator-cmd-CQOQrUiO.mjs";
@@ -1,5 +1,5 @@
1
1
  import { d as interpolateRouteParams, p as toUrlString } from "../route-url-C3JwYrER.mjs";
2
- import { t as PageObject } from "../protocol-Cg2I81NA.mjs";
2
+ import { t as PageObject } from "../protocol-YS3tbxWE.mjs";
3
3
  import { t as BoundaryManifest } from "../boundary-plans-CRmWH68v.mjs";
4
4
  import { a as LinkPrefetchValue, i as LinkPrefetchStrategy, n as CacheForInput, r as CacheForResult } from "../prefetch-NdNeubbH.mjs";
5
5
  import { n as ErrorPageProps, o as PageError } from "../types-IPut3_Yx.mjs";
@@ -1,8 +1,8 @@
1
1
  import { r as toUrlString, t as interpolateRouteParams } from "../route-url-CfCR4oMj.mjs";
2
- import { c as withPageQuery, o as searchWithoutActionKey, t as PRESERVED_QUERY_HEADER } from "../action-key-ByZ6DDld.mjs";
2
+ import { c as searchWithoutActionKey, n as isSameOrigin, r as PRESERVED_QUERY_HEADER, t as decodePagePath, u as withPageQuery } from "../url-DaehRGKR.mjs";
3
3
  import { r as parseCacheFor, t as PrefetchCache } from "../prefetch-Dx2jIbtg.mjs";
4
+ import { t as fetchPages } from "../redirect-Dqb4fEc5.mjs";
4
5
  import { a as serializePageData, n as decodePageData, r as deserializePageData, t as ISLAND_FRONTMATTER_ID } from "../serialize-Pf-CIQK_.mjs";
5
- import { n as isSameOrigin, t as decodePagePath } from "../url-CuoEn0o3.mjs";
6
6
  import { PAGES_PROTOCOL_VERSION, readUsageLimit } from "@void/edge";
7
7
  // src/pages/action-result.ts
8
8
  var VoidActionError = class extends Error {
@@ -370,7 +370,7 @@ function abortSignalPromise(signal) {
370
370
  }
371
371
  async function fetchPageResponse(fetchUrl, init) {
372
372
  try {
373
- return await fetch(fetchUrl, init);
373
+ return await fetchPages(fetchUrl, init);
374
374
  } catch (error) {
375
375
  if (init.signal?.aborted || isAbortError(error)) throw abortError();
376
376
  return null;
@@ -600,8 +600,9 @@ async function createPageNavigationEngine(config) {
600
600
  return fetchPageResponse(url, {
601
601
  method: "GET",
602
602
  headers
603
- }).then(async (r) => {
604
- if (!r || r.redirected) return null;
603
+ }).then(async (result) => {
604
+ const r = result?.response;
605
+ if (!r || result?.redirectedTo) return null;
605
606
  if (!r.headers.get("X-VoidPages")) return (await loadStaticPageData(url, r, void 0, !STATIC_PAGE_DATA_FAST_PATH))?.pageData ?? null;
606
607
  const data = decodePageData(await r.json());
607
608
  if (!r.ok || /no-store/i.test(r.headers.get("Cache-Control") ?? "")) uncachedPayloads.add(data);
@@ -689,15 +690,16 @@ async function createPageNavigationEngine(config) {
689
690
  deferredRegistry.setup(pageData, staticPageData.resolvedDeferred);
690
691
  }
691
692
  }
692
- const response = pageData === void 0 ? method === "GET" ? await fetchPageResponse(fetchUrl, fetchOptions) : await fetch(fetchUrl, fetchOptions) : null;
693
+ const fetched = pageData === void 0 ? method === "GET" ? await fetchPageResponse(url, fetchOptions) : await fetchPages(url, fetchOptions) : null;
694
+ const response = fetched?.response ?? null;
693
695
  if (pageData === void 0 && !response) {
694
696
  window.location.href = url;
695
697
  return;
696
698
  }
697
- if (response?.redirected) {
698
- const redirectUrl = new URL(response.url, window.location.origin);
699
+ if (fetched?.redirectedTo) {
700
+ const redirectUrl = new URL(fetched.redirectedTo, window.location.origin);
699
701
  if (!isSameOrigin(redirectUrl, window.location.origin)) {
700
- window.location.href = method === "GET" ? url : response.url;
702
+ window.location.href = fetched.redirectedTo;
701
703
  return;
702
704
  }
703
705
  method = "GET";
@@ -1205,14 +1207,14 @@ function observeLinkVisible(element, onVisible) {
1205
1207
  }
1206
1208
  // src/pages/island-action.ts
1207
1209
  async function submitIslandAction(url, method, data) {
1208
- const response = await fetch(url, {
1210
+ const { response, redirectedTo } = await fetchPages(url, {
1209
1211
  method,
1210
1212
  headers: { "Content-Type": "application/json" },
1211
1213
  body: JSON.stringify(data)
1212
- });
1213
- if (response.redirected) return {
1214
+ }, false);
1215
+ if (redirectedTo) return {
1214
1216
  kind: "redirect",
1215
- url: response.url
1217
+ url: redirectedTo
1216
1218
  };
1217
1219
  if (response.ok) return { kind: "success" };
1218
1220
  const error = await createActionErrorFromResponse(response, url);
@@ -1,2 +1,2 @@
1
- import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-MeF_5M_3.mjs";
2
- export { HeadConfig, HeadDescriptor, renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveHead };
1
+ import { a as renderHeadToString, i as renderBodyAttrs, n as HeadDescriptor, o as renderHtmlAttrs, r as absolutizeHead, s as resolveHead, t as HeadConfig } from "../head-CVO92KEx.mjs";
2
+ export { HeadConfig, HeadDescriptor, absolutizeHead, renderBodyAttrs, renderHeadToString, renderHtmlAttrs, resolveHead };
@@ -1 +1 @@
1
- export { t as renderBodyAttrs, n as renderHeadToString, r as renderHtmlAttrs, i as resolveHead } from "../head-5XPcnG-j.mjs";
1
+ export { t as absolutizeHead, n as renderBodyAttrs, r as renderHeadToString, i as renderHtmlAttrs, a as resolveHead } from "../head-CWJhfUwV.mjs";
@@ -1,6 +1,6 @@
1
- import "../config-CTlUaXWZ.mjs";
1
+ import "../config-CCWVY7DY.mjs";
2
2
  import { a as PageDefinition, c as PageScanResult, i as NamedLayoutDefinition, l as RouteEnvironment, n as ErrorPageProps, o as PageError, r as LayoutDefinition } from "../types-IPut3_Yx.mjs";
3
- import { a as renderHtmlAttrs, i as renderHeadToString, n as HeadDescriptor, o as resolveHead, r as renderBodyAttrs, t as HeadConfig } from "../head-MeF_5M_3.mjs";
3
+ import { a as renderHeadToString, i as renderBodyAttrs, n as HeadDescriptor, o as renderHtmlAttrs, s as resolveHead, t as HeadConfig } from "../head-CVO92KEx.mjs";
4
4
  import { a as LinkPrefetchValue, n as CacheForInput } from "../prefetch-NdNeubbH.mjs";
5
5
  import { a as serializePageData } from "../serialize-DN-envGQ.mjs";
6
6
  import { t as BoundaryManifest } from "../boundary-plans-CRmWH68v.mjs";
@@ -1,11 +1,11 @@
1
- import { l as resolveNamedLayout, n as scanPages, o as resolveEffectiveLayoutChain, r as generateComponentManifest, s as resolveLayoutChain, t as pageFileEnvironment } from "../scan-BJ3bj6aP.mjs";
2
- import { i as resolveHead, n as renderHeadToString, r as renderHtmlAttrs, t as renderBodyAttrs } from "../head-5XPcnG-j.mjs";
1
+ import { l as resolveNamedLayout, n as scanPages, o as resolveEffectiveLayoutChain, r as generateComponentManifest, s as resolveLayoutChain, t as pageFileEnvironment } from "../scan-4YOxDaw2.mjs";
2
+ import { a as resolveHead, i as renderHtmlAttrs, n as renderBodyAttrs, r as renderHeadToString } from "../head-CWJhfUwV.mjs";
3
3
  import { a as join, n as dirname } from "../dist-DMYe8CZJ.mjs";
4
4
  import { n as assertLinkPrefetchValue } from "../prefetch-Dx2jIbtg.mjs";
5
- import { r as parseRedirectsFile } from "../headers-COGEDoMN.mjs";
6
- import { p as readConfig } from "../config-5oSQhZNj.mjs";
5
+ import { r as parseRedirectsFile } from "../headers-Q0kZDpk8.mjs";
6
+ import { p as readConfig } from "../config-CzFdJYNA.mjs";
7
7
  import { a as serializePageData } from "../serialize-Pf-CIQK_.mjs";
8
- import { r as resolvePagesDir } from "../project-paths-G0yut6Zz.mjs";
8
+ import { r as resolvePagesDir } from "../project-paths-CUhCPMpK.mjs";
9
9
  import { existsSync } from "node:fs";
10
10
  import { normalizePath } from "vite";
11
11
  // src/pages/static-data.ts
@@ -401,7 +401,11 @@ export type IslandClientEntryOptions = {
401
401
  hydrateIsland: string;
402
402
  };
403
403
  export declare function generateIslandClientEntry(options: IslandClientEntryOptions): string;
404
- /** Extract CSS import statements from a file and return them as @import rules. */
404
+ /**
405
+ * Extract CSS import statements from a file and return them as @import rules.
406
+ * @deprecated Void generates island entry imports with generateIslandClientEntry.
407
+ * Use findStaticCssImports to inspect authored imports. Removed in the next major version.
408
+ */
405
409
  export declare function extractCssImports(filePath: string): string;
406
410
  /** Compute which island pages need client-side JavaScript. */
407
411
  export declare function computePagesNeedingClientJS(pageScan: PageScanResult, pagesDir: string, resolvedConfig: ResolvedConfig | null): Set<string>;
@@ -1,5 +1,5 @@
1
1
  import { c as resolve, n as dirname, s as relative } from "../dist-DMYe8CZJ.mjs";
2
- import { a as createBoundaryManifest, d as editIslandSource, f as findIslandImports, n as scanPages, o as resolveEffectiveLayoutChain, p as findStaticCssImports, u as toLayoutId } from "../scan-BJ3bj6aP.mjs";
2
+ import { a as createBoundaryManifest, d as editIslandSource, f as findIslandImports, n as scanPages, o as resolveEffectiveLayoutChain, p as findStaticCssImports, u as toLayoutId } from "../scan-4YOxDaw2.mjs";
3
3
  import { existsSync, readFileSync } from "node:fs";
4
4
  import { isCSSRequest, normalizePath } from "vite";
5
5
  // src/pages/islands-plugin.ts
@@ -223,7 +223,11 @@ function generateIslandClientEntry(options) {
223
223
  lines.push("initIslands(islands, hydrateIsland);");
224
224
  return lines.join("\n");
225
225
  }
226
- /** Extract CSS import statements from a file and return them as @import rules. */
226
+ /**
227
+ * Extract CSS import statements from a file and return them as @import rules.
228
+ * @deprecated Void generates island entry imports with generateIslandClientEntry.
229
+ * Use findStaticCssImports to inspect authored imports. Removed in the next major version.
230
+ */
227
231
  function extractCssImports(filePath) {
228
232
  const code = readFileSync(filePath, "utf-8");
229
233
  return findStaticCssImports(code, filePath).map(({ specifier }) => `@import ${JSON.stringify(specifier)};`).join("\n");
@@ -1,3 +1,3 @@
1
- import { w as ValidationError } from "../handler-BO7Od-z9.mjs";
2
- import { a as handlePageMutation, i as handlePageGet, n as PageRenderResult, o as safeJsonStringify, r as flattenValidationErrors, t as PageObject } from "../protocol-Cg2I81NA.mjs";
1
+ import { w as ValidationError } from "../handler-6fzr_ikp.mjs";
2
+ import { a as handlePageMutation, i as handlePageGet, n as PageRenderResult, o as safeJsonStringify, r as flattenValidationErrors, t as PageObject } from "../protocol-YS3tbxWE.mjs";
3
3
  export { PageObject, PageRenderResult, ValidationError, flattenValidationErrors, handlePageGet, handlePageMutation, safeJsonStringify };
@@ -1,3 +1,3 @@
1
1
  import { t as ValidationError } from "../validation-error-uAAjlsiW.mjs";
2
- import { i as safeJsonStringify, n as handlePageGet, r as handlePageMutation, t as flattenValidationErrors } from "../protocol-B1Tvc9-x.mjs";
2
+ import { i as safeJsonStringify, n as handlePageGet, r as handlePageMutation, t as flattenValidationErrors } from "../protocol-IPSWHolJ.mjs";
3
3
  export { ValidationError, flattenValidationErrors, handlePageGet, handlePageMutation, safeJsonStringify };
@@ -0,0 +1 @@
1
+ export { t as parsePlatformArgs } from "./platform-args-DtpHS_75.mjs";
@@ -1,4 +1,4 @@
1
- import { n as operatorGroups, r as parseOperatorArgs } from "./operator-args-DGTuCdSE.mjs";
1
+ import { n as operatorGroups, r as parseOperatorArgs } from "./operator-args-BCCohcz3.mjs";
2
2
  import { PLATFORM_LOGIN_KINDS, normalizePlatformDashboardUrl, parsePlatformLoginId } from "@void/platform";
3
3
  import { parsePlatformPlanId } from "@void/platform/plans";
4
4
  // src/cli/platform-config-args.ts
@@ -2,7 +2,7 @@ import { A as confirm, K as select, U as password, X as text, z as multiselect }
2
2
  import { u as openBrowser } from "./auth-CCk9Seol.mjs";
3
3
  import { a as resolveOperatorOrigin, r as readOperatorToken } from "./operator-auth-CD3pap65.mjs";
4
4
  import { n as OperatorClient } from "./operator-client-XvXTkea6.mjs";
5
- import { i as humanLines } from "./operator-cmd-C-viB7Si.mjs";
5
+ import { i as humanLines } from "./operator-cmd-CQOQrUiO.mjs";
6
6
  import { l as formatUrl, m as printSuccess } from "./output-DNVILSz2.mjs";
7
7
  import { o as platformPromptAnswer } from "./platform-setup-Casiffqj.mjs";
8
8
  import { parsePlatformAdmissionPolicy, parsePlatformLoginConfiguration } from "@void/platform";
@@ -142,11 +142,11 @@ async function configurationInput(args, existing) {
142
142
  }
143
143
  async function runPlatformAuthConfig(args) {
144
144
  if (args.action === "recover") {
145
- const { runPlatformAuthRecovery } = await import("./platform-auth-recovery-suXSteJ6.mjs");
145
+ const { runPlatformAuthRecovery } = await import("./platform-auth-recovery-DPK2Mvmo.mjs");
146
146
  return runPlatformAuthRecovery(args);
147
147
  }
148
148
  if (args.action === "protection") {
149
- const { runPlatformProtectionConfig } = await import("./platform-auth-protection-B7TaF-PZ.mjs");
149
+ const { runPlatformProtectionConfig } = await import("./platform-auth-protection-BTRI_YwD.mjs");
150
150
  return runPlatformProtectionConfig(args);
151
151
  }
152
152
  const origin = resolveOperatorOrigin(args.connection);
@@ -4,8 +4,8 @@ import { t as ensurePlatformAccessToken } from "./cf-access-Dnyw8KFY.mjs";
4
4
  import { a as resolveOperatorOrigin, r as readOperatorToken } from "./operator-auth-CD3pap65.mjs";
5
5
  import { n as OperatorClient } from "./operator-client-XvXTkea6.mjs";
6
6
  import { m as printSuccess } from "./output-DNVILSz2.mjs";
7
- import { G as checkpointPlatformAccessResources, H as resolvePlatformCloudflareCredential, K as parsePlatformAccessSetupSpec, Y as PlatformCloudflareClient, m as acquirePlatformDatabaseLifecycleLock, n as resolvePlatformInstallDatabaseUrl, q as preparePlatformAccessSetup } from "./platform-lifecycle-CXmXe2xt.mjs";
8
- import { d as verifyPlatformInstallationOwnership, l as selectAuthoritativePlatformManifest } from "./platform-management-BBCHfwji.mjs";
7
+ import { J as parsePlatformAccessSetupSpec, W as resolvePlatformCloudflareCredential, Y as preparePlatformAccessSetup, Z as PlatformCloudflareClient, g as acquirePlatformDatabaseLifecycleLock, n as resolvePlatformInstallDatabaseUrl, q as checkpointPlatformAccessResources } from "./platform-lifecycle-D2RS7DE0.mjs";
8
+ import { d as verifyPlatformInstallationOwnership, l as selectAuthoritativePlatformManifest } from "./platform-management-d3ETv3Dw.mjs";
9
9
  import { S as writePendingInstallationSecrets, c as normalizePlatformApiUrl, m as readInstallationRecoverySecrets, p as promoteInstallationSecrets, t as acquirePlatformLifecycleLock, v as resolveInstallationManifest, x as writeInstallationManifest } from "./platform-registry-DZ_2Xuqd.mjs";
10
10
  import { parsePlatformAccessProtection, platformProtectionProofMessage } from "@void/platform";
11
11
  import { createHmac } from "node:crypto";
@@ -2,8 +2,8 @@ import { A as confirm, tt as isCancel } from "./dist-STQXl8ck.mjs";
2
2
  import { u as openBrowser } from "./auth-CCk9Seol.mjs";
3
3
  import { a as resolveOperatorOrigin } from "./operator-auth-CD3pap65.mjs";
4
4
  import { l as formatUrl, m as printSuccess } from "./output-DNVILSz2.mjs";
5
- import { H as resolvePlatformCloudflareCredential, Y as PlatformCloudflareClient, g as platformDatabaseClientUrl, h as acquirePlatformDatabaseLifecycleLockConnection, n as resolvePlatformInstallDatabaseUrl } from "./platform-lifecycle-CXmXe2xt.mjs";
6
- import { d as verifyPlatformInstallationOwnership, l as selectAuthoritativePlatformManifest } from "./platform-management-BBCHfwji.mjs";
5
+ import { W as resolvePlatformCloudflareCredential, Z as PlatformCloudflareClient, _ as acquirePlatformDatabaseLifecycleLockConnection, n as resolvePlatformInstallDatabaseUrl, v as platformDatabaseClientUrl } from "./platform-lifecycle-D2RS7DE0.mjs";
6
+ import { d as verifyPlatformInstallationOwnership, l as selectAuthoritativePlatformManifest } from "./platform-management-d3ETv3Dw.mjs";
7
7
  import { m as readInstallationRecoverySecrets, t as acquirePlatformLifecycleLock, v as resolveInstallationManifest } from "./platform-registry-DZ_2Xuqd.mjs";
8
8
  import { parsePlatformAccessProtection, parsePlatformAdmissionPolicy, parsePlatformLoginConfiguration, platformAuthenticationRecoveryMessage, validatePlatformAdmissionPolicy } from "@void/platform";
9
9
  import { createCipheriv, createDecipheriv, createHash, createHmac, hkdfSync, randomBytes, randomUUID } from "node:crypto";
@@ -1 +1 @@
1
- export { t as discoverPlatform, r as runPlatformCommand } from "./platform-cmd-9rvYBBtr.mjs";
1
+ export { t as discoverPlatform, r as runPlatformCommand } from "./platform-cmd-HS_FSthn.mjs";
@@ -96,19 +96,19 @@ async function runPlatformCommand(_root, args) {
96
96
  }]
97
97
  });
98
98
  if (isCancel(group)) return;
99
- const { parsePlatformArgs } = await import("./platform-args-DJvF1-kl.mjs");
99
+ const { parsePlatformArgs } = await import("./platform-args-DSi4_M8n.mjs");
100
100
  return runPlatformCommand(_root, parsePlatformArgs(["config", group]));
101
101
  }
102
- const { runPlatformPlansConfig } = await import("./platform-plans-config-BGwkXYDM.mjs");
102
+ const { runPlatformPlansConfig } = await import("./platform-plans-config-B7yJQKf7.mjs");
103
103
  await runPlatformPlansConfig(args);
104
104
  return;
105
105
  }
106
- const { runPlatformAuthConfig } = await import("./platform-auth-config-Dt2qEc2w.mjs");
106
+ const { runPlatformAuthConfig } = await import("./platform-auth-config-fLwIS5VG.mjs");
107
107
  await runPlatformAuthConfig(args);
108
108
  return;
109
109
  }
110
110
  if (args.subcommand === "operator") {
111
- const { runOperatorCommand } = await import("./operator-cmd-D6qNuJ_z.mjs");
111
+ const { runOperatorCommand } = await import("./operator-cmd-xCACDtT1.mjs");
112
112
  await runOperatorCommand(args);
113
113
  return;
114
114
  }
@@ -176,7 +176,7 @@ async function runPlatformCommand(_root, args) {
176
176
  console.log(`Capabilities: ${Object.entries(discovery.capabilities).filter(([, enabled]) => enabled).map(([name]) => name).join(", ")}`);
177
177
  return;
178
178
  }
179
- const { runPlatformLifecycleCommand } = await import("./platform-lifecycle-3uI-E2bF.mjs");
179
+ const { runPlatformLifecycleCommand } = await import("./platform-lifecycle-B6LUBwjS.mjs");
180
180
  await runPlatformLifecycleCommand(args);
181
181
  }
182
182
  function showSavedInstallationStatus(manifest) {
@@ -1,8 +1,8 @@
1
1
  import { A as confirm, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
2
2
  import { t as cfAccessHeaders } from "./cf-access-pejlJmuy.mjs";
3
3
  import { m as printSuccess, p as note } from "./output-DNVILSz2.mjs";
4
- import { C as createPlatformHealthProbeToken, E as recordResource, H as resolvePlatformCloudflareCredential, O as recordPlatformWorkerTraffic, V as assertPlatformOperatorCredentialCanApplyPlan, Y as PlatformCloudflareClient, k as createPlatformInstallPlan, m as acquirePlatformDatabaseLifecycleLock, n as resolvePlatformInstallDatabaseUrl, t as assertNoninteractivePlatformMutationAcknowledged } from "./platform-lifecycle-CXmXe2xt.mjs";
5
- import { d as verifyPlatformInstallationOwnership, l as selectAuthoritativePlatformManifest, o as resolveInstalledPlatformManifest } from "./platform-management-BBCHfwji.mjs";
4
+ import { A as recordPlatformWorkerTraffic, O as recordResource, T as createPlatformHealthProbeToken, U as assertPlatformOperatorCredentialCanApplyPlan, W as resolvePlatformCloudflareCredential, Z as PlatformCloudflareClient, g as acquirePlatformDatabaseLifecycleLock, j as createPlatformInstallPlan, n as resolvePlatformInstallDatabaseUrl, t as assertNoninteractivePlatformMutationAcknowledged } from "./platform-lifecycle-D2RS7DE0.mjs";
5
+ import { d as verifyPlatformInstallationOwnership, l as selectAuthoritativePlatformManifest, o as resolveInstalledPlatformManifest } from "./platform-management-d3ETv3Dw.mjs";
6
6
  import { m as readInstallationRecoverySecrets, t as acquirePlatformLifecycleLock, x as writeInstallationManifest, y as savePlatformConnection } from "./platform-registry-DZ_2Xuqd.mjs";
7
7
  import { PLATFORM_HEALTH_HOSTNAME_LABEL, PLATFORM_REMOTE_INSTALLATION_MANIFEST_KEY, createApplicationRoutes, createPlatformDeploymentManifest, normalizeApplicationDomain } from "@void/platform";
8
8
  // src/cli/platform-domain.ts
@@ -1 +1 @@
1
- export { r as runPlatformLifecycleCommand } from "./platform-lifecycle-CXmXe2xt.mjs";
1
+ export { r as runPlatformLifecycleCommand } from "./platform-lifecycle-D2RS7DE0.mjs";