void 1.12.1 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/{account-cmd-BU1Fy_Bf.mjs → account-cmd-4fQiXYX7.mjs} +6 -6
- package/dist/{application-analysis-DVeN8yoi.mjs → application-analysis-BjEwHTV2.mjs} +19 -13
- package/dist/{application-routing-KKw4Y84h.mjs → application-routing-COCfD2yc.mjs} +1 -1
- package/dist/args-DrnTI35r.mjs +88 -0
- package/dist/args-MnQnqypt.mjs +1 -0
- package/dist/{auth-CqwJwItO.mjs → auth-CeBmolb-.mjs} +3 -3
- package/dist/{auth-A7cZ8aXA.mjs → auth-CvaDxOMi.mjs} +1 -1
- package/dist/{auth-link-Duu2NvN5.mjs → auth-link-I4omV0pL.mjs} +6 -6
- package/dist/{auth-router-vgtOdb9j.mjs → auth-router-CXq4q7bb.mjs} +6 -5
- package/dist/{better-auth-shared-BS3pDQbT.d.mts → better-auth-shared-CrIkcN8I.d.mts} +2 -1
- package/dist/bindings-C7zOgxT3.d.mts +28 -0
- package/dist/browser-run-BKgZVwLk.mjs +124 -0
- package/dist/{build-cmd-B7OJ0U5R.mjs → build-cmd-Biz6u4rn.mjs} +6 -6
- package/dist/{cache-wSpi3aeM.mjs → cache-WkLMUrjQ.mjs} +6 -6
- package/dist/{cancel-deploy-DMWzkAlb.mjs → cancel-deploy-BRsrmyTk.mjs} +6 -5
- package/dist/{cf-access-DHklo7Rg.mjs → cf-access-B21j-nd6.mjs} +1 -1
- package/dist/{cf-build-output-Cso7Vh-t.mjs → cf-build-output-G-7Tdd8b.mjs} +6 -5
- package/dist/cf-build-output-Qc43LWzE.mjs +1 -0
- package/dist/{cf-command-values-5BPBRc9Z.mjs → cf-command-values-cUnJwCyG.mjs} +24 -1
- package/dist/{cf-config-migrate-D271BTiw.mjs → cf-config-migrate-CsbQGzMf.mjs} +200 -94
- package/dist/cf-user-agent-HHTRzfud.mjs +15 -0
- package/dist/cf-version-api-BWHMVtzw.mjs +1 -0
- package/dist/cf-version-api-XEEK2B9A.mjs +856 -0
- package/dist/cf-worker-settings-DJKdy97k.mjs +127 -0
- package/dist/cli/cli.mjs +1 -1
- package/dist/cli/cloudflare-operation-process.mjs +111 -47
- package/dist/cli/env-schema-probe.mjs +3 -3
- package/dist/cli/json-command-process.d.mts +6 -0
- package/dist/cli/json-command-process.mjs +91 -0
- package/dist/{cli-main-BrChcpE3.mjs → cli-main-CJTGhcYN.mjs} +84 -113
- package/dist/{client-eLZwqkPH.mjs → client-0um7Lzze.mjs} +1 -1
- package/dist/{client-DE2m2ldh.mjs → client-BEHI4UWn.mjs} +14 -8
- package/dist/{cloudflare-auth-eWfhdZCk.mjs → cloudflare-auth-iOgRurWm.mjs} +1 -1
- package/dist/{cloudflare-cmd-SsFlJe2B.mjs → cloudflare-cmd-DsSlXbNy.mjs} +5 -5
- package/dist/{cloudflare-config-D9UFH_A5.mjs → cloudflare-config-KPHKf57C.mjs} +2 -2
- package/dist/{cloudflare-connect-BgpHcSg3.mjs → cloudflare-connect-bEtneBjT.mjs} +5 -4
- package/dist/{cloudflare-operations-ByjFGats.mjs → cloudflare-operations-BmICrRnm.mjs} +1 -1
- package/dist/{cloudflare-operations-BIRQkYwL.mjs → cloudflare-operations-D-9psgPQ.mjs} +19 -11
- package/dist/cloudflare-preview-8eLSQPdO.mjs +1 -0
- package/dist/cloudflare-preview-BaeU-m74.mjs +112 -0
- package/dist/{cloudflare-process-60r4Z2Zf.mjs → cloudflare-process-DFNpqV_m.mjs} +57 -29
- package/dist/cloudflare-user-output-DFbD0l4l.mjs +36 -0
- package/dist/collect-Aam0GwAU.mjs +1 -0
- package/dist/{collect-rNLybAnF.mjs → collect-KC4cizWM.mjs} +6 -1
- package/dist/{config-DA6ZbLXO.d.mts → config-BdmM5ZzP.d.mts} +12 -2
- package/dist/{config-BFX5ZB1J.mjs → config-CUYGZqdN.mjs} +2 -2
- package/dist/{config-BSoW3QCB.mjs → config-C_UjzkVS.mjs} +3 -3
- package/dist/{config-DtjrUtPo.mjs → config-Ge-MytMU.mjs} +1 -1
- package/dist/{config-Dv5jri1-.mjs → config-KZAiI3gG.mjs} +32 -6
- package/dist/config-entry.d.mts +1 -1
- package/dist/config-write-dKLINlm2.mjs +80 -0
- package/dist/{connect-D0V0o40j.mjs → connect-Bqq3b9sX.mjs} +10 -9
- package/dist/{create-project-CbuDH5Hv.mjs → create-project-MXoP_rte.mjs} +1 -1
- package/dist/{create-project-8FdN6D2i.mjs → create-project-T-9AIQDe.mjs} +7 -6
- package/dist/{db-BNPIjLkK.mjs → db-B3eoVDNA.mjs} +50 -47
- package/dist/{db-args-CiQVg8SJ.mjs → db-args-BcvTZ8KE.mjs} +1 -1
- package/dist/db-args-Cx1y4vZn.mjs +1 -0
- package/dist/{db-types-B4Cf9dzR.mjs → db-types-BpgXVtQZ.mjs} +1 -1
- package/dist/{delete-WtLEfap2.mjs → delete-Cf6SroAw.mjs} +7 -6
- package/dist/deploy-DZ9j7MC4.mjs +2 -0
- package/dist/{deploy-BgSbagIP.mjs → deploy-UojYUEWr.mjs} +803 -1415
- package/dist/{deploy-managed-static-BWBsxOww.mjs → deploy-managed-static-DV_OmTWf.mjs} +54 -393
- package/dist/{deploy-security-notice-IRGy6Edf.mjs → deploy-security-notice-3jX71IeP.mjs} +6 -4
- package/dist/deploy-summary-Dkl0zvQy.mjs +377 -0
- package/dist/{deploy-transport-BKP_oV9q.mjs → deploy-transport-4ISWxx8n.mjs} +4 -3
- package/dist/deploy.mjs +14 -10
- package/dist/discover-BZWVWeQs.mjs +1 -0
- package/dist/{discover-IcspacCg.mjs → discover-BeFs7OPS.mjs} +1 -1
- package/dist/{dispatch-DIhDA3NI.mjs → dispatch-BUKbPdqb.mjs} +7 -7
- package/dist/{dist-Cr_xGE_K.mjs → dist-BngS28id.mjs} +6 -6
- package/dist/{dist-C47zy_kJ.mjs → dist-x99fIj4n.mjs} +1 -1
- package/dist/{domain-mweyYXSw.mjs → domain-BK6NWkWK.mjs} +7 -7
- package/dist/{drizzle-BJDMPrj7.mjs → drizzle-CnSbVeiZ.mjs} +12 -13
- package/dist/{drizzle-CQ5jWuDL.mjs → drizzle-CrkwVwK8.mjs} +1 -1
- package/dist/{email-DcQNP40O.mjs → email-BBSDV0J5.mjs} +13 -12
- package/dist/{email-cloudflare-DeYH3Ke7.mjs → email-cloudflare-C-guKEbz.mjs} +10 -8
- package/dist/{env-DaAoYR2-.mjs → env-BVnKiGYJ.mjs} +8 -8
- package/dist/{env-EjHqc7m9.mjs → env-CU2tMDdO.mjs} +6 -1
- package/dist/{env-types-D2hBodXP.mjs → env-types-B33fEHRH.mjs} +1 -1
- package/dist/{env-validation-j9pjCDfA.mjs → env-validation-BnAsx6gz.mjs} +1 -1
- package/dist/{env-validation-D-v5_CWL.mjs → env-validation-SXsjd6-Z.mjs} +4 -4
- package/dist/{fetch-CiEsvjpP.mjs → fetch-DL7OCgwB.mjs} +1 -1
- package/dist/{fetch-stream-BIG5lHW6.mjs → fetch-stream-DEilLTCc.mjs} +2 -2
- package/dist/{gen-aOtHhZLD.mjs → gen-BxuIN1bz.mjs} +10 -9
- package/dist/gen-DaayFP9v.mjs +1 -0
- package/dist/{generate-Dq2Bgw75.mjs → generate-Ck-L3e0e.mjs} +1 -1
- package/dist/{generate-C3ZAqCy-.mjs → generate-t1dDUYZZ.mjs} +1 -1
- package/dist/{github-cmd-BR19Ffdz.mjs → github-cmd-B7U9Hjmi.mjs} +7 -6
- package/dist/{handler-DCrDLzw2.mjs → handler-2wAywJgj.mjs} +11 -9
- package/dist/{headers-DqBsjDxg.mjs → headers-DPI4MDGC.mjs} +1 -1
- package/dist/{help-DvClCzqL.mjs → help-Bgiu5PMX.mjs} +36 -4
- package/dist/help-DWGHmt_n.mjs +1 -0
- package/dist/html-5sfGLjiI.d.mts +3 -0
- package/dist/html-DPSOBDCh.mjs +1 -0
- package/dist/{index-Dn2mkPr2.d.mts → index-CqF8_p9C.d.mts} +5 -105
- package/dist/index-Cvqotnhc.d.mts +91 -0
- package/dist/{index-BQ5qYiAw.d.mts → index-DAinHkj8.d.mts} +1 -1
- package/dist/{index-8cAgNdb6.d.mts → index-lnEWwVAS.d.mts} +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +536 -170
- package/dist/{info-P6MBiVJi.mjs → info-7COlpAfY.mjs} +32 -20
- package/dist/{init-C8YpkGIP.mjs → init-DftAx3L4.mjs} +237 -88
- package/dist/input-jcps6lAn.mjs +64 -0
- package/dist/interactive-prompts-EK0dilFu.mjs +43 -0
- package/dist/{limits-BCoQLpn3.mjs → limits-3I3VdX2E.mjs} +4 -1
- package/dist/{link-Dyz9IGcM.mjs → link-C3WMNFTG.mjs} +7 -7
- package/dist/{list-VGYBMjmx.mjs → list-K4EGVUZN.mjs} +9 -9
- package/dist/{load-user-env-B8qC0Q2Y.mjs → load-user-env-uMmQJ-Th.mjs} +1 -1
- package/dist/{local-d1-CYOYkVwO.mjs → local-d1-BtLCVC1p.mjs} +2 -2
- package/dist/login-BJwPhV_S.mjs +1 -0
- package/dist/{login-CWFr-G2I.mjs → login-DaugBfBG.mjs} +6 -5
- package/dist/{logs-kS1wuR4b.mjs → logs-BR2szdN5.mjs} +6 -6
- package/dist/migrate-BHD46A31.mjs +1 -0
- package/dist/{migrate-BNZL1hee.mjs → migrate-Dtlg8fC6.mjs} +7 -7
- package/dist/nitro.mjs +3 -3
- package/dist/{node-DVJWfV6s.mjs → node-BbKlLpHa.mjs} +5 -5
- package/dist/{operator-ai-logging-DD0n6zc2.mjs → operator-ai-logging-4Nvs6Ut3.mjs} +5 -5
- package/dist/{operator-args-nvetCWuz.mjs → operator-args-DWvqq3Ws.mjs} +31 -15
- package/dist/{operator-auth-DMvn-y9X.mjs → operator-auth-DtRMGXYY.mjs} +2 -2
- package/dist/{operator-client-dFNnXfyB.mjs → operator-client-BG0VIMMM.mjs} +2 -2
- package/dist/operator-cmd-CR3Q9k4c.mjs +1 -0
- package/dist/{operator-cmd-a7yOf2tH.mjs → operator-cmd-D4YcMKO-.mjs} +9 -9
- package/dist/{operator-security-D5MToU0p.mjs → operator-security-nVLo8vDt.mjs} +11 -5
- package/dist/{output-BZLnu0z8.mjs → output-DhJgS6Ve.mjs} +1 -1
- package/dist/output-OYwcEwok.mjs +1 -0
- package/dist/pages/client.d.mts +34 -20
- package/dist/pages/client.mjs +172 -74
- package/dist/pages/index.d.mts +11 -4
- package/dist/pages/index.mjs +5 -5
- package/dist/pages/islands-plugin.d.mts +2 -2
- package/dist/pages/islands-plugin.mjs +5 -3
- package/dist/pages/protocol.d.mts +3 -3
- package/dist/pages/protocol.mjs +3 -3
- package/dist/pages/serialize.d.mts +2 -2
- package/dist/pages/serialize.mjs +1 -1
- package/dist/parse-filename-DIPUjoCh.d.mts +2 -0
- package/dist/platform-C3Q44RJ8.mjs +250 -0
- package/dist/platform-args-BSyVZESg.mjs +1 -0
- package/dist/{platform-args-CvZSuhYS.mjs → platform-args-BnocJDC_.mjs} +1 -1
- package/dist/{platform-auth-config-CpszX-Ne.mjs → platform-auth-config-BbfNhjBc.mjs} +9 -9
- package/dist/{platform-auth-protection-DA6Tw8Og.mjs → platform-auth-protection-BHPV4MUf.mjs} +9 -8
- package/dist/{platform-auth-recovery-Cztrb1JC.mjs → platform-auth-recovery-DE0nArYy.mjs} +8 -7
- package/dist/{platform-cmd-m6Asj6nO.mjs → platform-cmd-CLRU3BRb.mjs} +11 -10
- package/dist/{platform-cmd-u1j88ggF.mjs → platform-cmd-Cs2LkT5L.mjs} +1 -1
- package/dist/{platform-discovery-CLxtixHJ.mjs → platform-discovery-CKeeeD82.mjs} +1 -1
- package/dist/{platform-domain-DJSznNTA.mjs → platform-domain-kn3WuKPG.mjs} +6 -5
- package/dist/{platform-lifecycle-BC-9p58d.mjs → platform-lifecycle-BoCEYy2w.mjs} +1 -1
- package/dist/{platform-lifecycle-GFeXv3NC.mjs → platform-lifecycle-CKwOg8wz.mjs} +244 -104
- package/dist/{platform-management-BwHkz46V.mjs → platform-management-CaSdFthX.mjs} +1 -1
- package/dist/{platform-management-DX1zINou.mjs → platform-management-fyrsq2Ra.mjs} +27 -14
- package/dist/{platform-plans-config-DiydtNKY.mjs → platform-plans-config-BSI-6Inu.mjs} +11 -5
- package/dist/{platform-recovery-CnzBbudV.mjs → platform-recovery-PwJ54AIZ.mjs} +3 -3
- package/dist/{platform-registry-DHH6fivm.mjs → platform-registry-zHH3RiIm.mjs} +2 -1
- package/dist/{platform-setup-Lph9i-rh.mjs → platform-setup-DwYITHfY.mjs} +3 -3
- package/dist/{plugin-inference-COlq96WJ.mjs → plugin-inference-D5MjBVMB.mjs} +60 -142
- package/dist/prepare-CLl_TA_r.mjs +1 -0
- package/dist/{prepare-WvijE289.mjs → prepare-DZEs5AGr.mjs} +3 -3
- package/dist/{prepare-co1o1FFd.mjs → prepare-DhVzN7CB.mjs} +14 -12
- package/dist/{project-uXKua1it.mjs → project-BXpm-vgG.mjs} +1 -1
- package/dist/{project-dh9431bN.mjs → project-DC-BqHef.mjs} +1 -1
- package/dist/{project-cmd-BWJTplpc.mjs → project-cmd-BKN3qT4R.mjs} +31 -21
- package/dist/{project-paths-2ENfCCih.mjs → project-paths-BeAxxqGh.mjs} +1 -1
- package/dist/{project-security-BV1xfj1K.mjs → project-security-B-SHxprt.mjs} +1 -1
- package/dist/{project-security-CY_aahvW.mjs → project-security-BWTd6cTU.mjs} +87 -46
- package/dist/{project-team-BlIFXlmT.mjs → project-team-jcn9reIB.mjs} +6 -6
- package/dist/{project-token-CMsB7I1-.mjs → project-token-BHkBKtzt.mjs} +6 -6
- package/dist/{project-tsconfig-BOA4ym99.mjs → project-tsconfig-LjgxDdj_.mjs} +1 -1
- package/dist/{project-zero-trust-BI6pdpx4.mjs → project-zero-trust-2t_qI6xa.mjs} +4 -4
- package/dist/{protocol-4rEnumif.mjs → protocol-DhMbnxzy.mjs} +120 -35
- package/dist/{protocol-ERy-n3jf.d.mts → protocol-wG7JP5Mm.d.mts} +27 -4
- package/dist/{provision-DFv7SJDn.mjs → provision-C04aXE3a.mjs} +1 -1
- package/dist/{provision-Bh44omGA.mjs → provision-CQykn8gu.mjs} +8 -4
- package/dist/{redirect-Dyvuil0Q.mjs → redirect-DjyA_hx_.mjs} +1 -1
- package/dist/{requests-CfmJxNYg.mjs → requests-BznxnxTT.mjs} +5 -5
- package/dist/resolve-project-Bob_rEi2.mjs +1 -0
- package/dist/{resolve-project-8WZ3iVmr.mjs → resolve-project-s_FGWyr-.mjs} +2 -2
- package/dist/resource-binding-5nI30acw.mjs +20 -0
- package/dist/{resource-name-DlJ9QXzg.mjs → resource-name-D_gw36kh.mjs} +5 -1
- package/dist/{rollback-DL5HuAsM.mjs → rollback-CLiINtpt.mjs} +25 -14
- package/dist/{route-types-CSed9-Dp.mjs → route-types-DxvqN5bL.mjs} +59 -9
- package/dist/{route-url-B41eQ8QI.mjs → route-url-CRC8yR_2.mjs} +2 -3
- package/dist/{route-url-Bd6IX-JZ.d.mts → route-url-zDfC-7DD.d.mts} +33 -5
- package/dist/routes-stub.d.mts +18 -2
- package/dist/routes-stub.mjs +1 -1
- package/dist/{runner-CeguHWJx.mjs → runner-CnUrhc8H.mjs} +1 -1
- package/dist/{runner-mysql-DOjbj-N1.mjs → runner-mysql-CW6bFa67.mjs} +1 -1
- package/dist/{runner-mysql-D549vGGm.mjs → runner-mysql-DSLGFOlC.mjs} +1 -1
- package/dist/{runner-pg-Buzw17hl.mjs → runner-pg-BcGF7iBR.mjs} +1 -1
- package/dist/{runner-pg-DMJquR3d.mjs → runner-pg-OeP0JpEo.mjs} +1 -1
- package/dist/{runner-Bf94YVJK.mjs → runner-rnXCGa20.mjs} +1 -1
- package/dist/runtime/ai/index.mjs +1 -1
- package/dist/runtime/auth/better-auth-d1.d.mts +1 -1
- package/dist/runtime/auth/better-auth-mysql.d.mts +1 -1
- package/dist/runtime/auth/better-auth-postgres.d.mts +1 -1
- package/dist/runtime/client/fetch-server.mjs +1 -1
- package/dist/runtime/client/fetch-stream.mjs +1 -1
- package/dist/runtime/client/fetch.mjs +1 -1
- package/dist/runtime/client/index.mjs +2 -2
- package/dist/runtime/client/react.mjs +2 -2
- package/dist/runtime/client/solid.mjs +2 -2
- package/dist/runtime/client/svelte.mjs +2 -2
- package/dist/runtime/client/vue.mjs +2 -2
- package/dist/runtime/durable/index.mjs +11 -26
- package/dist/runtime/env/runtime.d.mts +2 -10
- package/dist/runtime/handler/index.d.mts +3 -2
- package/dist/runtime/handler/index.mjs +2 -2
- package/dist/runtime/handler/validator.d.mts +1 -1
- package/dist/runtime/handler/validator.mjs +1 -1
- package/dist/runtime/html.d.mts +2 -0
- package/dist/runtime/html.mjs +1 -0
- package/dist/runtime/image/index.d.mts +103 -0
- package/dist/runtime/image/index.mjs +89 -0
- package/dist/runtime/jsx/index.d.mts +3 -0
- package/dist/runtime/jsx/index.mjs +2 -0
- package/dist/runtime/jsx/jsx-dev-runtime.d.mts +1 -0
- package/dist/runtime/jsx/jsx-dev-runtime.mjs +2 -0
- package/dist/runtime/jsx/jsx-runtime.d.mts +1 -0
- package/dist/runtime/jsx/jsx-runtime.mjs +2 -0
- package/dist/runtime/limits/index.mjs +1 -1
- package/dist/runtime/live/client.d.mts +2 -2
- package/dist/runtime/live/index.d.mts +1 -1
- package/dist/runtime/routing/index.d.mts +87 -4
- package/dist/runtime/routing/index.mjs +59 -20
- package/dist/runtime/routing/route-url.d.mts +2 -2
- package/dist/runtime/routing/route-url.mjs +1 -1
- package/dist/runtime/sandbox/index.mjs +1 -1
- package/dist/runtime/sse/client.d.mts +1 -1
- package/dist/runtime/workflows/entry.d.mts +8 -0
- package/dist/runtime/workflows/entry.mjs +49 -0
- package/dist/runtime/workflows/index.d.mts +3 -0
- package/dist/runtime/workflows/index.mjs +77 -0
- package/dist/runtime/ws/index.d.mts +1 -1
- package/dist/runtime/ws/index.mjs +2 -2
- package/dist/runtime/ws/room.d.mts +1 -1
- package/dist/runtime/ws/server.d.mts +2 -2
- package/dist/runtime-Db72hLY-.d.mts +11 -0
- package/dist/scan-BxhB4BA-.mjs +946 -0
- package/dist/scan-D2ISAobj.mjs +308 -0
- package/dist/{secret-C-WBaUSS.mjs → secret-Ck9N5xbU.mjs} +9 -8
- package/dist/{security-sarif-ClyYwtAW.mjs → security-sarif-DzTIqNwZ.mjs} +1 -1
- package/dist/{serialize-DN-envGQ.d.mts → serialize-Dr9B-0yV.d.mts} +10 -1
- package/dist/{serialize-BmB4BfKu.mjs → serialize-nW4IeEBI.mjs} +23 -2
- package/dist/{skills-C-csz78e.mjs → skills-BR7YHAF7.mjs} +1 -1
- package/dist/{scan-Ct_SEzH4.mjs → source-analysis-cache-Ccm_JSOl.mjs} +340 -902
- package/dist/standard-schema-DvMcZGMK.mjs +8 -0
- package/dist/{subcommand-prompt-B4LOLosl.mjs → subcommand-prompt-AFf2LcrC.mjs} +2 -2
- package/dist/{types-FDH6NuY1.d.mts → types-RYVujNS6.d.mts} +4 -2
- package/dist/{version-metadata-DqgLa6gc.mjs → untrusted-env-4oW0TdBP.mjs} +1 -23
- package/dist/{url-DBQluotE.mjs → url-DAQ1c3lh.mjs} +45 -1
- package/dist/{validate-CtBWCzez.mjs → validate-B1PsQ_mt.mjs} +1 -1
- package/dist/validate-p9b3r1k4.mjs +1 -0
- package/dist/{validation-error-CtcAvyI7.mjs → validation-error-EKI0wMWX.mjs} +2 -2
- package/dist/{validator-Dfh9kCDm.mjs → validator-JJcf9E48.mjs} +5 -8
- package/dist/version-metadata-CEla0kgi.mjs +23 -0
- package/dist/{wrangler-DVe5KV5G.mjs → wrangler-AyMfdVJK.mjs} +34 -69
- package/dist/wrangler-BT7qrzWc.mjs +1 -0
- package/dist/{wrapper-CcMYpOS8.mjs → wrapper-DPlTBVOx.mjs} +5 -5
- package/docs/guide/ai.md +1 -1
- package/docs/guide/app-types.md +6 -23
- package/docs/guide/auth.md +2 -4
- package/docs/guide/database/d1.md +21 -67
- package/docs/guide/database/mysql.md +8 -0
- package/docs/guide/database/postgresql.md +2 -2
- package/docs/guide/database.md +1 -1
- package/docs/guide/deployment.md +18 -0
- package/docs/guide/edge/prerendering.md +3 -7
- package/docs/guide/edge/redirects.md +1 -1
- package/docs/guide/edge/revalidation.md +8 -17
- package/docs/guide/edge/rewrites.md +1 -1
- package/docs/guide/edge/static-assets.md +10 -22
- package/docs/guide/email/domains.md +3 -1
- package/docs/guide/email/receiving.md +2 -2
- package/docs/guide/email/sending.md +3 -1
- package/docs/guide/env-vars.md +2 -0
- package/docs/guide/image-generation.md +142 -0
- package/docs/guide/index.md +17 -15
- package/docs/guide/jobs.md +2 -4
- package/docs/guide/kv.md +1 -1
- package/docs/guide/og-images.md +83 -0
- package/docs/guide/pages-routing/actions-and-forms.md +6 -4
- package/docs/guide/pages-routing/errors.md +20 -4
- package/docs/guide/pages-routing/head.md +5 -5
- package/docs/guide/pages-routing/islands.md +4 -14
- package/docs/guide/pages-routing/markdown.md +2 -2
- package/docs/guide/pages-routing/overview.md +129 -15
- package/docs/guide/platform/administration/plans.md +47 -16
- package/docs/guide/platform/administration/projects.md +10 -0
- package/docs/guide/platform/administration/security-audits.md +76 -30
- package/docs/guide/platform/administration/zero-trust.md +1 -1
- package/docs/guide/platform/installation/ci.md +0 -4
- package/docs/guide/platform/installation/credentials.md +1 -1
- package/docs/guide/platform/installation/maintenance.md +11 -9
- package/docs/guide/platform/installation/prerequisites.md +3 -1
- package/docs/guide/platform/installation/setup.md +7 -15
- package/docs/guide/platform/installation/uninstall.md +6 -12
- package/docs/guide/project-collaboration.md +1 -4
- package/docs/guide/queues.md +6 -8
- package/docs/guide/quickstart.md +6 -8
- package/docs/guide/sandboxes.md +1 -1
- package/docs/guide/self-hosted-platform.md +4 -7
- package/docs/guide/server-routing.md +5 -3
- package/docs/guide/ssg.md +1 -1
- package/docs/guide/type-safety.md +74 -10
- package/docs/guide/websockets.md +5 -7
- package/docs/guide/workflows.md +122 -0
- package/docs/index.md +2 -3
- package/docs/integrations/agents.md +3 -16
- package/docs/integrations/cloudflare.md +98 -2
- package/docs/integrations/frameworks/analog.md +9 -11
- package/docs/integrations/frameworks/astro.md +16 -17
- package/docs/integrations/frameworks/nuxt.md +11 -13
- package/docs/integrations/frameworks/overview.md +18 -20
- package/docs/integrations/frameworks/react-router.md +55 -6
- package/docs/integrations/frameworks/sveltekit.md +8 -6
- package/docs/integrations/frameworks/tanstack-start.md +10 -6
- package/docs/integrations/hono.md +27 -12
- package/docs/integrations/nodejs-bun-deno.md +10 -2
- package/docs/reference/api/database.md +8 -10
- package/docs/reference/api/env.md +2 -2
- package/docs/reference/api/handlers.md +1 -1
- package/docs/reference/api/html.md +45 -0
- package/docs/reference/api/pages.md +118 -167
- package/docs/reference/api/rewrites.md +5 -5
- package/docs/reference/api/types.md +13 -6
- package/docs/reference/api/workflows.md +48 -0
- package/docs/reference/api.md +7 -1
- package/docs/reference/cli/database.md +22 -10
- package/docs/reference/cli/deploy.md +49 -4
- package/docs/reference/cli/domains.md +7 -3
- package/docs/reference/cli/email.md +3 -1
- package/docs/reference/cli/platform-installation.md +9 -53
- package/docs/reference/cli/platform-security.md +36 -8
- package/docs/reference/cli/platform-users.md +11 -1
- package/docs/reference/cli/platform-zero-trust.md +1 -1
- package/docs/reference/cli/project.md +52 -11
- package/docs/reference/cli/setup.md +8 -10
- package/docs/reference/cli.md +49 -47
- package/docs/reference/config.md +22 -8
- package/docs/reference/resource-inference.md +8 -1
- package/docs/reference/structure.md +5 -0
- package/package.json +52 -25
- package/schema.json +20 -1
- package/skills/void/SKILL.md +60 -54
- package/dist/cf-build-output-Wpk_e5CI.mjs +0 -1
- package/dist/cf-worker-settings-BBdlhm9U.mjs +0 -41
- package/dist/cli/db-execute-process.d.mts +0 -2
- package/dist/cli/db-execute-process.mjs +0 -57
- package/dist/cloudflare-user-output-CCR99eQY.mjs +0 -19
- package/dist/collect-B6nlSnsb.mjs +0 -1
- package/dist/db-args-BvMwAber.mjs +0 -1
- package/dist/deploy-Do6FWqon.mjs +0 -2
- package/dist/discover-D2KGP3cR.mjs +0 -1
- package/dist/entry-Bwb9ev8K.mjs +0 -113
- package/dist/gen-vhBDHs3q.mjs +0 -1
- package/dist/help-fKPzcTJv.mjs +0 -1
- package/dist/isr-config-DiTnL9Tb.mjs +0 -115
- package/dist/login-DECm3e9b.mjs +0 -1
- package/dist/migrate-C9aoWLvY.mjs +0 -1
- package/dist/operator-cmd-CVfK5U0B.mjs +0 -1
- package/dist/output-D7K9TWIA.mjs +0 -1
- package/dist/platform-args-CMwMoiLp.mjs +0 -1
- package/dist/prepare-DcwigRUS.mjs +0 -1
- package/dist/providers-D5P8j_8D.d.mts +0 -5
- package/dist/resolve-project-YsTH-U9I.mjs +0 -1
- package/dist/static-exports-s7P86Ngp.mjs +0 -354
- package/dist/validate-CZYUIfR-.mjs +0 -1
- package/dist/wrangler-Dq269bjx.mjs +0 -1
- package/docs/guide/platform/development/local.md +0 -120
- package/docs/guide/platform/development/runtime.md +0 -115
- package/docs/guide/platform/development/schema-ci.md +0 -44
- package/docs/guide/platform-development.md +0 -16
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { n as raw } from "./html-DPSOBDCh.mjs";
|
|
2
|
+
import { isValidElement } from "hono/jsx";
|
|
3
|
+
import { HtmlEscapedCallbackPhase, resolveCallback } from "hono/utils/html";
|
|
4
|
+
// src/runtime/image/generate/input.ts
|
|
5
|
+
const ignore = () => {};
|
|
6
|
+
const resolvedTemplates = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
/** Observe already-started work without evaluating components or changing the caller's JSX tree. */
|
|
8
|
+
function prepareImageInput(input) {
|
|
9
|
+
return prepareValue(input, /* @__PURE__ */ new WeakMap());
|
|
10
|
+
}
|
|
11
|
+
function prepareValue(value, seen) {
|
|
12
|
+
if (typeof value !== "object" || value === null) return value;
|
|
13
|
+
if (seen.has(value)) return seen.get(value);
|
|
14
|
+
seen.set(value, value);
|
|
15
|
+
let result = value;
|
|
16
|
+
if (value instanceof Promise) {
|
|
17
|
+
if (Object.hasOwn(value, "toString")) {
|
|
18
|
+
value.catch(ignore);
|
|
19
|
+
return value;
|
|
20
|
+
}
|
|
21
|
+
const pending = value.then((resolved) => prepareValue(resolved, seen));
|
|
22
|
+
pending.catch(ignore);
|
|
23
|
+
result = pending;
|
|
24
|
+
} else if (Array.isArray(value)) {
|
|
25
|
+
const items = value.map((item) => prepareValue(item, seen));
|
|
26
|
+
if (items.some((item, index) => item !== value[index])) result = items;
|
|
27
|
+
} else if (isValidElement(value)) {
|
|
28
|
+
const children = prepareValue(value.children, seen);
|
|
29
|
+
let props = value.props;
|
|
30
|
+
for (const [key, prop] of Object.entries(value.props)) {
|
|
31
|
+
if (key !== "children") {
|
|
32
|
+
if (prop instanceof Promise) prop.catch(ignore);
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
const prepared = prepareValue(prop, seen);
|
|
36
|
+
if (prepared !== prop) {
|
|
37
|
+
if (props === value.props) props = { ...value.props };
|
|
38
|
+
props[key] = prepared;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
if (props !== value.props || children !== value.children) result = Object.create(value, {
|
|
42
|
+
props: { value: props },
|
|
43
|
+
children: { value: children }
|
|
44
|
+
});
|
|
45
|
+
} else if (value.isEscaped === true) {
|
|
46
|
+
const markup = value;
|
|
47
|
+
if (markup.callbacks?.length) {
|
|
48
|
+
let prepared = resolvedTemplates.get(value);
|
|
49
|
+
if (!prepared) {
|
|
50
|
+
prepared = resolveCallback(markup, HtmlEscapedCallbackPhase.Stringify, false, {}).then((html) => raw(html));
|
|
51
|
+
prepared.catch(ignore);
|
|
52
|
+
resolvedTemplates.set(value, prepared);
|
|
53
|
+
}
|
|
54
|
+
result = prepared;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
seen.set(value, result);
|
|
58
|
+
return result;
|
|
59
|
+
}
|
|
60
|
+
/** Renders Hono JSX or escaped HTML, including resolved `Suspense` content, to a string. */
|
|
61
|
+
async function imageInputToString(input) {
|
|
62
|
+
return String(await resolveCallback(input, HtmlEscapedCallbackPhase.Stringify, false, {}));
|
|
63
|
+
}
|
|
64
|
+
export { prepareImageInput as n, imageInputToString as t };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { A as confirm$1, K as select$1, U as password$1, X as text$1, z as multiselect$1 } from "./dist-BngS28id.mjs";
|
|
2
|
+
// src/cli/interactive-prompts.ts
|
|
3
|
+
var PromptInputClosedError = class extends Error {
|
|
4
|
+
constructor() {
|
|
5
|
+
super("Standard input closed before the prompt was answered.");
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
async function withPromptInput(prompt, options) {
|
|
9
|
+
const input = options.input ?? process.stdin;
|
|
10
|
+
if (input.readableEnded || input.destroyed) throw new PromptInputClosedError();
|
|
11
|
+
const closed = new AbortController();
|
|
12
|
+
const onClose = () => closed.abort();
|
|
13
|
+
const signal = options.signal ? AbortSignal.any([options.signal, closed.signal]) : closed.signal;
|
|
14
|
+
input.once("end", onClose);
|
|
15
|
+
input.once("close", onClose);
|
|
16
|
+
try {
|
|
17
|
+
const result = await prompt({
|
|
18
|
+
...options,
|
|
19
|
+
signal
|
|
20
|
+
});
|
|
21
|
+
if (closed.signal.aborted) throw new PromptInputClosedError();
|
|
22
|
+
return result;
|
|
23
|
+
} finally {
|
|
24
|
+
input.off("end", onClose);
|
|
25
|
+
input.off("close", onClose);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function confirm(options) {
|
|
29
|
+
return withPromptInput(confirm$1, options);
|
|
30
|
+
}
|
|
31
|
+
function multiselect(options) {
|
|
32
|
+
return withPromptInput(multiselect$1, options);
|
|
33
|
+
}
|
|
34
|
+
function password(options) {
|
|
35
|
+
return withPromptInput(password$1, options);
|
|
36
|
+
}
|
|
37
|
+
function select(options) {
|
|
38
|
+
return withPromptInput(select$1, options);
|
|
39
|
+
}
|
|
40
|
+
function text(options) {
|
|
41
|
+
return withPromptInput(text$1, options);
|
|
42
|
+
}
|
|
43
|
+
export { select as a, password as i, confirm as n, text as o, multiselect as r, PromptInputClosedError as t };
|
|
@@ -39,8 +39,11 @@ async function limitFromResponse(response, resource) {
|
|
|
39
39
|
return new UsageLimit({
|
|
40
40
|
resource,
|
|
41
41
|
reason: "rate_limit",
|
|
42
|
-
message: `${resource
|
|
42
|
+
message: `${resourceName(resource)} is temporarily unavailable because its usage limit was reached.`,
|
|
43
43
|
...Number.isFinite(retryTime) ? { retryAt: new Date(retryTime).toISOString() } : {}
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
+
function resourceName(resource) {
|
|
47
|
+
return resource === "ai" ? "AI" : resource === "browser" ? "Browser Run" : "Service";
|
|
48
|
+
}
|
|
46
49
|
export { readUsageLimit$1 as i, asUsageLimit as n, limitFromResponse as r, UsageLimit as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as outro, L as log, O as cancel } from "./dist-
|
|
2
|
-
import { c as getToken, s as getSiteDomain } from "./auth-
|
|
3
|
-
import { r as PlatformClient } from "./client-
|
|
4
|
-
import { a as promptProjectSelection, r as promptAndCreateProject } from "./create-project-
|
|
5
|
-
import { h as import_picocolors, y as printSuccess } from "./output-
|
|
6
|
-
import { r as readProjectConfig, t as attachSelectedPlatform, u as writeProjectConfig } from "./project-
|
|
7
|
-
import { a as resolveProjectBySlug } from "./resolve-project-
|
|
1
|
+
import { H as outro, L as log, O as cancel } from "./dist-BngS28id.mjs";
|
|
2
|
+
import { c as getToken, s as getSiteDomain } from "./auth-CeBmolb-.mjs";
|
|
3
|
+
import { r as PlatformClient } from "./client-BEHI4UWn.mjs";
|
|
4
|
+
import { a as promptProjectSelection, r as promptAndCreateProject } from "./create-project-T-9AIQDe.mjs";
|
|
5
|
+
import { h as import_picocolors, y as printSuccess } from "./output-DhJgS6Ve.mjs";
|
|
6
|
+
import { r as readProjectConfig, t as attachSelectedPlatform, u as writeProjectConfig } from "./project-DC-BqHef.mjs";
|
|
7
|
+
import { a as resolveProjectBySlug } from "./resolve-project-s_FGWyr-.mjs";
|
|
8
8
|
// src/cli/link.ts
|
|
9
9
|
function projectLabel(slug, root, url) {
|
|
10
10
|
if (url) return url;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as outro, L as log } from "./dist-
|
|
2
|
-
import { c as getToken } from "./auth-
|
|
3
|
-
import { r as PlatformClient } from "./client-
|
|
4
|
-
import { r as readSecurityStatusQuietly, t as formatProjectStatusSecurityLine } from "./deploy-security-notice-
|
|
5
|
-
import { S as tablePrefix, b as sanitizeTerminalText, c as formatCount, d as formatRelativeTime, h as import_picocolors, o as dim } from "./output-
|
|
6
|
-
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-
|
|
7
|
-
import { a as resolveProjectBySlug } from "./resolve-project-
|
|
1
|
+
import { H as outro, L as log } from "./dist-BngS28id.mjs";
|
|
2
|
+
import { c as getToken } from "./auth-CeBmolb-.mjs";
|
|
3
|
+
import { r as PlatformClient } from "./client-BEHI4UWn.mjs";
|
|
4
|
+
import { r as readSecurityStatusQuietly, t as formatProjectStatusSecurityLine } from "./deploy-security-notice-3jX71IeP.mjs";
|
|
5
|
+
import { S as tablePrefix, b as sanitizeTerminalText, c as formatCount, d as formatRelativeTime, h as import_picocolors, o as dim } from "./output-DhJgS6Ve.mjs";
|
|
6
|
+
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-DC-BqHef.mjs";
|
|
7
|
+
import { a as resolveProjectBySlug } from "./resolve-project-s_FGWyr-.mjs";
|
|
8
8
|
// src/cli/list.ts
|
|
9
9
|
async function runListCommand(root, slug) {
|
|
10
10
|
console.log();
|
|
@@ -43,7 +43,7 @@ async function runListCommand(root, slug) {
|
|
|
43
43
|
}
|
|
44
44
|
async function showCloudflareDeployments(root, slug) {
|
|
45
45
|
if (slug) throw new Error("project: A project name selects a Void platform project and is not used for direct Cloudflare apps.");
|
|
46
|
-
const { readCloudflareWorkerStatus, resolveCloudflareOperationContext } = await import("./cloudflare-operations-
|
|
46
|
+
const { readCloudflareWorkerStatus, resolveCloudflareOperationContext } = await import("./cloudflare-operations-BmICrRnm.mjs");
|
|
47
47
|
const status = await readCloudflareWorkerStatus(resolveCloudflareOperationContext(root));
|
|
48
48
|
if (status.versions.length === 0) {
|
|
49
49
|
outro(`No deployments for ${status.workerName}.`);
|
|
@@ -52,7 +52,7 @@ async function showCloudflareDeployments(root, slug) {
|
|
|
52
52
|
const rows = [...status.versions].reverse().map((version) => ({
|
|
53
53
|
id: version.id,
|
|
54
54
|
status: version.id === status.activeVersionId ? "live" : "available",
|
|
55
|
-
migrations: version.metadata?.migrations
|
|
55
|
+
migrations: String(version.metadata?.migrations?.length ?? version.metadata?.migrationSummary?.count ?? "-"),
|
|
56
56
|
deployed: version.createdAt ? formatRelativeTime(version.createdAt) : "-"
|
|
57
57
|
}));
|
|
58
58
|
const idWidth = Math.max(2, ...rows.map((row) => row.id.length));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as join, c as resolve, i as isAbsolute } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { r as getMiniflareDatabasePath } from "./runner-
|
|
2
|
+
import { y as readRootWranglerConfig } from "./wrangler-AyMfdVJK.mjs";
|
|
3
|
+
import { r as getMiniflareDatabasePath } from "./runner-CnUrhc8H.mjs";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
// src/local-d1.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as selectPlatformLoginMethod } from "./login-DaugBfBG.mjs";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as isExpiredTokenError, r as PlatformClient } from "./client-
|
|
4
|
-
import { a as
|
|
1
|
+
import { a as getApiUrl, c as getToken, f as removeToken, l as getTokenSource, m as savePlatformToken, p as runPlatformLogin } from "./auth-CeBmolb-.mjs";
|
|
2
|
+
import { H as outro, L as log, O as cancel, tt as isCancel } from "./dist-BngS28id.mjs";
|
|
3
|
+
import { a as isExpiredTokenError, r as PlatformClient } from "./client-BEHI4UWn.mjs";
|
|
4
|
+
import { a as select } from "./interactive-prompts-EK0dilFu.mjs";
|
|
5
|
+
import { a as createSpinner, f as formatUrl, h as import_picocolors, y as printSuccess } from "./output-DhJgS6Ve.mjs";
|
|
5
6
|
// src/cli/login.ts
|
|
6
7
|
async function selectPlatformLoginMethod(platform, requestedId) {
|
|
7
8
|
const providers = platform.authenticationProviders;
|
|
@@ -32,7 +33,7 @@ async function selectPlatformLoginMethod(platform, requestedId) {
|
|
|
32
33
|
}
|
|
33
34
|
async function promptForLoginToken(root = process.cwd(), platform) {
|
|
34
35
|
const apiUrl = platform?.apiUrl ?? getApiUrl(root);
|
|
35
|
-
const { id: provider, label: providerName } = await selectPlatformLoginMethod(platform ?? await (await import("./platform-cmd-
|
|
36
|
+
const { id: provider, label: providerName } = await selectPlatformLoginMethod(platform ?? await (await import("./platform-cmd-Cs2LkT5L.mjs")).discoverPlatform(apiUrl));
|
|
36
37
|
const s = createSpinner();
|
|
37
38
|
s.start(`Opening browser for ${providerName} login...`);
|
|
38
39
|
try {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { $ as wrapTextWithPrefix, H as outro, L as log } from "./dist-
|
|
2
|
-
import { c as getToken } from "./auth-
|
|
3
|
-
import { r as PlatformClient } from "./client-
|
|
4
|
-
import { c as formatCount, h as import_picocolors, o as dim, s as errorStackFrames } from "./output-
|
|
1
|
+
import { $ as wrapTextWithPrefix, H as outro, L as log } from "./dist-BngS28id.mjs";
|
|
2
|
+
import { c as getToken } from "./auth-CeBmolb-.mjs";
|
|
3
|
+
import { r as PlatformClient } from "./client-BEHI4UWn.mjs";
|
|
4
|
+
import { c as formatCount, h as import_picocolors, o as dim, s as errorStackFrames } from "./output-DhJgS6Ve.mjs";
|
|
5
5
|
import { t as MINIMAL_RUNTIME_LOGS_NOTE } from "./platform-runtime-logs-CdJGnk3f.mjs";
|
|
6
|
-
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-
|
|
6
|
+
import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-DC-BqHef.mjs";
|
|
7
7
|
import { t as sanitizeTerminalLogText } from "./terminal-log-text-CfS2JKM6.mjs";
|
|
8
8
|
// src/cli/logs.ts
|
|
9
9
|
async function runLogsCommand(root, filter, range, deployment, level) {
|
|
10
10
|
console.log();
|
|
11
11
|
const platform = readDeploymentPlatform(root);
|
|
12
12
|
if (platform === "cloudflare") {
|
|
13
|
-
const { resolveCloudflareOperationContext, tailCloudflareWorker } = await import("./cloudflare-operations-
|
|
13
|
+
const { resolveCloudflareOperationContext, tailCloudflareWorker } = await import("./cloudflare-operations-BmICrRnm.mjs");
|
|
14
14
|
if (range !== "1h") log.warn("Cloudflare tail streams live logs; --range does not select historical entries.");
|
|
15
15
|
if (level && level !== "all" && level !== "error") log.warn("Cloudflare tail cannot filter individual console levels; showing all invocation logs.");
|
|
16
16
|
await tailCloudflareWorker(resolveCloudflareOperationContext(root), {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runMigrateCommand } from "./migrate-Dtlg8fC6.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { L as log } from "./dist-
|
|
1
|
+
import { L as log } from "./dist-BngS28id.mjs";
|
|
2
2
|
import { a as join, n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
3
|
-
import { c as stashCloudflareDeployPointer, l as ensureGitignoreLines, n as VOID_LOCK_FILE, r as ignoreMaterializedCloudflareConfig, s as seedCloudflareConfig } from "./cloudflare-config-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { c as stashCloudflareDeployPointer, l as ensureGitignoreLines, n as VOID_LOCK_FILE, r as ignoreMaterializedCloudflareConfig, s as seedCloudflareConfig } from "./cloudflare-config-KPHKf57C.mjs";
|
|
4
|
+
import { c as loadTypedVoidConfigFile, s as TYPED_CONFIG_FILE } from "./project-paths-BeAxxqGh.mjs";
|
|
5
|
+
import { a as renderVoidConfig, t as GENERATED_MARKERS } from "./config-write-dKLINlm2.mjs";
|
|
6
|
+
import { _ as validateConfig } from "./config-KZAiI3gG.mjs";
|
|
7
7
|
import { t as parseJsoncObject } from "./generated-wrangler-config-CoDaaFsA.mjs";
|
|
8
|
-
import { y as printSuccess } from "./output-
|
|
8
|
+
import { y as printSuccess } from "./output-DhJgS6Ve.mjs";
|
|
9
9
|
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
10
10
|
import { parseSync } from "vite";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
@@ -265,7 +265,7 @@ function migrateLegacyVoidConfig(root) {
|
|
|
265
265
|
let current;
|
|
266
266
|
if (hadTyped) {
|
|
267
267
|
const existing = readFileSync(typedPath, "utf8");
|
|
268
|
-
if (!GENERATED_MARKERS.some((marker) => existing.startsWith(marker))) throw new Error(`migrate: ${TYPED_CONFIG_FILE} already exists. Move the legacy settings into it before deleting the old files.`);
|
|
268
|
+
if (!GENERATED_MARKERS.some((marker) => existing.startsWith(marker))) throw new Error(existsSync(join(root, "void.lock.json")) ? `migrate: ${TYPED_CONFIG_FILE} already exists. Move the legacy settings into it before deleting the old files.` : `migrate: ${TYPED_CONFIG_FILE} already exists. Rename it to a backup, run \`void migrate\`, then merge your saved settings into the new file and keep the migrated resource IDs.`);
|
|
269
269
|
current = validateConfig(loadTypedVoidConfigFile(typedPath), TYPED_CONFIG_FILE);
|
|
270
270
|
const currentVoid = { ...current };
|
|
271
271
|
delete currentVoid.cloudflare;
|
package/dist/nitro.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as join, n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import { n as bundleWorkerSqlDriver } from "./wrapper-
|
|
3
|
-
import {
|
|
4
|
-
import { c as voidDbBundlerPlugin } from "./dispatch-
|
|
2
|
+
import { n as bundleWorkerSqlDriver } from "./wrapper-DPlTBVOx.mjs";
|
|
3
|
+
import { h as readConfig, u as getDatabaseDialect } from "./config-KZAiI3gG.mjs";
|
|
4
|
+
import { c as voidDbBundlerPlugin } from "./dispatch-BUKbPdqb.mjs";
|
|
5
5
|
import { normalizePath } from "vite";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import { resolve } from "node:path/win32";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as dirname } from "./dist-DMYe8CZJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { r as getMiniflareDatabasePath } from "./runner-
|
|
2
|
+
import { h as readConfig } from "./config-KZAiI3gG.mjs";
|
|
3
|
+
import { r as getMiniflareDatabasePath } from "./runner-CnUrhc8H.mjs";
|
|
4
4
|
import { a as pgMigrationRunner, i as mysqlMigrationRunner, n as applyPgAuthMigrations, r as applySqliteAuthMigrations, t as applyMySqlAuthMigrations } from "./migrations-CUHhX65Y.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { a as projectAuthConfigImporter, i as loadVoidAuthConfig, r as findVoidAuthConfig } from "./config-
|
|
7
|
-
import { r as resolveVoidAuthMigrationSchema } from "./drizzle-
|
|
5
|
+
import { l as loadLocalEnv } from "./env-CU2tMDdO.mjs";
|
|
6
|
+
import { a as projectAuthConfigImporter, i as loadVoidAuthConfig, r as findVoidAuthConfig } from "./config-CUYGZqdN.mjs";
|
|
7
|
+
import { r as resolveVoidAuthMigrationSchema } from "./drizzle-CnSbVeiZ.mjs";
|
|
8
8
|
import { mkdirSync } from "node:fs";
|
|
9
9
|
// src/auth/node.ts
|
|
10
10
|
async function runLocalVoidAuthMigrations(root, dialect, persistRoot, databaseId, configPath = findVoidAuthConfig(root), databaseUrl, importModule) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as cfAccessHeaders } from "./cf-access-DmkKPcAI.mjs";
|
|
2
2
|
import { t as hasOwnKey } from "./has-own-key-D9QEnAkF.mjs";
|
|
3
|
-
import { t as ensurePlatformAccessToken } from "./cf-access-
|
|
4
|
-
import { r as OperatorClientError } from "./operator-client-
|
|
5
|
-
import { b as sanitizeTerminalText } from "./output-
|
|
6
|
-
import { n as readPlatformDiscoveryResponse } from "./platform-discovery-
|
|
3
|
+
import { t as ensurePlatformAccessToken } from "./cf-access-B21j-nd6.mjs";
|
|
4
|
+
import { r as OperatorClientError } from "./operator-client-BG0VIMMM.mjs";
|
|
5
|
+
import { b as sanitizeTerminalText } from "./output-DhJgS6Ve.mjs";
|
|
6
|
+
import { n as readPlatformDiscoveryResponse } from "./platform-discovery-CKeeeD82.mjs";
|
|
7
7
|
import { AI_LOGGING_SETTLE_MS } from "@void/platform/ai-logging";
|
|
8
8
|
function text(value) {
|
|
9
9
|
return typeof value === "string" ? sanitizeTerminalText(value) : "";
|
|
@@ -114,7 +114,7 @@ async function assertAiLoggingPlatform(origin) {
|
|
|
114
114
|
const probe = await probePlatformVersion(origin);
|
|
115
115
|
if (probe.kind === "unknown") return;
|
|
116
116
|
if (probe.kind === "version") {
|
|
117
|
-
const { isOlderPlatformVersion } = await import("./client-
|
|
117
|
+
const { isOlderPlatformVersion } = await import("./client-0um7Lzze.mjs");
|
|
118
118
|
if (isOlderPlatformVersion(probe.version, "1.8.0") !== true) return;
|
|
119
119
|
}
|
|
120
120
|
throw new OperatorClientError("This platform does not support AI logging policies. Run `void platform upgrade`.", "unsupported");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as OPERATOR_MAX_TIMEOUT_MS } from "./operator-client-
|
|
1
|
+
import { t as OPERATOR_MAX_TIMEOUT_MS } from "./operator-client-BG0VIMMM.mjs";
|
|
2
2
|
import { t as hasOwnKey } from "./has-own-key-D9QEnAkF.mjs";
|
|
3
3
|
import { parsePlatformLoginId } from "@void/platform";
|
|
4
4
|
import { parseSecurityDigits } from "@void/platform/security-policy";
|
|
@@ -83,9 +83,10 @@ function parseUsd(value) {
|
|
|
83
83
|
if (!Number.isFinite(usd) || usd > MAX_BUDGET_USD) throw new Error(`project: --usd must be at most ${MAX_BUDGET_USD}.`);
|
|
84
84
|
return usd;
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
/** `example` is how the command takes its text: `comment` reads it as an argument. */
|
|
87
|
+
function requireComment(value, example = "--comment \"Added requireAdmin() in a1b2c3\"") {
|
|
87
88
|
const text = value?.trim() ?? "";
|
|
88
|
-
if (text === "") throw new Error(
|
|
89
|
+
if (text === "") throw new Error(`project: A comment is required. Say why, for example: ${example}`);
|
|
89
90
|
if (Array.from(text).length > 4e3) throw new Error(`project: A comment can be at most ${SECURITY_COMMENT_MAX_CHARS} characters.`);
|
|
90
91
|
return text;
|
|
91
92
|
}
|
|
@@ -176,15 +177,16 @@ function parseSecurityArgs(rest) {
|
|
|
176
177
|
json,
|
|
177
178
|
action,
|
|
178
179
|
id,
|
|
179
|
-
text: requireComment(positionals[1])
|
|
180
|
+
text: requireComment(positionals[1], `void project security comment ${id} "Checked with the team"`)
|
|
180
181
|
};
|
|
181
182
|
}
|
|
182
183
|
if (action === "resolve") {
|
|
183
184
|
const ids = parseFindingIds(positionals);
|
|
184
185
|
if (ids.length === 0) throw new Error("project: Usage: void project security resolve <F-id>… --reason fixed|false-positive|accepted-risk --comment \"<text>\".");
|
|
185
186
|
const reasonText = values.get("--reason");
|
|
186
|
-
|
|
187
|
-
if (!
|
|
187
|
+
if (reasonText === void 0) throw new Error("project: --reason is required: fixed, false-positive or accepted-risk.");
|
|
188
|
+
if (!hasOwnKey(REASONS$1, reasonText)) throw new Error(`project: Invalid --reason '${reasonText}'. Use one of fixed|false-positive|accepted-risk.`);
|
|
189
|
+
const reason = REASONS$1[reasonText];
|
|
188
190
|
return {
|
|
189
191
|
...base,
|
|
190
192
|
json,
|
|
@@ -316,11 +318,14 @@ const securityOperatorCommands = [
|
|
|
316
318
|
},
|
|
317
319
|
{
|
|
318
320
|
action: "limits",
|
|
319
|
-
description: "Set scan limits: concurrent scans
|
|
321
|
+
description: "Set scan limits: concurrent scans, the time one scan may run, its input tokens, its model calls and its spend limit",
|
|
320
322
|
path: "/security/policy",
|
|
321
323
|
values: {
|
|
322
324
|
concurrency: "Scans that run at once (1 to 10)",
|
|
323
|
-
"scan-timeout": "Minutes one scan may run (5 to 60)"
|
|
325
|
+
"scan-timeout": "Minutes one scan may run (5 to 60)",
|
|
326
|
+
"scan-input-tokens": "Input tokens one scan may send, cached ones included (50000 to 20000000)",
|
|
327
|
+
"scan-calls": "Model calls one scan may make (10 to 500)",
|
|
328
|
+
"scan-usd": "Spend limit of one scan in USD (0.01 to 12), or auto to price it from the token limits"
|
|
324
329
|
},
|
|
325
330
|
method: "POST"
|
|
326
331
|
},
|
|
@@ -683,9 +688,12 @@ function applySecurityArgs(command, parameters, values, flags, parsed) {
|
|
|
683
688
|
case "limits": {
|
|
684
689
|
const limits = {
|
|
685
690
|
...values.concurrency ? { concurrency: wholeNumber(values.concurrency, "concurrency") } : {},
|
|
686
|
-
...values["scan-timeout"] ? { timeoutMinutes: wholeNumber(values["scan-timeout"], "scan-timeout") } : {}
|
|
691
|
+
...values["scan-timeout"] ? { timeoutMinutes: wholeNumber(values["scan-timeout"], "scan-timeout") } : {},
|
|
692
|
+
...values["scan-input-tokens"] ? { maxInputTokens: wholeNumber(values["scan-input-tokens"], "scan-input-tokens") } : {},
|
|
693
|
+
...values["scan-calls"] ? { modelCallsPerScan: wholeNumber(values["scan-calls"], "scan-calls") } : {},
|
|
694
|
+
...values["scan-usd"] ? { maxScanUsd: values["scan-usd"] === "auto" ? null : dollars(values["scan-usd"], "scan-usd") } : {}
|
|
687
695
|
};
|
|
688
|
-
if (Object.keys(limits).length === 0) throw new Error("platform: Usage: void platform security limits [--concurrency <n>] [--scan-timeout <minutes>].");
|
|
696
|
+
if (Object.keys(limits).length === 0) throw new Error("platform: Usage: void platform security limits [--concurrency <n>] [--scan-timeout <minutes>] [--scan-input-tokens <n>] [--scan-calls <n>] [--scan-usd <usd|auto>].");
|
|
689
697
|
parsed.body = { limits };
|
|
690
698
|
return;
|
|
691
699
|
}
|
|
@@ -717,13 +725,12 @@ function applySecurityArgs(command, parameters, values, flags, parsed) {
|
|
|
717
725
|
parsed.body = body;
|
|
718
726
|
return;
|
|
719
727
|
}
|
|
720
|
-
case "resolve":
|
|
721
|
-
|
|
722
|
-
if (!reason) throw new Error(
|
|
723
|
-
parsed.body.reason = reason;
|
|
728
|
+
case "resolve":
|
|
729
|
+
if (values.reason === void 0) throw new Error("platform: --reason is required: fixed, false-positive or accepted-risk.");
|
|
730
|
+
if (!hasOwnKey(REASONS, values.reason)) throw new Error(`platform: Invalid --reason '${values.reason}'. Use one of fixed|false-positive|accepted-risk.`);
|
|
731
|
+
parsed.body.reason = REASONS[values.reason];
|
|
724
732
|
parsed.body.comment = requireText(values.comment, "comment");
|
|
725
733
|
return;
|
|
726
|
-
}
|
|
727
734
|
case "reopen":
|
|
728
735
|
parsed.body.comment = requireText(values.comment, "comment");
|
|
729
736
|
return;
|
|
@@ -868,6 +875,15 @@ const operatorCommands = [
|
|
|
868
875
|
usage: ["void platform project ai-logging <project-id> <inherit|off|metadata|full> [options]"],
|
|
869
876
|
method: "POST"
|
|
870
877
|
},
|
|
878
|
+
{
|
|
879
|
+
group: "project",
|
|
880
|
+
action: "browser-rate",
|
|
881
|
+
description: "Set the Browser Run requests an app may make in 10 seconds (inherit, 0 for unlimited, 1, or 300); applies within 2 minutes",
|
|
882
|
+
path: "/projects/:id/browser-rate",
|
|
883
|
+
positional: ["id", "rate"],
|
|
884
|
+
usage: ["void platform project browser-rate <project-id> <inherit|0|1|300> [options]"],
|
|
885
|
+
method: "POST"
|
|
886
|
+
},
|
|
871
887
|
{
|
|
872
888
|
group: "project",
|
|
873
889
|
action: "owner",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as deleteKeyringPassword, T as writeKeyringPassword, c as normalizePlatformApiUrl, i as getActivePlatformConnection, r as findPlatformConnections, u as platformCredentialAccount, w as readKeyringPassword } from "./platform-registry-
|
|
2
|
-
import { n as OperatorClient, r as OperatorClientError } from "./operator-client-
|
|
1
|
+
import { C as deleteKeyringPassword, T as writeKeyringPassword, c as normalizePlatformApiUrl, i as getActivePlatformConnection, r as findPlatformConnections, u as platformCredentialAccount, w as readKeyringPassword } from "./platform-registry-zHH3RiIm.mjs";
|
|
2
|
+
import { n as OperatorClient, r as OperatorClientError } from "./operator-client-BG0VIMMM.mjs";
|
|
3
3
|
/** Operator authority never comes from repository-controlled metadata. */
|
|
4
4
|
function resolveOperatorOrigin(connection = "") {
|
|
5
5
|
if (connection) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cfAccessHeaders } from "./cf-access-DmkKPcAI.mjs";
|
|
2
|
-
import { t as ensurePlatformAccessToken } from "./cf-access-
|
|
3
|
-
import { c as normalizePlatformApiUrl } from "./platform-registry-
|
|
2
|
+
import { t as ensurePlatformAccessToken } from "./cf-access-B21j-nd6.mjs";
|
|
3
|
+
import { c as normalizePlatformApiUrl } from "./platform-registry-zHH3RiIm.mjs";
|
|
4
4
|
const OPERATOR_MAX_TIMEOUT_MS = 36e5;
|
|
5
5
|
var OperatorClientError = class extends Error {
|
|
6
6
|
code;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { s as runOperatorCommand } from "./operator-cmd-D4YcMKO-.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as hasOwnKey } from "./has-own-key-D9QEnAkF.mjs";
|
|
2
|
-
import { i as assertAiLoggingPlatform, n as aiLoggingPreviewLines, r as aiLoggingStatusLine, t as aiLoggingChangeLines } from "./operator-ai-logging-
|
|
3
|
-
import { a as resolveOperatorOrigin, i as removeOperatorToken, n as readOperatorApiTokenStdin, o as saveOperatorToken, r as readOperatorToken, t as exchangeOperatorSession } from "./operator-auth-
|
|
4
|
-
import { n as OperatorClient, r as OperatorClientError } from "./operator-client-
|
|
5
|
-
import { b as sanitizeTerminalText, o as dim, y as printSuccess } from "./output-
|
|
2
|
+
import { i as assertAiLoggingPlatform, n as aiLoggingPreviewLines, r as aiLoggingStatusLine, t as aiLoggingChangeLines } from "./operator-ai-logging-4Nvs6Ut3.mjs";
|
|
3
|
+
import { a as resolveOperatorOrigin, i as removeOperatorToken, n as readOperatorApiTokenStdin, o as saveOperatorToken, r as readOperatorToken, t as exchangeOperatorSession } from "./operator-auth-DtRMGXYY.mjs";
|
|
4
|
+
import { n as OperatorClient, r as OperatorClientError } from "./operator-client-BG0VIMMM.mjs";
|
|
5
|
+
import { b as sanitizeTerminalText, o as dim, y as printSuccess } from "./output-DhJgS6Ve.mjs";
|
|
6
6
|
import { t as MINIMAL_RUNTIME_LOGS_NOTE } from "./platform-runtime-logs-CdJGnk3f.mjs";
|
|
7
7
|
import { t as OPEN_PUBLIC_REQUEST_STATES } from "./security-api-types-CU7zQtr_.mjs";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
@@ -191,9 +191,9 @@ async function runAuth(origin, args) {
|
|
|
191
191
|
if (args.action === "login" || args.action === "token" && args.tokenStdin) {
|
|
192
192
|
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");
|
|
193
193
|
const apiToken = args.tokenStdin ? await readOperatorApiTokenStdin() : await (async () => {
|
|
194
|
-
const { discoverPlatform } = await import("./platform-cmd-
|
|
195
|
-
const { selectPlatformLoginMethod } = await import("./login-
|
|
196
|
-
const { runPlatformLogin } = await import("./auth-
|
|
194
|
+
const { discoverPlatform } = await import("./platform-cmd-Cs2LkT5L.mjs");
|
|
195
|
+
const { selectPlatformLoginMethod } = await import("./login-BJwPhV_S.mjs");
|
|
196
|
+
const { runPlatformLogin } = await import("./auth-CvaDxOMi.mjs");
|
|
197
197
|
return runPlatformLogin(origin, (await selectPlatformLoginMethod(await discoverPlatform(origin), args.provider)).id, (url) => process.stderr.write(`Sign in at ${url}\n`));
|
|
198
198
|
})();
|
|
199
199
|
const session = await exchangeOperatorSession(origin, apiToken);
|
|
@@ -377,7 +377,7 @@ function aiLoggingProjectId(args) {
|
|
|
377
377
|
}
|
|
378
378
|
async function runOperatorCommand(args) {
|
|
379
379
|
if (!args.action) {
|
|
380
|
-
const { printHelpPage } = await import("./help-
|
|
380
|
+
const { printHelpPage } = await import("./help-DWGHmt_n.mjs");
|
|
381
381
|
printHelpPage(["platform", args.group]);
|
|
382
382
|
return;
|
|
383
383
|
}
|
|
@@ -386,7 +386,7 @@ async function runOperatorCommand(args) {
|
|
|
386
386
|
const client = new OperatorClient(origin, readOperatorToken(origin));
|
|
387
387
|
if (args.method === "POST" && !(args.group === "security" && args.action === "probe") && !args.plan && !args.yes && (!process.stdin.isTTY || !process.stderr.isTTY)) throw new OperatorClientError("Mutations in non-interactive mode require --yes or --plan.", "confirmation_required");
|
|
388
388
|
if (args.group === "security") {
|
|
389
|
-
const { runSecurityOperatorCommand } = await import("./operator-security-
|
|
389
|
+
const { runSecurityOperatorCommand } = await import("./operator-security-nVLo8vDt.mjs");
|
|
390
390
|
return runSecurityOperatorCommand(client, origin, args, {
|
|
391
391
|
output,
|
|
392
392
|
outputMutation,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as OperatorClientError } from "./operator-client-
|
|
2
|
-
import { o as dim, y as printSuccess } from "./output-
|
|
3
|
-
import { n as securityFindingsSarif, t as sarifToolVersion } from "./security-sarif-
|
|
1
|
+
import { r as OperatorClientError } from "./operator-client-BG0VIMMM.mjs";
|
|
2
|
+
import { o as dim, y as printSuccess } from "./output-DhJgS6Ve.mjs";
|
|
3
|
+
import { n as securityFindingsSarif, t as sarifToolVersion } from "./security-sarif-DzTIqNwZ.mjs";
|
|
4
4
|
// src/cli/operator-security.ts
|
|
5
5
|
const NOT_INSTALLED = "Security audits are not installed. Run: void platform upgrade --security-audits";
|
|
6
6
|
/** The platform answers 501 `platform capability unavailable` when the capability is off. */
|
|
@@ -34,6 +34,11 @@ function money(value) {
|
|
|
34
34
|
function number(value) {
|
|
35
35
|
return typeof value === "number" && Number.isSafeInteger(value) ? value : void 0;
|
|
36
36
|
}
|
|
37
|
+
/** The preview's estimated cost. Older platforms send it only as `worstCaseUsd`. */
|
|
38
|
+
function estimateOf(preview) {
|
|
39
|
+
const value = preview.estimatedUsd ?? preview.worstCaseUsd;
|
|
40
|
+
return typeof value === "number" ? value : void 0;
|
|
41
|
+
}
|
|
37
42
|
/** Reads. `show` takes comma-separated finding ids. */
|
|
38
43
|
async function runRead(client, args, io) {
|
|
39
44
|
if (args.action === "show") {
|
|
@@ -182,7 +187,7 @@ async function runRescan(client, origin, args, io) {
|
|
|
182
187
|
const model = typeof preview.model === "string" ? preview.model : "the scan model";
|
|
183
188
|
const whole = preview.clientAssets === true ? "This reviews the whole app, and the sources of its client bundles." : "This reviews the whole app.";
|
|
184
189
|
const first = preview.alreadyScanned === true ? `Live deployment ${id} was already scanned. Run a full scan with ${model}? ${whole}` : `Run a full scan of live deployment ${id} with ${model}? ${whole}`;
|
|
185
|
-
process.stderr.write(`${first}${
|
|
190
|
+
process.stderr.write(`${first}${estimateOf(preview) === void 0 ? "" : ` Estimated cost: up to ${money(estimateOf(preview))}.`}\n${dim("Monthly caps apply; raise the cap first if a rescan is refused.")}\n`);
|
|
186
191
|
}
|
|
187
192
|
const result = await apply(client, origin, args, io, args.body, preview);
|
|
188
193
|
if (!result) return;
|
|
@@ -197,7 +202,8 @@ async function runBackfill(client, origin, args, io) {
|
|
|
197
202
|
const count = number(preview.willQueue) ?? 0;
|
|
198
203
|
if (!args.json && !args.plan) {
|
|
199
204
|
const remaining = number(preview.remaining) ?? 0;
|
|
200
|
-
const
|
|
205
|
+
const estimate = estimateOf(preview);
|
|
206
|
+
const cost = typeof estimate === "number" ? ` Estimated cost together: up to ${money(estimate)}.` : "";
|
|
201
207
|
const missing = number(preview.noStoredCode) ?? 0;
|
|
202
208
|
const missingText = missing > 0 ? `${missing} never-scanned live ${missing === 1 ? "deployment has" : "deployments have"} no stored code, so ${missing === 1 ? "it cannot" : "they cannot"} be scanned. Deploy ${missing === 1 ? "that project" : "those projects"} again.\n` : "";
|
|
203
209
|
process.stderr.write(count === 0 ? `${missing > 0 ? "Nothing to backfill." : "Every live deployment in scope already has a scan. Nothing to backfill."}\n${missingText}` : `Scan ${count} live ${count === 1 ? "deployment" : "deployments"} that were never scanned?${cost}${remaining > 0 ? ` ${remaining} more wait for the next backfill.` : ""}\n${missingText}${dim("Monthly caps apply when each scan starts.")}\n`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __toESM } from "./rolldown-runtime-uD8oG6U2.mjs";
|
|
2
|
-
import { B as note$1, H as outro, L as log, P as isCI, nt as settings, q as spinner } from "./dist-
|
|
2
|
+
import { B as note$1, H as outro, L as log, P as isCI, nt as settings, q as spinner } from "./dist-BngS28id.mjs";
|
|
3
3
|
import { t as require_picocolors } from "./picocolors-D1NxSLw-.mjs";
|
|
4
4
|
import { t as Buffer } from "./node-buffer-D7kgjaDs.mjs";
|
|
5
5
|
import { stripVTControlCharacters } from "node:util";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { y as printSuccess } from "./output-DhJgS6Ve.mjs";
|